Thank you for your donation!


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


Playlist currently used
#1
Hi All,

how to find, using SSH mpc commands or any other way, what is a playlist currently used?

Thanks and regards
Stan
Reply
#2
(04-14-2020, 08:25 AM)Stan Nowak Wrote: Hi All,

how to find, using SSH mpc commands or any other way, what is a playlist currently used?

Thanks and regards
Stan


Does this do what you want?

Code:
mpc playlist



Regards,
Kent
Reply
#3
(04-14-2020, 01:21 PM)TheOldPresbyope Wrote:
(04-14-2020, 08:25 AM)Stan Nowak Wrote: Hi All,

how to find, using SSH mpc commands or any other way, what is a playlist currently used?

Thanks and regards
Stan


Does this do what you want?

Code:
mpc playlist



Regards,
Kent
Unfortunately, no.
Thanks
Stan
Reply
#4
Maybe this:

Code:
current=$(mpc playlist); mpc lsplaylist | while read i; do (if [ "$(mpc playlist "$i")" = "$current" ]; then echo "$i"; fi); done

Regards,
Henio
Reply


Forum Jump: