PDA

View Full Version : Random Play/Mix Did you know?....



Craig
2005-09-01, 10:59
Did you know that KDF's Random Play plugin or Random Mix as it seems to be called in 6.2 has got functions that can be mapped to key presses?

I made these changes to my custom.map

7.hold = modefunction_PLUGIN.Random->tracks
8.hold = modefunction_PLUGIN.Random->albums
9.hold = modefunction_PLUGIN.Random->artists

This means that
Holding key 7 causes random tracks to be played
Holding key 8 causes random albums to be played
Holding key 9 causes random artists to be played

Of course you can map them to other keys but that's how I have mine.

Craig

MeSue
2005-09-01, 11:25
Thanks for the tip!

Craig
2005-09-01, 11:54
You're welcome,

I can't take the credit, KDF posted it in some obscure thread a while back. I just enhanced it a bit.

Craig

Craig
2005-09-08, 10:52
If you are using the Random Mix plugin included in V6.2 then the commands are slightly different i.e.

7.hold = modefunction_PLUGIN.RandomPlay::Plugin->tracks
8.hold = modefunction_PLUGIN.RandomPlay::Plugin->albums
9.hold = modefunction_PLUGIN.RandomPlay::Plugin->artists

(Thanks to KDF for sorting that out for me)

Craig

Bruce Hartley
2005-09-09, 00:25
Great, I'll get them setup as discrete commands on my pronto (touch screen remote).

Thanks

Bruce Hartley
2005-09-09, 01:59
Tried to set them up, but not working quite right.

Could someone look at this log and let me know what is going on...........


The log should show me:

1. pressing Random by Artist
2. pressing Random by Album
3. pressing Random by Track
4. pressing Random by Artist
5. pressing Random by Album
6. pressing Random by Track

but what actually happens is:

1. Playing Random Tracks
2. Playing Random Tracks
3. nothing
4. Playing Random Tracks
5. Playing Random Tracks
6. nothing

help!!!

