2009-03-31, 01:40
Blame DigitalHigh 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>
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>