[RELEASE] Random and last items smartplaylist script for Skins

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
butchabay Offline
Skilled Skinner
Posts: 3,947
Joined: Mar 2010
Reputation: 84
Location: Planet Crematoria
Post: #106
Thanx for this fantastic script. Integrated in fusion migmav2

See Here:
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #107
Thanks.

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

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #108
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

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
Eisi2005 Offline
Posting Freak
Posts: 753
Joined: Feb 2011
Reputation: 3
Location: Germany
Post: #109
@mikebzh44

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

http://pastebin.com/uzNFkP4v

Greets
Eisi
(This post was last modified: 2012-02-27 21:10 by Eisi2005.)
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #110
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)

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
Martijn Offline
Team Kodi
Posts: 14,175
Joined: Jul 2011
Reputation: 203
Location: Dawn of time
Post: #111
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

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
find quote
Eisi2005 Offline
Posting Freak
Posts: 753
Joined: Feb 2011
Reputation: 3
Location: Germany
Post: #112
Hi,

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

Greets
Eisi
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #113
Could you send me the xsp file of the playlist ?

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
butchabay Offline
Skilled Skinner
Posts: 3,947
Joined: Mar 2010
Reputation: 84
Location: Planet Crematoria
Post: #114
@mikebzh44

We already have returns for Playlists Totals TVShows?

TVShow Totals
Episodes Totals
Episodes Watched
Episodes Unwatched

Confused

Thanx
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #115
No Sad

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

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
butchabay Offline
Skilled Skinner
Posts: 3,947
Joined: Mar 2010
Reputation: 84
Location: Planet Crematoria
Post: #116
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!
find quote
Eisi2005 Offline
Posting Freak
Posts: 753
Joined: Feb 2011
Reputation: 3
Location: Germany
Post: #117
@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
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #118
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

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
Eisi2005 Offline
Posting Freak
Posts: 753
Joined: Feb 2011
Reputation: 3
Location: Germany
Post: #119
@mikebzh44

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

Greets
Eisi
find quote
mikebzh44 Offline
Posting Freak
Posts: 1,990
Joined: Nov 2011
Reputation: 54
Location: Nantes - France
Post: #120
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

Sorry for my english, but, you know, I'm French so ...

Main HTPC : Core i3 2120T running OpenELEC with Aeon Phil65 skin and my mod
Secondary HTPC : Atom N330 running OpenELEC with Aeon Nox 5 and my mod
find quote
Post Reply