Menu

"Added" date is changed every time the database is refreshed.

SLT
2018-12-26
2019-01-01
  • SLT

    SLT - 2018-12-26

    I don't know when this changed but I've been having this problem since several versions prior to 3.7.2.6. Sometimes I need to change the location of movies and for MC to detect that I click the "Refresh" button. The problem is that MC now changes the "Added" date to the current date which makes it difficult to track what's been added to the database by sorting by date. I just refreshed the database after changing the location of a movie and now roughly 80% of the movies have changed dates to 2018-12-26.

    It never changes 100% of the titles but I haven't been able to find a pattern to which titles have their dates changed. They aren't shown in the log as new titles.

    All movies are stored on a NAS, spread over 3 HDDs with the directory structure "/Movies/TITLE (YEAR)/TITLE (YEAR).mkv".

    The directories are added as:
    \Nas540\NAS1\Movies
    \Nas540\NAS2\Movies
    \Nas540\NAS3\Movies

    and haven't changed since I started using MC a few years ago.

     
  • Rob

    Rob - 2019-01-01

    Yes, unfortunately the dat added is stored in Media Companions moviecache.xml file.
    Once you remove the file it gets dropped from MC's cache, and once re-added, the new date is applied.
    I'll look into possibly storing this data in the movies nfo as well, as long as it doesn't cause Kodi any issues.

     
  • Rob

    Rob - 2019-01-01

    Actually I see a CreateDate tag in the movies nfo, so will fix MC to use this date in its moviecache.xml file.

     
  • Rob

    Rob - 2019-01-01

    Well, I need to test before I write my replies.
    The <createdate> is read from the nfo and stored in the moviecache.xml already.
    Moving Movies around did not change the createdate.</createdate>

    So I am wondering if the affected movies had a \<createdate> tag already in the nfo, and if not, then on refreshing of these movies, they have been updated with a current date.

    I just tested this by removing the createdate value from a movie and did a Refresh. While the nfo did not update to a new createdate, the moviecache.xml changed to today's date.

    And I've just created a fix for this....as long as the nfo's createdate has not changed, next release on refresh will add the nfo's createdate as the Movies createdate and re-save the movies nfo.

    Look out for the next release.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.