Kodi Community Forum
[RELEASE] TV Show Next Aired (Script) 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] TV Show Next Aired (Script) Addon (/showthread.php?tid=79493)



Would like to use this - taliezin - 2010-11-30

I very much want to use this add-on but it doesn't work. It comes up empty.
In theme shade via the home button it gives this
log:
Code:
13:16:22 T:7140 M:682864640   DEBUG: Activating window ID: 11116
13:16:22 T:7140 M:682864640   DEBUG: Checking if window ID 11116 is locked.
13:16:22 T:7140 M:682864640   DEBUG: ------ Window Deinit (custom_WhatsOnTv_1116.xml) ------
13:16:22 T:7140 M:682864640   DEBUG: ------ Window Init (custom_WhatsOnTv_1116.xml) ------
13:16:22 T:7140 M:682864640    INFO: Loading skin file: custom_WhatsOnTv_1116.xml
13:16:22 T:5384 M:682295296    INFO: Scriptresult: Success
13:16:22 T:7140 M:682278912   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:5384 M:682237952    INFO: Python script stopped
13:16:22 T:5384 M:682237952   DEBUG: Thread 5384 terminating
13:16:22 T:7140 M:682237952   DEBUG: python thread 9 destructed
13:16:26 T:7140 M:684564480   DEBUG: CWinEventsWin32::WndProcWindow is active
13:16:26 T:7140 M:684564480   DEBUG: CWinEventsWin32::WndProcWindow lost focus
13:16:30 T:6412 M:661987328   DEBUG: Received request to serve 'DeviceDescription.xml'
13:16:31 T:3056 M:658468864  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:43 T:7568 M:635437056   DEBUG: Thread 7568 terminating (autodelete)

