Kodi Community Forum
Release TVRage-Eps (Script) TV Show Episode Notifier and Browser Addon - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Release TVRage-Eps (Script) TV Show Episode Notifier and Browser Addon (/showthread.php?tid=82174)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


- ppic - 2010-10-10

ok, good point, i've been able to scrappe more show !
but still error, and none added:

Code:
05:03:55 T:3079399296 M:1600499712   DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
05:03:55 T:3079399296 M:1600499712   DEBUG: OnKey: 61453 pressed, action is Select
05:03:55 T:3079399296 M:1600499712   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
05:03:59 T:2781870960 M:1602596864  NOTICE: SHOW: Fairy Tail - MATCHES: Fairy Tail
05:04:03 T:3079399296 M:1602691072   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
05:04:03 T:2781870960 M:1602691072   ERROR: Exception in python script's onAction
05:04:03 T:2781870960 M:1602691072  NOTICE: Traceback (most recent call last):
05:04:03 T:2781870960 M:1602691072  NOTICE:   File "/home/xbmc/.xbmc/addons/script.tvrage.com/default.py", line 384, in onAction
05:04:03 T:2781870960 M:1603579904  NOTICE: self.addFromLibrary()
05:04:03 T:2781870960 M:1603579904  NOTICE:   File "/home/xbmc/.xbmc/addons/script.tvrage.com/default.py", line 478, in addFromLibrary
05:04:03 T:2781870960 M:1603579904  NOTICE: print "SHOW: " + title + " - MATCHES: " + close[0]
05:04:03 T:2781870960 M:1603579904  NOTICE:   File "<string>", line 4, in write
05:04:03 T:2781870960 M:1603579904  NOTICE: UnicodeEncodeError
05:04:03 T:2781870960 M:1603579904  NOTICE: :
05:04:03 T:2781870960 M:1603579904  NOTICE: 'ascii' codec can't encode character u'\u016b' in position 22: ordinal not in range(128)

next show name : Fight Ippatsu! Jūden-chan!!


Version 0.9.8 - ruuk - 2010-10-10

Fixed bug in a debugging print statement crashing on unicode (this should fix your problem ppic)
Added summary dialog after adding all from library
Pressing 'Play' on an episode (in list and summary) now plays the episode video

Go here to get the zip:

http://code.google.com/p/tvrage-eps/downloads/list


- XmemphistoX - 2010-10-11

ruuk Wrote:Thanks I remember now seeing it in your addon.xml but I had forgotten about that. It's not in the docs for script addons. I added for video and executable so on the next version it will show up in both.

Awesome! Your plugin saves me a lot of time. I usually go to tv.com and check for the next ep showtimes. Thanks again.


- Darts - 2010-10-11

Hi there,
Would it be possible to add an option in the library configuration to change the port it looks to : I already have another webserver on port 8080 and switched XBMC to port 81.

Anyway, I also tried with manual inputs and it works great, thank a lot for this great job Smile


- ruuk - 2010-10-11

Darts Wrote:Hi there,
Would it be possible to add an option in the library configuration to change the port it looks to : I already have another web server on port 8080 and switched XBMC to port 81.

Anyway, I also tried with manual inputs and it works great, thank a lot for this great job Smile

You only need to worry about ports if you have 'Access via HTTP enabled', and you should only need that if you want to pull data from an XBMC installed on a different computer than the one the script is running on. If that's what you want to do you would put something like 'http://192.168.0.10:81' in the 'HTTP address' option. Otherwise with access via http disabled it just queries XBMC with an internal command.


- grote002 - 2010-10-11

Is it possible to just load 'added shows' from the library?
I just added 'The Event' as show to the library and ran the script again to check the library and it pulled all series again and asked for the 'Correct One' on several of them.

Just an advanced option, it's not that big of a deal, but would be a nice touch.
Otherwise, awesome script.. I use it daily, its at the top of my Favourites now.


- ruuk - 2010-10-11

grote002 Wrote:Is it possible to just load 'added shows' from the library?
I just added 'The Event' as show to the library and ran the script again to check the library and it pulled all series again and asked for the 'Correct One' on several of them.

