Kodi Community Forum
[RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+---- Forum: Skin helper addons (https://forum.kodi.tv/forumdisplay.php?fid=300)
+---- Thread: [RELEASE] Watchlist script (was 'Adding Plex's 'On Deck' feature to XBMC') (/showthread.php?tid=113702)



- Martijn - 2011-11-05

Getting this error with latest novenber 5 build
Quote:18:23:50 T:6108 ERROR: Traceback (most recent call last):
File "D:\XBMC Eden\portable_data\addons\script.watchlist\default.py", line 166, in <module>
Main()
File "D:\XBMC Eden\portable_data\addons\script.watchlist\default.py", line 16, in __init__
self._fetch_episodes()
File "D:\XBMC Eden\portable_data\addons\script.watchlist\default.py", line 70, in _fetch_episodes
datetime = time.strptime(lastplayed, "%Y-%m-%d %H:%M:%S")
File "D:\XBMC Eden\system\python\Lib\_strptime.py", line 454, in _strptime_time
return _strptime(data_string, format)[0]
File "D:\XBMC Eden\system\python\Lib\_strptime.py", line 325, in _strptime
(data_string, format))
ValueError: time data '' does not match format '%Y-%m-%d %H:%M:%S'
18:23:50 T:6108 INFO: -->End of Python script error report<--

http://paste.ubuntu.com/729283/


- ronie - 2011-11-05

Machine-Sanctum Wrote:Getting this error with latest novenber 5 build

heh, don't you just love all the exceptions you have to take into account...


- Martijn - 2011-11-05

ronie Wrote:heh, don't you just love all the exceptions you have to take into account...

LOL well it wouldn't be a challenge anymore when everything works now would it


- Hitcher - 2011-11-05

ronie Wrote:script.watchlist-0.0.2.zip

- changed: use 2 digit season and episode numbers
- added: EpisodeNo property (sxxexx)
- fixed: partially watched episode didn't show up if it was episode 1 of season 1
- added: IsResumable property (can be used for partially watched indication)
- added: tv show thumbnail
- added: season thumbnail

Works great -

Image

Thanks again.


- silvine - 2011-11-06

I tried this under the NEON skin in Openelec and it didn't work. Any ideas?

Do I have to use a particular skin or install of XBMC?


- ronie - 2011-11-06

silvine Wrote:I tried this under the NEON skin in Openelec and it didn't work. Any ideas?

Do I have to use a particular skin or install of XBMC?
please respect the fact that this is a skin dev forum,
cheers :-)

Quote:Skin Development GUI and Web skins/themes, graphics development and suggestions.
No End-User Support Requests! Only skinners and graphic artists.



- blacklist - 2011-11-06

Hitcher Wrote:Works great -

Image

Thanks again.

Is this version available Hitcher? I'd like to play with it some if you're releasing it.


- pecinko - 2011-11-06

ronie Wrote:script.watchlist-0.0.2.zip

- changed: use 2 digit season and episode numbers
- added: EpisodeNo property (sxxexx)
- fixed: partially watched episode didn't show up if it was episode 1 of season 1
- added: IsResumable property (can be used for partially watched indication)
- added: tv show thumbnail
- added: season thumbnail

Works great here.

It's a pity season thumbs are not available for recently added as well, making the looks consistent.

They do look much nicer, IMHO.


Image


- Hitcher - 2011-11-06

blacklist Wrote:Is this version available Hitcher? I'd like to play with it some if you're releasing it.

Not yet, still working on it, but I can send you a copy if you want.


- Hitcher - 2011-11-06

pecinko Wrote:Works great here.

It's a pity season thumbs are not available for recently added as well, making the looks consistent.

They do look much nicer, IMHO.


Image

Agreed, I guess we'd have to make a trac request to get it though (along with TV Show thumb).


- pecinko - 2011-11-06

But whom should we cc for this to make it to pre-Eden?


- Hitcher - 2011-11-06

Seeing as it's not a bug it wont make it into Eden. Sad

firnsy & amet added it to XBMC though so cc them I guess.


- Martijn - 2011-11-06

Hitcher Wrote:Seeing as it's not a bug it wont make it into Eden. Sad

firnsy & amet added it to XBMC though so cc them I guess.

Well you could at least try. Maybe it has so little impact that they are willing to add it to Eden.


- odt_x - 2011-11-06

I have two bugreports:

1) Partially watched shows (both of them are on 1st episodes of the season) are always in the beginning of the list, even though I watched a complete episode of another show at a later date (Chuck in this case). Screenshot and pastebin below.

2) There are some issues with escaping of the plot text, I mentioned quotes issue before, but as you can see on the above screenshot newline and return characters are also printed.

http://pastebin.com/p4g4aPAq

Image


- mkortstiege - 2011-11-06

In case you trac it. Feel free to cc me as well. I have a quick diff for season thumbs sitting in my tree.