PDA

View Full Version : MusicMagic causing errors during slimserver scan



kyleki
2006-10-19, 09:34
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

kyleki
2006-10-19, 09:54
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?

kdf
2006-10-19, 10:05
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

kyleki
2006-10-19, 10:18
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?



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?

kdf
2006-10-19, 11:05
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

kyleki
2006-10-20, 02:44
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?

neilcoburn
2006-10-20, 03:27
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.

Siduhe
2006-10-20, 03:28
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.

mherger
2006-10-20, 04:15
> 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

Simon Still
2006-10-21, 06:31
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.

Simon Still
2006-10-21, 11:37
On 10/21/06, Simon Still <b33k34 (AT) gmail (DOT) com> wrote:
>
>
>
>
> 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.



WARNING - the tag fixer seems to have actually completely screwed my tags
for the 700 tracks i allowed it to touch - whilst it updated the fields
highlighted correctly it WIPED the other fields for those tracks completely
so i now have 100's of tracks with loads of missing info.

Based on this experience DO NOT USE. Whilst musicIP seems to indicate you
can 'undo' the fix tags i cant see where.