(2012-03-27, 20:14)Maniaczm Wrote: (2012-03-27, 06:56)bluenote Wrote: Hey thanks for the response.
I would give precedence to info provided from sickbeard and then supplement from xbmc, just my thought.
My plugin gives me an error on addshow.py after searching for "the voice". Any ideas off the top?
thanks!
EDIT: actually, it is any search under add shows.
Accidentally deleted my first response to this, so this one may be shorter .
I will look into that issue, never seen it before. Can you attached a log file of the error? And as for the precedence I need to use the XBMC library already for the artwork for that new feature, so I will be using that for the info as well if it exists.. just easier. If it doesn't exist in XBMC or the show is yet to be aired I will get it from Sickbeard. Either way I am trying to make it to where if the info/art is available in any way, shape, or form then the plugin will display it.
Hey thanks for the response. I will get a log tonight or tomorrow.
On the precedence issue, I'd just like to offer my reasoning - I find that viewing the info that sickbeard has will often shed light on problems with downloading, or misidentified episodes, in particular when it involves episode disagreements or changes from TVDB. In any other case I would argue that inside xbmc it would make sense to use xbmc data, but in this unique niche , if one approaches it from the standpoint of troubleshooting - then I think it becomes more important to be able to see the data that sickbeard sees, rather than what xbmc sees. (They can be different in my experience!). Anyways I won't harp on it further
Looking forward to being able to "add shows" and otherwise manage sickbeard through xbmc!
Not looking forward to the GF wanting to add shows and otherwise manage sickbeard though
EDIT:
Here's an excerpt from the log:
Code:
17:55:45 T:1416 DEBUG: ------ Window Init (DialogKeyboard.xml) ------
17:55:46 T:1416 DEBUG: SDLKeyboard: scancode: 14, sym: 0074, unicode: 0074, modifier: 0
17:55:46 T:1416 DEBUG: CApplication::OnKey: t (f054) pressed, trying keyboard action 61812
17:55:46 T:1416 DEBUG: SDLKeyboard: scancode: 23, sym: 0068, unicode: 0068, modifier: 0
17:55:46 T:1416 DEBUG: CApplication::OnKey: h (f048) pressed, trying keyboard action 61800
17:55:46 T:1416 DEBUG: SDLKeyboard: scancode: 12, sym: 0065, unicode: 0065, modifier: 0
17:55:46 T:1416 DEBUG: CApplication::OnKey: e (f045) pressed, trying keyboard action 61797
17:55:46 T:1416 DEBUG: SDLKeyboard: scancode: 39, sym: 0020, unicode: 0020, modifier: 0
17:55:46 T:1416 DEBUG: CApplication::OnKey: space (f020) pressed, trying keyboard action 61728
17:55:47 T:1416 DEBUG: SDLKeyboard: scancode: 2f, sym: 0076, unicode: 0076, modifier: 0
17:55:47 T:1416 DEBUG: CApplication::OnKey: v (f056) pressed, trying keyboard action 61814
17:55:47 T:1416 DEBUG: SDLKeyboard: scancode: 18, sym: 006f, unicode: 006f, modifier: 0
17:55:47 T:1416 DEBUG: CApplication::OnKey: o (f04f) pressed, trying keyboard action 61807
17:55:47 T:1416 DEBUG: SDLKeyboard: scancode: 17, sym: 0069, unicode: 0069, modifier: 0
17:55:47 T:1416 DEBUG: CApplication::OnKey: i (f049) pressed, trying keyboard action 61801
17:55:47 T:1416 DEBUG: SDLKeyboard: scancode: 2e, sym: 0063, unicode: 0063, modifier: 0
17:55:47 T:1416 DEBUG: CApplication::OnKey: c (f043) pressed, trying keyboard action 61795
17:55:47 T:1416 DEBUG: SDLKeyboard: scancode: 12, sym: 0065, unicode: 0065, modifier: 0
17:55:47 T:1416 DEBUG: CApplication::OnKey: e (f045) pressed, trying keyboard action 61797
17:55:48 T:1416 DEBUG: SDLKeyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
17:55:48 T:1416 DEBUG: CApplication::OnKey: return (f00d) pressed, trying keyboard action 7
17:55:48 T:1416 DEBUG: ------ Window Deinit (DialogKeyboard.xml) ------
17:55:48 T:3740 INFO: -->Python script returned the following error<--
17:55:48 T:3740 ERROR: Error Type: <type 'exceptions.TypeError'>
17:55:48 T:3740 ERROR: Error Contents: coercing to Unicode: need string or buffer, NoneType found
17:55:48 T:3740 ERROR: Traceback (most recent call last):
File "C:\Program Files\XBMC\portable_data\addons\plugin.program.sickbeard\resources\lib\addshow.py", line 103, in <module>
AddShow()
File "C:\Program Files\XBMC\portable_data\addons\plugin.program.sickbeard\resources\lib\addshow.py", line 25, in AddShow
selected_show = ShowSelectMessage(search_results)
File "C:\Program Files\XBMC\portable_data\addons\plugin.program.sickbeard\resources\lib\addshow.py", line 46, in ShowSelectMessage
formatted_shows.append(show['name']+" - ("+show['first_aired']+")")
TypeError: coercing to Unicode: need string or buffer, NoneType found
17:55:48 T:3740 INFO: -->End of Python script error report<--
17:55:48 T:3740 INFO: Python script stopped
17:55:48 T:3740 DEBUG: Thread XBPyThread 3740 terminating
17:55:49 T:1416 DEBUG: waiting for python thread 40 to stop
17:55:49 T:1416 DEBUG: python thread 40 destructed
17:55:49 T:1416 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
17:55:52 T:1416 DEBUG: SDLKeyboard: scancode: 01, sym: 001b, unicode: 001b, modifier: 0
17:55:52 T:1416 DEBUG: CApplication::OnKey: escape (f01b) pressed, action is PreviousMenu
17:55:52 T:1416 DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
17:55:52 T:1416 DEBUG: ------ Window Deinit (MyPrograms.xml) ------
17:55:52 T:1416 DEBUG: CGUIWindowManager::PreviousWindow: Activate new
17:55:52 T:1416 DEBUG: ------ Window Init (Home.xml) ------
17:55:52 T:1416 INFO: Loading skin file: Home.xml
And here's the pastebin:
http://pastebin.com/k16DyYqd