• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 8
Skin Based Full Media Flagging - a holdover until the real deal is done
#1
Big Grin 
Blame DigitalHigh Big Grin he seeded this idea

This is to see what kind of interest there is for this.. right now there is only one app that will write the data (MIP) but support could be added from the other nfo / media tools as well.. all of MIP is opensource

Please post if it's something you'd like to see supported.

Digitalhigh and I have been working on sorting out a way to get more details about the media into skins. We added some studio information for tv shows, something that is not returned by xbmc right now for shows, and then started digging into episodes and then well.. you get the idea

Since MIP reads all your media information, in such, there's nothing stopping it from putting that data into xbmc. From the tv studios with DigitalHigh we got a bunch of ideas, and then I noticed that Aeon is using information from the filename for flagging support and started looking for where I could inject the data into the .nfo so that a skinner could display information graphically, without having to touch the filename and providing details about the media.

For Movies, it will store the data in the <credits> tag..
For TV Shows, the rating is modified to store a number reference to the studio, studio data in xbmc is incomplete.
For Episodes, it will store the data in the <votes> tag..

What data is it storing? ... the basic flagging data for your media, which can then be used in xbmc.. real full support is in work by captBry.. in the meantime this should work out nicely.

What's the video resolution options?
Resolution list
SD, 480i, 480p, 540i, 540p, 720i, 720p, 1080i, 1080p

here's how it figures out the size part
If current width of video file is < 20 Then it will not put anything in there"" 'anything less then 20 is too small to be anything
If current width of video file is < 641 Then it will return with the resolution of "SD"
If current width of video file is < 853 Then it will return with the resolution of "480"
If current width of video file is < 961 Then it will return with the resolution of "540"
If current width of video file is > 961 And current width < 1281 Then it will return with the resolution of "720"
If current width of video file is > 1281 Then it will return "1080"

It checks the media file for interlaced or progressive scan.. basically if it not's flagged progressive, it's interlaced.

Audio
Channels are return as 2ch, 6ch, 8ch, mono
6ch is 5.1 surround
8ch is 7.1 surround
Mono is mono, there's prob others that are returned, depending on your media

DTS, AAC, and others are also returned

