PDA

View Full Version : Media Flagging Guide for Aeon


AnalogKid
2009-05-04, 19:16
I've seen a few folks discussing Media Flags recently, so I thought I'd document what I know so far, and maybe it's of help to others:

Things you need to know:

1) AEON can show Media Flags for the Source, Resolution, Studio, Audio, Subtitles and Parental Rating portions of a Movie

2) The 'Source' of a movie CANNOT be determined from the video file itself, for this reason AEON will parse the FILENAME for a relevant string (see list below).
To my mind this could be improved by ALSO parsing the <Studio> tag in the NFO file (since a user could PUT the info in there)

3) The Resolution, Studio, Audio and Subtitle portions of a Movie are read from the <Studio> tag of the NFO file for a movie.
This is a kludge to overcome the limitation of tags in NFO files. I personally would have preferred the invention of new explicit tags, but that's just me

4) The recommended formatting of the <Studio> tag is:
<studio>studio name / resolution / video codec / audio format / number of channels / language / subtitle language1/ subtitle language2... </studio>
Here's a real world example
<studio>Lionsgate / SDp / WMV3 / WMA2 / 2ch / Sub /</studio>

5) AEON is not as smart as you'd think and actually pays NO heed to the recommended formatting!
The way AEON finds the Resolution, Studio and Audio portions on a movie is by simple String searching within the <Studio> tag. This is not even EXACT matching, it's substring matching, so whilst AEON looks for 'Fox', it will find 'Fox' in '20th Century Fox' and 'Twentieth Century Fox' etc.

6) AEON will deduce the Audio format of a movie by looking at BOTH the Audio Format and the Number Of Channels
This means that:
AC-3, 6ch = DD5.1
AC-3, 8ch = DD7.1
DTS, 6ch = DTS5.1
DTS, 8ch = DTS7.1
2ch = DOLBY (this is technically an incorrect assumption, but that's the way it works today)


7) Below is a list of the substrings that AEON is looking for. Remember they are SUBSTRINGS, so there's room for error.


[Source] (Remember, this CANNOT be deduced from the movie file, therefore it has to be explicity defined in the filename. If you're using Video_TS folders from DVD Rips, then I think you're screwed with the source tag (but the other tags should work fine))
bluray
sddvd
hddvd
hdtv


[Studio Name]
Fox
Universal
FilmFour or Channel Four
Disney or Pixar
Gaumont
Artists
New Line
Dimension
Touchstone
Hollywood
Carolco
Revolution
LucasFilm
Screen Gems
Warner
TriStar
Castle Rock
Studio Canal
Paramount
Dreamworks
Columbia
Mayer
Sony
Artisan
Lionsgate
Miramax


[Resolution]
SD
480i
480p
576i
576p
720i
720p
1080i
1080p


[Video Codec]
This isn't used by AEON


[Audio Format]
dts
ac-3
mp3
MPEG Audio


[Channels]
mono
2ch
5ch
7ch


[Language]
This isn't used by AEON


[Subtitle Language]
sub


8) There are a number of great folks who have extended the number of supported studios, and provided addition artwork (icons) for those studios. For the moment, these aren't part of the AEON release, but 'extensions' to it. They do not harm your existing AEON installation, they just add to it so that your slightly eccentric movie collection from strange studios are supported too!
If you find that you've got a movie from a studio that those guys haven't yet covered... you can can either ask them to add that new studio, or you could consider getting out a little more often.

9) To avoid having to manually edit your NFO files for hundreds of movies, there are some tools that can automate this for you.
Most of them work by reading your movie files to extract detailed codec information and figuring out the resolution and sound format etc, then inserting this information into your NFO file for the movie. Try this tool: http://www.xbmc.org/forum/showthread.php?t=48138

krypt2nite
2009-05-04, 19:30
Thanks for the write up. Will hopefully be helpful to many people.

Hidd3nFury
2009-05-04, 19:54
Good idea with this thread. This will hopefully help out people new to aeon and stop the endless number of media flags threads.

Just 2 things you may consider, mp3 is officially supported by the audio flags so you could do with adding that, and perhaps you could add the mpaa rating lookups aswell.

rflores2323
2009-05-04, 19:55
helps alot as im a newbie as was wondering how to add! thanks

this should be a sticky

theotocopulitos
2009-05-04, 20:02
I've seen a few folks discussing Media Flags recently, so I thought I'd document what I know so far, and maybe it's of help to others:

[Subtitle Language]
sub



Hi, I cannot find where and how this is used by Aeon. Help, please :eek:

AnalogKid
2009-05-04, 20:10
within the AEON (Auriga) skin... when you browse your movies in Library mode... there are four icons along the bottom of the screen used to show 'Studio', 'Resolution' etc...

To see them, you need to enable 'flags' - press the UP key whilst you're browsing movies in library mode... and then find the 'flags ON' option.

lompelurt
2009-05-04, 22:20
Can anybody post a nfo of a movie with flagging in them? I wanna see how it looks like.

AnalogKid
2009-05-04, 22:20
Hi, I cannot find where and how this is used by Aeon. Help, please :eek:

For subtitles, if AEON finds the 'sub' string in the <studio> tag then it assumes you have subtitles for your movie and renders an icon accordingly.
To actually USE subtitles, you need to play your movie, and in press 'select' in the movie... this should bring up a small navigation bar at the bottom of your screen (with play, ff, rew etc).... there is a button on the navigation bar that represents 'movie menu'... choose this menu, and you can enable / disable subtitles, decide where they should appear on the screen... plus many more options.

Usually, subtitles for a ripped movie are supplied in a <moviename>.srt / sub / idx file

garyi
2009-05-04, 22:29
I have been informed that video_ts folders (straight DVD rips) do not work with this tagging, even with nfo files in the folder as I do.

This has indeed been my experience. Might be worth putting in your write up there.

AnalogKid
2009-05-04, 22:51
I have been informed that video_ts folders (straight DVD rips) do not work with this tagging, even with nfo files in the folder as I do.

