Hi Markus,
Since we have both 'play' and 'add' buttons, I don't really see the
need for distinct "play immediately" and "append to playlist" options.
Plus, it would not automatically start playing a mix when there's
nothing on the air already.
What about something like this :
Code:
--------------------
request_mip_mix(seed-track/album/genre)
if (seed-track/album/genre = playing)
number-of-tracks-to-request=n+1
call-mip-api
remove-first-track-from-response
else
number-of-tracks-to-request=n
call-mip-api
if (option="play mix")
if( pressed_buton = 'PLAY' )
replace playlist with mix, start playing
else( pressed_button = '+' )
append mix to player-playlist
else (option="preview mix")
if( something_is_playing = false)
replace playlist with mix, start playing
else
preview mix as normal-playlist (the same as it's now)
--------------------
Seb
--
sebp
System : Mac Mini for ripping to FLAC (Max) > SqueezeCenter 7.2 running
on a ReadyNAS NV+
Living room : Squeezebox 3 > Beresford DAC > Trends Audio TA10.1 > KEF
iQ9
Bedroom : Squeezebox 3 > NAD C315BEE > KEF iQ3
Kitchen : SB Receiver > Logitech SoundMan X1
'Last.fm' (http://www.last.fm/user/sebp)
------------------------------------------------------------------------
sebp's Profile: http://forums.slimdevices.com/member.php?userid=11768
View this thread: http://forums.slimdevices.com/showthread.php?t=51775
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss