Fanart possible?

Maybe.. but i have no idea how.. is someone helps me maybe we can figure it out.. however the  apple tvs that i have that are jailbroken are on 5.0.2 and not ios 6, and i was under the impression that the fanart dident come until 6.. i might be wrong though?

my thoughts go to the Plex app for ATV2.. on them u have the fanart section already working.. and its looks nice.. maybe that is a better way to go? if the programmer from that app could hep us? i dunno..

I think you're right actually, we are pretty close to getting it to work as expected, isn't there a way to use the inset to limit the height? I'll have to play with it in a little while and see. I just wish we had access to the right XML so it would work as expected.

I see your signature has an Apple TV 2 in it, is it possible with a jailbroken apple tv to capture the XML given from the Movies app? I'm pretty sure there has to be a way to figure out how apple does the automatic coloring, as well as in the XML might be a way to make sure the image doesn't pass a certain height.


I'm assuming the coloring isn't automatic, but instead is hardcoded into each XML file. There isn't any way to limit the height of the image in the XML. I've captured several of the banners from the Movies pages and they've all been 324 pixels tall.

The pages on the App Store are probably manually created with colors and custom images for each movie with banner art.


Sent from my iPhone using Tapatalk

I'm assuming the coloring isn't automatic, but instead is hardcoded into each XML file. There isn't any way to limit the height of the image in the XML. I've captured several of the banners from the Movies pages and they've all been 324 pixels tall.

The pages on the App Store are probably manually created with colors and custom images for each movie with banner art.


Sent from my iPhone using Tapatalk

I'm not sure about them being manually created, if you look at Turbo in the Movies section the coloring selection is awful, as well as in iTunes 11 the new setup is automatically colored from the album cover of an album, pretty sure Apple has a way to automatically detect coloring from an image.

am getting really weird logs in plex connect terminal while browsing 

 Domain: atv.plexconnect
18:37:29 DNSServer: ***intercept request
18:37:29 DNSServer: -> DNS response: 192.168.1.3
18:37:29 WebServer: serving .xml: /library/metadata/14413
18:37:43 WebServer: serving .xml: /library/sections/24
18:37:44 WebServer: serving /js/utils.js
18:37:44 WebServer: serving /js/updateXML.js
18:37:44 WebServer: serving .xml: /library/sections/24/all
18:37:46 WebServer: serving /js/utils.js
18:37:47 WebServer: serving /js/scrobble.js
18:37:50 WebServer: serving .xml: /library/metadata/14413
18:37:50 XMLConverter: XML_ExpandLine - Found unknown cmd ADDR_PMS in line playTrailer('{{ADDR_PMS()}}','{{SVAL(Video/title)}}','{{VAL(Video/year)}}')
18:37:50 XMLConverter: XML_ExpandLine - Found unknown cmd ADDR_PMS in line playTrailer('{{ADDR_PMS()}}','{{SVAL(Video/title)}}','{{VAL(Video/year)}}')
18:37:50 XMLConverter: XML_ExpandLine - Found unknown cmd ADDR_PMS in line selectAudioAndSubs('{{ADDR_PMS()}}', '{{VAL(Video/Media/Part/id)}}')
18:37:50 XMLConverter: XML_ExpandLine - Found unknown cmd ADDR_PMS in line selectAudioAndSubs('{{ADDR_PMS()}}', '{{VAL(Video/Media/Part/id)}}')
18:37:51 WebServer: serving /js/utils.js
18:37:51 WebServer: serving /js/selectAudioAndSubs.js
 
 
something is not right with this  :rolleyes:
 
dissapears when i use the standard preplay xml

