Pducharme Posted December 14, 2014 Share Posted December 14, 2014 Hi all, I created my own Plexconnect docker that I fork from needo's plexconnect. The different is that Instead of downloading a specific version, I get the "master" version (which is always the latest) but also, I added PIL in it so you can use the Fanart on the Apple TV! To use them, you can enable them in the Settings inside the Apple TV PlexConnect option, in Movies and in TV section, they default to "hide", just put them to "show". You can see what it will look inside the screenshot. To use my docker, it's pducharme/plexconnect on Docker Hub. You can remove your Container, re-use your "my-PlexConnect" but before "applying", just change needo/plexconnect to pducharme/plexconnect. Thanks, Quote Link to comment
Kryspy Posted December 14, 2014 Share Posted December 14, 2014 Do we have the ability to alter the Settings.cfg? I need to change the ip_dnsmaster to my Unotelly one. Kryspy Quote Link to comment
Pducharme Posted December 14, 2014 Author Share Posted December 14, 2014 Do you know if the one from Needo has this option ? If not, I can try modifying mine to do it. Quote Link to comment
Kryspy Posted December 14, 2014 Share Posted December 14, 2014 No, needos doesn't either. Let me know if there is a way I can do it myself locally in a temp folder and build my own. Easier still I guess is if it can be a variable set. Like I would point it to /mnt/cache/Docker/appdata/plexconnect/ Kryspy Quote Link to comment
Pducharme Posted December 14, 2014 Author Share Posted December 14, 2014 i'm trying to add a variable (DNS). It would see if there is a DNS variable set or not and if set, will launch PlexConnect once (to generate the default "Settings.cfg" then will kill it, and use 'sed' to replace the ip_dnsmaster=8.8.8.8 to ip_dnsmaster=$DNS that is the variable. Working on that, will let you know when it will work. Quote Link to comment
Kryspy Posted December 15, 2014 Share Posted December 15, 2014 Awesome thanks !!! Kryspy Quote Link to comment
Pducharme Posted December 15, 2014 Author Share Posted December 15, 2014 Ok, it's done! You can now specify when you create your container a variable "DNS". The value need to be the alternate DNS ip address you want to use. There is no validation, it assume that you put an ip address as the value. Here is the details of what happen in background when you specify a DNS : 1. invoke Settings.py (that creates the Default Settings.cfg with Google DNS in it). 2. run this SED command : sed -i 's/8.8.8.8/'$DNS'/g' /opt/plexconnect/Settings.cfg. That replaces the Google IP with the one you specified. 3. Launch the PlexConnect.py and use the modified Settings.cfg. Enjoy ! Quote Link to comment
Kryspy Posted December 15, 2014 Share Posted December 15, 2014 Works perfectly! Just had to redownload the docker container. Thanks a lot for your efforts, much appreciated Kryspy Quote Link to comment
Pducharme Posted December 15, 2014 Author Share Posted December 15, 2014 How did you confirm it ? Asking because it doesn't display in the Logs. You actually have to enter the Docker bash and do a vi on Settings.cfg : sudo docker exec -i -t YourPlexConnectDockerNameHere bash After you'r inside PlexConnect docker's bash, you can do : cd /opt/plexconnect to go in plexconnect folder. You can then type : vi Settings.cfg You'll see the ip_dnsmaster=WhateverIPAddress you set in the DNS variable. Quote Link to comment
Kryspy Posted December 15, 2014 Share Posted December 15, 2014 edited above. Works perfectly !!! Kryspy Quote Link to comment
Pducharme Posted December 15, 2014 Author Share Posted December 15, 2014 Ok good! I also use that new feature, using netprotect (from Unblock-US) Quote Link to comment
Kryspy Posted December 15, 2014 Share Posted December 15, 2014 I used to use Unblock-US. Migrated to Unotelly for some reason I seem to forget Kryspy Quote Link to comment
savestheday Posted December 15, 2014 Share Posted December 15, 2014 Thanks for this! I added this to my repos http://d.pr/i/12rhU but it does not show up for me in the drop down http://d.pr/i/17lJv What do I need to do to refresh it? Thx. Quote Link to comment
smdion Posted December 15, 2014 Share Posted December 15, 2014 Thanks for this! I added this to my repos http://d.pr/i/12rhU but it does not show up for me in the drop down http://d.pr/i/17lJv What do I need to do to refresh it? Thx. Little bit of a difference here. There is the official docker repository that is where we download specific dockers from. some users have made a GIT Repository that has a bunch of .xml files that the dockerman page reads and shows in the dropdown list. So for me my template repo is https://github.com/smdion/docker-containers/tree/templates. Pducharme did a great job updating this docker and has an official docker repo at https://registry.hub.docker.com/u/pducharme/plexconnect/, but to my knowledge has not made an XML repo for the docker man. I know it gets confusing with Docker calling their page a repo and us unRAIDers calling the GITHUB where we house the XMLs repos as well. So an easy answer... If the repo link has a bunch of XML files in it (or folders containing all XML files) its a template repo to put in Dockerman. If the repo doesn't have a bunch of XMLs, its most likely a repo for that specific docker and not for our unRAID Dockerman page. Quote Link to comment
Pducharme Posted December 15, 2014 Author Share Posted December 15, 2014 What do i need to do to create a dockerman repo? Quote Link to comment
Kryspy Posted December 15, 2014 Share Posted December 15, 2014 Install it under advanced mode by clicking the upper right corner of the preferences tab to invoke advanced. The rest you set manually. Note that the DNS option is only necessary if using a VPN like Unotelly or Unblock-US etc. Kryspy Quote Link to comment
savestheday Posted December 15, 2014 Share Posted December 15, 2014 Thanks a bunch. Don't we need to pass port 80 through the container? NVM, just saw that it's running in HOST mode. Quote Link to comment
Kryspy Posted December 31, 2014 Share Posted December 31, 2014 pducharme, Is it justly setup or do the settings reset every time it is stopped/started? My in app settings don't hold over a stop/start. Kryspy Quote Link to comment
Pducharme Posted December 31, 2014 Author Share Posted December 31, 2014 If you have a Settings.cfg in the folder, it should take this one and copy it inside the docker at start. It's not what it does for you? Quote Link to comment
Kryspy Posted December 31, 2014 Share Posted December 31, 2014 Yeah that one works fine. I mam referring to the one that keeps your appletv settings such as the grid, artwork on/off etc. The file in question is the ATVSettings.cfg file. Can we add this as well? Kryspy Quote Link to comment
Pducharme Posted December 31, 2014 Author Share Posted December 31, 2014 Done! I added "ATVSettings.cfg" exception. If you have already configured it the way you want in the current PlexConnect Docker, I suggest that you run from a SSH session to your Unraid Server : docker exec -i -t PlexConnect bash Then, from inside the docker, you can go in /opt/plexconnect and copy the ATVSettings.cfg to your /config/ATVSettings.cfg Quote Link to comment
Kryspy Posted December 31, 2014 Share Posted December 31, 2014 Thanks once again. Settings carry over a stop/start. Great work!!!! Kryspy Quote Link to comment
Pducharme Posted January 1, 2015 Author Share Posted January 1, 2015 Thanks once again. Settings carry over a stop/start. Great work!!!! Kryspy Thanks to confirmed it work, i couldn't try it yet Quote Link to comment
Kryspy Posted January 10, 2015 Share Posted January 10, 2015 I substitute this for my icon -->https://forums.plex.tv/uploads/monthly_06_2013/post-93513-0-31693500-1371587555.png Kryspy Quote Link to comment
peter_sm Posted January 10, 2015 Share Posted January 10, 2015 Looks good. One other question, can we set port 80 in docker settings? Or still need to mage changes in the go file? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.