[MOD] Workaround Media Flagging

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #1
THE INFORMATION IN THIS POST IS NOW OBSOLETE AND SOLELY FOR INFORMATIONAL PURPOSE OR IF YOU NEED LEGACY SUPPORT.

This small modification will give you the opportunity to enjoy Aeon's flagging capabilities. Full support for Movies and TV Shows.

Please see this thread for what is achievable. (Screenshots)
http://forum.xbmc.org/showthread.php?tid=50082 Movies/Showcase View
http://forum.xbmc.org/showpost.php?p=328315&postcount=6 TV Shows/MultiPlex View

Please don't post anymore individual threads on how to get flags working. There are plenty of threads ongoing related to the topic and it's easier on the forum to keep discussion and questions in those threads.
http://forum.xbmc.org/showthread.php?tid=50312 - Please post your questions on flagging in this or this links thread.
http://forum.xbmc.org/showthread.php?tid=48315 - Here is another great resource.


Bear in mind there isn't any official flagging support... yet. It is however being worked on and will be arriving sometime in the near future. Right now we have to resort to a clever work around. Developed by fekker, and DigitalHigh it involves using the wonderful media organizing program Media Info Plus.

Using MIP you have scan your library and let it insert movie information in to your Studio tag in the NFO. Djh_ then added the detection accordingly to Aeon Stark.

With all that being said it does involve some work on your part for something that will dissapear in the near future. It's either be patient and wait for the easy solution or enjoy the flagging now, but put some elbow grease in to it.

-------
So, until official support arrives and makes this process easier I would still like to enjoy media flags. So whenever djh_ updates Includes_MediaFlags.xml I copy/paste my custom code back in to it. It's not that hard. Takes about 30 seconds. So as I update I'll provide my updated XML and flags accordingly.

Please note I take no responsibility for creating these flags. Users such as FernFerrert and Halibutt have worked hard to bring us a plethora of studio flags. All of the people who continue to provide content are to be thanked.

-----------------------------------------------------------------------------
BIG PROPS go out to stoplis, Imaginos, ronie, andyblac, and DigitalHigh for their contributions to the overall package.

These files are confirmed to work up until this version of Aeon Auriga 06/08/2009

The Files:
Imaginos has a version that lets you customize the displaying and position of your flags. please go here to see what it's all about.

This is the direct download of Imaginos version.
http://www.mediafire.com/?sharekey=9...eada0a1ae8665a

Right click this file and save as.
Includes_MediaFlags.xml - 6/03 10:57pm MST

krypts_aeon_flags.zip - 6/03 10:57pm MST

To get optional TV support please download this.
MyVideoNav.xml - 6/07 6:44pm MST
Manual Installation: Add <include>Furniture_EpisodeMediaFlags</include> to the bottom of MyVideoNav.xml,
just below this line: <include condition="Skin.HasSetting(videomovies)">Furniture _ShowcaseMediaFlags</include>


Installation:
Make sure you have Aeon Auriga installed.
Unzip the contents of krypts_aeon_flags.zip into your Aeon/media/flags directory.
Drag the Includes_MediaFlags.xml (and MyVideoNav.xml if you want TV support) in to your Aeon/720p directory. Please make a backup of your current Includes_MediaFlags.xml.

The flags will not overwrite any of the current default flags. Custom audio, source, and res are stored in the Custom folder. Studios are stored in the Studios folder. This makes keeping track of things easier. (Also helps us who git pull)

You should have 2 new folders in your "\XBMC\skin\aeon directory\media\flags\" folder.
[Image: mediafolder.png]
-----------------------------------------------------------------------------

Who is this for?:
People who have diverse media collections, mostly encoded. Xvids, DivX, x264, etc.

I don't expect people to use my code and images exactly as is. Of course all our collections are different (which is a beautiful thing) so I'm really just trying to provide inspiration and ideas. If you have any feedback and/or issues with my code please let me know. Since I'm doing this with my collection I've gotten all 2000 movies to display the proper icons as I envision. However like I said your collections will be different. So with more information the community can come up with a overall default method that will work pretty well with everyone. Of course like said all this is temporary but when flagging is officially supported in XBMC the transition will be minute. Thanks for any contributions and feedback.