Subtitles
all subtitle streams in the movie file are included, format is sub + 3 character language code
subENG, subSPA, etc... (there's a ton of different ones returned, hundreds)

Got examples?
here's some examples from .nfo files I ran on test data

Movies-
<credits>Walt_Disney_Pictures - 1080p AAC 6ch subENG subSPA</credits>
<credits>Warner_Bros._Pictures - 480i 2ch subENG </credits>

Episodes-
<votes>CBS - 540p DTS 6ch subENG </votes>
<votes>The_CW - 720p DTS 6ch </votes>
Reply
#2
Only took a few minutes to update all my NFO files for my movie collection.

Worked perfectly -

[HTML]<?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-03-31T00:42:30.328125+01:00</lastupdate>
<version>1.2</version>
<streamdetails>
<video>
<width>1280</width>
<height>536</height>
<codec>h264</codec>
<formatinfo>AVC</formatinfo>
<duration>2h 14mn 0s 833ms</duration>
<bitrate>6 437 Kbps</bitrate>
<bitratemode />
<bitratemax />
<container>.mkv</container>
<codecid>V_MPEG4/ISO/AVC</codecid>
<codecidinfo />
<scantype>Progressive</scantype>
</video>
<audio>
<language>eng</language>
<codec>DTS</codec>
<channels>6</channels>
<bitrate>1 536 Kbps</bitrate>
</audio>
<subtitle>
<language>eng</language>
</subtitle>
<subtitle>
<language>rum</language>
</subtitle>
<subtitle>
<language>cze</language>
</subtitle>
</streamdetails>
</fileinfo>
<title>The Chronicles of Riddick </title>
<rating>6.4</rating>
<year>2004</year>
<top250 />
<votes>40,209</votes>
<outline>5 years after Pitch Black, the wanted criminal Riddick arrives on a planet called Helion Prime, and finds himself up against an invading empire called the Necromongers, an army that plans to convert or kill all humans in the universe. </outline>
<plot>Riddick, now a hunted man, finds himself in the middle of two opposing forces in a major crusade. Colm Feore plays Lord Marshal, a warrior priest who is the leader of a sect that is waging the tenth and perhaps final crusade 500 years in the future. Judi Dench is Aereon, an ambassador from the Elemental race. She is an ethereal being who helps Riddick unearth his origins.</plot>
<tagline>All the power in the universe can't change destiny </tagline>
<runtime>119 min | USA:134 min (director's cut)</runtime>
<thumb />
<fanart url="http://www.themoviedb.org/" />
<mpaa> Rated PG-13 for intense sequences of violent action and some language. (edited for re-rating)</mpaa>
<playcount />
<File />
<Path />
<filenameandpath />
<id>tt0296572</id>
<genre>Action / Adventure / Sci-Fi / Thriller</genre>
<credits>Universal_Pictures - 720p DTS 6ch eng eng rum cze</credits>
<director>David Twohy</director>
<premiered />
<status />
<studio>Universal Pictures</studio>
<album />
<trailer />
<watched>no</watched>
<actor>
<name>Vin Diesel</name>
<role>Riddick</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTMwMDE3NzQ2NF5BMl5BanBnXkFtZTcwMDA5NTYyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Colm Feore</name>
<role>Lord Marshal</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTk0NTcyNjMxMF5BMl5BanBnXkFtZTcwNzY0MzkxMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Thandie Newton</name>
<role>Dame Vaako</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTM4NzQzMDQwNF5BMl5BanBnXkFtZTcwNzE1OTQxMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Judi Dench</name>
<role>Aereon</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMzAyMzE4NzQyN15BMl5BanBnXkFtZTcwMzQ5NjQxMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Karl Urban</name>
<role>Vaako</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTQ2Mjg0NDQzMF5BMl5BanBnXkFtZTcwODE1NjYyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Alexa Davalos</name>
<role>Kyra</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BNzg1Njg4ODMzN15BMl5BanBnXkFtZTcwOTQ1MjYyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Linus Roache</name>
<role>Purifier</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BNDgwODg5NzA4MF5BMl5BanBnXkFtZTcwODg0NjgzMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Yorick van Wageningen</name>
<role>The Guv</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Nick Chinlund</name>
<role>Toombs</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTg2NDYzMjE5MV5BMl5BanBnXkFtZTcwODIyOTkyMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Keith David</name>
<role>Imam</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTI3MzMxMTkxM15BMl5BanBnXkFtZTcwNzk5MzIzMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Mark Gibbon</name>
<role>Irgun</role>
<thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
</actor>
<actor>
<name>Roger R. Cross</name>
<role>Toal</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMjEyMDc0NTM3Nl5BMl5BanBnXkFtZTcwNTM1MzMzMQ@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Terry Chen</name>
<role>Merc Pilot</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTQ3OTgxMDg1Nl5BMl5BanBnXkFtZTYwNjk2MDQ2._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Christina Cox</name>
<role>Eve Logan</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTMxMjU4MzE5N15BMl5BanBnXkFtZTcwODk4ODYwMg@@._V1._SY30_SX23_.jpg</thumb>
</actor>
<actor>
<name>Nigel Vonas</name>
<role>Merc</role>
<thumb>http://ia.media-imdb.com/images/M/MV5BMTg0MDg2MTg0OF5BMl5BanBnXkFyZXN1bWU@._V1._SY30_SX23_.jpg</thumb>
</actor>
</movie>[/HTML]

Hopefully AEON will be able to use this info.
Reply
#3
Hitcher Wrote:Only took a few minutes to update all my NFO files for my movie collection.

Worked perfectly -

Hopefully AEON will be able to use this info.

(minor glitch i noticed.. sub should start with sub + 3 char code.. fixed in 2822 Big Grin )
Reply
#4
fekker I love your work man. Ever since I updated my 1800 nfos throught MIP, and have corresponding media information I wanted this to happen. It has to be easy to implement this into any skin. It has everything it needs in the nfo.

This like your other ideas will save countless hours to the user.
Reply
#5
Let's go to work.
Reply
#6
Getting there...

Image
Reply
#7
Will this edit existing NFO files if I don't currently use MIP?
Reply
#8
midgetspy Wrote:Will this edit existing NFO files if I don't currently use MIP?

I'm gonna guess no. All that's happening in this thread is fekker creating the ability for djh and the Stark skin to read external nfos irrespective of XBMC.
Reply
#9
Could there be a way to display the language of the available audio tracks of a movie? I got lots of movies in german AND english, but some only german and others only english.

And as my girlfriend isn't used to watch movies in english it would be nice to know about the available audio languages without having to skip through the movie to determin the language and then getting back to the Library because it was english.

I know this only works with certain container formats like Matroska where you can define the language code, but it still would be a very nice feature in my opinion.
Reply
#10
natethomas Wrote:I'm gonna guess no. All that's happening in this thread is fekker creating the ability for djh and the Stark skin to read external nfos irrespective of XBMC.

I know, I currently have an NFO file for every movie but it wasn't generated with MIP. I'm wondering if I will be able to simply scan my media and edit my existing NFOs or whether I will have to configure & use MIP for this.
Reply
#11
midgetspy Wrote:I know, I currently have an NFO file for every movie but it wasn't generated with MIP. I'm wondering if I will be able to simply scan my media and edit my existing NFOs or whether I will have to configure & use MIP for this.

Same here. I built all my NFOs with Media Companion. But Media Companion only supports Movies and TV Shows but no Music (maybe someone is working on it, I haven't checked).

So I got myself MIP which also seems to support Music.
I installed it and added my movies folders where all the mkv, tbn, nfo, fanart and trailers are in and let MIP scan. But it didn't detect a single movie. Well maybe I missed something and it was rather late so I gave up on it and will retry this evening after work.
Reply
#12
Wow looks very promising. Keep up the good work
Reply
#13
this looks hot, i cant wait until aeon has support for this... please please djh update soon Nod
Reply
#14
As i posted in the Stark release thread I´m very intressted in this.
I´ve used Media Companion for my last scan (of 2tb data)..
Yes Fekker I´ve used the MIP a lot to but as you know the issues with the tagging of posters.... Wink etc...

Haven´t tried the latest version of MIP but will tonight.

If I rember correctly I do not need to re-do all my nfo and tbn files.. do I?

Now to my question...
How does the <credits> tag get updated? Do I have to do this manualy? or does it scan the files automaticly? (All my data is in .rar format....)

This might once again just prove how stupid I am but I take the chance of being so.... Big Grin

Thanks Fekker for all you work!

Sincerly

//Talle
Reply
#15
I think this is the correct way for you to do it.

Check 'Display'
Load Movies
Settings > Setup and Configuration
Add you movies paths if there not already
Check however you save you NFO files is the same
Click the general tab
Check 'Support Skin Based Flagging'
Click 'Write Configuration Changes...'
Click 'Auto Pilot'
Click 'Update Media Information Only'
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 8

Logout Mark Read Team Forum Stats Members Help
Skin Based Full Media Flagging - a holdover until the real deal is done0