Adam White
2005-01-03, 03:55
I've been doing some further investigation into my MoodLogic problems and have tried various things and made a few discoveries.
My Setup: Win Xp Home SP2, 2.6 Celeron (640 MB) 2*200 GB disc for storing WMA lossless, aprox 15k tracks along with wired squeezebox.
Firstly, I've loaded a very recent 6.0 to see how performance is affected. On the whole I'm very happy, a lot more responsive and a smaller memory footprint, which is great! (although a few general problems still to sort out)
My first observation:
When adding tracks to MusicLogic, slim.exe immediately notices that tracks have changed and start competing with MoodLogic for CPU. This results in a near locked up machine, whichever one wins seems to be a bit of luck. Moodlogic happily (but now slowly) adding song's to it's database. When they have all been added and it starts activiation, slim.exe goes into terminal decline.
I retrieved the following from the log....
2005-01-02 20:28:38.4735 using moodlogic: 1
2005-01-02 20:28:38.4742 music library has changed!
Use of uninitialized value in subtraction (-) at /PerlApp/Slim/Music/MoodLogic.pm line 144.
2005-01-02 20:28:38.4746 using moodlogic: 1
2005-01-02 20:28:38.4747 startScan: start export
2005-01-02 20:28:38.4753 using moodlogic: 1
2005-01-02 20:28:42.1084 Found MoodLogic Auto Playlist: moodlogicplaylist:%2BRock%20(Slow)
2005-01-02 20:28:46.8975 adding 644 items
etc etc.....
2005-01-02 20:33:50.9865 Found MoodLogic Auto Playlist: moodlogicplaylist:%2BRock%20%5BUpbeat%5D
2005-01-02 20:33:58.4439 adding 564 items
2005-01-02 20:34:17.7621 OLE exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Microsoft Access Driver] Record is deleted.
Win32::OLE(0.1701) error 0x80004005: "Unspecified error"
in METHOD/PROPERTYGET "MoveNext"
2005-01-02 20:34:17.7647 Found MoodLogic Auto Playlist: moodlogicplaylist:%2BRock%20%5BHappy%5D
2005-01-02 20:34:17.7700 OLE exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Microsoft Access Driver] Record is deleted.
Win32::OLE(0.1701) error 0x80004005: "Unspecified error"
in METHOD/PROPERTYGET "MoveNext"
2005-01-02 20:34:17.7741 OLE exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Microsoft Access Driver] Record is deleted.
This then repeats for the next 240 MB until I decide to end the process. (If I didn't do this, it would eventally die after using 2GB of swap space).
To me, this seems to be a clash which could partially be resolved by not loading moodlogica data quite so immeditely. I personally would like the re-scan to happen on demand, in the same way as a slimserver rescan is requested.
----
Second Observation:
On 6.0 when rescanning (in my case at 03:00), slim.exe dies: (here's the last few lines of the log)
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution (s///) at /PerlApp/URI/file/Base.pm line 31.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution (s///) at /PerlApp/URI/file/Base.pm line 31.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution (s///) at /PerlApp/URI.pm line 40.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution iterator at /PerlApp/URI.pm line 76.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution iterator at /PerlApp/URI.pm line 76.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution iterator at /PerlApp/URI.pm line 76.
[F:\Music\Various Artists\Best Latino Carnival Album in the World Ever Disc 2\14 N?o Chore Mais (No Woman No Cry).wma] does not exist or cannot be read: Invalid argument at /PerlApp/Audio/WMA.pm line 30.
2005-01-03 03:08:56.1235 using moodlogic: 1
2005-01-03 03:09:01.1276 using moodlogic: 1
Can't use an undefined value as an ARRAY reference at /PerlApp/Slim/Utils/Scan.pm line 194.
----
Third observation:
I notice that the track numbers when using MoodLogic are out by one. It seems looking the the moodlogic database that the track numbering starts at zero, whereas in real life they start at one. Without Moodlocig, all is correct.
----
I hope this proves useful!
Cheers
Adam
My Setup: Win Xp Home SP2, 2.6 Celeron (640 MB) 2*200 GB disc for storing WMA lossless, aprox 15k tracks along with wired squeezebox.
Firstly, I've loaded a very recent 6.0 to see how performance is affected. On the whole I'm very happy, a lot more responsive and a smaller memory footprint, which is great! (although a few general problems still to sort out)
My first observation:
When adding tracks to MusicLogic, slim.exe immediately notices that tracks have changed and start competing with MoodLogic for CPU. This results in a near locked up machine, whichever one wins seems to be a bit of luck. Moodlogic happily (but now slowly) adding song's to it's database. When they have all been added and it starts activiation, slim.exe goes into terminal decline.
I retrieved the following from the log....
2005-01-02 20:28:38.4735 using moodlogic: 1
2005-01-02 20:28:38.4742 music library has changed!
Use of uninitialized value in subtraction (-) at /PerlApp/Slim/Music/MoodLogic.pm line 144.
2005-01-02 20:28:38.4746 using moodlogic: 1
2005-01-02 20:28:38.4747 startScan: start export
2005-01-02 20:28:38.4753 using moodlogic: 1
2005-01-02 20:28:42.1084 Found MoodLogic Auto Playlist: moodlogicplaylist:%2BRock%20(Slow)
2005-01-02 20:28:46.8975 adding 644 items
etc etc.....
2005-01-02 20:33:50.9865 Found MoodLogic Auto Playlist: moodlogicplaylist:%2BRock%20%5BUpbeat%5D
2005-01-02 20:33:58.4439 adding 564 items
2005-01-02 20:34:17.7621 OLE exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Microsoft Access Driver] Record is deleted.
Win32::OLE(0.1701) error 0x80004005: "Unspecified error"
in METHOD/PROPERTYGET "MoveNext"
2005-01-02 20:34:17.7647 Found MoodLogic Auto Playlist: moodlogicplaylist:%2BRock%20%5BHappy%5D
2005-01-02 20:34:17.7700 OLE exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Microsoft Access Driver] Record is deleted.
Win32::OLE(0.1701) error 0x80004005: "Unspecified error"
in METHOD/PROPERTYGET "MoveNext"
2005-01-02 20:34:17.7741 OLE exception from "Microsoft OLE DB Provider for ODBC Drivers":
[Microsoft][ODBC Microsoft Access Driver] Record is deleted.
This then repeats for the next 240 MB until I decide to end the process. (If I didn't do this, it would eventally die after using 2GB of swap space).
To me, this seems to be a clash which could partially be resolved by not loading moodlogica data quite so immeditely. I personally would like the re-scan to happen on demand, in the same way as a slimserver rescan is requested.
----
Second Observation:
On 6.0 when rescanning (in my case at 03:00), slim.exe dies: (here's the last few lines of the log)
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution (s///) at /PerlApp/URI/file/Base.pm line 31.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution (s///) at /PerlApp/URI/file/Base.pm line 31.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution (s///) at /PerlApp/URI.pm line 40.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution iterator at /PerlApp/URI.pm line 76.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution iterator at /PerlApp/URI.pm line 76.
Malformed UTF-8 character (unexpected non-continuation byte 0x6f, immediately after start byte 0xe3) in substitution iterator at /PerlApp/URI.pm line 76.
[F:\Music\Various Artists\Best Latino Carnival Album in the World Ever Disc 2\14 N?o Chore Mais (No Woman No Cry).wma] does not exist or cannot be read: Invalid argument at /PerlApp/Audio/WMA.pm line 30.
2005-01-03 03:08:56.1235 using moodlogic: 1
2005-01-03 03:09:01.1276 using moodlogic: 1
Can't use an undefined value as an ARRAY reference at /PerlApp/Slim/Utils/Scan.pm line 194.
----
Third observation:
I notice that the track numbers when using MoodLogic are out by one. It seems looking the the moodlogic database that the track numbering starts at zero, whereas in real life they start at one. Without Moodlocig, all is correct.
----
I hope this proves useful!
Cheers
Adam