XBMC Community Forum
[DOWNLOAD] Media Flag Updater - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Aeon (/forumdisplay.php?fid=68)
+---- Thread: [DOWNLOAD] Media Flag Updater (/showthread.php?tid=48138)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


[DOWNLOAD] Media Flag Updater - mindweaver - 2009-04-03 02:19

[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


- djh_ - 2009-04-03 02:26

It gets video source info from the video file?


- roeroe - 2009-04-03 02:28

Cool just what I need...the more the merrier Big Grin


- mindweaver - 2009-04-03 02:30

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.


- thrasherx - 2009-04-03 03:52

Any special instructions? It crashes upon opening. Vista x86 SP1


- Abeerdrinker - 2009-04-03 04:03

Nice Job. I admire anyone who create a app for the public mass to use. Thanks for thinking about us.


- Radikaltimes - 2009-04-03 04:29

too bad i rename all my folder names already ...


- djh_ - 2009-04-03 04:54

Crashes on XP and Windows 7.


- stoli - 2009-04-03 05:04

Vista too.


- mindweaver - 2009-04-03 06:04

You will need to install .NET Framework. probably 3.5 SP1.

Weird. Windows 7 should have it. Please post crash info! Smile