This has indeed been my experience. Might be worth putting in your write up there.

Hummm, interesting, but not sure why they wouldn't work. AFAIK, Aeon won't care what sort of media you're using, it will simply deduce this info from the NFO file.

Are you sure the NFO file's <Studio> tag is correctly formatted? (Just look inside the NFO, find the Studio tag and see if there's anything in there beyond the Studio name... if not, that's your problem, if yes... then please could you paste it in here and I'll see if I can figure out the problem

The only issue I can see would be with the 'Source' tag... which is coming from the actual filename, which of course will not work for video_ts folders.... but the other tags should work

krypt2nite
2009-05-04, 23:12
I don't understand why this wouldn't work either. Like he said all that matters is the nfo. When you scan your straight dvd rips with XBMC does it scan the NFO? If it does then this flagging solution will work perfectly for you.

AnalogKid
2009-05-04, 23:32
I don't understand why this wouldn't work either. Like he said all that matters is the nfo. When you scan your straight dvd rips with XBMC does it scan the NFO? If it does then this flagging solution will work perfectly for you.

That said... I have seen discussed the notion that 'EN' 'FR' etc for the subtitles would be picked up in the <studio> tag.... but as far as I can see ONLY 'Sub' is detected by Aeon.
The MIP program doesn't seem to add the 'sub' keyword as it should.
I could be completely wrong on all this... but it does look that way.

I will keep the OP updated as I learn more, or someone convinces me they are correct on something I can't personally verify

AnalogKid
2009-05-05, 03:57
Can anybody post a nfo of a movie with flagging in them? I wanna see how it looks like.

Here's an example SNIPPET taken from 3-10 To Yuma... this isn't the entire file, but you should notice the <studio> tag

<id>tt0381849</id>
<tmdbid>5176</tmdbid>
<genre>Action / Crime / Drama / Western</genre>
<credits>Halsted Welles / Michael Brandt</credits>
<director>James Mangold</director>
<premiered />
<status />
<studio>Lionsgate / SDp / WMV3 / WMA2 / 2ch / Sub /</studio>
<studioreal>Lionsgate</studioreal>
<album />
<trailer>rtmp://amazonimdb.fcod.llnwd.net/a2643/o25/s/theaters/MV5/BMT/I2M/TE5/MV5BMTI2MTE5NzI3NV5BNl5BZmx2XkFtZTcwNDA1MTk3MQ4040 ?e=1241355366&amp;h=7849d27543633342d12caf74cfd8225f</trailer>
<watched>no</watched>

krypt2nite
2009-05-05, 04:02
Here is a full one just in case.