2005-09-09 09:52:24.6433 768906f9 86998.784 1126255944.64331
2005-09-09 09:52:24.6436 found button menu_random_artist for 768906f9
2005-09-09 09:52:24.6438 found function modefunction_PLUGIN.Random->artists for button menu_random_artist in mode common from map Default
2005-09-09 09:52:24.6439 irCode = [modefunction_PLUGIN.Random->artists] timer = [86998.784] timediff = [76.25] last = []
2005-09-09 09:52:24.6440 irCode: modefunction_PLUGIN.Random->artists, 00:04:20:05:a8:f1
2005-09-09 09:52:24.6441 irCode not defined: modefunction_PLUGIN.Random->artists
2005-09-09 09:52:24.6442 trying to execute button: modefunction_PLUGIN.Random->artists
2005-09-09 09:52:24.6446 executing button: modefunction_PLUGIN.Random->artists
2005-09-09 09:52:24.9025 found button menu_random_artist for 768906f9
2005-09-09 09:52:24.9028 irCode not defined: menu_random_artist.single
2005-09-09 09:52:24.9109 768906f9 86998.892 1126255944.91086
2005-09-09 09:52:24.9111 found button menu_random_artist for 768906f9
2005-09-09 09:52:24.9113 irCode not defined: menu_random_artist.repeat
2005-09-09 09:52:24.9114 irCode = [] timer = [86998.892] timediff = [0.108000000007451] last = [modefunction_PLUGIN.Random->artists]
2005-09-09 09:52:24.9143 768906f9 86999 1126255944.91431
2005-09-09 09:52:24.9145 found button menu_random_artist for 768906f9
2005-09-09 09:52:24.9147 irCode not defined: menu_random_artist.repeat
2005-09-09 09:52:24.9148 irCode = [] timer = [86999] timediff = [0.107999999992899] last = [modefunction_PLUGIN.Random->artists]
2005-09-09 09:52:27.5475 76890af5 87001.687 1126255947.54747
2005-09-09 09:52:27.5478 found button menu_random_album for 76890af5
2005-09-09 09:52:27.5480 found function modefunction_PLUGIN.Random->albums for button menu_random_album in mode common from map Default
2005-09-09 09:52:27.5481 irCode = [modefunction_PLUGIN.Random->albums] timer = [87001.687] timediff = [2.68700000000536] last = [modefunction_PLUGIN.Random->artists]
2005-09-09 09:52:27.5481 irCode: modefunction_PLUGIN.Random->albums, 00:04:20:05:a8:f1
2005-09-09 09:52:27.5483 irCode not defined: modefunction_PLUGIN.Random->albums
2005-09-09 09:52:27.5484 trying to execute button: modefunction_PLUGIN.Random->albums
2005-09-09 09:52:27.5486 executing button: modefunction_PLUGIN.Random->albums
2005-09-09 09:52:27.9616 found button menu_random_album for 76890af5
2005-09-09 09:52:27.9619 irCode not defined: menu_random_album.single
2005-09-09 09:52:27.9664 76890af5 87001.794 1126255947.96637
2005-09-09 09:52:27.9666 found button menu_random_album for 76890af5
2005-09-09 09:52:27.9668 irCode not defined: menu_random_album.repeat
2005-09-09 09:52:27.9669 irCode = [] timer = [87001.794] timediff = [0.106999999989057] last = [modefunction_PLUGIN.Random->albums]
2005-09-09 09:52:27.9703 76890af5 87001.902 1126255947.97027
2005-09-09 09:52:27.9705 found button menu_random_album for 76890af5
2005-09-09 09:52:27.9706 irCode not defined: menu_random_album.repeat
2005-09-09 09:52:27.9708 irCode = [] timer = [87001.902] timediff = [0.108000000007451] last = [modefunction_PLUGIN.Random->albums]
2005-09-09 09:52:30.0879 768902fd 87004.228 1126255950.0879
2005-09-09 09:52:30.0884 irCode not defined: 768902fd
2005-09-09 09:52:30.0885 irCode = [] timer = [87004.228] timediff = [2.32600000000093] last = [modefunction_PLUGIN.Random->albums]
2005-09-09 09:52:30.0886 irCode: , 00:04:20:05:a8:f1
2005-09-09 09:52:30.0888 irCode not defined:
2005-09-09 09:52:30.0888 trying to execute button:
2005-09-09 09:52:30.0889 button not implemented in this mode
2005-09-09 09:52:30.1948 768902fd 87004.335 1126255950.19477
2005-09-09 09:52:30.1951 irCode not defined: 768902fd.repeat
2005-09-09 09:52:30.1953 irCode = [] timer = [87004.335] timediff = [0.107000000003609] last = []
2005-09-09 09:52:30.3447 irCode not defined: 768902fd.single
2005-09-09 09:52:32.3951 768906f9 87006.536 1126255952.39507
2005-09-09 09:52:32.3954 found button menu_random_artist for 768906f9
2005-09-09 09:52:32.3956 found function modefunction_PLUGIN.Random->artists for button menu_random_artist in mode common from map Default
2005-09-09 09:52:32.3957 irCode = [modefunction_PLUGIN.Random->artists] timer = [87006.536] timediff = [2.20099999998638] last = []
2005-09-09 09:52:32.3958 irCode: modefunction_PLUGIN.Random->artists, 00:04:20:05:a8:f1
2005-09-09 09:52:32.3960 irCode not defined: modefunction_PLUGIN.Random->artists
2005-09-09 09:52:32.3960 trying to execute button: modefunction_PLUGIN.Random->artists
2005-09-09 09:52:32.3963 executing button: modefunction_PLUGIN.Random->artists
2005-09-09 09:52:32.6693 found button menu_random_artist for 768906f9
2005-09-09 09:52:32.6696 irCode not defined: menu_random_artist.single
2005-09-09 09:52:32.6744 768906f9 87006.643 1126255952.67441
2005-09-09 09:52:32.6747 found button menu_random_artist for 768906f9
2005-09-09 09:52:32.6748 irCode not defined: menu_random_artist.repeat
2005-09-09 09:52:32.6749 irCode = [] timer = [87006.643] timediff = [0.107000000003609] last = [modefunction_PLUGIN.Random->artists]
2005-09-09 09:52:32.6777 768906f9 87006.75 1126255952.67772
2005-09-09 09:52:32.6779 found button menu_random_artist for 768906f9
2005-09-09 09:52:32.6781 irCode not defined: menu_random_artist.repeat
2005-09-09 09:52:32.6782 irCode = [] timer = [87006.75] timediff = [0.107000000003609] last = [modefunction_PLUGIN.Random->artists]
2005-09-09 09:52:34.6443 76890af5 87008.784 1126255954.6443
2005-09-09 09:52:34.6447 found button menu_random_album for 76890af5
2005-09-09 09:52:34.6448 found function modefunction_PLUGIN.Random->albums for button menu_random_album in mode common from map Default
2005-09-09 09:52:34.6449 irCode = [modefunction_PLUGIN.Random->albums] timer = [87008.784] timediff = [2.03399999999965] last = [modefunction_PLUGIN.Random->artists]
2005-09-09 09:52:34.6450 irCode: modefunction_PLUGIN.Random->albums, 00:04:20:05:a8:f1
2005-09-09 09:52:34.6452 irCode not defined: modefunction_PLUGIN.Random->albums
2005-09-09 09:52:34.6453 trying to execute button: modefunction_PLUGIN.Random->albums
2005-09-09 09:52:34.6455 executing button: modefunction_PLUGIN.Random->albums
2005-09-09 09:52:34.7939 76890af5 87008.892 1126255954.79383
2005-09-09 09:52:34.7941 found button menu_random_album for 76890af5
2005-09-09 09:52:34.7942 irCode not defined: menu_random_album.repeat
2005-09-09 09:52:34.7943 irCode = [] timer = [87008.892] timediff = [0.108000000007451] last = [modefunction_PLUGIN.Random->albums]
2005-09-09 09:52:34.9264 found button menu_random_album for 76890af5
2005-09-09 09:52:34.9267 irCode not defined: menu_random_album.single
2005-09-09 09:52:34.9451 76890af5 87009.001 1126255954.94502
2005-09-09 09:52:34.9453 found button menu_random_album for 76890af5
2005-09-09 09:52:34.9455 irCode not defined: menu_random_album.repeat
2005-09-09 09:52:34.9456 irCode = [] timer = [87009.001] timediff = [0.10899999999674] last = [modefunction_PLUGIN.Random->albums]
2005-09-09 09:52:36.9496 768902fd 87011.089 1126255956.94953
2005-09-09 09:52:36.9500 irCode not defined: 768902fd
2005-09-09 09:52:36.9501 irCode = [] timer = [87011.089] timediff = [2.08800000000338] last = [modefunction_PLUGIN.Random->albums]
2005-09-09 09:52:36.9502 irCode: , 00:04:20:05:a8:f1
2005-09-09 09:52:36.9503 irCode not defined:
2005-09-09 09:52:36.9504 trying to execute button:
2005-09-09 09:52:36.9505 button not implemented in this mode
2005-09-09 09:52:37.0570 768902fd 87011.197 1126255957.05692
2005-09-09 09:52:37.0572 irCode not defined: 768902fd.repeat
2005-09-09 09:52:37.0573 irCode = [] timer = [87011.197] timediff = [0.107999999992899] last = []
2005-09-09 09:52:37.2066 irCode not defined: 768902fd.single

