You are here: Home » Topic » Running Two Copies of Firefly on a Single NSLU2page 2

Running Two Copies of Firefly on a Single NSLU2

FireFly Media Server (formerly mt-daapd) Firefly Media Server Forums Firefly Media Server Setup Issues Running Two Copies of Firefly on a Single NSLU2

This topic contains 24 replies, has 7 voices, and was last updated by  Anonymous 10 years, 9 months ago.

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #4896

    rpedde
    Participant

    @rickv wrote:

    With a full scan I think the best thing to do is: first drop the index and then re-create it again. Then the actually full scan. With the normal-scan I think you can leave the index as it is, it will be updated because of the updated mp3-directory content.

    That’s how it currently works.

    I will try if the browse functionality is also working if I put the MP3-directories together. I will let you know if that’s working too.

    I’d be interested to hear. I really didn’t want to have to have a jillion different indexes, but I guess there really isn’t a way around it if rowscans are that slow.

    Guess that’s what I’ll do.

    #4897

    fizze
    Participant

    Well, I added the index on Artist to my DB too 😉

    With about 8K songs (and many artists) the browsing on the SoundBridge is considerably faster, once an Artist is selected and it displays all tunes by that.
    Just as expected.
    I didnt notice any other ill side-effects though.

    #4898

    RickV
    Participant

    I did put the two music-directories in one songs-database by adding another music-directory in the web-interface. After a full scan I created the index on artist.

    Unfortunately the browse-error was there again. So even an index doesn’t solve the problem, arghh…

    I did have some difficulties to remove the second music-directory again. I removed it from the web-interface and then started a full scan again. After this was finished still approx 23K artist were shown, it should have been approx 10K.

    I did issue the VACUUM command on the SQLite and then again a full scan. After that the correct number of songs was displayed.

    #4899

    Anonymous

    I wonder if you guys can help.

    I’ve followed the steps outlined by rpedde but I keep getting a -3260 error which mentions a possible problem with the firewall and the port I have used for the 2nd config file.

    I’ve used port 3690 for the file mt-daapd2.conf and port 3689 for my original mt-daapd.conf file. If I swap the port numbers around I still get an error on the mt-daapd2.conf file but the main conf file will happily use port 3689.

    I can see the second shared library in itunes so that seems to be broadcast correctly just errors when I click on it and no music shows up.

    I think the permissions are correct on all the folders but I’m no Linux expert so that maybe the issue.

    Does anybody have any suggestions on how to fix this?

    #4900

    rpedde
    Participant

    @pixelvapour wrote:

    I wonder if you guys can help.

    I’ve followed the steps outlined by rpedde but I keep getting a -3260 error which mentions a possible problem with the firewall and the port I have used for the 2nd config file.

    I’ve used port 3690 for the file mt-daapd2.conf and port 3689 for my original mt-daapd.conf file. If I swap the port numbers around I still get an error on the mt-daapd2.conf file but the main conf file will happily use port 3689.

    I can see the second shared library in itunes so that seems to be broadcast correctly just errors when I click on it and no music shows up.

    I think the permissions are correct on all the folders but I’m no Linux expert so that maybe the issue.

    Does anybody have any suggestions on how to fix this?

    Sounds like the server died. Check your syslog for any errors.

    Also, make sure you have set up a different database directory for the second one (db_params) and that the directory is world-writable (or at least writable by the run_as user).

    — Ron

    #4901

    Anonymous

    Hmmm..

    Not sure what’s going on. The folders are all correct being read write for everyone, including the songs.gdb. The server doesn’t seem to have died as I can still access my main shared library in itunes. Any other thoughts?

    Dave

    #4902

    kellyharding
    Participant

    Wow. This is rather helpful 😀

    Now I’ve got ‘Sorted’ and ‘Unsorted’ firefly instances, so I can choose to listen to/test the music I have thats unsorted and badly tagged seperately to the sorted stuff (vol. normalised, artwork added, tags sorted/added, file/dir sorted/corrected) which is the main db. 29,000+ for the ‘Sorted’ and 15,000+ for the ‘Unsorted’ so far… damn I have a rather varied taste I think!

    Kelly

    #4903

    rpedde
    Participant

    @pixelvapour wrote:

    Not sure what’s going on. The folders are all correct being read write for everyone, including the songs.gdb. The server doesn’t seem to have died as I can still access my main shared library in itunes. Any other thoughts?

    Can you post the configs, sanitizing passwords if necessary? Do you get any obvious errors in /var/log/messages? (or /var/log/syslog, can’t remember what it is on the slug)

    #4904

    Anonymous

    Sorry for the delay, been flat out.

    Here is the config file that’s causing problems;

    #
    # mt-daapd.conf
    #
    # Edited: Sat Feb 9 17:08:34 2008
    # By: ddf
    #
    web_root /opt/share/mt-daapd/admin-root
    port 3689
    admin_pw password
    mp3_dir /share/flash/data/public/mp3
    servername Lower bitrate
    runas guest
    playlist /opt/etc/mt-daapd/mt-daapd2.playlist
    extensions .mp3,.m4a,.m4p
    db_dir /opt/var/mt-daapd2
    rescan_interval 600
    scan_type 0
    always_scan 0
    process_m3u 0
    compress 0

    I can cd to the mp3_dir so the path seems correct. The songs.dgb file is 3Mb so it would appear to have stored the song names.

    OK I just tried deleting the working config file and re-naming the problem mt-daapd2.conf to the default mt-daapd.conf. It still doesn’t work, and errors in the same way. Not sure what this means but possibly suggests a problem with the share folder.

    Dave

    I couldn’t find any relevant errors in the var/logs folder.

    #4905

    Anonymous

    OK I managed to fix this. It was a folder permissions problem.

    Cheers

    Dave

Viewing 10 posts - 16 through 25 (of 25 total)

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