<?xml version="1.0" encoding="utf-8"?>
<movie xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<fileinfo>
<lastupdate>2009-04-30T00:58:15.484832-07:00</lastupdate>
<version>1.3</version>
<streamdetails>
<video>
<width>1280</width>
<height>528</height>
<codec>h264</codec>
<formatinfo>AVC</formatinfo>
<duration>1h 56mn 25s 583ms</duration>
<bitrate>8 659 Kbps</bitrate>
<bitratemode />
<bitratemax />
<container>.mkv</container>
<codecid>V_MPEG4/ISO/AVC</codecid>
<codecidinfo />
<scantype>Progressive</scantype>
<aspectdisplayratio>2.424</aspectdisplayratio>
</video>
<audio>
<language />
<codec>DTS</codec>
<channels>6</channels>
<bitrate>1 536 Kbps</bitrate>
</audio>
<subtitle>
<language>eng</language>
</subtitle>
</streamdetails>
</fileinfo>
<title>300</title>
<rating>7.9</rating>
<year>2006</year>
<top250 />
<votes>199,858</votes>
<outline>King Leonidas and a force of 300 men fight the Persians at Thermopylae in 480 B.C. </outline>
<plot>It is spring 480 BC, Persian King Xerxes, continuing his father Darius' master plan to conquer the Hellenic city-states, arrives in Hellas. The previous Persian invasion and diplomatic attempts have already turned most northern Hellas tribes and states to the Persian side. But the people of Athens and Sparta, the largest Hellenic powers at the time, feel quite insulted by the Persian emissaries' request to surrender to Xerxes, and so slay them. In Sparta, King Leonidas consults the local oracle, who gives two options: Either a spartan king will have to be sacrificed, or Sparta will be burned to the ground. A year earlier (481, BC) a Panhellenic consortium of all southern city-states had already recognized the superiority of the Spartan army (the best organized and trained army at the time) and had declared King Leonidas as supreme commander of the combined Hellenic army. It is then decided that a small force should block Xerxes' way to southern Hellas in the Thermopylae passage. This passage was, at that time, 12 meters wide. The great historian Herodotus, possibly exaggerating, states that there were 1,700,000 Persians (their true number could have been anywhere from 100,000 to 1,000,000) against 7,000 Hellenic hoplites and slaves, including the 300 men of the Spartan King elite guard. King Xerxes waited four days for the Hellenes to be frightened and eventually surrender and was quite astonished by his opponents' complete apathy. Xerxes tried to convince Leonidas to drop weapons, give up his position, kneel before him and live on as a local governor under Xerxes. King Leonidas replied "molon lave," which means "Come and get them." The three-day battle began, with the 300 Spartans and 700 Thespians (the other Hellenes where sent by Leonidas to protect passages to their flanks) slaying thousands of Persians with minimal losses. The whole Persian campaign would have failed if it hadn't been for Efialtes, who showed Xerxes a secret passage to the Hellenic flanks. After a final battle led by King Xerxes himself, the Hellenic force was slain and their heroism and glory was written forever in history. From the beginning of the battle, the Hellenes buried their dead in the spot where they fell. Then battle signs where made for the dead of each Hellenic faction. For the Pelloponisians, (including the 300 Spartans) the sign generally read (free translation) "In this place 4,000 Pelloponisians fought 30 millions)." For the 300 Spartans (Lakaedaemonians), the sign reads (free translation) "Oh foreigner, tell the Lakaedaemonians that we are buried here obeying their laws," meaning that they never hesitated and never retreated from the enemy. The impact of the battle was enormous for both sides. The Persians' morale dropped to zero, and the Hellenes lost their fear for the Persian conqueror and organized their defense. After several successful battles, the Hellenes ultimately defeated the Persian army and repelled their invasion in the Battle of Plataea in 479 BC.</plot>
<tagline>Feel the wrath in IMAX </tagline>
<runtime>117 min </runtime>
<thumb />
<fanart url="http://www.themoviedb.org/">
<thumb preview="image/backdrops/25454/300__XVID___2006_-fanart_thumb.jpg">image/backdrops/25454/300__XVID___2006_-fanart.jpg</thumb>
<thumb preview="image/backdrops/25460/300__XVID___2006_-fanart3_thumb.jpg">image/backdrops/25460/300__XVID___2006_-fanart3.jpg</thumb>
<thumb preview="image/backdrops/25463/300__XVID___2006_-fanart4_thumb.jpg">image/backdrops/25463/300__XVID___2006_-fanart4.jpg</thumb>
<thumb preview="image/backdrops/25466/300__XVID___2006_-fanart5_thumb.jpg">image/backdrops/25466/300__XVID___2006_-fanart5.jpg</thumb>
<thumb preview="image/backdrops/25469/300__XVID___2006_-fanart6_thumb.jpg">image/backdrops/25469/300__XVID___2006_-fanart6.jpg</thumb>
<thumb preview="image/backdrops/25472/300__XVID___2006_-fanart7_thumb.jpg">image/backdrops/25472/300__XVID___2006_-fanart7.jpg</thumb>
<thumb preview="image/backdrops/25475/300__XVID___2006_-fanart8_thumb.jpg">image/backdrops/25475/300__XVID___2006_-fanart8.jpg</thumb>
<thumb preview="image/backdrops/25478/300__XVID___2006_-fanart9_thumb.jpg">image/backdrops/25478/300__XVID___2006_-fanart9.jpg</thumb>
<thumb preview="image/backdrops/25481/300__XVID___2006_-fanart10_thumb.jpg">image/backdrops/25481/300__XVID___2006_-fanart10.jpg</thumb>
<thumb preview="image/backdrops/25484/300__XVID___2006_-fanart2_thumb.jpg">image/backdrops/25484/300__XVID___2006_-fanart2.jpg</thumb>
<thumb preview="image/backdrops/25487/300__XVID___2006_-fanart11_thumb.jpg">image/backdrops/25487/300__XVID___2006_-fanart11.jpg</thumb>
<thumb preview="image/backdrops/25490/300__XVID___2006_-fanart12_thumb.jpg">image/backdrops/25490/300__XVID___2006_-fanart12.jpg</thumb>
<thumb preview="image/backdrops/25493/300__XVID___2006_-fanart13_thumb.jpg">image/backdrops/25493/300__XVID___2006_-fanart13.jpg</thumb>
<thumb preview="image/backdrops/25496/300__XVID___2006_-fanart14_thumb.jpg">image/backdrops/25496/300__XVID___2006_-fanart14.jpg</thumb>
</fanart>
<playcount />
<File />
<Path />
<filenameandpath />
<id>tt0416449</id>
<tmdbid>1271</tmdbid>
<genre>Action / Comic Book / Drama / Favorites / HD / History / War</genre>
<credits>Zack Snyder / Zack Snyder (screenplay) &amp; / Kurt Johnstad (screenplay) and / Michael Gordon (screenplay) (as Michael B. Gordon) / Frank Miller (graphic novel) and / Lynn Varley (graphic novel)</credits>
<director>Zack Snyder</director>
<premiered />
<status />
<studio>Warner Bros. Pictures / 720p / V_MPEG4/ISO/AVC / DTS / 6ch / / subeng / micd1 / mifc1</studio>
<studioreal>Warner Bros. Pictures </studioreal>
<album />
<trailer />
<watched>no</watched>
<actor>
<name>Gerard Butler</name>
<role>King Leonidas</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTkzMTI2OTExMF5BMl5BanBnXkFtZTcwNjM2ODQxMQ@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>Lena Headey</name>
<role>Queen Gorgo</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTkwODA2MjU1Nl5BMl5BanBnXkFtZTcwODg0OTE3MQ@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>Dominic West</name>
<role>Theron</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTM5NzgxNDExM15BMl5BanBnXkFtZTcwOTg4MTUxMQ@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>David Wenham</name>
<role>Dilios</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTcyNDIxMzcxN15BMl5BanBnXkFtZTcwMTM4MjcyMQ@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>Vincent Regan</name>
<role>Captain</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BOTIyNTA3NDc2OV5BMl5BanBnXkFtZTcwMjIwMDAzMQ@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>Michael Fassbender</name>
<role>Stelios</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Tom Wisdom</name>
<role>Astinos</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTgzMDgwOTE3Ml5BMl5BanBnXkFtZTcwNzU3NTE2MQ@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>Andrew Pleavin</name>
<role>Daxos</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Andrew Tiernan</name>
<role>Ephialtes</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTU4NjE2MzA0M15BMl5BanBnXkFyZXN1bWU@._V1._SY27 5_SX400_.jpg</thumb>
</actor>
<actor>
<name>Rodrigo Santoro</name>
<role>Xerxes</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjIwNjI1NTgwNF5BMl5BanBnXkFtZTcwMjU1ODkyMg@@._ V1._SY275_SX400_.jpg</thumb>
</actor>
<actor>
<name>Giovani Cimmino</name>
<role>Pleistarchos</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Stephen McHattie</name>
<role>Loyalist</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTI3MTM2NTQzN15BMl5BanBnXkFyZXN1bWU@._V1._SY27 5_SX400_.jpg</thumb>
</actor>
<actor>
<name>Kelly Craig</name>
<role>Oracle Girl</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
</movie>

billy21
2009-05-06, 00:59
I have a question, its possible to read from name of the movie instead of reading into NFO file?
I've all movies in the same folder without any nfo filo, and if this is possible it will be very interesting for me because i have only to put at the name 1080p dts, and the ikons will appear automatically

krypt2nite
2009-05-06, 01:27
I have a question, its possible to read from name of the movie instead of reading into NFO file?
I've all movies in the same folder without any nfo filo, and if this is possible it will be very interesting for me because i have only to put at the name 1080p dts, and the ikons will appear automatically

Just to make sure I understand you correctly, do you mean from the filename?

If yes then... yes you can put the info in the filename and have Aeon read the flagging information from that.

For example.

300.bluray.dts.mkv would work perfectly. Only thing you would have to do is change the code to read from the filename but that's easy enough using a search and replace function.

billy21
2009-05-06, 01:42
Yes, this is exactly I want. do you know wich code I have to change to do this? and in wich archive(xml)?
Thanks a lot!

krypt2nite
2009-05-06, 01:54
Well the only file you need to edit is Includes_MediaFlags.xml located in the 720p folder.

Here is what you're looking for.

<control type="image" id="187">
<include>Furniture_ListMediaFlagsVars</include>
<texture>flags/720p.png</texture>
<visible>substring(listitem.studio,720p)</visible>
</control>

When you open the xml you are going to see tons of these. This is what you want to change:

substring(listitem.studio,720p)

See the listitem.studio? You will have to change each one to listitem.filename. So you would have

substring(listitem.filename,720p)

<control type="image" id="187">
<include>Furniture_ListMediaFlagsVars</include>
<texture>flags/720p.png</texture>
<visible>substring(listitem.filename,720p)</visible>
</control>

billy21
2009-05-06, 11:07
Thanks a lot!

Ritzie
2009-05-06, 18:08
Quick question when i renamed my movie such as bolt.blueray.dts.mkv it disappears from my movie list. I update to find new movies but it doesn't pick it up. Once I rename it back to Bolt it picks up fine.

rflores2323
2009-05-06, 23:58
ok need some help.. how am I tagging these wrong as Im not getting all the tags correct??? does aeon pull the info from the info file or file folder name or both?? I just cant get it to name all the icons.

Cars movie only shows studio, xvid, SD
file folder shows cars.sdp.sdvd.mp3.2ch.xvid
nfo file shows <studio>Walt Disney Pictures / SDp / XVID / MPEG Audio / 2ch / </studio>

The boondock saints- only shows studio and bluray icon
file folder taged as The.Boondock.Saints.1999.Bluray.XviD.AC3-FLAWL3SS
nfo file shows <studio>Franchise Pictures / / XVID / 480p / AC-3 / 6ch / </studio>

Also how many info files should I have?? I usually have 2-3 in the folder for some reason and they seem to be duplicate information in all of them.

thanks

RF

AnalogKid
2009-05-07, 02:18
ok need some help.. how am I tagging these wrong as Im not getting all the tags correct??? does aeon pull the info from the info file or file folder name or both?? I just cant get it to name all the icons.

Cars movie only shows studio, xvid, SD
file folder shows cars.sdp.sdvd.mp3.2ch.xvid
nfo file shows <studio>Walt Disney Pictures / SDp / XVID / MPEG Audio / 2ch / </studio>

The boondock saints- only shows studio and bluray icon
file folder taged as The.Boondock.Saints.1999.Bluray.XviD.AC3-FLAWL3SS
nfo file shows <studio>Franchise Pictures / / XVID / 480p / AC-3 / 6ch / </studio>

Also how many info files should I have?? I usually have 2-3 in the folder for some reason and they seem to be duplicate information in all of them.

thanks

RF

By default, Aeon (Auriga) ONLY gets the source from the filename... that is to say it only dicovers Bluray, SDDVD etc from the filename. ALL the other flags are found in the studio tag of the NFO. (see first posting).

Now, you CAN adjust Aeon to get those additional flags from the filename INSTEAD of the NFO... but you have to do a little (but very simple) code changes (see Krypt2nite's posting a couple of post above this)... you only need to rename a few lines of code.

This is only half the problem though... read the opening post carefully... it tells you precisely WHICH flags are recognised... and therefore anything not in that list like 'XVid' will not be recognised.
There are a lot of other threads that expain how to get support for even more flags (like XVid, MPEG etc), but this thread only discusses the basic / default Aeon (simply because folks are adding the extentions way too rapidly to keep up!). If you understand this guide, then extending the capabilities becomes much easier, but get your head around the basics first ... it takes a little time, but it's worth it... otherwise you'll be banging your head against a brick wall ;-)

Best of luck, and let us know how you get on.... we'll help you some more if you're totally struggling

rickatnight11
2009-05-07, 17:29
How about for TV Shows? I very much dislike the idea of using NFO files everywhere, but I am resigned to the fact that this is the only way to get flags working correctly. I noticed that not only does each episode have flags, but the seasons do as well. Where should the NFO files be located, what should they be named, and how should they be formatted? Thanks for the guide.

rflores2323
2009-05-07, 19:40
Well the only file you need to edit is Includes_MediaFlags.xml located in the 720p folder.

Here is what you're looking for.

<control type="image" id="187">
<include>Furniture_ListMediaFlagsVars</include>
<texture>flags/720p.png</texture>
<visible>substring(listitem.studio,720p)</visible>
</control>

When you open the xml you are going to see tons of these. This is what you want to change:

substring(listitem.studio,720p)

See the listitem.studio? You will have to change each one to listitem.filename. So you would have

substring(listitem.filename,720p)

<control type="image" id="187">
<include>Furniture_ListMediaFlagsVars</include>
<texture>flags/720p.png</texture>
<visible>substring(listitem.filename,720p)</visible>
</control>

thanks for this as I did this is the xml file and it worked. However now it doesnt pickup the studio name as I must of changed it as well. Where do I change the studio name code so that it picks it up from the .nfo file only. Can you put an example up of the code and where to change it.

I only want the studio name to pull the info from there and want the rest to pull from the file name.

