You are here: Home » Topic » mt-daapd on NSLU2 fails to find music files

mt-daapd on NSLU2 fails to find music files

This topic contains 21 replies, has 4 voices, and was last updated by  Sherlock 13 years ago.

Viewing 15 posts - 1 through 15 (of 22 total)
  • Author
    Posts
  • #282

    hpsenicka
    Participant

    With a bit of difficulty, I have finally succeeded in unslinging my NSLU2, and installing the latest nightly build of Firefly.

    The mt-daapd service starts, but fails to scan the MP3 folder for music files.

    Suggestions??

    It may be relevant to know that before installing the latest nightly, I had tried and failed to install the mt-daapd package … had difficulty with the config being broken due to incorrect file locations.

    Thanks!

    #4522

    fizze
    Participant

    where are the mp3 files ?
    what HD, where did you plug it to the NSLU2 and what port have you “unslung” to ?

    My guess is that you either havent correctly mounted the mp3 dir, or mt-daapd doesnt have permissions to read that dir.

    Whats the last output in the log file ?

    #4523

    hpsenicka
    Participant

    Thanks for your response….

    The NSLU2 is running V2.3R63-uNSLUng-6.8-beta, from a 300Gb Maxtor drive attached to USB port 2. It is the only drive attached.

    The files (MP3 and FLAC) are all located in the MP3 folder visible through the web administration interface of the NSLU2, which also happens to be the /public/mp3 folder.

    Where do I find the log file?

    Is there any other info I can provide that would be helpful?

    #4524

    fizze
    Participant

    the logfile is /var/log/messages, unless you changed it in the config file.

    how are the permissions of the mp3 directory ?

    #4525

    hpsenicka
    Participant

    The message log indicates there was an error rescanning.. bad path?

    Next step is to find the config file and verify correct path settings.. looks like there are multipl mt-daapd config files. Any way of determining which one is the right one?

    Permissions were set using chmod as per installation instructions

    #4526

    hpsenicka
    Participant

    OK… I think I am over that hurdle…..

    Mt-daapd is now scanning and playing MP3 files.

    Have some issues with FLAC files I need to sort out…

    #4527

    Sherlock

    I have been wanting to move my music to an NSLU2 with mt-daapd for quite a long time. Not being a Linux person has been holding me back. However, I spent quite a bit of time researching the ‘Unslung’ process and did it successfully this morning. I now have a V2.3R63-uNSLUng 6.8 beta with a Maxtor Personal Storage 3100 attached as Disk 2 which seems to be the current recommendation in the install guidelines. I then conquered the IPKG process and installed mt-daapd following the guidelines. Everything went well until step 6) ‘chmod o+r -R /share/hdd/data/public/mp3’ to make sure the server has permissions to read your music files. I get “No such file or directory” at this point. Now my lack of Linux knowledge hurts. I have gotten my “Linux for Dummies” book out and will struggle with this, but my guess is that by attaching my USB disk to Disk 2, the step-by-step guide is no longer accurate. This is probably the same problem that the original poster ran into. Since most people new to the NSLU2 are likely to follow the same path I did, if the step-by-step guide needs changing, it would be a big help to those of us who are not Linux experts.

    Thanks for any help anyone can give me; just be gentle as my knowledge of Linux is very minimal.

    #4528

    hpsenicka
    Participant

    @Sherlock wrote:

    I have been wanting to move my music to an NSLU2 with mt-daapd for quite a long time. Not being a Linux person has been holding me back. However, I spent quite a bit of time researching the ‘Unslung’ process and did it successfully this morning. I now have a V2.3R63-uNSLUng 6.8 beta with a Maxtor Personal Storage 3100 attached as Disk 2 which seems to be the current recommendation in the install guidelines. I then conquered the IPKG process and installed mt-daapd following the guidelines. Everything went well until step 6) ‘chmod o+r -R /share/hdd/data/public/mp3’ to make sure the server has permissions to read your music files. I get “No such file or directory” at this point. Now my lack of Linux knowledge hurts. I have gotten my “Linux for Dummies” book out and will struggle with this, but my guess is that by attaching my USB disk to Disk 2, the step-by-step guide is no longer accurate. This is probably the same problem that the original poster ran into. Since most people new to the NSLU2 are likely to follow the same path I did, if the step-by-step guide needs changing, it would be a big help to those of us who are not Linux experts.

    Thanks for any help anyone can give me; just be gentle as my knowledge of Linux is very minimal.

    My experience was that the locations of the files have changed….

    “The files (MP3 and FLAC) are all located in the MP3 folder visible through the web administration interface of the NSLU2, which also happens to be the /public/mp3 folder.”

    Try using “chmod o+r -R /public/mp3” instead…. worked for me!

    #4529

    Sherlock

    @hpsenicka wrote:

    My experience was that the locations of the files have changed….

    “The files (MP3 and FLAC) are all located in the MP3 folder visible through the web administration interface of the NSLU2, which also happens to be the /public/mp3 folder.”

    Try using “chmod o+r -R /public/mp3” instead…. worked for me!

    Thanks for your reply. Interesting that I could not see your entire post until I responded via ‘quote’. I got through enough Linux to see that the MP3 folder was as you say, /public/mp3. I did the chmod command as you suggested and it worked, but when I attempted to start mt-daapd I got errors of “Bad MP3 directory” and “Error reading config file”.

    I was able to install mt-daapd via the IPKG route. I will have to figure out this ‘nightly build’ process to see if that makes a difference. Thanks for your help.

    #4530

    hpsenicka
    Participant

    Which version of mt-daapd did you install?

    I am currently using the SVN-1050 version from the nightlies rather than the stable package that is offerred by default through the ipkg process.

    A newer nightly version SVN-1082 is now available, but it appears some folks are may be having issues with it at the moment so I intend to wait for the dust to settle a bit before upgrading to that version.

    #4531

    Sherlock

    @hpsenicka wrote:

    Which version of mt-daapd did you install?

    I am currently using the SVN-1050 version from the nightlies rather than the stable package that is offerred by default through the ipkg process.

    I am totally new to all of this, so I followed the Unslung guides to the letter followed by an IPKG UPDATE and then an IPKG INSTALL MT-DAAPD. I have been reading as much as I can find and will try to install the version you have installed after doing an IPKG REMOVE and see if that helps me any.

    I have not had time the past year to do anything with my Soundbridge’s other than play music from a dedicated PC which I always felt was a big waste. So I am a year behind on everything. Trying to play catchup.

    #4532

    richo132
    Participant

    I also have a USB harddrive on port2 and am using the nightlies.
    I found that the default parms and documentation were not right for my setup.
    1. The mp3_dir location needs to be
    /…/flash/.. and not /…/hdd/..
    – this solved the bad mp3 dir problem for me.

    2. the syntax of the logfile parm
    should be logfile = whereever
    – the missing = sign was the cause of bad .conf file message for me

    I think it would help to update the sample/default mt-daapd.conf file.

    #4533

    Sherlock

    @richo132 wrote:

    I also have a USB harddrive on port2 and am using the nightlies.

    Could some kind sole give me guidance on how to install a nightly. I have been searching for the procedure for awhile and have not found it.

    Thanks for your pointers on the problems you have encountered. At least I feel I am making progress. There is just so much to learn to be able to do all of this.

    #4534

    rpedde
    Participant

    @Sherlock wrote:

    Could some kind sole give me guidance on how to install a nightly. I have been searching for the procedure for awhile and have not found it.

    You should be able to download the ipk file from http://nightlies.mt-daapd.org and move it to your slug (public share, maybe?). You’ll probably need to grab the libao ipk on the top of the page as well.

    From the slug, as root, you’ll need to:


    [email protected]:~# ipkg update
    [email protected]:~# ipkg install unslung-feeds
    [email protected]:~# ipkg install /path/to/libao...
    [email protected]:~# ipkg install /path/to/mt-daapd_svn-....

    where the paths to the libao packages and the mt-daapd packages are wherever they got moved to on the slug (/public, maybe?)

    #4535

    Sherlock

    @rpedde wrote:

    You should be able to download the ipk file from http://nightlies.mt-daapd.org and move it to your slug (public share, maybe?). You’ll probably need to grab the libao ipk on the top of the page as well.

    Thanks, Ron. Since I don’t know Linux do you feel I would have a better chance of getting the mt-daapd working that I installed from the Unslung package or are there other reasons to move to the nightlies? It is too late and I am too tired to try more tonight, but I am game to go whichever route you feel best. Based on the comments of richo132 above, if I can correct the mt-daapd.conf file I then may be able to get mt-daapd to work on my configuration.

    What is the best (easiest?) way to edit files on the NSLU2? Sorry to be such a Linux newbie in all of this.

    Oh yes, I found the post from awhile ago about installing the nightlies so I will have that information also to go on if that is the best route to go.

Viewing 15 posts - 1 through 15 (of 22 total)

The forum ‘Setup Issues’ is closed to new topics and replies.