And using your addon directly gives log:
Code:
13:26:13 T:8172 M:821936128  NOTICE: -->Python Interpreter Initialized<--
13:26:13 T:8172 M:821936128   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py
13:26:13 T:8172 M:821936128   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.cryptopy\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.common.playback\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files\XBMC
13:26:13 T:8172 M:821936128   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired
13:26:13 T:8172 M:821747712  NOTICE: ### TV-Show Next-Aired starting ...
13:26:13 T:8172 M:821747712  NOTICE: ### author: Ppic, Frost
13:26:13 T:8172 M:821747712  NOTICE: ### URL: http://code.google.com/p/passion-xbmc/
13:26:13 T:8172 M:821747712  NOTICE: ### credits: Team Passion-XBMC, http://passion-xbmc.org/
13:26:13 T:8172 M:821747712  NOTICE: ### date: 17-10-2010
13:26:13 T:8172 M:821747712  NOTICE: ### version: 2.1.2
13:26:13 T:8172 M:821747712  NOTICE: {}
13:26:13 T:8172 M:821747712  NOTICE: ###db less than 24, fetch local data...
13:26:13 T:8172 M:821747712  NOTICE: ### Load list: C:\Users\Bastiaan\AppData\Roaming\XBMC\userdata\addon_data\script.tv.show.next.aired\next_aired.db
13:26:13 T:8172 M:821743616  NOTICE: ###data available
13:26:13 T:8172 M:821743616  NOTICE: ### next list: 0 shows ### []
13:26:13 T:8172 M:821743616  NOTICE: 2010-11-30
13:26:13 T:8172 M:821743616  NOTICE: ###today show: 0 -
13:26:13 T:8172 M:821743616    INFO: Default 4:3 resolution directory is 720p
13:26:13 T:8172 M:821743616    INFO: Default 16:9 resolution directory is 720p
13:26:13 T:8172 M:821743616    INFO: Loading skin includes from 720p/includes.xml
13:26:13 T:8172 M:821743616    INFO: Error loading includes.xml file (720p/includes.xml): Failed to open file (row=0, col=0)
13:26:13 T:7140 M:821657600   DEBUG: ------ Window Init (C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\skins\DefaultSkin\720p\DialogNextAired.xml) ------
13:26:13 T:7140 M:821657600    INFO: Loading skin file: C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\skins\DefaultSkin\720p\DialogNextAired.xml
13:26:13 T:7140 M:821653504   DEBUG: unable to load C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\language\Dutch\strings.xml: Failed to open file at line 0
13:26:13 T:7140 M:821653504   DEBUG: unable to load C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\language\english\strings.xml: Failed to open file at line 0
13:26:16 T:3056 M:819953664  NOTICE: 'TRAKT: Resetting last update timestamp'
13:26:18 T:7140 M:819937280   DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
13:26:18 T:7140 M:819937280   DEBUG: CApplication::OnKey: 61479 pressed, action is Right
13:26:20 T:7140 M:825425920   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/libexif.dll)
13:26:20 T:7140 M:825425920   DEBUG: Win32DllLoader::Unload libexif.dll
13:26:20 T:7140 M:825458688   DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
13:26:20 T:7140 M:825458688   DEBUG: CApplication::OnKey: 61479 pressed, action is Right
13:26:23 T:7140 M:825532416   DEBUG: SDLKeyboard: scancode: 80, sym: 274, unicode: 0, modifier: 0
13:26:23 T:7140 M:825532416   DEBUG: CApplication::OnKey: 61480 pressed, action is Down
13:26:28 T:7140 M:825749504   DEBUG: CApplication::ExecuteXBMCAction : Translating PreviousMenu
13:26:28 T:7140 M:825749504   DEBUG: CApplication::ExecuteXBMCAction : To PreviousMenu
13:26:28 T:7140 M:825724928   DEBUG: ------ Window Deinit (C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\skins\DefaultSkin\720p\DialogNextAired.xml) ------
13:26:28 T:7140 M:825724928   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired
13:26:28 T:8172 M:825724928    INFO: Scriptresult: Success
13:26:28 T:8172 M:825700352    INFO: Python script stopped
13:26:28 T:8172 M:825700352   DEBUG: Thread 8172 terminating
13:26:28 T:7140 M:825712640   DEBUG: python thread 14 destructed
13:26:29 T:8144 M:825487360   DEBUG: CTextureCache::GetImageHash - unable to stat url
13:26:30 T:7140 M:825966592   DEBUG: CWinEventsWin32::WndProcWindow is active
13:26:30 T:7140 M:826056704   DEBUG: CWinEventsWin32::WndProcWindow lost focus
13:26:31 T:3056 M:825569280  NOTICE: 'TRAKT: Resetting last update timestamp'
13:26:32 T:7140 M:827568128   DEBUG: CWinEventsWin32::WndProcWindow is active
13:26:32 T:7140 M:827633664   DEBUG: CWinEventsWin32::WndProcWindow gained focus
13:26:34 T:7140 M:829157376   DEBUG: CWinEventsWin32::WndProcWindow is active
13:26:34 T:7140 M:829157376   DEBUG: CWinEventsWin32::WndProcWindow lost focus

I use xbmc dharma rc1.
Can you help me to solve this problem?
Thank you up front.


- MindTooth - 2010-11-30

Tested this yesterday Smile Its really nice to have an option to follow the next releases of my favorite shows.


- ppic - 2010-11-30

taliezin Wrote:I very much want to use this add-on but it doesn't work. It comes up empty.
In theme shade via the home button it gives this
log:
Code:
13:16:22 T:7140 M:682864640   DEBUG: Activating window ID: 11116
13:16:22 T:7140 M:682864640   DEBUG: Checking if window ID 11116 is locked.
13:16:22 T:7140 M:682864640   DEBUG: ------ Window Deinit (custom_WhatsOnTv_1116.xml) ------
13:16:22 T:7140 M:682864640   DEBUG: ------ Window Init (custom_WhatsOnTv_1116.xml) ------
13:16:22 T:7140 M:682864640    INFO: Loading skin file: custom_WhatsOnTv_1116.xml
13:16:22 T:5384 M:682295296    INFO: Scriptresult: Success
13:16:22 T:7140 M:682278912   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:7140 M:682274816   DEBUG:   msg: PICTURE::LoadImage: Unable to open image: special://skin/media/studios/ Error: (2)
13:16:22 T:7140 M:682274816   ERROR: Texture manager unable to load file: special://skin/media/studios/
13:16:22 T:5384 M:682237952    INFO: Python script stopped
13:16:22 T:5384 M:682237952   DEBUG: Thread 5384 terminating
13:16:22 T:7140 M:682237952   DEBUG: python thread 9 destructed
13:16:26 T:7140 M:684564480   DEBUG: CWinEventsWin32::WndProcWindow is active
13:16:26 T:7140 M:684564480   DEBUG: CWinEventsWin32::WndProcWindow lost focus
13:16:30 T:6412 M:661987328   DEBUG: Received request to serve 'DeviceDescription.xml'
13:16:31 T:3056 M:658468864  NOTICE: 'TRAKT: Resetting last update timestamp'
13:16:43 T:7568 M:635437056   DEBUG: Thread 7568 terminating (autodelete)