Im using media info plus and it renames the file however will it rename everything that I need to? source, resolution, audio??

Thanks

RF

AnalogKid
2009-05-08, 00:28
- <control type="image" id="81">
<include>Furniture_ShowcaseMediaFlagsVars</include>
<texture>flags/20thcenturyfox.png</texture>
<visible>substring(listitem.studio,Fox)</visible>
</control>


ok, there are a NUMBER of places in the code you need to change... but all of them look VERY similar.

you need to search for the line in green (above) then make the change to the line in red (above) to say "listitem.studio"

there are multiple entries likes this... one for EVERY studio known to AEON, but make sure you only edit the instances with control type "image" and id="81" as I've highlighted in green

Punk_Boy
2009-05-08, 20:38
i´m sorry guys but i have been all afternoon reading about flags but still havent figured it out.

I have AEON like i want but i dont understand how to put the flags working.

I know that a need a .nfo alongside the movie.mkv but i dont know how to make one .nfo neither what to do. Can anyone please place here an example of how a nfo should look like and how can i make one?

tks

rflores2323
2009-05-08, 20:50
i´m sorry guys but i have been all afternoon reading about flags but still havent figured it out.

I have AEON like i want but i dont understand how to put the flags working.

I know that a need a .nfo alongside the movie.mkv but i dont know how to make one .nfo neither what to do. Can anyone please place here an example of how a nfo should look like and how can i make one?

tks

I think I figured it out after alot of reading.. all my flags are showing.. You need to get the program media info plus and install it. then add your movies to it. Make sure you go to the setting (general tab) and checkmark the skin tag enabled. Then run your movies thru media info plus and it will do all the work for you and make an .nfo file with everything for you. You need to get the latest includes_mediaflags.xml that will help support all the flags that are tagged by media info plus (like divx, aac, mp3, etc...)

then install the program media flag installer and have your movies run thru there aswell to add some additonal content to the nfo file. Then run xbmc and update library and voila your flags show up. if you run it this way the only thing that is updated from the file name is the source flag.. all the rest of the information (resolution, audio,etc..) is pulled from the nfo file. took me about 3 days to get it right but with both programs it is working ok for me.

AnalogKid
2009-05-08, 21:20
i´m sorry guys but i have been all afternoon reading about flags but still havent figured it out.

I have AEON like i want but i dont understand how to put the flags working.

I know that a need a .nfo alongside the movie.mkv but i dont know how to make one .nfo neither what to do. Can anyone please place here an example of how a nfo should look like and how can i make one?

tks

an NFO file is a complicated file that describes your movie... the name, year, actors, codec, loads of stuff... There are some programs like Media Info Plus, or Ultimate Media Manager that can scan your movie files and download the relevant NFO for you... OR, you can add your movies to XBMC as normal, then go to library settings and export your library to individual files... this will basically make an NFO file for each of your movies...

Then you can manually edit the NFO to insert the <studio> tag, or use an automated app like Ultimate Media Manager to 'touch up' your NFO files with the studio tag.

I would recommend Ultimate Media Manager (because it's simple and uncluttered) for a beginner. Do a search in the forums to find it. It works on Windows only, so hope you're PC Windows based.

I know it's a lot to understand, but you'll soon get used to it.

Punk_Boy
2009-05-08, 21:28
tks a lot guys. Will try that ;)

krypt2nite
2009-05-08, 22:14
http://dl.getdropbox.com/u/1044719/Flags/supportskinbasedflagging.png

Punk_Boy
2009-05-09, 03:12
well guys, i´m on the virg of quiting! I tried with MIP but it crashed my computer, then i downloaded ultimate media manager, but i dont know what to do! I know that probebly its to much to ask but can someone please tell me a step by step guide on how to add the flags to my AEON. Its the only thing that its missing so that i can have a 100% XBMC :P.

AnalogKid
2009-05-09, 21:57
ok... I'm not AT my PC right now, so can't easily do a 100% accurate guide but...

Step 1) Scan your movies into XBMC in the traditional tried and tested way you usually do

Step 2) When you're happy that your media is scanned in, go to Settings --> Library ---> Export (you might have to look for this menu, since Im doing this from memory remember ;-))

Step 3) Export to individual files, and overwrite any existing ones, but don't export art

Step 4) Verify that you have an NFO file created by XBMC for each movie in your library.

OK... we're now getting there.

Step 5) Open an NFO file in Notepad... and see if you have the <Studio> tag in there. If you do, you can edit this manually for each movie...

OR.....

Step 6a) Use Ultimate Media Manager, go to settings and tell UMM where to find your movie files.

Step 6b) Go to the 'AutoPilot' button and select 'Update Media Info only' (Again this is from memory.... the Auto button is quite small, and doesn't like a button, so have a close look for it... it's called 'AutoPilot' or something similar). This will basically scan all your movies and work out if it's HD/SD/MP3/DTS etc and automatically fill in the <Studio> tag of all your NFO's for you.

Punk_Boy
2009-05-10, 20:26
i have done all of that. I used AMM. Everything is ok, inside the AMM program, logos, 1080p, studio, etc. The thing is that when i go back inside xbmc the flags still dont appear. The nfo are inside each movie folder. What am i doing wrong?

Dave Clutton
2009-05-10, 21:20
Have you deleted your myvideos.db and rescanned your movies ?

Punk_Boy
2009-05-10, 21:39
I finally managed to get it! :D Just on thing still missing. The Bluray icon! How can I in EMM add the Bluray or HDTV icon?

AnalogKid
2009-05-10, 23:20
I finally managed to get it! :D Just on thing still missing. The Bluray icon! How can I in EMM add the Bluray or HDTV icon?

ALL tags are read from the <studio> tag with ONE exception...

the 'Source'


The source of a movie is... Bluray, SDDVD, HDDVD etc.... and for strange reasons this can only be discovered in the filename of the movie...

So to get Bluray icon, rename your file to (for example) Star Wars.Bluray.avi

This is mentioned in the very opening message... it's a strange quirk, but still, for the moment, rename your file.

