PDA

View Full Version : Moodlogic Error Event



Philip Meyer
2005-01-23, 07:17
Looking at my debug window today, I notice quite a few occurances of the following:

MoodLogic Error Event triggered: 'MixerError',11000
Try Rebuilding the external databases

Now I haven't used Moodlogic for ages. I uninstalled it a couple of months ago, and thought I'd disabled everthing within SlimServer.

Have I missed some setting somewhere? If not, why are MoodLogic events getting triggered?

Phil

kdf
2005-01-23, 14:25
Quoting Philip Meyer <slim (AT) hergest (DOT) demon.co.uk>:

> Looking at my debug window today, I notice quite a few occurances of the
> following:
>
> MoodLogic Error Event triggered: 'MixerError',11000
> Try Rebuilding the external databases
>
> Now I haven't used Moodlogic for ages. I uninstalled it a couple of months
> ago, and thought I'd disabled everthing within SlimServer.
>
> Have I missed some setting somewhere? If not, why are MoodLogic events
> getting triggered?
>
which version of the server are you working with?
-kdf

Philip Meyer
2005-01-23, 14:54
>which version of the server are you working with?
5.4.1, nightly from about 5 days ago.

Phil

kdf
2005-01-23, 16:29
Quoting Philip Meyer <slim (AT) hergest (DOT) demon.co.uk>:

> Looking at my debug window today, I notice quite a few occurances of the
> following:
>
> MoodLogic Error Event triggered: 'MixerError',11000
> Try Rebuilding the external databases
>
> Now I haven't used Moodlogic for ages. I uninstalled it a couple of months
> ago, and thought I'd disabled everthing within SlimServer.
>
> Have I missed some setting somewhere? If not, why are MoodLogic events
> getting triggered?

These errors are not part of slimserver, but seem to be spit out from the OLE
component of Moodlogic when the server checks for it. Normally, if moodlogic
is not installed, the server will not find the OLE component and carry on with
moodlogic disabled. For some reason, it looks like the uninstall was not
complete and the server is still able to query moodlogic, which returns this
error. The usual way to clear this up is simply to run moodlogic, letting it
rebuild the db, and things work well again. Since you have uninstalled,
obviously you can't simply run moodlogic.

If it helps, this message is basically harmless and should be much reduced with
6.0. The check for moodlogic does not continually test the OLE in 6.0.

if you want to try to get rid of whatever ghosts of moodlogic remain, the OLE
seems to be named containing "mL_Mixer" as part of it. If you use this to
earch the registry, you could remove entries related to that.

-kdf

Philip Meyer
2005-01-23, 23:56
>if you want to try to get rid of whatever ghosts of moodlogic remain, the OLE
>seems to be named containing "mL_Mixer" as part of it. If you use this to
>search the registry, you could remove entries related to that.
>
I searched the registry and no occurances were found.

I fairly often check the debug window to see if there are errors, and I leave SlimServer running for many days on end without ever seeing these errors before.

It could be to do with my crash when I tried switching to treat multi-volume disks as a single album.

Phil

kdf
2005-01-24, 00:28
Quoting Philip Meyer <slim (AT) hergest (DOT) demon.co.uk>:

> >if you want to try to get rid of whatever ghosts of moodlogic remain, the
> OLE
> >seems to be named containing "mL_Mixer" as part of it. If you use this to
> >search the registry, you could remove entries related to that.
> >
> I searched the registry and no occurances were found.
>
> I fairly often check the debug window to see if there are errors, and I leave
> SlimServer running for many days on end without ever seeing these errors
> before.
>
> It could be to do with my crash when I tried switching to treat multi-volume
> disks as a single album.

if you crashed when the moodlogic OLE was open and being used, it might leave it
in a bad state. however, as you have stated that you uninstalled moodlogic, I
would expect that the moodlogic OLE object would have been long gone. Prior to
the crash, if the OLE was there and working fine, you would have been seeing
the option to use Moodlogic in the server settings.

-kdf

Philip Meyer
2005-01-24, 12:39
>Prior to
>the crash, if the OLE was there and working fine, you would have been seeing
>the option to use Moodlogic in the server settings.
>
I couldn't find any reference to mL_Mixer in the registry. I can't see any option to use Moodlogic in SlimServer.

Come to think of it, I'm sure there used to be an option to "use Itunes", which I should have set to disabled, but I can't find that either. Where is that option, as the Moodlogic one used to be with it.

Phil

kdf
2005-01-24, 13:16
Quoting Philip Meyer <slim (AT) hergest (DOT) demon.co.uk>:

> >Prior to
> >the crash, if the OLE was there and working fine, you would have been seeing
> >the option to use Moodlogic in the server settings.
> >
> I couldn't find any reference to mL_Mixer in the registry. I can't see any
> option to use Moodlogic in SlimServer.
>
> Come to think of it, I'm sure there used to be an option to "use Itunes",
> which I should have set to disabled, but I can't find that either. Where is
> that option, as the Moodlogic one used to be with it.

useiTunes option is only given if the server finds an iTunes Music Library.xml
file.

useMoodlogic option is only given if the server can initialise the OLE object
and get a valid response. that error you are seeing, is an error response from
the OLE object.

-kdf

