Jump to content

Tool to restore original folder creation/modified dates for MB3 movies


dangel

Recommended Posts

NB: Current version is 1.1 (scroll down)

 

 

I've noticed with the new MediaBrowser the folders in my 'films' folders end up with current dates on them as mediabrowser presumably modifies them as it scans the movie when you add it.  This is new to MB3 AFAIK since I had not seen this behaviour before - it's also a bit of a problem for me in that I then lose visibility in Windows explorer as to when the film was added making copying the collection from a particular date onwards problematic.

 

So i've written a small tool that queries the added date that MB3 stores in it's XML configuration and pushes the original date/time back onto it's parent folder.  This is working well and I was wondering if it's worth posting it for others once I've cleaned it up and added an easier to use GUI to it (functionally it works fine).

 

No slight to MB3 it's not doing anything terrible it's just caused an issue for me.

Edited by dangel
  • Like 3
Link to comment
Share on other sites

You can download the tool from here: https://www.dropbox.com/s/9r7se2gkbuwscti/TSDateAdded.rar

 

This is version 1.0 and has a simple GUI:

 

52fe1307daf13_Capture.png

 

Note: because of the way that Windows works this tool does need to have admin rights (it'll request them when it runs) to modify folder attributes.

Edited by dangel
  • Like 1
Link to comment
Share on other sites

Thinking about having this driven from the command line entirely so that it can be scheduled to run periodically..

  • Like 1
Link to comment
Share on other sites

Updated to 1.1:

 

/AutoStart on the command line will make the tool scan the folder immediately

/AutoClose on the command line will make the tool close once the scan is complete

 

(of course you must pass /Folder:"<some folder>" to make use of this)

 

 

This allows you to run the tool on a schedule (if required).

 

52fe23ddb4c9c_Capture.png

Edited by dangel
  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

You're welcome - wasn't sure if anyone else needed this but apparently they do :)

 

If you've any suggestions feel free to post them here but atm i'm pretty happy with this

:D

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...