Official PlexConnect Fanart views

PlexConnect now has it's own fanart views. First couple:-

![post-51394-0-02240900-1412507027.jpg|690x413](upload://e4DCbintlAWduWzCZwHgbAZowh9.jpg)![post-51394-0-19597000-1412507039.jpg|690x413](upload://irYDT1UGv7wXuzbbXBBhzyzkbCJ.jpg)

More coming soon.... stay tuned.

In order to use these fanart views you will need PIL or Pillow installed. If you don't want to install PIL/Pillow or just plain don't want fanart views then don't worry, PlexConnect will continue to work as before.

PIL / Pillow installation instructions:-
 
WINDOWS
 
1. Figure out which version of Python you are running. This information is given when PlexConnect first runs:-
![post-51394-0-60777700-1412507351.jpg|643x112](upload://u9pqSd6yIr4QwpGojfLGqm6RuQh.jpg)
In this example it's Python 2.7.8 64 bit.

2. Go to the following url:- https://pypi.python.org/pypi/Pillow/2.2.1#downloads

3. Download the correct MS Windows Installer for your version of Python:-
![post-51394-0-67857600-1412507587.jpg|690x479](upload://4tKGED3SBeeFczfIQoVB89GCeFy.jpg)
Again in this example version 2.7 amd64

4. Run the downloaded installer.

5. Shutdown PlexConnect and restart.

OSX

Use wahlman.j's handy OpenPlex
 
LINUX
 

$ wget http://effbot.org/media/downloads/PIL-1.1.7.tar.gz
$ tar zxvf PIL-1.1.7.tar.gz
$ cd PIL-1.1.7
$ python setup.py build
$ python setup.py install

FreeBSD or FreeNAS

 

http://www.freshports.org/graphics/py-pillow/

 

unRAID

 

http://mirrors.slackware.com/slackware/slackware-14.1/slackware/l/pil-1.1.7-i486-4.txz

 

Big thanks to brotuser who I think made the original PILBackground code. Any bugs please report here.

and make sure you unhide(show) movie fanart in movie options…works with win10 preview…

For Linux, you can do the following:

$ wget http://effbot.org/media/downloads/PIL-1.1.7.tar.gz

$ tar zxvf PIL-1.1.7.tar.gz

$ cd PIL-1.1.7

$ python setup.py build

$ python setup.py install

I have a spec file for installing/packaging PIL against python 2.7 which can be found here (tested against CentOS 6):

https://github.com/tkimball83/rpm-specs/blob/master/python27-PIL.spec

OSX instructions are pretty simple. Use OpenPlex or install pillow using this script after you make it excecuteable (replace FileLocation with your file location):

sudo chmod +x /FileLocation/pillow

./pillow

https://github.com/wahlmanj/PlexConnect/blob/master/update/OSX/pillow
 

On OSX you may need to install libjpeg (needs conformation):- http://ethan.tira-thompson.com/Mac_OS_X_Ports.htmllibjpeg needs to be installed before PIL / Pillow (needs conformation) No idea.... if somebody would be kind enough to post instructions, I'll add them here.


The pillow script does all of this without mac ports via homebrew. I can confirm it works without mac ports using just the pillow script provided. I assume it works on linux also.

Also coverflow breaks tv shows fanart? When its selected I cannot enter any of my shows unless I change the season view to list. aTV3 iOS 7.1.2.

When can we see some big Coverart Fanart views like flow?

https://www.youtube.com/watch?v=G77xlHB9ruQ

Thanks to both tkimball83 and wahlman.j for the Linux / OSX instructions.

wahlman.j, what versions of OSX does your OpenPlex work on? I have 10.6.8 running under Windows in VMware and every time I press Install Command Line tools it open safari but then hangs, not sure weather this is an OpenPlex problem, or just my VMware OSX installation being a bit flaky. Looking at the dropbox page it points to there doesn’t seem to be any command line tools for OSX 10.6.

wahlman.j, I’ll take a look at the season coverflow issue, thanks.

wahlman.j, as for different view, I’m trying to keep it minimalistic. There are plenty of other themes that do the fanart on every page much better than I could :slight_smile: That being said, once I start adding more stuff who knows where it will lead :smiley:

I have been told Openplex works in 10.6-10.10 (works best on 10.9+). I’m not sure about a virtualized enviroment (I haven’t tested). I believe CLT can be installed from within xcode on lower OSX versions.


Season view = coverflow fixed with your commit :slight_smile:

https://github.com/iBaa/PlexConnect/commit/9ec1ce56c1caa99d7c68be6654787f5f7b47eac5

Yep, could very well be my virtualized OXS 10.6 that’s the problem, it’s not the most stable thing ever :slight_smile:

EDIT:

Got it to work, you need the Python 2.7.8 64bit version! :)

awesome!!!

For 64-bit unRAID users, I just installed the PIL package (pil-1.1.7-x86_64-4.txz) from here: http://slackware.cs.utah.edu/pub/slackware/slackware64-current/slackware64/l/

Download and copy to flash drive (/boot/extra)

Either reboot to install or using terminal   installpkg pil-1.1.7-x86_64-4.txz

Enjoy the new fanart views!

Again trying to update for this cool feature and i'm in hell ..  fanart Didn't work so i uninstalled all plexconnect and then after reinstalling immedietly trailers is unavailable. Can't solve it. I'm falling for these cool features every time.

Again trying to update for this cool feature and i'm in hell ..  fanart Didn't work so i uninstalled all plexconnect and then after reinstalling immedietly trailers is unavailable. Can't solve it. I'm falling for these cool features every time.

Tested and working flawlessly on a non corrupt OS. Probably would be a good idea to post some log's if you desire to be assisted. Also what does the pillow installer output as which dependencies are supported?

Got it to work. Great!

I used wahlman.j 's script to install pillow using homebrew on OS X 10.9.5 but when I activate Fanart I am getting the following error in the Terminal:

13:28:01 XMLConverter: XML_ExpandLine - Error in :/fanartcache/{{getBackground({{EVAL({                
                    'title'       : "{{EVAL(quote_plus("{{VAL(parentTitle)}}"))}}",\
                    'image'       : "{{IMAGEURL(art:::)}}", 
                    'resolution' : "{{VAL(^aTVScreenResolution)}}" \
                    })}})}}
Traceback (most recent call last):
  File "/Applications/PlexConnect/XMLConverter.py", line 698, in XML_ExpandLine
    res = getattr(CommandCollection, 'ATTRIB_'+cmd)(src, srcXML, param)
  File "/Applications/PlexConnect/XMLConverter.py", line 1407, in ATTRIB_getBackground
    res = conf.generate()
  File "/Applications/PlexConnect/PILBackgrounds.py", line 107, in generate
    im = self.resizedMerge(background, stylepath)
  File "/Applications/PlexConnect/PILBackgrounds.py", line 72, in resizedMerge
    background.paste(layer, ( 0, 0), layer)
  File "build/bdist.macosx-10.9-intel/egg/PIL/Image.py", line 1308, in paste
    self.load()
  File "build/bdist.macosx-10.9-intel/egg/PIL/ImageFile.py", line 191, in load
    d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
  File "build/bdist.macosx-10.9-intel/egg/PIL/Image.py", line 413, in _getdecoder
    raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available

Anyone git ideas as to why it can't find the JPEG decoder? I thought with the homebrew install this dependency should be satisfied.

Thanks for any help! 

Baa also ran into a similar issue:- IOError: decoder zip not available

He fixed it by uninstalling PIL/Pillow then installing lzlib and finally reinstalling PIL/Pillow

So at a guess you should be able to fix it by installing libjpeg:-

pip uninstall PIL
sudo brew install libjpeg
pip install PIL

There is also a package available here:- http://ethan.tira-thompson.com/Mac_OS_X_Ports.html

pip uninstall PIL
sudo brew install libjpeg
pip install PIL

If you re-run the script it should do all that automatically. Not sure what would be preventing libjpeg. I ran the script on two different mac's without a hitch. I always have CLT installed prior to running it, maybe thats the issue. I will install a fresh 10.10 without CLT and see if I can duplicate the issue or not.

edit - CLT is required prior to installing pillow, it even prompts the user to install CLT when running the script. Here is a example on a fresh install of OS X of what to expect during a pillow installation:

https://www.youtube.com/watch?v=eFGd7xziEFU

This is my dev machine, it has Xcode and all the accompanying tools installed.

Re-running the script was the first thing I tried before asking here.

"brew install libjpeg" yields:

Warning: jpeg-8d already installed

Well I'll have to live without Fanart at the moment I guess. Not a big deal.

What happens when you do enter this into a terminal? What does it output as supported at the end of the script:

sudo pip uninstall pillow

sudo pip install pillow

Look never mind, I just thought somebody had seen the error before and might be able to make sense of it.

I can do basic troubleshooting on my own, being a software developer myself. I am just not interested enough in this feature to spend too much time on it.

Watching movies is what PlexConnect is for after all, I don't care that much about the look of the interface.

Thanks anyway!

Nice job roidy. I just have one suggestion. The space between the top of the gradient and the film title it too small. It seems a bit tight or claustrophobic to me. I think if you increased this margin by about 3 mm or so it would breath a bit more.

The Design Police

Looks like i can't access TV Shows without fanart (In the web there is no fanart). When i click any Israeli show nothing happens (I guess it because of no Fanart).