Hi,
I like the new Random Items feature (added in v3.11.1). I was wondering if its possible to modify it to choose random items more frequently (instead of the default 30min) and pick from all movies rather than only unwatched.
I found one thread post to change random items every time you go home (which would be great too), but don't know where to make the change.
Many Thanks!
Configure Random Items (Transparency Skin)
kapperz
Member Posts: 54 Joined: Sep 2010 Reputation: 0 |
2011-12-04 01:16
Post: #1
|
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2011-12-04 01:22
Post: #2
move the piece of code that runs the script from Startup.xml to Home.xml
to include all movies (and episodes) make the change in bold: Code: script.randomitems,limit=3&alarm=60[b]&unplayed=True[/b]Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
kapperz
Member Posts: 54 Joined: Sep 2010 Reputation: 0 |
2011-12-04 05:05
Post: #3
Thanks ronie, I've poked around the filesystem and don't see startup.xml or home.xml.
I'm running the XMBC Live 10.1. |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2011-12-04 05:06
Post: #4
look in this direcory:
~/.xbmc/addons/skin.transparency/720p Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
kapperz
Member Posts: 54 Joined: Sep 2010 Reputation: 0 |
2011-12-04 22:37
Post: #5
Ronie,
Thanks for your patience with this. I have looked in a bunch of the .xml files and don't see anything that starts the randomitems script. I have tired to add the following to line to Home.xml within the <control> at ln 95 with no affect (restarted xbmc between changes). Code: <onfocus>RunScript(script.randomitems,limit=5&alarm=30;unplayed=True)</onfocus>I have zipped up some of the unmodified xml files from the 720p directory. I'm pretty technically inclined. What am I missing here? http://dl.dropbox.com/u/3989834/skin.tra...y.720p.zip |
| find quote |
ronie
Team-XBMC Member Joined: Jan 2009 Reputation: 111 |
2011-12-04 23:47
Post: #6
no wonder, my comments above weren't exactly accurate for dharma :-)
in Home.xml, make this change: Code: <control type="button" id="5043">in Includes.xml, make change this: Code: <include name="randomitemsscripthome">Always read the XBMC online-manual, FAQ and search the forum before posting. Do not PM or e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
kapperz
Member Posts: 54 Joined: Sep 2010 Reputation: 0 |
2011-12-05 02:22
Post: #7
Works, Thanks!
|
| find quote |


Search
Help