random on setting
#1
PlayerControl(random) toggles the random setting. It would be good to have randomON and randomOFF too ...

I use a a little customization to play mp3 playlist randomly and run pictures slideshow at a press of 1 button.

This is what I do

<onclick>XBMC.PlayMedia(c:\mp3\music.m3u)</onclick>
<onclick>XBMC.SlideShow(recursive,random,D:/pictures)</onclick>
<onclick>XBMC.PlayerControl(random)</onclick>


and music starts randomly also slideshow does.

on first run it is OK but next time i run random music it toggles random off. so i must run action again to go to random.

thank you!
Reply
#2
We did away with random years ago in preference for shuffle.

EDIT: Misread. Please disregard Wink
Reply
#3
http://trac.xbmc.org/changeset/18292

somebody please update the wiki Smile
Reply
#4
Wiki updated.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not 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.


Image
Reply
#5
Seems that something has been done here... I tried looking for more details with no luck.
Can I use that now? Or should I wait for new version release? Or how does this changeset process work?
I couldnt find Util.cpp...

Help Big Grin

thank you,
Marko
Reply
#6
you obviously cannot use it unless you updated your build to one including the change... other than that, just use playercontrol(RandomOff) or playercontrol(RandomOn) instead of playercontrol(Random)
Reply
#7
thanks... I am googling 10 minutes now and cannot find new builds... (windows).
Ill try to find it otherwise Ill wait for new version. Latest file on SF is from 2009-02-27 , changeset is from 2009-03-05. So I guess there is no new bild yet, am I right?
Reply
#8
There are 3rd party builds in the forums somewhere.
Reply

Logout Mark Read Team Forum Stats Members Help
random on setting0