Just an advanced option, it's not that big of a deal, but would be a nice touch.
Otherwise, awesome script.. I use it daily, its at the top of my Favourites now.

Well, there's no way for a script to query XBMC for just newly added shows (afaik) so it has to take the whole list, check against what you have, and try to add what it doesn't find, asking you to pick if it can't match what TVRage returns. Generally you will only get asked the second time for shows not in the list that also aren't on TVRage.
I think one thing I could do instead is list all the shows it doesn't find and match at the end, giving the option of either skipping all, or picking ones to check. I could also add an option, when it asks you to pick, to add it as found in XBMC, which won't give any TVRage data when you select it in the list, but will stop it from asking the second time. I think someone suggested that last bit before, but I didn't see the benefit until now Smile I could still have it recheck the 'dummy' shows on later scans (in case it gets added to tvrage) but make it skip asking for a match.


Version 0.9.9 - ruuk - 2010-10-12

Added ability to add show not found on TVRage.com (As a dummy listing), mainly to keep library scan from asking every time
'Add All From Library' now lists unmatched shows at the end with the option to skip all or choose shows to add
Added 'Refresh' option to list options

Get it here:

http://code.google.com/p/tvrage-eps/downloads/list


- XmemphistoX - 2010-10-12

TV Shows addon lists it as an application now but it will not launch from there. It still works under programs/scripts however. Using ver. 0.9.9


- ruuk - 2010-10-12

XmemphistoX Wrote:TV Shows addon lists it as an application now but it will not launch from there. It still works under programs/scripts however. Using ver. 0.9.9

Attempting to install Aeon65 now. Will see what I can do.


- ruuk - 2010-10-12

XmemphistoX Wrote:TV Shows addon lists it as an application now but it will not launch from there. It still works under programs/scripts however. Using ver. 0.9.9

Got Aeon65 running on my dev computer. Script ran fine for me from TV Shows Add-ons. Try launching it again and then get me the log file.

btw. That's a nice skin but it ate my slow dev computer alive Smile


- XmemphistoX - 2010-10-13

Thanks for checking. Yeah Aeon does need a good setup to run. I'll run it later when I get home from work.

*ok i checked it on a 2nd computer at home and it works fine. I'm not sure why it's not working correctly on my mediacenter. I'll fiddle with it. Thanks again.


- echel0n - 2010-10-13

Tried adding the show "American Pickers" and it looks as if it goes to add it then it doesn't show up at all in the list.

Seems to be so far the ONLY show that doesn't seem to get added.

It seems that the link http://services.tvrage.com/feeds/episodeinfo.php?sid=24796 returns "XML Parsing Error: not well-formed
" but however the link http://services.tvrage.com/feeds/showinfo.php?sid=24796 works perfectly so maybe you should switch feeds ?


Version 0.9.91 - ruuk - 2010-10-13

Get it here:

http://code.google.com/p/tvrage-eps/downloads/list

Fixes this bug:

echel0n Wrote:Tried adding the show "American Pickers" and it looks as if it goes to add it then it doesn't show up at all in the list.

Seems to be so far the ONLY show that doesn't seem to get added.

It seems that the link http://services.tvrage.com/feeds/episodeinfo.php?sid=24796 returns "XML Parsing Error: not well-formed
" but however the link http://services.tvrage.com/feeds/showinfo.php?sid=24796 works perfectly so maybe you should switch feeds ?



- Darts - 2010-10-14

ruuk Wrote:You only need to worry about ports if you have 'Access via HTTP enabled', and you should only need that if you want to pull data from an XBMC installed on a different computer than the one the script is running on. If that's what you want to do you would put something like 'http://192.168.0.10:81' in the 'HTTP address' option. Otherwise with access via http disabled it just queries XBMC with an internal command.

Hi Ruuk!
Sorry for the late reply.
Maybe I am missing something but I do not see 'Access via HTTP enabled' in the addon options.
I am currently running 0.95, could you guide me to the right way please?

EDIT >> Geez, I just saw your link to the google code... v9.91 is it ^.^;
I'll try to install that one manually as XBMC dharma B2 does not see the update (any idea why?)

EDIT2 >> Everything OK now Smile