What You Get:
You will get detection and icons for over 200 different movie studios.

This will give you the same full detection in MultiPlex, Showcase amd List views.

You will get extra audio detection for those of you with diverse collections. Flac, OGG Vorbis, and my old AAC that I'm surprised nobody has found a better version of. Please take note also I like the old MP3 flag. You will have to remove /custom from the MPEG Audio code if you prefer the Default MP3 icon.

Better source detection:

For DVD you have to have either SDDVD, .iso or .ifo in your movies filename.
For Blu-Ray you need BLURAY, BLU-RAY, or BRRIP in your movies filename.
For HDDvd you need HDDVD in your movies filename.
For SDTV you need SDTV or TVRip in your movies filename.
For HDTV you need HDTV or PDTV in your movies filename.
For H264 you need to have V_MPEG4, AVC1 or H264 in the studio tag of your nfo. MIP does this.
For XVID you need to have XVID in the studio tag of your nfo. MIP does this.
For DIVX you need to have DivX, DX50, or DIV3 in your studio tag of your nfo. MIP does this.
For WMVHD you need WVC1 in your movies studio tag.
(This post was last modified: 2009-06-17 02:59 by krypt2nite.)
find quote
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #2
How do I get MIP to add metadata to my studio tag?

First download Media Info Plus. If you are serious about organizing your media (or are a tinkering collection geek, like myself) please download Fekker's great program. Now once you have it installed and are ready to start scanning your movies please check this setting first.
[Image: mip2.png]

This will make MIP add the proper flagging metadata to your studio tag. So in your movie nfo you should have a <studio> tag similar to this one:

<studio>Warner Bros. Pictures / 720p / V_MPEG4/ISO/AVC / DTS / 6ch / / subeng / micd1 / mifc1</studio>


----------------------------------------------------------------------------
Here are some ideas to give people inspiration or ideas to customize their own media collection.

Most of this is easily accomplished by editing the Studio tag manually using MIP. (Take note that fekker currently has MIP showing the studio tag as skin tag)
[Image: mip.png]

You can also edit the files mygenres.xml and mystudios.xml located in MIP's base directory. This will allow you to easily select your own custom genres and flags using MIP. You can take a Sunday afternoon and have some fun going through your collection and getting it customized to your liking.

Please if anyone has any suggestions or flag ideas please let me know. I welcome all ideas and inspiration.

-------
Want to add a 007 icon to your James Bond collection? Add "James Bond" to your Skin tag for genre.
[Image: bond-flags.png]


Would you like to add a DC Comics flag to the DC Comics themed movies? Add "DC Comics" to your Skin tag for genre.
For added appeal add a custom genre to all your "Comic Book" movies. I use Super Hero and it's cool to see all the movies together.
[Image: dc-flags.png]
(This post was last modified: 2009-05-14 02:10 by krypt2nite.)
find quote
ronie Offline
Team-XBMC Member
Posts: 8,986
Joined: Jan 2009
Reputation: 147
Post: #3
Thanx! These make a nice addition to the ones i already had.
I noticed a small typo for the dolbytruehd flag in the .xml file:
Code:
<texture>flags/custom/dolbyruehd.png</texture>
find quote
ppic Offline
Skilled Python Coder
Posts: 2,711
Joined: Feb 2009
Reputation: 11
Location: France idf
Post: #4
amazing...
find quote
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #5
ronie Wrote:Thanx! These make a nice addition to the ones i already had.
I noticed a small typo for the dolbytruehd flag in the .xml file:
Code:
<texture>flags/custom/dolbyruehd.png</texture>

Thanks for the heads up. Fixed.
find quote
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #6
TV Shows Flagging

[Image: image2.png]

[Image: image3.png]

