You are not logged in.

#1 2012-11-02 16:33:49

brianb
Member
From: Montreal, QC
Registered: 2012-02-17
Posts: 81
Website

ncmpcpp/mpd: add new, temporary file/directory to playlist

Hi,

Is it possible to add a new, but temporary file/directory to the playlist in ncmpcpp? For example, suppose I download some audio files which I'd like to listen to using ncmpcpp, but which I don't want in my actual music library (because they'll be deleted once I'm done listening). Is this possible, or does every file in a playlist necessarily have to located in the library?

What I want to do in particular is this: I keep my library on an external hard drive, which I keep connected to my laptop when at home; I also copy over files/directory to my music player (a sansa clip+) to listen to while walking to work, etc. Once I'm at work, I'd like to connect my sansa to my laptop, add the sansa music folder to my ncmpcpp playlist, and listen to my files that way rather than listening directly from the sansa.

I've tried hitting "a" in my playlist and adding the following:

/home/brian/mnt/usb/MUSIC/

but that gave me a "Not found". (Note that the path is correct.) Then I tried:

file:///home/brian/mnt/usb/MUSIC/

It asked for a password, but neither my root/user password nor "password" worked. I then uncommented out the following lines in mpd.conf:

password                        "password@read,add,control,admin"
default_permissions             "read,add,control,admin"

and tried again. This time the password "password" worked ("Password accepted!"), but nothing was added.

I'm all out of ideas. Well, except to change the path of my mpd/ncmpcpp library twice a day, which would be very annoying (and time-consuming, since I've got over 150 GB of music at home that would have to be updated in mpd).

Any ideas?

Brian

Offline

#2 2012-11-02 16:45:04

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: ncmpcpp/mpd: add new, temporary file/directory to playlist

Maybe try one of these or this? Not ncmpcpp specific, but perhaps a start...

Scott

Last edited by firecat53 (2012-11-02 16:46:21)

Offline

#3 2012-11-03 15:12:18

brianb
Member
From: Montreal, QC
Registered: 2012-02-17
Posts: 81
Website

Re: ncmpcpp/mpd: add new, temporary file/directory to playlist

Thanks! My perl and python skills are admittedly pretty weak. I'll try working through the bash script first and see if I can get it working.

Offline

Board footer

Powered by FluxBB