Actually there are some other ways you can do it, but I'm not going into those at the moment, until you've mastered this lot!... it will only complicate things :-)

Punk_Boy
2009-05-10, 23:36
tks! That did it. It sliped my eyes while reading. Just one last and final question i promisse! :D

How can i via EMM add the trailers?! Because i click on the trailer icon but it never gets me the trailer? :D :P

AnalogKid
2009-05-10, 23:51
tks! That did it. It sliped my eyes while reading. Just one last and final question i promisse! :D

How can i via EMM add the trailers?! Because i click on the trailer icon but it never gets me the trailer? :D :P

If you get an answer to THAT, make sure i'm the first to hear it! ;-)

Punk_Boy
2009-05-11, 00:09
If you get an answer to THAT, make sure i'm the first to hear it! ;-)

Will do ;)

Advocate
2009-05-11, 00:23
Thanks for an excellent description of enabling media flags, where to put them and what they do. Just what this forum needed :)

Punk_Boy
2009-05-11, 01:20
Thanks for an excellent description of enabling media flags, where to put them and what they do. Just what this forum needed :)

indeed. An excelent forum with great people wiling to help... :D

Just one final question lol. And in the tv shows how do I add the flags?! I ask this because when in EMM and i press television nothing happens... :S

AnalogKid
2009-05-11, 17:37
indeed. An excelent forum with great people wiling to help... :D

Just one final question lol. And in the tv shows how do I add the flags?! I ask this because when in EMM and i press television nothing happens... :S

EMM is still VERY new, and so the TV and Music sections aren't working yet.
They will be soon.... actually there's a thread on EMM somewhere... do a search for it.

Kevkong
2009-05-12, 19:41
Hi,

I habe some further questions according Media Flagging and Aeon.
First of all a I'd like to say, I am hating using .nfo Files or somethink like that :D

How do I stack files, if I am using Aeon? I.e. Wall-E has two parts, how should I name the files, so they are shown as one movie, not two?

How do I make Aeon scanning Foldernames too? I have several BluRay untouched on my HDD and they are not added to library, it is always said that there was no media file found. Can I solve this without using additional files?

I want to use XBMC with Aeon to manage my DVD/BluRay collection too, so I know I have to create fakefiles. Is it possible to add some comments to Movies, i.e. number of cd case or somethink like that?

AnalogKid
2009-05-12, 22:27
Hi,

I habe some further questions according Media Flagging and Aeon.
First of all a I'd like to say, I am hating using .nfo Files or somethink like that :D

How do I stack files, if I am using Aeon? I.e. Wall-E has two parts, how should I name the files, so they are shown as one movie, not two?

How do I make Aeon scanning Foldernames too? I have several BluRay untouched on my HDD and they are not added to library, it is always said that there was no media file found. Can I solve this without using additional files?

I want to use XBMC with Aeon to manage my DVD/BluRay collection too, so I know I have to create fakefiles. Is it possible to add some comments to Movies, i.e. number of cd case or somethink like that?

Mediaflagging isn't too difficult, but NFO files are needed.... just follow the guidelines in the opening post.

Stacking files is easy... name your movies like this (for example)

My Movies\
-- Star Wars\
---- Star Wars.avi
---- Star Wars.nfo
-- Wall-E\
---- Wall-E - CD1.avi
---- Wall-E - CD1.avi
---- Wall-E.nfo


When you add a 'source' (for instance 'My Movies') you must then set the content type using 'Set Content'

Set the following values:
Directory Contains = Movies
Run Automated Scan = ON
Use Folder Names For Lookups = ON
Scan Recursively = ON
Selected Folder Contains A Single Video = OFF
Exclude Path From Library Updates = OFF

Then scan your folder.... this should work perfectly.

Kevkong
2009-05-12, 23:53
Why are NFO Files needed?
The Scan work for me with only a good filename it looks like:

H:\
---10 Things I Hate About You - 1999 - 720p - German - English.mkv
---15 Minutes - 2001 - 720p - German - English.mkv

(I dont need all these flags about studio and audio and so on, in future I will create an own one for language)

Up to now it works fine. I only have to name the Files disk01 and disk02 to force that they are treatet like one movie.

These questions are still unanswered:

Buray untouched Folders do not contain any Video Files are not scanned, it always says "No Video Files Found in this Path" but I want them to appear in my Movies list and the posters should be downloaded.
H:\
---Taken - 2008 - BluRay\
This folder is always ignored because there are no Video files in that folder, do I have to use an .nfo File to fix this Problem?

Is there any possibility to add comments, shown at details or somewhere, to movies? Maybe with .nfo File?


P.S: "The Lion King" isnt found on imdb.com, when my library is scanned, why?


€dit: An additional question appears:
Is it possible to change the file extensions it is looking for? Would be very helpful to know which file I have to edit.

Lucleonhart
2009-05-15, 09:18
Hey all!
I just tried the mod for getting infos from the filename, very nice!

One question: Does one of all these automatic nfo creation tools support adding the informations to the filename instead of creating a nfo? :)

AnalogKid
2009-05-15, 12:05
Hey all!
I just tried the mod for getting infos from the filename, very nice!

One question: Does one of all these automatic nfo creation tools support adding the informations to the filename instead of creating a nfo? :)

For the moment, the preferred option is to use NFO files (since this will most likely be XBMC's long term choice, and it's far more flexible). This is why most of the tools use the NFO file.
There are some other advantages too... a lot of the scrapers prefer a 'clean' file name, AND it's good to have an NFO file anyway, since this can help you 'rescan' and update your database far quicker if you ever need to rebuild (which most folks do quite often!).

DJ_Elo
2009-05-15, 12:09
well..one of the things I found both annoying and strange that noone had yet uploaded a modded mediaflag xml files is the inclusion of it to check for source flag in the <studio> tag.. i basically just added an | and then a studio check :) so if you dont wanna have to rename all ure files thats a quick fix :D

