1.15.0 - Musik database: Reorganized every day at 00:00h

Discussion in 'Archive' started by briegel, July 11, 2016.

  1. briegel

    briegel Portal Pro

    Joined:
    July 2, 2008
    Messages:
    86
    Likes Received:
    18
    Ratings:
    +33 / 4
    Home Country:
    Germany Germany
    Hi,

    i founfd out that Mediaportal automaticaly reorganizes the musik database every day at 00:00h.
    In the configuration there ist nothing marked that might cause that.



    When MePo does that, all favourites are reset as well as all all music-ratings. (All iFavorite entries are 0 and all iRating entries are 0 exept that ones that have a rating tag in the musicfile.
    (see image reset of database)

    If the checkmark for the folder is unchecked the whole database is reset and empty.
    (see reset of database 2)

    Steps to reproduce:
    - Start MePo some minutes ahead of 24:00h
    - Play some music
    - Waite until the next day begins (00:00h)
    - Database will be reorganized.


    regards
    Briegel
     

    Attached Files:

  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,717
    Likes Received:
    1,122
    Gender:
    Male
    Ratings:
    +2,404 / 22
    Home Country:
    Germany Germany
    Show System Specs
    Hi,

    the database is indeed reorganized:
    However, it does so because it is told to do it. The setting is in the plugin MusicDB Reorganization.
    MusicDB.JPG

    If there is no day ticked, there would be something wrong. Notwithstanding you may simply deactivate the plugin if you don't need any reorganization.
     
  4. briegel

    briegel Portal Pro

    Joined:
    July 2, 2008
    Messages:
    86
    Likes Received:
    18
    Ratings:
    +33 / 4
    Home Country:
    Germany Germany
    Hi,

    thank you for the tip. The plugin was activated...

    But nevertheless the question remains: Why are all favourites and ratings reset wit DB reorganisation?
     
    • Agree Agree x 1
  5. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,717
    Likes Received:
    1,122
    Gender:
    Male
    Ratings:
    +2,404 / 22
    Home Country:
    Germany Germany
    Show System Specs
    Because you have defined it this way - at least according to your mediaportal.xml where the respective entries are set as "don't save"...
     
  6. briegel

    briegel Portal Pro

    Joined:
    July 2, 2008
    Messages:
    86
    Likes Received:
    18
    Ratings:
    +33 / 4
    Home Country:
    Germany Germany
    Hi, thanks for the answer, but:
    - I've found no entry in the "mediaportal.xml", that represents something like "don't save ratings". (May be i am too stupid to find the entries)
    When MePo makes a "refresh" or "update" of the database, the rating entries are reset.
    (i.e.: In shares view i select a track and enter a rating. Then it is stored. When i select "add new files" the rarting is reset, but only the rating. Arrtist-, Album- or favourite-entries are saved. Why?

    - similar to the above mentioned, the "refresh"-function delets the rating and favourite-entry. In my opinion this makes no sense.

    - under this condition an automatic update or refresh-function is not very useful. :-(
     
    • Agree Agree x 1
  7. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,717
    Likes Received:
    1,122
    Gender:
    Male
    Ratings:
    +2,404 / 22
    Home Country:
    Germany Germany
    Show System Specs
    Correct, the mediaportal.xml definitions were about the database reorganization where you had five out of seven days activated at midnight and the playlist, which is set to "Don't save".

    I have to admit that I have no clue about favourites and ratings, as I've never used this before. @hwahrmann , can you comment about the databse reorganizaiton possibly deleting ratings and favourite definitons?
     
    • Like Like x 1
  8. hwahrmann
    • Team MediaPortal

    hwahrmann Development Group

    Joined:
    September 15, 2004
    Messages:
    4,497
    Likes Received:
    1,639
    Gender:
    Male
    Location:
    Vienna, Austria
    Ratings:
    +2,266 / 1
    Home Country:
    Austria Austria
    Music DB Reord simply starts the Database Update, like if you would manually run a database scan from config.
    And it uses all settings from there.

    So if you have marked the settings, that it should only scan files, which have been changed / added since the last scan, then it will not touch existing files and favourites, etc. are preserved.
     
    • Informative Informative x 1
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!