Change "itemDetail" to "itemDetailWithImageHeader" (don't forget to change the closing tag too) and then add this on the next line

      
        
          {{IMAGEURL(Video/thumb::1280)}}
        
      

The trick ended up being the "required" attribute. My guess is that tells the AppleTV to wait until the image is downloaded before rendering the screen. I'm assuming what was happening is that it wasn't waiting for the image and then the layout was getting all screwy when the download took too long.

what are the inset values for ?

*edit*

btw there is another module in python: imageop (i think it is installed by default - at least on OSX) - which does allow cropping - but not sure what it will do to the quality

what are the inset values for ?


I'm not sure of all of the details, but changing the first or third value effects how much of the background image is overlapped by the description etc. Changing the other values didn't seem to change anything.

lol something is really messed up now.. now i need to click all the uncached movies even without the bacground script.. something is messed up :O

I'm not sure of all of the details, but changing the first or third value effects how much of the background image is overlapped by the description etc. Changing the other values didn't seem to change anything.


Sent from my iPhone using Tapatalk

The second and fourth values can be used to shift the description horizontally. 

Also the insets are dependent on the screen resolution, there are 3 to set:- insets, insets720 and insets1080.

It also seems to work better in list views than it does in the preplay:-

![post-51394-0-30293000-1384893820.jpg|690x408](upload://qOobwGyefSkprGxi2l5a980qbwX.jpg)

The second and fourth values can be used to shift the description horizontally.

Also the insets are dependent on the screen resolution, there are 3 to set:- insets, insets720 and insets1080


I saw that in the XML schema. I only fiddled with the insets one for simplicity. Do you know if insets720 and insets1080 are supplied, do you need to also put something in just plain insets?

I assume inserts is for SD res 480p and insets720/insets1080 are for HD res. So ideally you'd need to fill in all 3 for highest compatability. 

i have now found the perfect settings (for me).. now i get fanart to work on all the movies If they have a hig res fanart provided.. and if not.. they are just looking as they did before so it dont show up retarded atleast :)

the only thing i want now is to get rid of the shadow/mirror below the orginal movie poster, cause thats getting away for my picture abit.. anyone knows how? :D  

Mind sharing what exactly we have to do to get this to work? :)

I have been playing around a bit, but it appears that I have lots of different kinds of fan art (resolutions) in the back-end - interface sometimes looks good, sometimes everything is moved down or up, not particularly consistent.

I have been playing around a bit, but it appears that I have lots of different kinds of fan art (resolutions) in the back-end - interface sometimes looks good, sometimes everything is moved down or up, not particularly consistent.

that is the same problem i had aswell.. with the settings i have now it works 99% of the time.. either with showing the fanart or it just looks like it didi before.. i have only had problems with 1 poster so far..

i will post my settings as soon as i get home from work

I also wonder how it works in the back-end - I (just now) have installed the fanart.tv agent, which should retrieve different fanart - but still there is only one that will be set in the PMS database.

PlexConnect retrieves the art it receives from PMS - but could this also be changed if it knows the bundle it should look for.

eg:

  /Users/me/Library/Application Support/Plex Media Server/Metadata/Movies/0/.bundle/Contents/_combined/art

this directory contains all art that is available. Only the one in "../../_stored" is the one that is actually shown.

When I manipulate images in bulk - I use imagemagick (mogrify) - with one command you can modify all fanart at once (to crop or whatever).

If lets say I would store a "atv_fanart.jpg" in the _combined/art folder and would hardcode in PlexConnect to retrieve that image (once figured out which bundle it is), would that be possible ? 

You can store "fanart.jpg" in the folder of the movie/tv-show - I have customised some now, looks nice I think. (1920x600 with gradient overlay)

*edit* some more.

on fanart.tv - the actual banner you find at a movie title actually fits perfectly - images are 1920x440 (although you could modify the url to retrieve another size). 

perhaps the fan.tv meta agent can be modified to retrieve this image automagically.

here is my setting

  {{IMAGEURL(Video/art::2000)}}

Where do u have to put this ?

open ur assets/templates/moviepreplay.xml

in the beginning insert this

 
   
   
 
 
 
   
 
   
      {{IMAGEURL(Video/art::2000)}}
   
 
      {{VAL(Video/title)}} ({{VAL(Video/year)}})
      {{VAL(Video/studio)}}
      {{contentRating(Video/contentRating)}}
      {{VAL(Video/summary)}}
      {{IMAGEURL(Video/thumb::768)}}

Is this both movies and shows? Great job btw. Is this going to be implemented on he next commit?

Is this both movies and shows? Great job btw. Is this going to be implemented on he next commit?

this is just the movie preplay.. looking on the the shows now, waiting to hear back from roidy..

its thanks to taller, he figured out mostly of it :)