pbjr
2009-05-15, 20:46
well..one of the things I found both annoying and strange that noone had yet uploaded a modded mediaflag xml files is the inclusion of it to check for source flag in the <studio> tag.. i basically just added an | and then a studio check :) so if you dont wanna have to rename all ure files thats a quick fix :D

I agree. Can you share yours?

Thanks!

mfsav2
2009-05-25, 21:17
Can I use the media Flagging to show that the DVD is offline?

As of today I have this structure:
offline
/movie 1
movie1.avi (a video showing the Location of the video)
movie1.nfo

In the nfo I just put two info, the italian name and the imdb reference

<Movie>
<title>2 Cavalieri a Londra</title>
</movie>
http://imdb.com/title/tt0300471/

Can I use the flagging to show the offline files?
How can I do it?

Thanks,
Mfsav

Ritzie
2009-05-30, 15:37
My tags seem to be hit and miss. I have some but not all on all of my movies. How do the movie files need to be named? Like for instance I have The Bourne Ultimatum in its own folder named The Bourne Ultimatum. Now the flags that show up are universal, ?, 576, dolby. Whats weird is some flags show up in multiplex but show ? in list view. I've been reading these forums for days to get my flags working. I appreciate any help.

Ritzie
2009-05-30, 16:59
My tags seem to be hit and miss. I have some but not all on all of my movies. How do the movie files need to be named? Like for instance I have The Bourne Ultimatum in its own folder named The Bourne Ultimatum. Now the flags that show up are universal, ?, 576, dolby. Whats weird is some flags show up in multiplex but show ? in list view. I've been reading these forums for days to get my flags working. I appreciate any help.

I redid Auriga and now I see ? and the other two flags show in list view.

Ritzie
2009-05-30, 19:05
I redid Auriga and now I see ? and the other two flags show in list view.

I figured it out. Dang it was right on the first page. I read it so much it just didn't sink in.

knife2006
2009-06-04, 18:22
hi

I installed the last version of xbmc for windows (XBMC 9.04.1) and Aeon Auriga.
I have problems with media flagging. My problem is that I can not set 2nd flag. I tried everything and all i got is like you see on the picture. Data in the nfo are like this
<studio>Castle Rock Entertainment / hddvd / 720p / DTS / 6ch </studio>

So can please somebody tell me what 2nd flag represent and how can I make it to show status. Thank you for all help.

http://www.shrani.si/t/3E/xg/N6VldDl/screen.jpg (http://www.shrani.si/?3E/xg/N6VldDl/screen.png)

Ritzie
2009-06-05, 18:07
hi

I installed the last version of xbmc for windows (XBMC 9.04.1) and Aeon Auriga.
I have problems with media flagging. My problem is that I can not set 2nd flag. I tried everything and all i got is like you see on the picture. Data in the nfo are like this
<studio>Castle Rock Entertainment / hddvd / 720p / DTS / 6ch </studio>

So can please somebody tell me what 2nd flag represent and how can I make it to show status. Thank you for all help.

http://www.shrani.si/t/3E/xg/N6VldDl/screen.jpg (http://www.shrani.si/?3E/xg/N6VldDl/screen.png)

I seem to be having this problem but with the Studio flag. My studio tag for Hotel for Dogs is this <DreamWorks SKG / 720p / V_MPEG4/ISO/AVC / AC-3 / 6ch / eng / subeng > I get everything but the studio tag. All the other tags work. I've been working on this for weeks and still can't get it right.

rernst
2009-06-11, 22:08
What is the difference between 480p and 480i and SD if you are ignoring the codec?

I've seen a few folks discussing Media Flags recently, so I thought I'd document what I know so far, and maybe it's of help to others:

Things you need to know:

1) AEON can show Media Flags for the Source, Resolution, Studio, Audio, Subtitles and Parental Rating portions of a Movie

2) The 'Source' of a movie CANNOT be determined from the video file itself, for this reason AEON will parse the FILENAME for a relevant string (see list below).
To my mind this could be improved by ALSO parsing the <Studio> tag in the NFO file (since a user could PUT the info in there)

3) The Resolution, Studio, Audio and Subtitle portions of a Movie are read from the <Studio> tag of the NFO file for a movie.
This is a kludge to overcome the limitation of tags in NFO files. I personally would have preferred the invention of new explicit tags, but that's just me

4) The recommended formatting of the <Studio> tag is:
<studio>studio name / resolution / video codec / audio format / number of channels / language / subtitle language1/ subtitle language2... </studio>
Here's a real world example
<studio>Lionsgate / SDp / WMV3 / WMA2 / 2ch / Sub /</studio>

5) AEON is not as smart as you'd think and actually pays NO heed to the recommended formatting!
The way AEON finds the Resolution, Studio and Audio portions on a movie is by simple String searching within the <Studio> tag. This is not even EXACT matching, it's substring matching, so whilst AEON looks for 'Fox', it will find 'Fox' in '20th Century Fox' and 'Twentieth Century Fox' etc.

6) AEON will deduce the Audio format of a movie by looking at BOTH the Audio Format and the Number Of Channels
This means that:
AC-3, 6ch = DD5.1
AC-3, 8ch = DD7.1
DTS, 6ch = DTS5.1
DTS, 8ch = DTS7.1
2ch = DOLBY (this is technically an incorrect assumption, but that's the way it works today)


7) Below is a list of the substrings that AEON is looking for. Remember they are SUBSTRINGS, so there's room for error.


[Source] (Remember, this CANNOT be deduced from the movie file, therefore it has to be explicity defined in the filename. If you're using Video_TS folders from DVD Rips, then I think you're screwed with the source tag (but the other tags should work fine))
bluray
sddvd
hddvd
hdtv


[Studio Name]
Fox
Universal
FilmFour or Channel Four
Disney or Pixar
Gaumont
Artists
New Line
Dimension
Touchstone
Hollywood
Carolco
Revolution
LucasFilm
Screen Gems
Warner
TriStar
Castle Rock
Studio Canal
Paramount
Dreamworks
Columbia
Mayer
Sony
Artisan
Lionsgate
Miramax


