![]() |
|
[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) |
RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-04-02 10:42 @Mudislander : If you want to test the new property Type, you just have to edit randomandlastitems.py code in the addon directory : before : Code: def _setGeneralProperties ( _total, _watched, _unwatched ):After : Code: def _setGeneralProperties ( _total, _watched, _unwatched ):RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Mudislander - 2012-04-02 11:10 (2012-04-02 10:42)mikebzh44 Wrote: @Mudislander : Thanks I'll give it a test Edit Initial test, seems to work well, have cut out miles of code
RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Mudislander - 2012-04-02 21:25 Found a small bug for you with the .Count property. Not an issue for me but you may want to look at it. I have a playlist that returns 20 items, with 2 watched and 18 Unwatched - Which is correct. When I tell the script I only want to see the Unwatched items it returns 18 which is correct. However the .Count property stays at 20, with 2 watched and 18 Unwatched. Should it not now report 18 items with 0 watched. As I said not an issue for me, as I'm happy it's reporting back on the whole playlist but you can decide what you want
RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-04-03 08:04 It's because .Count, .Watched and .Unwatched are based on Playlist and not on options resume= or unwatched=. So everything is OK ![]() Has your tests are OK, I will put .Type property in next version. RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - Mudislander - 2012-04-03 10:33 All good, looking forward to next update, .Type property is a big help - Thanks RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - butchabay - 2012-04-03 12:08 Hope this won't affect the old way. RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-04-03 12:11 No. You can specifie all the properties if you want. RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - butchabay - 2012-04-03 13:09 Great thanx, btw just integrated your work in cirrus extended v2 and cirrus extended light. See Here RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-04-03 23:02 Great work and great skins. RE: [RELEASE] Random and last items of video smartplaylist script for Skins / Skinners - mikebzh44 - 2012-04-06 15:10 Version 1.2.0 released v1.2.0 - [Add] Property .Type is returned. Value is Movie or Episode. Helpfull if you use script with playlist and did not specifie type= parameter so script will get type from playlist. |