[Image: image4.png]
(This post was last modified: 2009-05-03 03:43 by krypt2nite.)
find quote
Advocate Offline
Senior Member
Posts: 117
Joined: Mar 2009
Reputation: 0
Location: Hartlepool, United Kingdom
Post: #7
I've replaced the necessary files and are still getting question marks for the flags is there anything else I need to do?

[EDIT] I had a look in the .nfo file for Prison Break (no MIP for Macs Sad ) and noticed the <studio> tag was blank so added the studio (Fox) and then refreshed the series in xbmc.....still no flag showing Sad Can you shed any light on this? [/EDIT]
(This post was last modified: 2009-05-02 09:05 by Advocate.)
find quote
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #8
Advocate Wrote:I've replaced the necessary files and are still getting question marks for the flags is there anything else I need to do?

Have you scanned your media using Media Info Plus? Did you also select the correct settings?

[Image: mip2.png]


If you did all this already, then did you re-scan your library?


Edit:
I'm pretty sure it's because MIP adds net in front of the studio. If you add net in front of your FOX i.e. netFOX it should work. Also for tv shows you have to put the information in the director tag. i.e. <director>|Phil Alden Robinson| / netHBO / TV-MA / / 720p / V_MPEG4/ISO/AVC / DTS / 6ch / eng / subeng</director>

Here is an example of what a TV episode NFO scanned with MIP looks like
Code:
<?xml version="1.0" encoding="utf-8"?>
<episodedetails xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <fileinfo>
    <lastupdate>2009-05-01T23:51:25.3646605-07:00</lastupdate>
    <version>1.3</version>
    <streamdetails>
      <video>
        <width>1280</width>
        <height>720</height>
        <codec>h264</codec>
        <formatinfo>AVC</formatinfo>
        <duration>1h 13mn 9s 41ms</duration>
        <bitrate>6 641 Kbps</bitrate>
        <bitratemode />
        <bitratemax />
        <container>.mkv</container>
        <codecid>V_MPEG4/ISO/AVC</codecid>
        <codecidinfo />
        <scantype>Progressive</scantype>
        <aspectdisplayratio>1.778</aspectdisplayratio>
      </video>
      <audio>
        <language>eng</language>
        <codec>DTS</codec>
        <channels>6</channels>
        <bitrate>1 536 Kbps</bitrate>
      </audio>
      <subtitle>
        <language>eng</language>
      </subtitle>
    </streamdetails>
  </fileinfo>
  <title>Currahee</title>
  <season>1</season>
  <episode>1</episode>
  <rating>8.6</rating>
  <plot>July 1942 - 5th June 1944
Meet Easy Company, 506th Battalion, 101st Airborne Corps. Trained to be dropped behind enemy lines and cause maximum disruption, their training takes them from Camp Toccoa in Georgia to Upottery in England. From here they join the AEF (Allied Expeditionary Force) during Operation Overlord.The Company leader, Captain Herbert Sobel (David Schwimmer) clashes with Lt Richard D. Winters. The sadistic Sobel enjoys putting the trainees through their paces which will ultimately build their confidence and make them the toughest team in the Airborne. Whilst Sobel commands Easy Company, Winters has the men's respect. Also the men enjoy playing practical jokes on Sobel. When Sobel brings Winters up on Court Martial charges it results in Sobel being transferred out of Easy Company and Winters remaining with Easy Company.