[Resolution]
SD
480i
480p
576i
576p
720i
720p
1080i
1080p


[Video Codec]
This isn't used by AEON


[Audio Format]
dts
ac-3
mp3
MPEG Audio


[Channels]
mono
2ch
5ch
7ch


[Language]
This isn't used by AEON


[Subtitle Language]
sub


8) There are a number of great folks who have extended the number of supported studios, and provided addition artwork (icons) for those studios. For the moment, these aren't part of the AEON release, but 'extensions' to it. They do not harm your existing AEON installation, they just add to it so that your slightly eccentric movie collection from strange studios are supported too!
If you find that you've got a movie from a studio that those guys haven't yet covered... you can can either ask them to add that new studio, or you could consider getting out a little more often.

9) To avoid having to manually edit your NFO files for hundreds of movies, there are some tools that can automate this for you.
Most of them work by reading your movie files to extract detailed codec information and figuring out the resolution and sound format etc, then inserting this information into your NFO file for the movie. Try this tool: http://www.xbmc.org/forum/showthread.php?t=48138

venealis
2009-06-12, 01:03
I seem to be having this problem but with the Studio flag. My studio tag for Hotel for Dogs is this <DreamWorks SKG / 720p / V_MPEG4/ISO/AVC / AC-3 / 6ch / eng / subeng > I get everything but the studio tag. All the other tags work. I've been working on this for weeks and still can't get it right.

As far as i can remeber DreamWorks SKG doesn't have an icon, if they are the same as DreamWorks rename to such.

ccMatrix
2009-06-12, 01:10
As far as i can remeber DreamWorks SKG doesn't have an icon, if they are the same as DreamWorks rename to such.

http://www.fernferret.com/xbmc/mediaflags/ has a logo for DreamWorks SKG.

Akegata
2009-07-12, 14:58
Well the only file you need to edit is Includes_MediaFlags.xml located in the 720p folder.

That post just made my day. Pretty awesome.
However, most of my movies are still compressed, and even when I compress them they are called something cryptic like tdk-1080.mkv, which wouldn't give XBMC any info on resolution and such.
However, the folder names contain at least all the info I need, like resolution and source. Is it possible to get XBMC to look for this info in the folder name instead of in the file name?

If that's not possible, can you have a .nfo file that only contains the studio tag? I tried that first, but I never got it working.
What I did then was to copy a whole .nfo from this thread, which seemed to have worked, but then the movie dissapeared from my library, and it won't return no matter how many times I rescan...

cloverfield
2009-07-25, 13:36
I try to get the flagging to work, but I have little succes.

I have a studio tag like this:
Movie A: <studio>Columbia Pictures Corporation / SDp / XVID / MPEG Audio / 2ch </studio>
Movie B: <studio>DreamWorks SKG / 1080p / WVC1 / WMA3 / 6ch / Sub</studio>

But inside XBMC (for both movies) I only have two icons (of four) that are filled.
On the left side: the studio icon and a ?. On the right side: SD and a ?

In the movie information a have "dolby 2.0" and "SD" icons... how do I get the other to icons to work?
The same applies for the other movie I tagged in the info file.

>>X<<
2009-07-25, 14:19
I try to get the flagging to work, but I have little succes.

I have a studio tag like this:
Movie A: <studio>Columbia Pictures Corporation / SDp / XVID / MPEG Audio / 2ch </studio>
Movie B: <studio>DreamWorks SKG / 1080p / WVC1 / WMA3 / 6ch / Sub</studio>

But inside XBMC (for both movies) I only have two icons (of four) that are filled.
On the left side: the studio icon and a ?. On the right side: SD and a ?

In the movie information a have "dolby 2.0" and "SD" icons... how do I get the other to icons to work?
The same applies for the other movie I tagged in the info file.

Skin based flagging is old and not used anymore as XBMC now supports flagging so putting all those other entries in the studio tag actually stops it working it should only contain the studio name now

Aeon mods from Black, Hitcher and andyblac are already set for native flagging, if you want to use it in the standard Aeon use the link below

http://xbmc.org/forum/showthread.php?t=52581

cloverfield
2009-07-25, 14:30
Skin based flagging is old and not used anymore as XBMC now supports flagging so putting all those other entries in the studio tag actually stops it working it should only contain the studio name now

Aeon mods from Black, Hitcher and andyblac are already set for native flagging, if you want to use it in the standard Aeon use the link below

http://xbmc.org/forum/showthread.php?t=52581

There is no other way? :(
The problem is that I have now the best of all worlds (read: mods). So a lot of xml files are custom altered. With continues releases of aeon and it's mods, it's hard to keep track :(

Do I need to have the "tags" in the filename? Like "Transformers.BluRay.DTS.mkv"?

>>X<<
2009-07-25, 14:46
There is no other way? :(
The problem is that I have now the best of all worlds (read: mods). So a lot of xml files are custom altered. With continues releases of aeon and it's mods, it's hard to keep track :(

Do I need to have the "tags" in the filename? Like "Transformers.BluRay.DTS.mkv"?

The only tags got from file names are source tags blu ray, HD DVD and DVD everything else is either gathered from XBMC when scrapping or from nfo's

Read the link I gave you its all in there you can add that to whatever version of Aeon your using but your version of XBMC has to be one that has native flagging

dakine7t9
2009-08-05, 04:04
Ok so I'm a noob to xbmc and maybe I overlooked something but I downloaded the media flag updater v0.3 and had it update all my filenames and add an NFO file to each movie folder. When I ran Xbmc I had to reload all my movie files into my library (since the filenames had changed) this was all fine except now I had media flags but no information from IMDB. The only way I could get the plot and cast ect back was to rename the file and delete the NFO file and rescan the movies into my library.. Now I have no media flags. lol So what am I doing wrong? How can I get both the information from IMDB and media flags at the same time??

Hitcher
2009-08-05, 08:32
This is the wrong thread for starters.

You want Native Media Flagging support for Aeon (http://xbmc.org/forum/showthread.php?t=52581)