XBMC Community Forum
[MOD] Native Media Flagging support for Aeon - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Skin Help and Support (/forumdisplay.php?fid=67)
+---- Forum: Aeon (/forumdisplay.php?fid=68)
+---- Thread: [MOD] Native Media Flagging support for Aeon (/showthread.php?tid=52581)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40


- rausch101 - 2009-06-16 05:21

I'm getting all metadata info except for the studio tags. I'm assuming these should be working without any intervention, so I guess it must be the skin I'm using?


- ccMatrix - 2009-06-16 05:25

rausch101 Wrote:I'm getting all metadata info except for the studio tags. I'm assuming these should be working without any intervention, so I guess it must be the skin I'm using?

For them to work you need to have:
  • All the studio logos extracted to the correct location Aeon/media/flags/studios
  • Have only the studio name in the Studio tag, no additional codec etc. information from e.g. MIP



- rausch101 - 2009-06-16 05:32

ccMatrix Wrote:For them to work you need to have:
  • All the studio logos extracted to the correct location Aeon/media/flags/studios
  • Have only the studio name in the Studio tag, no additional codec etc. information from e.g. MIP

I have my studio logos in djh-aeon-#####/media/flags/studios. I created a separate folder and put only the video files inside (no MIP files) to test it. That's when all but the studio tags showed up.


- ccMatrix - 2009-06-16 05:44

Hmm, maybe the movies you put into your test folder all have studios where I do not have a studio logo. There are lots of 1-movie studios which do not have one. Maybe you could check the sqlite database to see which studio was scanned for the movies.

Also: Which movie scraper do you use. I scanned all my movies with the imdb scraper. There might be some differences with other scrapers.


- rausch101 - 2009-06-16 05:44

Sidenote: I have "American Psycho (2000) 720p BluRay x264.mkv" being scraped completely from the built-in scraper. For the codec tag, it shows H264 for about .1 seconds and then changes to BluRay. This happens every time I select it.

EDIT: I have a feeling that the reason for this is that Aeon is overriding the XBMC-scraped studio tag with the BluRay tag


- rausch101 - 2009-06-16 05:50

ccMatrix Wrote:Hmm, maybe the movies you put into your test folder all have studios where I do not have a studio logo. There are lots of 1-movie studios which do not have one. Maybe you could check the sqlite database to see which studio was scanned for the movies.

Also: Which movie scraper do you use. I scanned all my movies with the imdb scraper. There might be some differences with other scrapers.

Good call...I changed my movie scraper to IMDB and it picked up 2 of the 4 movies in my test folder. I guess it was working after all and TMDB just didn't have the studio tags for the 4 movies I chose.


- ccMatrix - 2009-06-16 05:53

rausch101 Wrote:Good call...I changed my movie scraper to IMDB and it picked up 2 of the 4 movies in my test folder. I guess it was working after all and TMDB just didn't have the studio tags for the 4 movies I chose.

I checked the API of TMDB and it looks like the currently used version (2.0) does not provide the studio information. However this seems to be available in the next version (2.1) which they are currently testing.

rausch101 Wrote:Sidenote: I have "American Psycho (2000) 720p BluRay x264.mkv" being scraped completely from the built-in scraper. For the codec tag, it shows H264 for about .1 seconds and then changes to BluRay. This happens every time I select it.
I know about that. This is because I show the codec if there is no match for the BluRay/HD-DVD/DVD check - this can take a split second.

Try changing the following line in Includes_MediaFlags.xml:
Code:
<visible>!Control.IsVisible(82)</visible>
to
Code:
<visible>!substring(listitem.filename,dvd) + !substring(listitem.filename,bluray) + !substring(listitem.filename,blu-ray) + !substring(listitem.filename,bdrip) + !substring(listitem.filename,.iso,Right) + !substring(listitem.filename,.ifo,Right)</visible>



- rausch101 - 2009-06-16 06:13

ccMatrix Wrote:I checked the API of TMDB and it looks like the currently used version (2.0) does not provide the studio information. However this seems to be available in the next version (2.1) which they are currently testing.


I know about that. This is because I show the codec if there is no match for the BluRay/HD-DVD/DVD check - this can take a split second.

Try changing the following line in Includes_MediaFlags.xml:
Code:
<visible>!Control.IsVisible(82)</visible>
to
Code:
<visible>!substring(listitem.filename,dvd) + !substring(listitem.filename,bluray) + !substring(listitem.filename,blu-ray) + !substring(listitem.filename,bdrip) + !substring(listitem.filename,.iso,Right) + !substring(listitem.filename,.ifo,Right)</visible>

Ah, ok. Thanks for the help.

I might be alone here, but my personal preference would be for the tag to remain blank for that .1-.2 seconds while it does the media type check. It's obviously minor either way, I just thought I'd bring it up while this is all still so fresh.

Also, amazing job with everything. This will certainly improve my and my roomates'/friends' MC experience.


- mindweaver - 2009-06-16 09:45

The mod seems to be working great! Thanks alot!

I have a two part request though. On alot of my movies it finds h264 instead av 1080p/720p? Could you maybe add support for Foldernames? As of now it checks only filenames right? This does not work well with rared scene releases.

I would also love to get xvid and divx instead of the DVD logo if these are present in the filename/foldername

EDIT: And I agree with earlier poster when it comes to default image. it would be better to go from blank to DVD or blank to BluRay. The flicker isn't that nice Smile


- nutski - 2009-06-16 10:06

mindweaver Wrote:I would also love to get xvid and divx instead of the DVD logo if these are present in the filename/foldername

The latest build reads fourcc information so separates divx and xvid automatically, only problem i have found so far is MIP needs updating now this patch is out put the media information in the correct places in the .nfo as currently my MIP scanned movies read as 'mpeg-4 visual' but if i delete the .nfo and scan with the inbuilt scrapers it does detect the format correctly.