Bruce Hartley
2005-09-09, 02:04
Sorry for talking to myself.

The 3 & 6, seem to be an IR code problem, I changed the codes and they are ok.

The rest I think is actually working properly, I was confused by the display.

It said "playing random tracks"

and I expected it to say "playing random artists" or "playing random albums". Sorry for the noise.

Craig
2005-09-09, 02:29
Sorry for talking to myself.

It said "playing random tracks"

and I expected it to say "playing random artists" or "playing random albums". Sorry for the noise.

I think that KDF's plugin always did whereas the version included in V6.2b1 says
'Random Song Mix'
'Random Album Mix'
'Randon Artist Mix'

Craig

Bruce Hartley
2005-09-09, 13:46
OK, great, thanks.

btw, is 6.2 stable in the song playing department or should I stick with 6.1.2 nightlies for the time being?

Craig
2005-09-10, 01:49
It's working fine for me in Windows

Craig

Craig
2007-09-06, 12:22
If you want to use this with Slimserver V7.0 then the commands need to be :-

7.hold = modefunction_Slim::Plugin::RandomPlay::Plugin->tracks
8.hold = modefunction_Slim::Plugin::RandomPlay::Plugin->albums
9.hold = modefunction_Slim::Plugin::RandomPlay::Plugin->contributors

Thanks again to KDF

Craig