On 6th June 1944, Easy Company and the rest of the 101st and 82nd Airborne Divisions board their C-47s and head for Normandy joining the largest naval invasion fleet in history.</plot>
  <thumb>http://www.thetvdb.com/banners/episodes/74205/141245.jpg</thumb>
  <watched />
  <credits>/Erik Jendreson/Tom Hanks/</credits>
  <director>|Phil Alden Robinson| / netHBO / TV-MA /  / 720p / V_MPEG4/ISO/AVC / DTS / 6ch / eng / subeng</director>
  <aired>2001-09-09</aired>
  <actor>
    <name>Damian Lewis</name>
    <role>Major Richard Winters</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Dale Dye</name>
    <role>Col. Robert Sink</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Dexter Fletcher</name>
    <role>SSgt. John Martin</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Donnie Wahlberg</name>
    <role>2nd Lt. C. Carwood Lipton</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>James Madio</name>
    <role>Sgt. Frank Perconte</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>James McAvoy</name>
    <role />
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Kirk Acevedo</name>
    <role>SSgt. Joseph Toye</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Matthew Leitch</name>
    <role>SSgt. Floyd 'Tab' Talbert</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Matthew Settle</name>
    <role>Capt. Ronald Speirs</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Neal McDonough</name>
    <role>1st Lt. Lynn 'Buck' Compton</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Nicholas Aaron</name>
    <role>Pvt. Robert 'Popeye' Wynn</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Nolan Hemmings</name>
    <role>Sgt. Charles 'Chuck' Grant</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Peter Youngblood Hills</name>
    <role>SSgt. Darrel 'Shifty' Powers</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Richard Speight Jr.</name>
    <role>Sgt. Warren 'Skip' Muck</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Robin Laing</name>
    <role>Pvt. Edward 'Babe' Heffron</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Ron Livingston</name>
    <role>Capt. Lewis Nixon</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Ross McCall</name>
    <role>Cpl. Joseph Liebgott</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <actor>
    <name>Scott Grimes</name>
    <role>TSgt. Donald Malarkey</role>
    <thumb>http://www.thetvdb.com/banners/</thumb>
  </actor>
  <votes />
</episodedetails>
(This post was last modified: 2009-05-02 09:15 by krypt2nite.)
find quote
Advocate Offline
Senior Member
Posts: 117
Joined: Mar 2009
Reputation: 0
Location: Hartlepool, United Kingdom
Post: #9
Aha now it's working! Thanks. Any particular reason why you didn't stick with using the <studio> tag for these? Any why have net in front of the studio?

Any chance of writing MIP for Mac? Smile
find quote
krypt2nite Offline
Fan
Posts: 479
Joined: Dec 2008
Reputation: 15
Location: Phoenix, AZ
Post: #10
Advocate Wrote:Aha now it's working! Thanks. Any particular reason why you didn't stick with using the <studio> tag for these? Any why have net in front of the studio?

Any chance of writing MIP for Mac? Smile

No sir, I didn't decide on any of those decisions... the developers have a reason I'm sure.

As for the net in front of the studios. I believe this was intentional and makes detection easier. Since abc, nbc, etc. are common three letter combinations in words I assume they purposely put net in front of the studios so we can get less false positives.

As for the mac thing I don't know. You can follow development of the software here.
find quote
Kingmartinus Offline
Member
Posts: 54
Joined: Apr 2009
Reputation: 0
Post: #11
Hello

Hmm trying to change the media flag to james bond in skin tagging, but everytime i hit save and refresh it just turns back.. what iam doing wrong?

Thanks MaRTIN
find quote
ronie Offline
Team-XBMC Member
Posts: 8,986
Joined: Jan 2009
Reputation: 147
Post: #12
krypt2nite Wrote:Does anyone know how to make the flag color the same color as the font? Also know how to add some black shadow like background to them?

You can use the <colordiffuse> tag to change the color of the flags and add some transparency.
see wiki: http://wiki.xbmc.org/?title=Default_Control_Tags

As far as i know it's not possible to add a dropshadow through the skin, so you'll have to do this with Photoshop, Gimp, etc...

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-XBMC members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
andyblac Offline
Posting Freak
Posts: 768
Joined: Feb 2009
Reputation: 0
Post: #13
my tweaked version. if any one would like the code let me know Smile

[Image: episodes-flags2.jpg]

Download
(This post was last modified: 2009-05-02 15:46 by andyblac.)
find quote
harryzimm Offline
Posting Freak
Posts: 852
Joined: May 2008
Reputation: 6
Location: Auchtermuchty, Scotland
Post: #14
@ andyblac

I for one would like the code, Looks really nice.

cheers
find quote
GinSoakedBoy Offline
Junior Member
Posts: 33
Joined: Apr 2009
Reputation: 0
Post: #15
Very effective, I'd definitely be interested in the code for that.
find quote
Post Reply