Kodi Community Forum
[RELEASE] Random and last items smartplaylist script for Skins - 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] Random and last items smartplaylist script for Skins (/showthread.php?tid=122448)



RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-03-30

No, everything is OK on GITHUB :

https://github.com/XBMC-Addons/script.randomandlastitems/blob/master/randomandlastitems.py

Look at lines 247 and 248.

Could you remind me what is the issue (description, log file).


RE: [RELEASE] Random and last items smartplaylist script for Skins - Venares - 2013-03-30

Just chcked my local and the change does appar their so thats ok apparently.
Looks like sounthing else broke.

The issue is that smartplaylists for TV Shows no longer work again.
If I set the type to "episodes" it reports back fine, but if its set to "TV Shows" no information is displayed.

http://xbmclogs.com/show.php?id=8376


RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-03-30

Get it and fix it on GITHUB :

https://github.com/XBMC-Addons/script.randomandlastitems

Can you download ZIP file and test it ?

For me, everything is OK.


RE: [RELEASE] Random and last items smartplaylist script for Skins - Venares - 2013-03-30

Tried GIT and still broken for me.

Not the end of the world as their is a work around for the issue.
I'd still love to know what changed in 2.1.1 though to break it.


Re: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-03-30

Adding Mpaa and Studio properties.

Will check this tomorrow morning.


RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-03-30

Sorry, forgot to remove Studio from VideoLibrary.GetEpisodes JSON query.

GITHUB should be OK now.


RE: [RELEASE] Random and last items smartplaylist script for Skins - Martijn - 2013-03-31

(2013-03-30, 17:09)Venares Wrote: Just chcked my local and the change does appar their so thats ok apparently.
Looks like sounthing else broke.

The issue is that smartplaylists for TV Shows no longer work again.
If I set the type to "episodes" it reports back fine, but if its set to "TV Shows" no information is displayed.

http://xbmclogs.com/show.php?id=8376

that's not a Debug Log and no error in it

however try this.
can you replace current code from randomandlastitems.py with this http://pastebin.com/H7tGcQY0 and try again?


RE: [RELEASE] Random and last items smartplaylist script for Skins - blondeshanks - 2013-03-31


that's not a debug log and no error in it

however try this.
can you replace current code from randomandlastitems.py with this http://pastebin.com/H7tGcQY0 and try again?
[/quote]

Thank you Martijn, that worked... and sorry for what I thought was the correct debug log. I will endeavor to do it correctly next time


RE: [RELEASE] Random and last items smartplaylist script for Skins - Venares - 2013-03-31

(2013-03-31, 01:40)Martijn Wrote:
(2013-03-30, 17:09)Venares Wrote: Just chcked my local and the change does appar their so thats ok apparently.
Looks like sounthing else broke.

The issue is that smartplaylists for TV Shows no longer work again.
If I set the type to "episodes" it reports back fine, but if its set to "TV Shows" no information is displayed.

http://xbmclogs.com/show.php?id=8376

that's not a debug log and no error in it

however try this.
can you replace current code from randomandlastitems.py with this http://pastebin.com/H7tGcQY0 and try again?

I forgot to enable Debug mode didnt I Sleepy
Confirmed what ever you changed fixed the issue though Martijn.


Re: [RELEASE] Random and last items smartplaylist script for Skins - blondeshanks - 2013-03-31

Just wondering, although playlist widgets are working superb now... is there a reason why they don't show the running times? All the media flags are populated except a shows runtime?

Show runtimes are present in other views and also okay for standard widgets, it looks like it's limited to playlist widgets?


RE: [RELEASE] Random and last items smartplaylist script for Skins - phil65 - 2013-03-31

script-related. will get added.


Re: RE: [RELEASE] Random and last items smartplaylist script for Skins - blondeshanks - 2013-03-31

(2013-03-31, 21:14)phil65 Wrote: script-related. will get added.

Thanks phil, it looks pretty amazing by the way... all them snazzy media flags laid out along the bottom.


RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-03-31

Thanks Phil and Martijn to fix and publish new release on repo.

Didn't have time to play with this script during week-end :S


RE: [RELEASE] Random and last items smartplaylist script for Skins - Rantanplan-1 - 2013-04-24

First of all, thanks for this Script, its smooth in use.
I would have a Suggestion, could you made it possible this script could also handle Musicvideos?
The reason for this request is, i'm using Smartplaylists to Separate ordinary Musicvideos from Concerts and i would like to have the Option to show there recently Added content in the Homescreen.


RE: [RELEASE] Random and last items smartplaylist script for Skins - mikebzh44 - 2013-04-25

Yes.

Some other people have asked for this feature.

I need to scrap some Music videos and see how to do this.