[DOWNLOAD] Media Flag Updater

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
mindweaver Offline
Posting Freak
Posts: 998
Joined: Jan 2004
Reputation: 1
Location: Sweden
Post: #1
[Image: mediaflagsupdate.jpg]

Before you scream "NO, Not another one!", hear me out.

I created this application for my own needs since no other program seems to do what I wanted. My scenario is this:

I use XBMC to scan/scrape all my movie info. I do this because it gives me the best results and I don't need no extra application.

When I'm done scanning and scraping I choose correct fanart and posters and use the excellent Export Library-function and save all my .nfo/fanart/posters to separate files. These files gets the same name as the videofile but not the folder name, just as I like it.

My directory tree now looks like this:

-> MOVIES-HD
--> An.Excellent.Movie.BluRay.1080p-GROUPNAME
---> groupname.anexcellent.movie.mkv
---> groupname.anexcellent.movie.nfo
---> groupname.anexcellent.movie.tbn
---> groupname.anexcellent.movie-fanart.jpg
---> groupname.anexcellent.movie.srt (if I have downloaded a subtitle)

My nifty little application does as follows:

1. Scan the MOVIES-HD folder for movie subfolders.
2. Scans every subfolder for files.
3. Uses MediaInfo.dll to get info from the video file:
VideoResolution: 1080p, 720p, 576p, 480p, sd, ..
AudioFormat: DTS, dolbydigital, mp3, ..
AudioChannels: mono, 2ch, 6ch, 7ch, ..
HasSubtitles: looks for .sub and .srt in the folder
4. It reads VideoSource from the folder name: bluray, hddvd, dvdrip, ..
5. Reads the .nfo file created by XBMC to find movie name.
6. By your choosing writes the info to <studio> tag in .nfo and renames all files.
7. Creates a .nfo with <title> & <studio> tag if none exists. (scrapes moviename from foldername)
8. Renames files depending on filemasks of your choosing.

My directory tree now looks like this:

-> MOVIES-HD
--> An.Excellent.Movie.BluRay.1080p-GROUPNAME
---> an.excellent.movie.1080p.bluray.6ch.dts.mkv
---> an.excellent.movie.1080p.bluray.6ch.dts.nfo
---> an.excellent.movie.1080p.bluray.6ch.dts.tbn
---> an.excellent.movie.1080p.bluray.6ch.dts-fanart.jpg
---> an.excellent.movie.1080p.bluray.6ch.dts.srt

All you have to do is run Update Library in XBMC and your media flags will shine bright in Aeon Stark!

You can choose to rename file or/and update nfo file. I offer both choices so that my application will support both Aeon Stark v0.9 and v0.91 (and future versions like Auriga)


Intended to use with the following folder structure:
(You can also choose to update single movie folders)

-> MOVIE CONTAINER FOLDER <- this is the one you choose in the program.
--> Movie 1 folder
--> Movie 2 folder
--> Movie 3 folder
--> ...


For 64-bit support please overwrite the MediaInfo.dll in the root folder with the one located in the x64 folder!

If you like what I have done, and would like to use it then download it here:
>> Media.Flag.Updater.v0.3.091.zip (2009-04-23 10:23 CET)
>> (Requires latest Microsoft.NET Framework download it here
(This post was last modified: 2009-04-23 10:21 by mindweaver.)
find quote
djh_ Offline
Aeon Project Founder
Posts: 1,890
Joined: Jun 2007
Post: #2
It gets video source info from the video file?
find quote
roeroe Offline
Senior Member
Posts: 147
Joined: Dec 2007
Reputation: 0
Post: #3
Cool just what I need...the more the merrier Big Grin
find quote
mindweaver Offline
Posting Freak
Posts: 998
Joined: Jan 2004
Reputation: 1
Location: Sweden
Post: #4
djh_ Wrote:It gets video source info from the video file?

Sorry, I'm tired Smile

of course not. It reads video source from the folder name (since it's scene release standard to include it there)

EDIT: and the file name if it can't find it in the folder name.
(This post was last modified: 2009-04-21 21:29 by mindweaver.)
find quote
thrasherx Offline
Senior Member
Posts: 111
Joined: Mar 2009
Reputation: 0
Post: #5
Any special instructions? It crashes upon opening. Vista x86 SP1
find quote
Abeerdrinker Offline
Junior Member
Posts: 36
Joined: Oct 2008
Reputation: 0
Post: #6
Nice Job. I admire anyone who create a app for the public mass to use. Thanks for thinking about us.

http://sharethe.tv/daleecher not showing more then 520 but have 900 movies & 1200 TV shows stored
find quote
Radikaltimes Offline
Senior Member
Posts: 166
Joined: Mar 2009
Reputation: 0
Post: #7
too bad i rename all my folder names already ...
find quote
djh_ Offline
Aeon Project Founder
Posts: 1,890
Joined: Jun 2007
Post: #8
Crashes on XP and Windows 7.
find quote
stoli Offline
Skilled Skinner
Posts: 2,405
Joined: Nov 2008
Reputation: 31
Location: Florida
Post: #9
Vista too.
find quote
mindweaver Offline
Posting Freak
Posts: 998
Joined: Jan 2004
Reputation: 1
Location: Sweden
Post: #10
You will need to install .NET Framework. probably 3.5 SP1.

Weird. Windows 7 should have it. Please post crash info! Smile
find quote
Post Reply