Moode Forum
mpc command to add as next - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: mpc command to add as next (/showthread.php?tid=3176)



mpc command to add as next - vikozo - 11-21-2020

hello

i would like to find a Genre and add this to just play it as next in the playlist, not adding it at the end of the playlist!

i do a shuffle off,  random off, findadd the Genre needed and mpc next

do i missed a command?

clear the list is not a nice option ;-)

have a nice time
vinc


RE: mpc command to add as next - the_bertrum - 11-21-2020

Add/play next is added in Moode 7.


RE: mpc command to add as next - vikozo - 11-21-2020

OK Merci, this help a bit.
at least it is not working now and it is not just a mpc command too.

mpc move from the last to second

but you need to know exactly which is the last


BUT, in the GUI is a option to add it as next (off course Shuffle and Random must be off)


RE: mpc command to add as next - radu- - 11-23-2020

@vikozo

mpc man page says:

Code:
insert <file> - The insert command works similarly to
       add except it adds song(s) after the currently playing one, rather than at the end.  When random  mode
       is enabled, the new song is queued after the current song.


Is this what you're asking?


RE: mpc command to add as next - vikozo - 11-24-2020

hmm yes @radu-
but the script i have 

Code:
#!/bin/bash
mpc random off
mpc shuffle off
mpc insert SDCARD/ayurveda/13-16v2.flac
/var/www/vol.sh 90
mpc next

will put it at the end of the list and play it just at the end

just another question - adding like this will not show it on my 7" display, it will play, but not show.
is there a screen refresh to add in the script?