Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Senior Member
    Join Date
    Nov 2005
    Location
    Southern California
    Posts
    184

    MusicMagic causing errors during slimserver scan

    After starting up the MusicMagicServer process on my FC4 Linux box (while slimserver was already running), I got a lot of these messages in my slimserver.log:

    Use of uninitialized value in string ne at /usr/local/slimserver/Slim/Schema.pm line 2163.
    Use of uninitialized value in string ne at /usr/local/slimserver/Slim/Schema.pm line 2163.
    Use of uninitialized value in string ne at /usr/local/slimserver/Slim/Schema.pm line 2163.
    ... repeated many, many times ...

    Here's what I did to make this happen:
    1) Shutdown slimserver
    2) Shutdown mmserver
    3) Removed ~slimserver/.MusicMagic/default.m3lib
    4) Started up slimserver
    5) Did a full clear & rescan of my library
    6) Started up mmserver
    7) Added my library back into MusicMagic through http://localhost:10002/

    After a moment, a scan was automatically started which is when the errors started popping up. There weren't any slim errors when I did step 5 nor were there any errors in ~slimserver/.MusicMagic/log.txt at any stage of the process.

    Does anyone have any ideas why this is happening? I'm admittedly very new to MusicMagic and am trying to fumble my way through it.

    I'm running:
    SlimServer Version: 6.5.1 - 10404 - RedHat - EN - utf8
    MusicMagic 1.7

  2. #2
    Senior Member
    Join Date
    Nov 2005
    Location
    Southern California
    Posts
    184
    I noticed a few duplicate albums being listed after step 7 completed its
    automatic rescan. So, I decided to do another full clean & rescan of my library
    in slimserver because of a few other posts I read here about MusicMagic
    showing duplicates if a "look for new and changed music" scan is done.

    Interestingly, this 2nd manual rescan came back without any errors. Might the
    errors have something to do with the "look for new and changed music" scan process?

  3. #3
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    MusicMagic causing errors during slimserver scan

    Quoting kyleki <kyleki.2fxogb1161275701 (AT) no-mx (DOT) forums.slimdevices.com>:

    >
    > After starting up the MusicMagicServer process on my FC4 Linux box
    > (while slimserver was already running), I got a lot of these messages
    > in my slimserver.log:
    >
    > Use of uninitialized value in string ne at
    > /usr/local/slimserver/Slim/Schema.pm line 2163.


    missing album info perhaps. This is what's being handled on the above line.

    > Does anyone have any ideas why this is happening? I'm admittedly very
    > new to MusicMagic and am trying to fumble my way through it.


    When you added the music to MusicMagic, did you let is validate all of
    the tracks?
    It really only works right AFTER all music is validated.
    -kdf

  4. #4
    Senior Member
    Join Date
    Nov 2005
    Location
    Southern California
    Posts
    184
    Quote Originally Posted by kdf View Post
    missing album info perhaps. This is what's being handled on the above line.
    Perhaps, although I'd expect to see this more frequently if that were the case, no?

    Quote Originally Posted by kdf View Post
    When you added the music to MusicMagic, did you let is validate all of
    the tracks?
    It really only works right AFTER all music is validated.
    I let MusicMagic do whatever it does automatically when adding tracks and I thought I saw it say "Validating...". However, the MusicMagic web interfaces says:

    Total songs 11,779
    Mixable songs 9,871
    Songs to validate 11,779

    Does this mean it didn't validate anything?

    I went ahead and clicked the "Start Validation" button and am now waiting for it to finish (man it seems slow).

    While this is going on, I'm still noticing a couple of duplicate albums listed on the slimserver web interface. Should I expect these dups to go away after the validation is done?

  5. #5
    NOT a Slim Devices Employee kdf's Avatar
    Join Date
    Apr 2005
    Posts
    9,493

    Re: MusicMagic causing errors during slimserver scan

    Quoting kyleki <kyleki.2fxqjb1161278401 (AT) no-mx (DOT) forums.slimdevices.com>:

    >
    > kdf;147810 Wrote:
    >>
    >> missing album info perhaps. This is what's being handled on the above
    >> line.

    > Perhaps, although I'd expect to see this more frequently if that were
    > the case, no?


    well, there should be albums, so you shoudln't see any warnings

    > kdf;147810 Wrote:
    >>
    >> When you added the music to MusicMagic, did you let is validate all of
    >>
    >> the tracks?
    >> It really only works right AFTER all music is validated.I let
    >> MusicMagic do whatever it does automatically when adding tracks

    > and I thought I saw it say "Validating...". However, the MusicMagic
    > web interfaces says:
    >
    > Total songs 11,779
    > Mixable songs 9,871
    > Songs to validate 11,779
    >
    > Does this mean it didn't validate anything?


    That's correct.

    > I went ahead and clicked the "Start Validation" button and am now
    > waiting for it to finish (man it seems slow).


    yes, it's very slow. The initial setup can take a day or two. Make
    sure you backup your default.m3lib file as you do not want to do this
    step again. From the MusicIP UP, you can select an option to archive
    the validation data, which stores it into the files themselves to save
    time if you have to validate from scratch again.

    > While this is going on, I'm still noticing a couple of duplicate albums
    > listed on the slimserver web interface. Should I expect these dups to
    > go away after the validation is done?


    mostly. It depends on where they come from. the url is the key. If
    you have mapped drives or old references in playlists, you will see
    some.

    For more details on MusicMagic/MusicIP, you can search the wiki for
    MusicMagic and get more detailed setup info.
    -kdf

  6. #6
    Senior Member
    Join Date
    Nov 2005
    Location
    Southern California
    Posts
    184
    At the rate my validation is going, it'll take another 7 days! Songs are taking anywhere from 7 to 30 seconds to fingerprint and some song are being "analyzed" for some reason which can take up to 25 minutes per song!

    After a full day of validating, it's only gone through about 1700 songs. There's still another 10,000 to go!

    Are there any settings that would cause performance problems like this or is it just the expected behavior?

  7. #7
    Senior Member
    Join Date
    May 2005
    Posts
    169
    This sounds fairly normal to me. My library of c. 6,000 songs took about 4 days. If a specific song is on the MM database it takes 10-20 seconds. If it can't find it, it analyses it from scratch, which should take about the length of the song, plus a bit. So if your tastes are esoteric, it can take a long time. 25 minutes does sound a lot, however - do you have a lot of classical stuff? If so, you might want to exclude classical and other genres you won't want in a mix (I used to get the odd children's song cropping up in a mix, which really spoiled the moment, so I filter those out). You can define these in File Exclusions.

    In my opinion all of this is really worth the wait - it will completely change the way you listen to music, and you'll rediscover lost gems in your collection.

  8. #8
    Senior Member Siduhe's Avatar
    Join Date
    Jun 2005
    Location
    deepest, darkest, south-east London
    Posts
    3,238
    It's expected. Validation is a very resource intensive process, which is why Predixis suggest leaving it to run on your PC / box on overnight.

    The following may help speed up the process:

    Close all other non-essential programs and shut down any non-essential services;

    Change processing setting from Low (default) to Maximum (although this may well render your computer useless for any other tasks until validiation is completed);

    Leave on overnight.

    Also, you will probably find that the validiation takes place in "leaps", 20 songs will take 10 minutes then suddenly it will get though 250 songs in 10 minutes.

    Worth it though.

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,351

    Re: MusicMagic causing errors during slimserver scan

    > This sounds fairly normal to me. My library of c. 6,000 songs took about

    Mine (about 7000 songs) almost a week :-)

    > esoteric, it can take a long time. 25 minutes does sound a lot,
    > however - do you have a lot of classical stuff? If so, you might want


    MIP only analyzes the first 3 or 4 minutes of a song. I have "duplicates"
    which aren't in reality as one of them has a "hidden track" after a few
    minutes.

    > In my opinion all of this is really worth the wait - it will completely
    > change the way you listen to music, and you'll rediscover lost gems in
    > your collection.


    I read a lot about MIP here in the forums and only took the plunge when
    someone wanted support in the Handheld skin. But only with the latest 1.7
    I'm really happy (had problems with non-latin characters, leaving a third
    of my songs unrecognized). But now I really like it.

    I'm always amazed by the mixes I get, speculating about the criteria used
    to do the mixes. A few days ago I created a 50 song mix based on an
    instrumental song by Air. During the first hour I only had two or three
    songs with lyrics in them.

    --

    Michael

    -----------------------------------------------------------------
    http://www.herger.net/SlimCD - your SlimServer on a CD
    http://www.herger.net/slim - AlbumReview, Biography, MusicInfoSCR


  10. #10
    Simon Still
    Guest

    Re: MusicMagic causing errors during slimserver scan

    On 10/20/06, Michael Herger <slim (AT) herger (DOT) net> wrote:
    >
    >
    > I'm always amazed by the mixes I get, speculating about the criteria used
    > to do the mixes. A few days ago I created a 50 song mix based on an
    > instrumental song by Air. During the first hour I only had two or three
    > songs with lyrics in them.
    >
    >


    Good advice on backing up the library file - I managed to lose mine when i
    rolled back to an ealier version. It's worth looking at the tag fixer as
    well. It suggested 1200 odd changes of which i accepted about 700. It
    picked up a lot of mispelt tracks, artist/title reverses, improved
    consistency over things like (feat. xxxx), &/and etc.

    Good stuff.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •