2013-11-28, 16:55
@Martijn, would it be possible to add another "Mode" for TV shows to your awesome skin widget. Basically it shows random series and when you select a series it plays the first unseen episode in that series
(2013-11-28, 20:03)jhonny30 Wrote: Ok...so if I change to another skin, will it be there automatically or will i have to change something else?
13:51:23 T:2946196560 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'item2' referenced before assignment
Traceback (most recent call last):
File "/storage/.xbmc/addons/service.skin.widgets/default.py", line 771, in onPlayBackEnded
self.onPlayBackStopped()
File "/storage/.xbmc/addons/service.skin.widgets/default.py", line 777, in onPlayBackStopped
self.action('episode')
File "/storage/.xbmc/addons/service.skin.widgets/default.py", line 631, in _update
self._fetch_tvshows_recommended('RecommendedEpisode')
File "/storage/.xbmc/addons/service.skin.widgets/default.py", line 261, in _fetch_tvshows_recommended
if (item2['resume']['position'] and item2['resume']['total']) > 0:
UnboundLocalError: local variable 'item2' referenced before assignment
-->End of Python script error report<--
{u'jsonrpc': u'2.0', u'id': u'1', u'result': {u'limits': {u'start': 0, u'total': 0, u'end': 0}}}
(2013-11-28, 16:55)Wulfsige Wrote: @Martijn, would it be possible to add another "Mode" for TV shows to your awesome skin widget. Basically it shows random series and when you select a series it plays the first unseen episode in that series
Quote:script.randomandlastitems\randomandlastitems.pyFrom your logs... this is different to the addon skin.widgets.
(2014-01-25, 15:06)bthusby Wrote: - First unwatched episode after latest watched episode
(2014-01-25, 15:06)bthusby Wrote: I am proposing to make "next episode" for a TV show a little smarter.
Here are the two variants for "next episode" you often want:
- Oldest unwatched episode
- First unwatched episode after latest watched episode
Maybe each TV-show can remember what you did last time and change to that strategy (e.g. picking an episode before or after the last watched episode makes it decide its modus)