[MOD] Workaround Media Flagging - Printable Version
+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: Skins Support (/forumdisplay.php?fid=67)
+---- Forum: Skin Archive (/forumdisplay.php?fid=179)
+----- Forum: Aeon MQ (/forumdisplay.php?fid=68)
+----- Thread: [MOD] Workaround Media Flagging (/showthread.php?tid=50138)
[MOD] Workaround Media Flagging - krypt2nite - 2009-05-02 00:16
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
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.
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>
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.
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.
- krypt2nite - 2009-05-02 00:17
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.
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)
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.
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.
- ronie - 2009-05-02 01:33
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:
- ppic - 2009-05-02 01:56
- krypt2nite - 2009-05-02 02:06
ronie Wrote:Thanx! These make a nice addition to the ones i already had.
Thanks for the heads up. Fixed.
- krypt2nite - 2009-05-02 08:06
TV Shows Flagging
- Advocate - 2009-05-02 08:57
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 ) and noticed the <studio> tag was blank so added the studio (Fox) and then refreshed the series in xbmc.....still no flag showing Can you shed any light on this? [/EDIT]
- krypt2nite - 2009-05-02 09:03
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?
If you did all this already, then did you re-scan your library?
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
- Advocate - 2009-05-02 09:23
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?
- krypt2nite - 2009-05-02 09:30
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?
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.
- Kingmartinus - 2009-05-02 11:41
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?
- ronie - 2009-05-02 13:16
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...
- andyblac - 2009-05-02 14:05
my tweaked version. if any one would like the code let me know
- harryzimm - 2009-05-02 14:24
I for one would like the code, Looks really nice.
- GinSoakedBoy - 2009-05-02 14:26
Very effective, I'd definitely be interested in the code for that.