And using your addon directly gives log:
Code:
13:26:13 T:8172 M:821936128  NOTICE: -->Python Interpreter Initialized<--
13:26:13 T:8172 M:821936128   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\default.py
13:26:13 T:8172 M:821936128   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.cryptopy\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.common.playback\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files\XBMC
13:26:13 T:8172 M:821936128   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired
13:26:13 T:8172 M:821747712  NOTICE: ### TV-Show Next-Aired starting ...
13:26:13 T:8172 M:821747712  NOTICE: ### author: Ppic, Frost
13:26:13 T:8172 M:821747712  NOTICE: ### URL: http://code.google.com/p/passion-xbmc/
13:26:13 T:8172 M:821747712  NOTICE: ### credits: Team Passion-XBMC, http://passion-xbmc.org/
13:26:13 T:8172 M:821747712  NOTICE: ### date: 17-10-2010
13:26:13 T:8172 M:821747712  NOTICE: ### version: 2.1.2
13:26:13 T:8172 M:821747712  NOTICE: {}
13:26:13 T:8172 M:821747712  NOTICE: ###db less than 24, fetch local data...
13:26:13 T:8172 M:821747712  NOTICE: ### Load list: C:\Users\Bastiaan\AppData\Roaming\XBMC\userdata\addon_data\script.tv.show.next.aired\next_aired.db
13:26:13 T:8172 M:821743616  NOTICE: ###data available
13:26:13 T:8172 M:821743616  NOTICE: ### next list: 0 shows ### []
13:26:13 T:8172 M:821743616  NOTICE: 2010-11-30
13:26:13 T:8172 M:821743616  NOTICE: ###today show: 0 -
13:26:13 T:8172 M:821743616    INFO: Default 4:3 resolution directory is 720p
13:26:13 T:8172 M:821743616    INFO: Default 16:9 resolution directory is 720p
13:26:13 T:8172 M:821743616    INFO: Loading skin includes from 720p/includes.xml
13:26:13 T:8172 M:821743616    INFO: Error loading includes.xml file (720p/includes.xml): Failed to open file (row=0, col=0)
13:26:13 T:7140 M:821657600   DEBUG: ------ Window Init (C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\skins\DefaultSkin\720p\DialogNextAired.xml) ------
13:26:13 T:7140 M:821657600    INFO: Loading skin file: C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\skins\DefaultSkin\720p\DialogNextAired.xml
13:26:13 T:7140 M:821653504   DEBUG: unable to load C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\language\Dutch\strings.xml: Failed to open file at line 0
13:26:13 T:7140 M:821653504   DEBUG: unable to load C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\language\english\strings.xml: Failed to open file at line 0
13:26:16 T:3056 M:819953664  NOTICE: 'TRAKT: Resetting last update timestamp'
13:26:18 T:7140 M:819937280   DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
13:26:18 T:7140 M:819937280   DEBUG: CApplication::OnKey: 61479 pressed, action is Right
13:26:20 T:7140 M:825425920   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/libexif.dll)
13:26:20 T:7140 M:825425920   DEBUG: Win32DllLoader::Unload libexif.dll
13:26:20 T:7140 M:825458688   DEBUG: SDLKeyboard: scancode: 77, sym: 275, unicode: 0, modifier: 0
13:26:20 T:7140 M:825458688   DEBUG: CApplication::OnKey: 61479 pressed, action is Right
13:26:23 T:7140 M:825532416   DEBUG: SDLKeyboard: scancode: 80, sym: 274, unicode: 0, modifier: 0
13:26:23 T:7140 M:825532416   DEBUG: CApplication::OnKey: 61480 pressed, action is Down
13:26:28 T:7140 M:825749504   DEBUG: CApplication::ExecuteXBMCAction : Translating PreviousMenu
13:26:28 T:7140 M:825749504   DEBUG: CApplication::ExecuteXBMCAction : To PreviousMenu
13:26:28 T:7140 M:825724928   DEBUG: ------ Window Deinit (C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired\resources\skins\DefaultSkin\720p\DialogNextAired.xml) ------
13:26:28 T:7140 M:825724928   ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Bastiaan\AppData\Roaming\XBMC\addons\script.tv.show.next.aired
13:26:28 T:8172 M:825724928    INFO: Scriptresult: Success
13:26:28 T:8172 M:825700352    INFO: Python script stopped
13:26:28 T:8172 M:825700352   DEBUG: Thread 8172 terminating
13:26:28 T:7140 M:825712640   DEBUG: python thread 14 destructed
13:26:29 T:8144 M:825487360   DEBUG: CTextureCache::GetImageHash - unable to stat url
13:26:30 T:7140 M:825966592   DEBUG: CWinEventsWin32::WndProcWindow is active
13:26:30 T:7140 M:826056704   DEBUG: CWinEventsWin32::WndProcWindow lost focus
13:26:31 T:3056 M:825569280  NOTICE: 'TRAKT: Resetting last update timestamp'
13:26:32 T:7140 M:827568128   DEBUG: CWinEventsWin32::WndProcWindow is active
13:26:32 T:7140 M:827633664   DEBUG: CWinEventsWin32::WndProcWindow gained focus
13:26:34 T:7140 M:829157376   DEBUG: CWinEventsWin32::WndProcWindow is active
13:26:34 T:7140 M:829157376   DEBUG: CWinEventsWin32::WndProcWindow lost focus

