[support] limetech's docker repository


Recommended Posts

With your plex docker,  it says it will install the latest plexpass version but how is it doing that without logging in? 

 

in the install.sh file you have this line finding the download url

PLEX_URL=$(curl -sL https://plex.tv/downloads | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p')

 

without logging in on the site you are only going to get the normal download  not the plexpass version

 

if i run the above url i will get

 

root@Tower: # curl -sL https://plex.tv/downloads | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'

https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb

root@Tower: #

 

and the plexpass current version is

https://downloads.plex.tv/plex-media-server/0.9.12.4.1192-9zzzzzzz/plexmediaserver_0.9.12.4.1192-9zzzzzzz_amd64.deb  ( changed a url a bit ) 

 

What you need to do is set 2 variables for plexpass username / password and then change the PLEX_URL= function to something like this

 

PLEX_URL=$(curl -sL  -u $PLEXPASSUSERNAME:$PLEXPASSPASSWORD https://plex.tv/downloads?channel=plexpass | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p')

 

Just a heads up :)

Link to comment

Because Plex changed how they do things. They'll let anyone download the plex-pass version now, but it won't run unless you have a log-in to enter at the webgui.

 

Now I can't speak to the right place to go get it, but I know you can download the plex-pass version without passing u/p

Link to comment

Because Plex changed how they do things. They'll let anyone download the plex-pass version now, but it won't run unless you have a log-in to enter at the webgui.

 

Now I can't speak to the right place to go get it, but I know you can download the plex-pass version without passing u/p

 

You cant download the plexpass version without logging in 

 

NO LOGIN DETAILS

root@Tower:~# curl -sL https://plex.tv/downloads | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'

https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb

 

 

PLEXPASS CHANNEL WITHOUT LOGIN DETAILS

root@Tower:~# curl -sL https://plex.tv/downloads?channel=plexpass | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'                                     

https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb

 

 

WITH LOGIN DETAILS

root@Tower:~# curl -sL -u zzzzzzzzz:z3zzzzzzzz https://plex.tv/downloads?channel=plexpass | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'               

https://downloads.plex.tv/plex-media-server/0.9.12.4.1192-9azzzzz1/plexmediaserver_0.9.12.4.1192-9azzzzz1_amd64.deb

 

 

from a scripting standpoint  you can not download the plexpass version without login details

Link to comment

Because Plex changed how they do things. They'll let anyone download the plex-pass version now, but it won't run unless you have a log-in to enter at the webgui.

 

Now I can't speak to the right place to go get it, but I know you can download the plex-pass version without passing u/p

 

You cant download the plexpass version without logging in 

 

NO LOGIN DETAILS

root@Tower:~# curl -sL https://plex.tv/downloads | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'

https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb

 

 

PLEXPASS CHANNEL WITHOUT LOGIN DETAILS

root@Tower:~# curl -sL https://plex.tv/downloads?channel=plexpass | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'                                     

https://downloads.plex.tv/plex-media-server/0.9.12.3.1173-937aac3/plexmediaserver_0.9.12.3.1173-937aac3_amd64.deb

 

 

WITH LOGIN DETAILS

root@Tower:~# curl -sL -u zzzzzzzzz:z3zzzzzzzz https://plex.tv/downloads?channel=plexpass | sed -nr 's#.*href="(.+?/plexmediaserver_.+?_amd64\.deb)".*#\1#p'               

https://downloads.plex.tv/plex-media-server/0.9.12.4.1192-9azzzzz1/plexmediaserver_0.9.12.4.1192-9azzzzz1_amd64.deb

 

 

from a scripting standpoint  you can not download the plexpass version without login details

Don't know about limetech's script, but I am using needo/plex and I never gave the docker configuration any login details, but Plex shows I am running 0.9.12.4

 

Looking at needo's code

    PLEX_URL=$(curl -sL http://plex.baconopolis.net/latest.php | sed -nr 's#(http.+?/plexmediaserver_.+?_amd64\.deb)#\1#p')

he may be getting it from somewhere else.

Link to comment

So needo is using this url (http://plex.baconopolis.net/latest.php) to grab the download location. The page returns only a single line ...

 

 

and that url will work without u/p

 

No idae who keeps that url updated, but the only thing it is really providing is the unique id string "0.9.12.4.1192-9a47d21" needed to download the plexpass version directly without a u/p

 

Link to comment
Don't know about limetech's script, but I am using needo/plex and I never gave the docker configuration any login details, but Plex shows I am running 0.9.12.4

 

Looking at needo's code

    PLEX_URL=$(curl -sL http://plex.baconopolis.net/latest.php | sed -nr 's#(http.+?/plexmediaserver_.+?_amd64\.deb)#\1#p')

he may be getting it from somewhere else.

 

Per http://lime-technology.com/forum/index.php?topic=33822.msg347696#msg347696 - it is a custom script that scrapes the page for the latest version.

Link to comment

Good find. So from an official standpoint, unless there Plex would officially object (which would be odd since the plex-pass version is still useless without a login at the webgui) then limetech could create their own version of this custom page assuming someone at limetech has paid for plex-pass.

 

[shrug]

 

Otherwise scottc you are 100% correct that LT is going to need to offer a way to pass u/p credentials from the docker config page to get the plex-pass version.

Link to comment

Huh? I don't think this isn't the same "the edge issue" if that means what I think it means. The issue is that there is a "latest" version and a "plex pass" version for people who have payed to have plex pass. The technicality that plex pass versions are "preview" versions is immaterial, any Plex Docker should have the ability to grab either the latest free version or the latest Plex Pass version.

 

The problem is that plex.tv makes it hard to download the latest plex pass version because their folder and file naming has an element of randomness. I think it is actually part of an integrity check but I can't validate that. BUT, it is not actually a password protected download and you are unable to use the plex pass version without a paid plex pass account because you have to enter your credentials in the webgui.

 

So I'm not sure how best for LT to proceed. There is the needo method but they'll want to check with plex.tv to be sure they don't have a gripe about that. Or they'll just need to add a parameter to the template to allow for unRaid users to enter their credentials so that the plex-pass version can be downloaded. FWIW the Arch AUR Plex maintainer just grabs the plex pass version, it is well discussed in the Plex Forums, and so far there have been no complaints from plex.tv

Link to comment
  • Squid unpinned this topic

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.