Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plexconnect Docker

Featured Replies

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,

 

PILBackgrounds.jpg.1c2311f0bdc07ad7425558517ce6cb06.jpg

Do we have the ability to alter the Settings.cfg?  I need to change the ip_dnsmaster to my Unotelly one.

 

Kryspy

  • Author

Do you know if the one from Needo has this option ?  If not, I can try modifying mine to do it.

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

  • Author

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.

Awesome thanks !!!

 

Kryspy

  • Author

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 !

Works perfectly!  Just had to redownload the docker container.  Thanks a lot for your efforts, much appreciated

 

Kryspy

  • Author

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.

 

 

edited above. Works perfectly !!!

 

Kryspy

  • Author

Ok good! I also use that new feature, using netprotect (from Unblock-US) :)

I used to use Unblock-US. Migrated to Unotelly for some reason I seem to forget :)

 

Kryspy

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.

 

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

Screenshot_2014-12-15_11_42_35.png.bf6101404e6093e2314719452608ca2e.png

Screenshot_2014-12-15_11_42_08.png.00d64e26bd43f797e7f2c21ccd083666.png

Thanks a bunch. Don't we need to pass port 80 through the container?

 

NVM, just saw that it's running in HOST mode.

  • 3 weeks later...

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

  • Author

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?

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

  • Author

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

 

Thanks once again. Settings carry over a stop/start. Great work!!!!

 

Kryspy

  • Author

Thanks once again. Settings carry over a stop/start. Great work!!!!

 

Kryspy

 

Thanks to confirmed it work, i couldn't try it yet :)

  • 2 weeks later...

Looks good. One other question, can we set port 80 in docker settings? Or still need to mage changes in the go file?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.