I use xbmc dharma rc1.
Can you help me to solve this problem?
Thank you up front.

do you have tvshow in your library ?


tvshow - taliezin - 2010-11-30

ppic Wrote:do you have tvshow in your library ?
yes


- ppic - 2010-11-30

actually aired tv show?

seems you have nothing airing in db.

can you send me db file in addon data folder?


- taliezin - 2010-11-30

ppic Wrote:actually aired tv show?

seems you have nothing airing in db.

can you send me db file in addon data folder?

Sorry to sound stupid, but can you tell me how to find this file?


- ppic - 2010-11-30

in your userdata / addon_data/tv.show.next.aired folder.


- taliezin - 2010-11-30

ppic Wrote:in your userdata / addon_data/tv.show.next.aired folder.


Thank you, here it is:
http://pastie.org/1335637

From what I can see only South Park is a aired show. And it is missing another folder of series I got in my library.


- ppic - 2010-11-30

ok, no problem with the script, simply your show do not have next airing informations informations, check if it's correct on tvrage.


Thank you - taliezin - 2010-11-30

ppic Wrote:ok, no problem with the script, simply your show do not have next airing informations informations, check if it's correct on tvrage.

Thank you. I know now how this works. I deleted the tv show folders from lib. Deleted your add on and the folder from userdata. Than added the tv shows and reinstalled your add on. Now it works fine.

Looks good. thank you very much for this add on and your help.


- ppic - 2010-11-30

you're welcome Wink


- mortstar - 2010-12-05

Salut ppic

J'aime beaucoup ton travail!

Would it be possible to add a section in the settings to add TV Shows which are not stored in the library?

Here's my use case:
  • TV shows that we want to re-watch are kept in my xbmc library.
  • Some things we 'watch and discard' and so they never enter the library.

Currently this means that episodes of TV shows that are not in my library are not returned by the script. They are usually 'disposable' programmes (which my partner loves!) such as The X Factor or Desperate Housewives etc.

If I could define these episodes in the script settings, then they could be scrapped along with those shows returned from the database.


- ppic - 2010-12-05

planned, you're not the first to request that Wink

let me some time, i've not lot of time actually to code Wink


- konetzed - 2011-01-06

Is there a way to get the source for this plugin like on github or something? Sorry if this has been asked before, I scanned all the posts and couldnt find anything.


- ppic - 2011-01-06

why do you need it ?