Thank you for your donation!


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


mpc update [<path>]
#1
update [--wait] [<path>]

would this command be working
mpc update [/mnt/NAS/fs-14-musik/musik/b/Bruce]
mpc update [/mnt/NAS/fs-14-musik/musik/N/Nick]


Bruce is Bruce springsteen
Nick for Nick Cave

will i have to add a * after Bruce ?

and what is -wait doing


have a nice day
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
(03-17-2024, 06:23 PM)vikozo Wrote: update [--wait] [<path>]

would this command be working
mpc update [/mnt/NAS/fs-14-musik/musik/b/Bruce]
mpc update [/mnt/NAS/fs-14-musik/musik/N/Nick]


Bruce is Bruce springsteen
Nick for Nick Cave

will i have to add a * after Bruce ?

and what is -wait doing


have a nice day
vinc

1) Keep in mind that album coverart is not managed by mpd so mpc update won't add the coverart for albums added to the moOde library.

2) mpc update doesn't perform the update; rather it tells mpd to. The time it takes mpd to complete the update is indeterminable. If the --wait option is used, then mpc will not return until mpd is done; otherwise it will return immediately. The distinction may or may not matter, depending on how mpc is being used in a script.

3) the <path> has to be a complete Linux path. If the directory in question is named "Bruce Springsteen" the path given to mpc will have to say so. You could use a backslash to protect the space; include the entire path in quotation marks; or, if you're sure there's no other
"Bruce..." directories, use the wildcard asterisk after "Bruce". This is all just Linux shell syntax.

Regards,
Kent
Reply


Forum Jump: