[RELEASE] RandomItems (Random Items) Script - 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] RandomItems (Random Items) Script (/showthread.php?tid=79378) |
RE: [RELEASE] RandomItems (Random Items) Script - Livin - 2012-09-08 (2012-09-08, 10:13)Martijn Wrote:(2012-09-08, 02:32)Livin Wrote: This script fails constantly... upon XBMC start, while navigating any menu, even watching a video! here's a debug log snippet of one of the occurrences... http://www.xbmclogs.com/show.php?id=8080 I'm using Alpha 5, but it was happening with at least 10 diffe.rent builds I tried before that.and i won't help you because you fail to follow the furim rules and especially mine. do NOT provide code snippets. you also clearly didn't read the lst pages Using I code snippet I figured out what the problem a few minutes after I posted this... The version of RandomItems being auto-installed (I think from NOX) was not frodo compatible, thus throwing the error that the frodo version fixed. btw... it might help avoid unnecessary posts if the first post in this thread was updated with the link to the frodo version. (WatchList thread too) RE: [RELEASE] RandomItems (Random Items) Script - ronie - 2012-09-09 (2012-09-08, 17:28)Livin Wrote: btw... it might help avoid unnecessary posts if the first post in this thread was updated with the link to the frodo version. (WatchList thread too) ack. done and taken care of :-) RE: [RELEASE] RandomItems (Random Items) Script - reazorFX - 2012-09-15 Hi I will include your script on my skin. Question: Why it not work Code: <onload>XBMC.RunScript(special://skin/scripts/RandomItems.py,limit=10&unplayed=false)</onload> thx RE: [RELEASE] RandomItems (Random Items) Script - ronie - 2012-09-15 (2012-09-15, 19:57)reazorFX Wrote: Hi read the first post :-) RE: [RELEASE] RandomItems (Random Items) Script - reazorFX - 2012-09-15 (2012-09-15, 19:59)ronie Wrote:(2012-09-15, 19:57)reazorFX Wrote: Hi i canĀ“t start with special://skin/scripts/RandomItems.py XBMC.RunScript(script.randomitems,limit=10&unplayed=True&alarm=30) this work shure only for the understanding .. why not special://skin/scripts/RandomItems.py RE: [RELEASE] RandomItems (Random Items) Script - kiboy6 - 2012-09-30 Hi guys... Been enjoying this script via BackRow skin for a while...but recently noticed a problem when selecting a random album. Once selected the album's tracks are not queued according to Track Number (as used by the XBMC library, derived from ID3 tag). Instead the tracks are (I'm pretty sure) sorted by filename. This would give the same result IF your tracks have their track numbers at the beginning of the filename. However if your filenames aren't organised that way the random album will not play in track numbered order. Anything that could be done about this? Thanks so much RE: [RELEASE] RandomItems (Random Items) Script - Balthazar - 2012-09-30 Hi Guys, I keep getting script failed errors using script.randomitems_frodo-v12.01.1.zip downloaded from here a couple of posts ago. I am using a custom XBMC pre-Frodo build that merges xbmc/master and fernetmenta/master and spotyxbmc2/master. Git merges were last done on 9/25/12 and were built on 9/28/12. Here is the debug log. Can you confirm the errors are coming from trying to get album ids from Spotify albums? If so is there a way to modify the script to either ignore Spotify albums or just not get random items for music? RE: [RELEASE] RandomItems (Random Items) Script - ronie - 2012-09-30 (2012-09-30, 17:34)Balthazar Wrote: Hi Guys, i'm not familiar with the spotify addon... does it add albums to the xbmc music database? RE: [RELEASE] RandomItems (Random Items) Script - Martijn - 2012-09-30 try replacing PHP Code: path = 'XBMC.RunScript(' + __addonid__ + ',albumid=' + str(item['albumid']) + ')' PHP Code: path = 'XBMC.RunScript(' + __addonid__ + ',albumid=' + str(item.get('albumid','')) + ')' It shouldn't fail anymore but you on't be able to play it either. Won't do much about it because within two weeks a lot needs to be changed. After that we'll see what else needs to be done. Yeah what strange thing is that it seems to be adding them to the db (else it wouldn't find them) but they don't have an albumid which seems way odd. RE: [RELEASE] RandomItems (Random Items) Script - ronie - 2012-09-30 (2012-09-30, 11:54)kiboy6 Wrote: Hi guys... could you please test if this fixes it: script.randomitems-3.1.7.zip RE: [RELEASE] RandomItems (Random Items) Script - Balthazar - 2012-09-30 (2012-09-30, 17:54)Martijn Wrote: try replacing Thanks Martijn - that fixed the error. ronie - Its not an addon per se, it integrates your Spotify starred albums and playlists directly into your music library and allows you to search for Spotify artists, songs, etc from your library. Hopefully it gets turned into a regular binary addon at some point, but for right now it is baked into the xbmc code. I prefer its integration to the other Spotify app, Spotimc. RE: [RELEASE] RandomItems (Random Items) Script - Martijn - 2012-09-30 (2012-09-30, 23:02)Balthazar Wrote: Thanks Martijn - that fixed the error. great. think i will change all of them to that layout. Still weird that it fails on albumid. Seems they did something wrong in integrating that or it isn't supposed to work like that. RE: [RELEASE] RandomItems (Random Items) Script - kiboy6 - 2012-10-01 (2012-09-30, 21:48)ronie Wrote:(2012-09-30, 11:54)kiboy6 Wrote: Hi guys... That does the trick perfectly...thanks Ronie RE: [RELEASE] RandomItems (Random Items) Script - VelvetKevorkian - 2012-10-02 (2012-09-30, 21:48)ronie Wrote: could you please test if this fixes it: i'm getting "addon does not have the correct structure" when i try to install from zip RE: [RELEASE] RandomItems (Random Items) Script - ronie - 2012-10-02 (2012-10-02, 10:23)VelvetKevorkian Wrote:(2012-09-30, 21:48)ronie Wrote: could you please test if this fixes it: i've pushed the update to the addon repo, so you don't need this anymore. you'll receive the update automatically. |