Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have an Alix board in my living room running Voyage MPD edition and acting as jukebox.

In order to play "guest" music, I would like that MPD automatically updates its database with the content of the USB sticks one could connect to the box. Is there a straightforward way to do it (via udev or MPD) ?

Thanks

share|improve this question
    
If you already know what udev and mpd are, it would be a nice little exercise for you to write a script that would do it. The tricky part is to look for how to run a command after external drive insertion (search engines may help you...) –  tiktak Mar 28 '12 at 16:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.