XBMC Community Forum
[RELEASE] Random and last items smartplaylist script for Skins - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Skin Development (/forumdisplay.php?fid=12)
+--- Thread: [RELEASE] Random and last items smartplaylist script for Skins (/showthread.php?tid=122448)



- butchabay - 2012-02-26 00:21

Thanx for this fantastic script. Integrated in fusion migmav2

See Here:


- mikebzh44 - 2012-02-26 12:53

Thanks.

And it's a very nice skin, I will try it Wink


- mikebzh44 - 2012-02-27 09:34

Version 1.1.2 released

2 little fix :

- Season number with 2 digit only when needed (1 instead of 01 for example)
- Count, Watched and Unwatched set to 0 if playlist or library is empty


- Eisi2005 - 2012-02-27 21:05

@mikebzh44

with latest version i become this debug log. Skin or script problem ?

http://pastebin.com/uzNFkP4v

Greets
Eisi


- mikebzh44 - 2012-02-27 23:05

Hello.

I think it's a skin or user problem because scripr have been called with a directory (Y:\Kinderfilme\Anna\) and not a playlist.

In your LOG, you can see that everything is ok for :
- TV-Serie.xs (line 351)
- Kinderserie.xsp (line 356)
- Animation.xsp (line 361)


- Martijn - 2012-02-27 23:11

mikebzh44 Wrote:Hello.

I think it's a skin or user problem because scripr have been called with a directory (Y:\Kinderfilme\Anna\) and not a playlist.

It's
Quote:UnicodeEncodeError: 'ascii' codec can't encode character

Problem probably lies in a tv show title


- Eisi2005 - 2012-02-27 23:23

Hi,

it´s a playlist. Is there something that i could do ?

Greets
Eisi


- mikebzh44 - 2012-02-27 23:28

Could you send me the xsp file of the playlist ?


- butchabay - 2012-02-28 01:12

@mikebzh44

We already have returns for Playlists Totals TVShows?

TVShow Totals
Episodes Totals
Episodes Watched
Episodes Unwatched

Confused

Thanx


- mikebzh44 - 2012-02-28 08:17

No Sad

I'm working on it. I hope to release the new version before this night (Paris time).


- butchabay - 2012-02-28 09:31

mikebzh44 Wrote:No Sad

I'm working on it. I hope to release the new version before this night (Paris time).

Easy mate Smile nice to hear you're working on it!


- Eisi2005 - 2012-02-28 09:33

@mikebzh44

here are my playlists.

http://www.loaditup.de/690127-87fhhrckfk.html

With playlist Animation.xsp all works fine. With playlist Kinderserie and TV-Serie i have problems.

Greets
Eisi


- mikebzh44 - 2012-02-28 10:58

Could you test with this script :
http://www.loaditup.de/690128-8q26a84yfm.html

(replace your randomandlastitems.py in your directory XBMC/addons/script.randomandlastitems)

and send me your LOG


- Eisi2005 - 2012-02-28 11:32

@mikebzh44

i could test when the kids in bad, i give you the log file.

Greets
Eisi


- mikebzh44 - 2012-02-28 15:41

Version 1.1.3 released

- [Fix] resume= and watched= were not managed with playlists
- [Add] Propertie TvShows set to number of TV Shows in library or playlist

Now you can have :
- number of TV shows : TvShows
- number of episodes : Count
- number of watched episodes : Watched
- number of unwatched episodes : Unwatched