You know the scenario, you've got some random music playing (e.g. a playlist, a genre or an AutoDJ list etc) and you hear a song and think "
I'd like to hear the songs by that Artist" - or does that just happen to me?
This command will load all songs (well up to 200 in this case..) rated at >60 in your music database for the currently playing artist
<?xml version="1.0" encoding="utf-8"?>
<commandGroup open="True" name="Play more songs by this artist" enabled="True" prefix="" priority="0" requiredProcess="" description="">
<command id="171" name="Play more songs by this artist" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
<action>
<cmdType>MM.SoftMute</cmdType>
<cmdString>20</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>MM.currentsongdata</cmdType>
<cmdString>Artist</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>OSD.ShowText</cmdType>
<cmdString>{lastresult}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<if ifBlockDisabled="False" ifNot="False">
<ifType>LastActionSuccess</ifType>
<ifParams>&&</ifParams>
<then>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>Please wait while I select hits by {lastresult}</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</then>
<else>
<action>
<cmdType>TTS.SpeakSync</cmdType>
<cmdString>I'm sorry I don't know who sings this song</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
</else>
</if>
<action>
<cmdType>MM.LoadBySQL</cmdType>
<cmdString>Artist = '{lastresult}' and rating>60 order by random() limit 200</cmdString>
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>MM.Play</cmdType>
<cmdString />
<cmdRepeat>1</cmdRepeat>
</action>
<action>
<cmdType>MM.SoftUnmute</cmdType>
<cmdString />
<cmdRepeat>1</cmdRepeat>
</action>
<phrase>Play more songs by this artist</phrase>
</command>
</commandGroup>
I'm happy with the command but the one issue I have is that it stops (and clears) the currently playing song. I don't mind that it clears the "now playing" list but the main reason I (generally) want to play more songs by the currently playing artist is because I like the song I'm listening to
If anyone has got another way to do this I'd love to see it