Philip Meyer
2005-01-24, 16:09
>useiTunes option is only given if the server finds an iTunes Music Library.xml
>file.
>
Strange. I'm sure I saw the "Use iTunes" option yesterday, but I can't see it today. I have an iTunes folder beneath my music library folder, and inside that is the .xml. I don't use iTunes (tried it once, it is still installed, but don't use it).

Perhaps I can't see the "Use iTunes" option because I wiped my cache and rescan last night?

>useMoodlogic option is only given if the server can initialise the OLE object
>and get a valid response. that error you are seeing, is an error response from
>the OLE object.
>
I just looked for the folder where I would have installed MoodLogic. I can see some files have been retained after uninstallation, including the mL_Mixer.dll (although there are no references to this in my registry). I can also see a log file, that has a few entries of the following line in it:

23/01/2005 14:40:05 Msg: DEBUG / ERROR - 11000 - Try Rebuilding the external databases

Upon trying to manually delete the MoodLogic folder, I got an error because the .dll was locked. Having stopped SlimServer service, I have now removed it. Hopefully that is the end of it!

Cheers,
Phil

Philip Meyer
2005-01-24, 16:25
>Strange. I'm sure I saw the "Use iTunes" option yesterday, but I can't see it today. I have an iTunes folder beneath my music library >folder, and inside that is the .xml. I don't use iTunes (tried it once, it is still installed, but don't use it).
>
>Perhaps I can't see the "Use iTunes" option because I wiped my cache and rescan last night?
>
As a follow up to this, I discovered that my iTunes path was set to automatic discovery, but the manual path was pointing at my administrator users home folder. My iTunes library is actually within another path.

Actually, the iTunes library that I had previously used is within the folders that SlimServer scans. Is this a bad thing, or does it not matter? I made iTunes scan the same set of files that SlimServer uses.

Perhaps when I wiped the cache and rescan, the auto-discovery picked up a different folder (incorrectly because SlimServer service was restarted by the administrator account, rather than SYSTEM?), and that is why I cannot see the "use iTunes" option any more.

I don't care much at the moment - I haven't opened iTunes in ages. I dabbled with it once, didn't get on with it particularly at the time. I might try it again sometime though.

Phil

kdf
2005-01-24, 16:42
Quoting Philip Meyer <slim (AT) hergest (DOT) demon.co.uk>:

> >Strange. I'm sure I saw the "Use iTunes" option yesterday, but I can't see
> it today. I have an iTunes folder beneath my music library >folder, and
> inside that is the .xml. I don't use iTunes (tried it once, it is still
> installed, but don't use it).
> >
> >Perhaps I can't see the "Use iTunes" option because I wiped my cache and
> rescan last night?
> >
> As a follow up to this, I discovered that my iTunes path was set to automatic
> discovery, but the manual path was pointing at my administrator users home
> folder. My iTunes library is actually within another path.
>
> Actually, the iTunes library that I had previously used is within the folders
> that SlimServer scans. Is this a bad thing, or does it not matter? I made
> iTunes scan the same set of files that SlimServer uses.

having the library contained in the top level of your music folder is just fine.
The integration looks for that.

>
> Perhaps when I wiped the cache and rescan, the auto-discovery picked up a
> different folder (incorrectly because SlimServer service was restarted by the
> administrator account, rather than SYSTEM?), and that is why I cannot see the
> "use iTunes" option any more.

more than likely. I think the 'find automatically' needs to be reworked to find
automatically every time instead of just once. it was an optimisation to set
and use that setting, but its a falso optimisation for any case of multi-users
or movign itunes around.

I have been looking over the import modules for some time (itunes, moodlogic,
and musicmagic) with teh intent to turn them into plugins. this woudl allow
users who have no desire for outside integration to disable and do without the
overhead of any 'canuse' checks. Even to optionally provide them as an addon
download to a smaller slimserver core release. However, the next step to
disengage them from the core server is non-trivial and I've not been finding
myself with enough time to commit to a large effort just yet.

-kdf

Philip Meyer
2005-01-25, 01:23
>having the library contained in the top level of your music folder is just fine.
>The integration looks for that.
>
My slimserver music library folder contains shortcuts to several folders. One of those folders contains the iTunes folder. I assume this is okay as well (I've never actually tried using any iTunes stuff through slimserver).

>I have been looking over the import modules for some time (itunes, moodlogic,
>and musicmagic) with teh intent to turn them into plugins.
>
This sounds like a good move to me.

I was going to suggest that when "do not use iTunes" is selected from Server Settings, the iTunes preferences section is removed from the settings.

However, this iTunes preferences section is always needed, as if it has not detected the iTunes library, a user needs to go into the iTunes settings and correct the path before the "use/don't use" option is available.

If iTunes was a plugin, the "use/don't use" setting could be dropped, instead use whether the plugin is ticked or not, and the settings would be listed with all other plugins in the standard way.

Phil

kdf
2005-01-25, 02:05
Quoting Philip Meyer <slim (AT) hergest (DOT) demon.co.uk>:

> >having the library contained in the top level of your music folder is just
> fine.
> >The integration looks for that.
> >
> My slimserver music library folder contains shortcuts to several folders.
> One of those folders contains the iTunes folder. I assume this is okay as
> well (I've never actually tried using any iTunes stuff through slimserver).
>

I believe it only looks in the root of the music folder.

-kdf