[RELEASE] - Rating Update

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
m4x1m Offline
Senior Member
Posts: 210
Joined: Mar 2011
Reputation: 13
Post: #111
ezechiel1917 Wrote:similar issue: there was a problem with the imdb site!

http://pastebin.com/bQhuusng

reply from imdb seems ok from the debug log, but no update to db and xbmc gui completely freezes after few seconds/minutes

php5-cgi 5.3.9 (tried some other versions with the same result), python 2.7.2+

Sorry I hadn't seen your post. Check the issue tomorrow!

[Image: sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg]
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB WI-FI
Running Ubuntu Precise 12.04.02 - FRODO 12.02 - Transparency!
Movies: 920 - TV Show: 98 - Albums: 1151
find quote
ezechiel1917 Offline
Aeon Group
Posts: 646
Joined: Jun 2005
Location: Czech Republic
Post: #112
m4x1m Wrote:Sorry I hadn't seen your post. Check the issue tomorrow!

Thanks,
Worth a note, I've just noticed it could be similar issue that just got fixed with TU:

https://github.com/Manromen/script.Trakt...2eb94080e6
https://github.com/Manromen/script.Trakt...issues/101
https://github.com/Manromen/script.Trakt.../issues/61

What do you think?

Ubuntu 13.04 | XBMC PRE-13.0 | VDR + VNSI4 @ Technotrend CT-3650 CI | Transparency! skin | trakt.tv | FlexRAID
find quote
krish_2k4 Offline
Fan
Posts: 576
Joined: Aug 2010
Reputation: 9
Post: #113
m4x1m Wrote:It's an issue in xbmc related python in Windows platform.

Read the post above of MCipher.


The problem are the doublequote like in Dharma.

If the problem isn't resolved with the final stable version of XBMC I will take measures to solve it!

Sad

just want to post that i upgraded to Eden Beta 3 and it is still not working.
find quote
m4x1m Offline
Senior Member
Posts: 210
Joined: Mar 2011
Reputation: 13
Post: #114
ezechiel1917 Wrote:Thanks,
Worth a note, I've just noticed it could be similar issue that just got fixed with TU:

https://github.com/Manromen/script.Trakt...2eb94080e6
https://github.com/Manromen/script.Trakt...issues/101
https://github.com/Manromen/script.Trakt.../issues/61

What do you think?

Very very interesting! Thanks!
Next week I will try to implement it! This week I'm busy with my job and I don't have time.

@krish_2k4
I will try to solve your issue in next week!

[Image: sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg]
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB WI-FI
Running Ubuntu Precise 12.04.02 - FRODO 12.02 - Transparency!
Movies: 920 - TV Show: 98 - Albums: 1151
(This post was last modified: 2012-02-14 17:08 by m4x1m.)
find quote
ezechiel1917 Offline
Aeon Group
Posts: 646
Joined: Jun 2005
Location: Czech Republic
Post: #115
m4x1m Wrote:Very very interesting! Thanks!
Next week I will try to implement it! This week I'm busy with my job and I don't have time.

@krish_2k4
I will try to solve your issue in next week!

Thanks Smile

Ubuntu 13.04 | XBMC PRE-13.0 | VDR + VNSI4 @ Technotrend CT-3650 CI | Transparency! skin | trakt.tv | FlexRAID
find quote
m4x1m Offline
Senior Member
Posts: 210
Joined: Mar 2011
Reputation: 13
Post: #116
New Version:
script.ratingupdate-1.1.9.zip

Code:
v 1.1.9:
- Added the ability to scrape a single TV Show (The code for the skinners is in the README file).
- Changed database query method from httpapi to raw for prevent xbmc freezes and added dependency for script.module.myconnpy for mysql users (thanks to ezechiel1917 for the hint).
- Moved 'import json' to 'import simplejson as json' and added dependency for script.module.simplejson to make the script more compatible.
- Solved issue related for double quote in path for the Windows users. This is a temporary hack because if there are whitespaces in the path the script will not work.
- Updated IMDbPHP Version 2.1.0 to new Version 2.1.2.
- Added a simple GUI to control the script by menu (can be disabled).
- Reorganized the resource folder with a different layout.
- Added multilanguage strings (Now is complete). If someone want to add a new language it's welcome.

[Image: sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg]
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB WI-FI
Running Ubuntu Precise 12.04.02 - FRODO 12.02 - Transparency!
Movies: 920 - TV Show: 98 - Albums: 1151
(This post was last modified: 2012-02-19 14:45 by m4x1m.)
find quote
solidsatras Offline
Senior Member
Posts: 294
Joined: Mar 2010
Reputation: 10
Post: #117
Here is a german translation for you:
strings.xml
I hope i caught the initially meanings.

There is a little typo in id30197 of your english translation.

Unfortunately v1.1.9 isn´t working for me, so I couldn´t test it thorough:
debug log
Errors start at line 1132
find quote
m4x1m Offline
Senior Member
Posts: 210
Joined: Mar 2011
Reputation: 13
Post: #118
solidsatras Wrote:Here is a german translation for you:
strings.xml
I hope i caught the initially meanings.

There is a little typo in id30197 of your english translation.

Unfortunately v1.1.9 isn´t working for me, so I couldn´t test it thorough:
debug log
Errors start at line 1132

Thanks for translation and for bugs report.

New Version:
script.ratingupdate-1.2.0.zip

Code:
v 1.2.0:
- Added German translation. Thanks to solidsatras.
- Fixed typo in english translation.
- Fixed typo in dbutils.py that stopped the script.

[Image: sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg]
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB WI-FI
Running Ubuntu Precise 12.04.02 - FRODO 12.02 - Transparency!
Movies: 920 - TV Show: 98 - Albums: 1151
find quote
ezechiel1917 Offline
Aeon Group
Posts: 646
Joined: Jun 2005
Location: Czech Republic
Post: #119
Thanks for new version m4x1m.
No longer freezes xbmc! Cool

I was wondering if it would be possible to use xbmc proxy settings for this addon, Currently all traffic is handled by php-cgi (outside xbmc code), therefore xbmc proxy setting is being ignored and not used at all for all the addon's network traffic. Do you think it's possible somehow to use xbmc proxy settings (Settings - Network - Internet Access) for this addon, or maybe you have an idea for some workaround?

Cheers Ez.

Ubuntu 13.04 | XBMC PRE-13.0 | VDR + VNSI4 @ Technotrend CT-3650 CI | Transparency! skin | trakt.tv | FlexRAID
find quote
m4x1m Offline
Senior Member
Posts: 210
Joined: Mar 2011
Reputation: 13
Post: #120
ezechiel1917 Wrote:Thanks for new version m4x1m.
No longer freezes xbmc! Cool

I was wondering if it would be possible to use xbmc proxy settings for this addon, Currently all traffic is handled by php-cgi (outside xbmc code), therefore xbmc proxy setting is being ignored and not used at all for all the addon's network traffic. Do you think it's possible somehow to use xbmc proxy settings (Settings - Network - Internet Access) for this addon, or maybe you have an idea for some workaround?

Cheers Ez.

I don't think is possible. Is IMDBPHP Class that does the query at IMDB site not php-cgi which is only an interpreter.Sad

[Image: sigpic_89488_ea84cd53d774f0e868b713eb0adf873f.jpg]
LG M227WD - ASUS S1-AT5NM10E - LOGITECH HARMONY 300i - MINI KEYBOARD USB WI-FI
Running Ubuntu Precise 12.04.02 - FRODO 12.02 - Transparency!
Movies: 920 - TV Show: 98 - Albums: 1151
find quote
Post Reply