MyLyrics crashes (1 Viewer)

Peter2

MP Donator
  • Premium Supporter
  • September 18, 2006
    847
    53
    Home Country
    Belgium Belgium
    Hi,
    I wanted to give this nice plugin a try - have been using it successfully with v0.2.2 back then - but I seem to have a problem.
    Installation went smooth, the icon appears in the plugin section, I can enable/configure it and and it even starts to gather the lyrics but after about 1h/5000 songs, the configuration screen closes and apparently nothing has happened. This has occurred 5-6 times and even rebooting instead of waking up from hibernation didn't change anything.
    I have looked into the log files from MP but I cannot find anything that seems to relate to this problem.

    Does anyone have a clue what might be wrong?

    TIA
    Peter

    ps: to the developer of this wonderful plugin
    In the 'Music database batch search' tab, in the 'Search music database' field, it says to press stop to hold the running batch.
    Should this be cancel but on the other hand, if I cancel the task, the already crawled lyrics seem not be entered into the database.
     

    mackey

    Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    Hi Peter,

    I cannot quite figure out what in the batch search that may have caused MP Configuration to crash completely. I will look the code through tomorrow and see if there is a potential thread somewhere. The batch search have run really stabile for a long time - at least I haven't seen a crash for months and none have been reported either. For that reason I deleted the logging system in favour of performance. If you see a pattern in the crashes you see please let me know.

    Your lyrics database should be updated though. Each time a lyric is found the lyric database is updated and saved to disc. If you don't see a newly found lyric added to your lyrics database then things are really strange. Please check you settings and especially the six checkboxes on the batch search screen. They are changed after you press "Start" based upon the chosen "Lyrics search mode" on the Settings tab. Only when "Custom mode" is chosen these six checkboxes always retain their values after pressing "Start". The six checkboxes should natural have been disabled in both "Lyrics mode" and "LRC mode". This will be the case in the next release.

    Also, the cancel button will in the future be named "Stop". Good point! :)

    Thanks for the report.
    mackey
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    847
    53
    Home Country
    Belgium Belgium
    Hi mackey, thank you for you quick response!

    I have just checked again and this is what happens:
    If I start the search in 'Lyrics mode' (which was default in my case) the 6 checkboxes in the saarch tab are all checked but one: 'Search for marked songs ONLY'.
    During the search, the lyrics database seems being filled with songs which appear after pushing the refresh button.
    If I cancel the search operation, close the plugin and return to it, the database is empty again.

    Since all the times that I started the search, it took quite some time I have not carefully watched it when it happens but I have the impression that it's about the same time: after +-1h/5000 songs, which is 1/3 of my database.

    I also have searched for some kind of file that might have been changed due to the search - to have a clue where the plugin stores the data - but I cannot find anything.
    The only files in the sql folder seem to be related to tv - don't know if this should be like this...

    My MP installation is quite fresh - upgraded from 1.0.1 which I have only installed not so long ago - and it's fairly clean/straightforward.
    Does the plugin leave anything 'behind' in some other folders and what would be the way to reinstall it to be sure the setup is ok?
     

    mackey

    Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    Hi Peter,

    Very strange. The two lyrics databases 'LyricsDatabaseV2.db' and 'LyricsMarkedDatabaseV2.db' are located in MP's database folder. For Vista systems that would be C:\ProgramData\Team MediaPortal\MediaPortal\database and for XP most likely C:\Program Files\Team MediaPortal\MediaPortal\database.

    These databases are updated each time a lyric is found (and thereby added to 'LyricsDatabaseV2.db') or isn't and added to the marked database ('LyricsMarkedDatabaseV2.db'). You might consider the timestamps and size of the files during a search and also see what happens when starting and closing the configuration of the plugin. It will be interesting to see if the two files are deleted when closing the configuration or at startup.

    If the files aren't deleted, but just cannot be read correctly, you should try to delete both files and start the configuration once again. It could be that the two databases somehow is corrupt allthough i cannot see how this should have happened.
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    847
    53
    Home Country
    Belgium Belgium
    This is the correct path for xp: C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\database but apparently the time stamp for those 2 files is still the one from when I installed the plugin - last Saturday.
    If I delete those 2 files, they are recreated but the time stamp (data modified, being date & time) remains the same after searching/canceling - of course the new date/time.
     

    mackey

    Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    I am SO confused on what could causes the problems you have. I cannot explain it at all, but that only triggers my curiousity :)

    I assume that you considered the timestamp for last modified and not for creation all this time. Please post a message with your two db-files and I will have a look. Also please ensure that the lyricsengine.dll has been copied correctly into the MP root. The file version should be 1.30.0.0. Some time ago an user had serious problems getting the batch search to work which was caused by an inproper installation. So please check just for the sake of it :)
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    847
    53
    Home Country
    Belgium Belgium
    Hi mackey, I'm very curious too for what might be the reason for my problem with the plugin.
    The dll files have only 1 date being the date of creation and since they are not being modified, nothing changes. The other file, lyricsengine.dll is present in the mediaportal dir and the file version is 1.30.00

    Here is a list from those 3 files
    Code:
    D:\Program Files\Team MediaPortal\MediaPortal
    22/05/2009  22:40            71.680 LyricsEngine.dll
    Code:
    C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\database
    26/05/2009  19:12               991 LyricsDatabaseV2.db
    26/05/2009  19:12               991 LyricsMarkedDatabaseV2.db
     

    marvenius

    Portal Pro
    September 3, 2008
    523
    47
    Belgium
    Home Country
    Netherlands Netherlands
    Look at the file properties (right click on the file, bottom option (English windows)). On the general tab, you can see the date modified.
     

    Peter2

    MP Donator
  • Premium Supporter
  • September 18, 2006
    847
    53
    Home Country
    Belgium Belgium
    Hi marvenius, thank you for helping out.
    I have not been clear; I meant that the dates from those files are all the same (creation, modification and last accessed) with a minor difference in the LyricsEngine.dll file but the version is the right one - 1.30.00
     

    mackey

    Retired Team Member
  • Premium Supporter
  • May 1, 2006
    456
    177
    right there
    Home Country
    Denmark Denmark
    Peter,
    Do you have a clean 1.0.2.0 install or do you use SVN's builds?
    Also are an administrator on your machine. For some reason it does look like you aren't allowed to save the lyrics database to disc, either by authorization rights or by MP.
     

    Users who are viewing this thread

    Top Bottom