NOTICE: [beets] dbogdanov opened issue #2869: Maintain original folder structure https://github.com/beetbox/beets/issues/2869
Mattiasl_ joined the channel
Mattiaslndstrm has quit
antlarr joined the channel
Vacuity_ joined the channel
sentriz has quit
sentriz joined the channel
Vacuity has quit
oodani joined the channel
oodani
Hi there! I'm running beets 1.4.6 and I'm trying to get the play plugin working with MPD. It /almost/ works, but doesn't actually start playing, if I use {raw: yes, relative_to: ~/Music, command: mpc clear && mpc add} - I don't think there's any way to add extra command /after/ the list of songs, which is where I'd need to call mpc play. Is there a better way?
I initially guessed {relative_to: ~/Music, command: mpc load}, but although MPD does support .m3u playlists it doesn't let you load them from outside its designated playlist directory, so a temporary file doesn't work.
Guanin has quit
Guanin joined the channel
joshproehl has quit
joshproehl joined the channel
simukis joined the channel
jamesbvaughan joined the channel
surtin has quit
lazka joined the channel
DjSlash
oodani: add '&& mpc play' to your command
oh sorry, my coffee didnt kick in yet
oodani
;)
Yeah, the selected tracks get added to the end of the command, so adding '&& mpc play' just gets mpc all confused.
DjSlash
I see why I never bothered to set it up, I just search in mpd itself. As long mpdupdate in beets works, most metadata will be in mpd too.
pyroscope_ joined the channel
pyroscope has quit
pyroscope_ is now known as pyroscope
oodani
Heh, fair enough. I do have mpdupdate set up already. :P
I think to get play working, I'd probably need to write a little wrapper script to munge the info for passing to mpc. :o Might do that later, but eh.
rgggn joined the channel
warsh joined the channel
GH0S1 joined the channel
cerbere joined the channel
infides joined the channel
warsh
is there a way to preserve basic directory structure when importing? I have my music organized from where I sourced it from, and it would preferred to keep that structure. Is there something I can specify while importing to use a specific folder over an other?
m1dnight_ joined the channel
m1dnight_ joined the channel
chrustler has quit
chrustler_ joined the channel
lazka has quit
nbags
warsh: i dont think so, but you could import each source separately and change the config file between them (or write a script to do that)
Speranskiy has quit
m1dnight_ joined the channel
Speranskiy joined the channel
surtin joined the channel
warsh
nbags: hmm. I was thinking I could also just use the rename directory feature, adding the source as a prefix followed by an underscore
lazka joined the channel
NOTICE: [beets] jones1008 closed issue #2868: "surrogates not allowed"-Error when executing from php script https://github.com/beetbox/beets/issues/2868
lazka has quit
Vacuity_ is now known as Vacuity
nbags
warsh: i'd experiment a little first, beets doesnt always do quite what you expect
warsh
good to know, I'll keep backups just in case. Thanks nbags :-)