Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


mpc command to add as next
#1
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
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω
Reply
#2
Add/play next is added in Moode 7.
----------------
Robert
Reply
#3
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)
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω
Reply
#4
@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?
Reply
#5
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?
Raspberry Pi3B+ --> HiFiBerry DAC+ PRO --> Cyrus | Pre - Pre Amplifier --> D. Klimo | Kent monoblocks --> Piega | Piega LDR 8.2
Raspberry Pi3B+ --> HiFiBerry AMP2 --> Visaton FRS 8 30W 4Ω
Reply


Forum Jump: