Kodi Community Forum
[MOD] Workaround Media Flagging - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Aeon MQ (https://forum.kodi.tv/forumdisplay.php?fid=68)
+---- Thread: [MOD] Workaround Media Flagging (/showthread.php?tid=50138)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23


- DuMbGuM - 2009-05-11

Yeah me too, I had been looking for the WMV-HD flag.


- ronie - 2009-05-11

So why not add WMA-HD too. i couldn't find a logo, so i made one myself.

code:
<texture>flags/custom/wmahd.png</texture>
<visible>substring(listitem.studio,WMA3)</visible>


logo:
Image


- krypt2nite - 2009-05-11

Update:
Thanks ronie for the new icons.

I have added them and the proper detection to the Includes_MediaFlags.xml
krypts_aeon_flags.zip

Please test through your libraries. I don't have any wma/wmv video files.
Image


- krypt2nite - 2009-05-11

Imaginos Wrote:Hello there
I've noticed that we don't want the same informations displayed in the views
So I decided to create a mod to allow people to select what is displayed and in wich position :
For Showcase/Multiplex view :
Studio
Source
Sound format
Resolution
Video codec
Imdb rating (text mode)
Show duration

Episode View :
Network (with HD auto-determination)
Source
Sound format
Resolution
Video codec
Rating (stars mode)

Here's the file (up to date with the set supplied here on the 8 of May
Moded files (include_mediaflags & customisation & Includes_Settings_LabelsButtons (corrected)
Flags set


Imaginos... kudos. I just played around with your modifications. I'm sure this will be useful to a lot of people.


- bobrap - 2009-05-11

Imaginos Wrote:You set disposition for each of the 3 views in an advanced settings new tab : MANAGE FLAGS
There's a button to set all the flags in all views by default
Image
When you start xbmc first, a message is displayed in all the views that haven't been set and if the 'nomediaflag' hasn't been enabled

Alerts in
Showcase view :
Image

Multiplex view :
Image

Episode view :
Image

I have the notification to set the preferences in movies, but, not in tv. No flags showing in episodes.Sad:confused2:


- Imaginos - 2009-05-11

Hope so, it's made to be used and usefull Smile


- Imaginos - 2009-05-11

bobrap Wrote:I have the notification to set the preferences in movies, but, not in tv. No flags showing in episodes.Sad:confused2:
Ok, have you downloaded the flags pack ?
the flags needed must be in the right place
- tell me where is located the file "fox_hd.png"

- take a look to your userdata/guisettings.xml at the end, search for "episodemediaflag"
You should have 4 lines looking something like that :
Code:
<setting type="bool" name="aeon.episodemediaflags_pos_set">true</setting>
...
<setting type="string" name="aeon.episodemediaflags_pos1">[b]network[/b]</setting>
<setting type="string" name="aeon.episodemediaflags_pos2">[b]source[/b]</setting>
<setting type="string" name="aeon.episodemediaflags_pos3">[b]rating[/b]</setting>
<setting type="string" name="aeon.episodemediaflags_pos4">[b]sound[/b]</setting>
Can you copy them here or in pm ?

- where and when did you downloaded the aeon skin ?
- what is the version of xbmc ?


- bobrap - 2009-05-11

fox_hd.png = c\Program Files (x86)\XBMC\skin\Aeon Auriga\media\flags

Auriga is latest version on github and XBMC 9.04

<setting type="string" name="Aeon Auriga.episodemediaflags_pos1">network</setting>
<setting type="string" name="Aeon Auriga.episodemediaflags_pos2">source</setting>
<setting type="string" name="Aeon Auriga.episodemediaflags_pos3">rating</setting>
<setting type="string" name="Aeon Auriga.episodemediaflags_pos4">sound</setting>

Last 4 lines. Hope this helps.


- Imaginos - 2009-05-11

the fox_hd file should be in
c\Program Files (x86)\XBMC\skin\Aeon Auriga\media\flags\tv
this may be the problem, can you check again ?
in the tv folder, you should have something like 55 elements



I've noticed a bug in my file however.
- duration in showcase view doesn't disappear when you press the down key
- the rating in multiplex view doesn't show as it should (a copy-paste error silly me!)
- position of rating in episode view is not very correct

I uploaded the updated file :
http://www.mediafire.com/file/qgkdydnnfma/Includes_MediaFlags.xml
and don't forget the flags here


- bobrap - 2009-05-11

Sorry, my mistake. The fox png is in the tv folder. I made the changes you posted and still no joy. Where should the flags info be located in the nfo file? I use mip.


- venealis - 2009-05-11

is anyone else having problems getting h264 to show up while under codec?
here's what is under my .nfo file:
PHP Code:
<fileinfo>
    <
lastupdate>2009-05-11T13:04:01.7023686-05:00</lastupdate>
    <
version>1.3</version>
    <
streamdetails>
      <
video>
        <
width>1280</width>
        <
height>720</height>
        <
codec>h264</codec>
        <
formatinfo>AVC</formatinfo>
        <
duration>1h 48mn 49s 125ms</duration>
        <
bitrate>4 536 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>AC-3</codec>
        <
channels>6</channels>
        <
bitrate>640 Kbps</bitrate>
      </
audio>
      <
subtitle>
        <
language>eng</language 



- krypt2nite - 2009-05-11

Please post more of your NFO because currently aeon/xbmc doesn't use that information.


- AnalogKid - 2009-05-11

venealis Wrote:is anyone else having problems getting h264 to show up while under codec?
here's what is under my .nfo file:
PHP Code:
<fileinfo>
    <
lastupdate>2009-05-11T13:04:01.7023686-05:00</lastupdate>
    <
version>1.3</version>
    <
streamdetails>
      <
video>
        <
width>1280</width>
        <
height>720</height>
        <
codec>h264</codec>
        <
formatinfo>AVC</formatinfo>
        <
duration>1h 48mn 49s 125ms</duration>
        <
bitrate>4 536 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>AC-3</codec>
        <
channels>6</channels>
        <
bitrate>640 Kbps</bitrate>
      </
audio>
      <
subtitle>
        <
language>eng</language 

AEON uses a 'bastardised' (that's not polite) form of the <Studio> tag for ALL it's mediaflags... with the single exception of the 'source' type (i.e. HDTV, SDDVD etc) which is discovered from the filename.

I believe the reason for this was that Aeon has only limited access to some of the NFO tags, and <Studio> was the least important of the ones it had access to, so it was decided to store MORE information in the <Studio> tag than the studio... hence it is an 'abused' tag. Basically a short term hack until XBMC engine supports more tags from the NFO file.

That's my understanding of the history and situation so far.


- venealis - 2009-05-11

here is the rest generated by MIP:

PHP Code:
<?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-05-11T13:04:01.7023686-05:00</lastupdate>
    <version>1.3</version>
    <streamdetails>
      <video>
        <width>1280</width>
        <height>720</height>
        <codec>h264</codec>
        <formatinfo>AVC</formatinfo>
        <duration>1h 48mn 49s 125ms</duration>
        <bitrate>4 536 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>AC-3</codec>
        <channels>6</channels>
        <bitrate>640 Kbps</bitrate>
      </audio>
      <subtitle>
        <language>eng</language>
      </subtitle>
    </streamdetails>
  </fileinfo>
  <title>10,000 BC</title>
  <rating>4.9</rating>
  <year>2008</year>
  <top250 />
  <votes>36,635</votes>
  <outline>A prehistoric epic that follows a young mammoth hunter's journey through uncharted territory to secure the future of his tribe. </outline>
  <plot>A prehistoric epic that follows a young mammoth hunter named D'Leh's journey through uncharted territory to secure the future of his tribe. When a band of mysterious horse-riding warlords raid the Yaghal camp and kidnaps his heart's desire - the beautiful Evolet along with many others, D'Leh is forced to lead a small group of hunters south to pursue the warlords to the end of the world to save her. Driven by destiny, the unlikely band of warriors must battle saber-toothed cats and terror birds in the Levant.</plot>
  <tagline>It takes a hero to change the world. </tagline>
  <runtime>109 min </runtime>
  <thumb />
  <fanart url="http://www.themoviedb.org/">
    <thumb preview="http://images.themoviedb.org/backdrops/1931/tt0443649-3_thumb.jpg">http://images.themoviedb.org/backdrops/1931/tt0443649-3.jpg</thumb>
    <thumb preview="http://images.themoviedb.org/backdrops/2042/tt0443649-1_thumb.jpg">http://images.themoviedb.org/backdrops/2042/tt0443649-1.jpg</thumb>
    <thumb preview="http://images.themoviedb.org/backdrops/3590/tt0443649-2_thumb.jpg">http://images.themoviedb.org/backdrops/3590/tt0443649-2.jpg</thumb>
    <thumb preview="http://images.themoviedb.org/backdrops/5570/tt0443649_thumb.jpg">http://images.themoviedb.org/backdrops/5570/tt0443649.jpg</thumb>
  </fanart>
  <certification>USA:PG-13</certification>
  <playcount />
  <File />
  <Path />
  <filenameandpath />
  <id>tt0443649</id>
  <genre>Adventure / Romance / Thriller</genre>
  <credits>Roland Emmerich / Harald Kloser</credits>
  <director>Roland Emmerich</director>
  <premiered />
  <status />
  <studio>Warner Bros. Pictures / 720p / V_MPEG4/ISO/AVC / AC-3 / 6ch / eng / subeng</studio>
  <studioreal>Warner Bros. Pictures</studioreal>
  <album />
  <trailer />
  <watched>no</watched>
  <actor>
    <name>Steven Strait</name>
    <role>D'Leh</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
  <actor>
    <name>Camilla Belle</name>
    <role>Evolet</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMjA0MDc2NzU3Nl5BMl5BanBnXkFtZTcwOTg0NDAzMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Cliff Curtis</name>
    <role>Tic'Tic</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTQ1NDk1MTIzMV5BMl5BanBnXkFtZTYwODA0OTQy._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Joel Virgel</name>
    <role>Nakudu</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTI2MjEzMTk0OF5BMl5BanBnXkFtZTcwNTExMDk1MQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Mo Zinal</name>
    <role>Ka'Ren</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTY1NTIzNzczNF5BMl5BanBnXkFtZTcwNjgyODEzMQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Nathanael Baring</name>
    <role>Baku</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
  <actor>
    <name>Marco Khan</name>
    <role>One-Eye</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTkwMjU4Mzg1Ml5BMl5BanBnXkFtZTcwNDU1MDI3MQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Reece Ritchie</name>
    <role>Moha</role>
    <thumb>http://ia.media-imdb.com/images/M/MV5BMTYzNjUyOTQ1NF5BMl5BanBnXkFtZTcwMjc5Mjg1MQ@@._V1._SY275_SX400_.jpg</thumb>
  </actor>
  <actor>
    <name>Joel Fry</name>
    <role>Lu'kibu</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
  <actor>
    <name>Junior Oliphant</name>
    <role>Tudu</role>
    <thumb>http://i.media-imdb.com/images/tn15/addtiny.gif</thumb>
  </actor>
</movie> 



- Imaginos - 2009-05-11

AnalogKid Wrote:AEON uses a 'bastardised' (that's not polite) form of the <Studio> tag for ALL it's mediaflags... with the single exception of the 'source' type (i.e. HDTV, SDDVD etc) which is discovered from the filename.

I believe the reason for this was that Aeon has only limited access to some of the NFO tags, and <Studio> was the least important of the ones it had access to, so it was decided to store MORE information in the <Studio> tag than the studio... hence it is an 'abused' tag. Basically a short term hack until XBMC engine supports more tags from the NFO file.

That's my understanding of the history and situation so far.

As far as i'm aware, it's mostly because it is not aeon that scans the nfo, it's xbmc itself, but the xbmc's database has no place for such data.
So, the only way is to use an allready existing cell and put the datas in.
The one that has been selected is the studio one, it could have been something else, no matter.

The fact is that the infos in the streamdetails are not read by xbmc, so aeon cannot find them, it doesn't really access to the nfo file at any time...
The other way would be to convince the xbmc team that they should enhance the database to manage this datas