I was wondering how far the multi-user support for myplex is implemented in the current PlexConnect software. I am using PlexConnect 0.3. So far I used it with one Apple TV, but after adding another one I was wondering that the myplex Account appears on the new one as well. I wanted to use the two different ATVs with different myplex accounts (e.g. for parent control).
I was reading some lines about somebody how implemented a ATV independent myplex login, which would solve my problem.
Which one is the newest version of PlexConnect by the way? The Synology station says that 0.3-2 is installed. Unfortunately I have difficulties to install ipkg and then git on my synology.
I found the UDIDs of some ATVs in the ATVSettings.cfg config file. For each UDID I saved the myplex account like this:
[C0HM109MFF54]
myplex_user = XX
myplex_auth = YY
The first tests worked and the corresponding ATV used the myplex account specified in the ATVSettings.cfg. But after testing the behavior with a second ATV some weird events happened. So far I think there has to be an error in the phyton code. I´ll try to explain the story:
I am currently working with two accounts: A and B and two ATVs. Both ATVs are listed with the UDID in the Settings.cfg. If I start ATV1 it uses correctly the Account A. Now when I access PlexConnect with ATV2 it also uses the right myplex Account. But when I change the view e.g. from Settings to Library on ATV1 it is also logged into the account B instead of account A. How can this be true?? I have no clue why this happens, I checked the ATVSettings.cfg file hundred times.
Anyone who discovered a similar behavior? Or does the myplex support with multiple myPlex IDs work for you?
I haven't seen anything like that, but then I only have one aTV plus one Plex account. :-)
I guess, there are others out there that already use a setup similar to yours... I, too, would appreciate some feedback - mainly the positive ones. :-D
baa : Tribune88 is correct i have the same problem. I was checking today and i was going to post it.
I have 2 ATV3. One is connected in Myplex with plexpass username and the other ATV3 with an account that has the library shared.
When you first run plexconnect and you login with both ATV3 with their username password its working correct. If you ctrl+c the plexconnect, you can see in the ATVsettings the 2 UDID with seperate settings , username,password,....
Now the problem occurs if you close plexconnect (correctly) and you download a new version of plexconnect and you overwrite the files. The settings and ATVsetings are still the same of course.
Now the ATV3 which using the none plespass account is connect with the plexpass account and can see the watch/unwatch list , channels,... everything
Tribune88 : What i did to solve the problem each time is. Delete the Setings.cfg and the ATVsettings.cfg . Run again plexconnect and loggin with the username password in each ATV.
Thanks for your comments! I spent like three hours today working on this issue, I really think there should be an mistake in the way the PlexConnect script handles the requests.
As far as I know the ATVSettings.cfg will be generated at the shutdown of PlexConnect and loaded at the startup, am I right? In order to protect the settings, I filled out the whole config file with all accounts and set it to read only. The script still works fine, but I experience these issues while switching between different ATVs.
Sometimes it felt like a random process which account on which ATV will be used. For example after logging in with the second ATV and account B ATV1 isn't able any more to get the right account A.
I really want to solve this issue, it would be great if somebody could explain the current implementation a little bit further and might have a look inside with this issue explanation. Thanks a lot, however I am really happy about this piece of software!
Glad to hear that it could actually work. Even when I logout every ATV and delete the ATVSettings to start from scratch I get weird results. I can start to login with the first ATV and when I get my hands on the second one it is already logged in with the account?
What about if the UDIDs of the ATV are similar:
[C0HM109MFF54]
myplex_user = GaesteSchwarzwald
myplex_auth = xxx
[C0HM122EFF54]
myplex_user = MarioSchwarzwald
myplex_auth = xxx
[C0HM18NCFF54]
myplex_user = GaesteSchwarzwald
myplex_auth = xx
I would expect that the whole UDID will be checked, so it should not be an issue? I am using the version 0.3-2 as the synology package. Sill no idea why it behaves that strange. Something is definitely wrong with the selection of the UDID when logging in.
I don't think the UDIDs are checked for "similarity"... but then, I am just using pythons "ConfigParser". If it did, my guess it, that it would all be pushed into the same cfg sub-section.
From the process point of view - you log in from the aTV/PlexConnect/Settings menu? Or by modifying the cfg file manually?
>>delete the ATVSettings to start from scratch
You have to do the following steps...
- shut down PlexConnect
- delete ATVSettings.cfg
- restart PlexConnect
I just want to confirm, that you do it that way... :-)
baa : yesterday i put the latest revision (463eb600ca) . I setup both ATV3 with Myplex. A with plexpass , B with an account that it is shared .
Both ATV3 were used yesterday and they were working fine. Today i checked the B (ATV) and i saw that it is connection with the plexpass account (also I tried to logout and login from myplex but with no success).
>>Both ATV3 were used yesterday and they were working fine.
What happened in the meantime? PlexConnect/Server shut down? ATVSettings.cfg updated correctly?
>>Today i checked the B (ATV) and i saw that it is connection with the plexpass account (also I tried to logout and login from myplex but with no success).
logout/login: You logged out from the account - what Name did aTV/PlexConnect display? Then you logged in again with the non-plexplass account, but the other got used?
Good to know that somebody else experienced these weird behaviors.
I tried to login to the myplex accounts individually on each ATV, but I ended up to get strange behavior as well, so I did edit the ATVSettings.cfg instead after shutting down the PlexConnect script. The config is stored at shutdown and loaded at the startup right?
However after putting in all eight UDIDs which are currently in use nothing worked right. As far as I tested it, one account behaves like a master, every ATV falls back to this account after using it on one ATV.
It should be possible to just edit the ATVSettings.cfg instead of logging into the account via the GUI or does the GUI login store values somewhere else too?
The eight ATVs run at a privat holiday home and there is a guest room. This account should be for the guests
What happened in the meantime? PlexConnect/Server shut down? ATVSettings.cfg updated correctly?
nothing happened plexconnect was working perfect. No it wasnt shutdown and atvsettings is updated correctly.
logout/login: You logged out from the account - what Name did aTV/PlexConnect display? Then you logged in again with the non-plexplass account, but the other got used?
A. ATV3 had the plexpass username B. Had not the plexpass. The B. was showing the username of the none plexpass but the watchlist was from the plexpass account. Then on B. ATV i closed trailers and reopen it and it took the plexpass account.
Today i remove plexpass folder redownload it and setup again the 2 ATV. Now after some use of both the second ATV took the plexpass account by it self this is very strange.
I have put the loglevel high and when i will be in home i will updload you the file.
In the logfile i hope you can see that from the B atv that is connected in myplex with the normal account is working ok for the first movie but when it finished and start play the second movie it is connected by it self with the plexpass acount
>>The config is stored at shutdown and loaded at the startup right?
Yes, that's how it should work.
>>However after putting in all eight UDIDs which are currently in use nothing worked right. As far as I tested it, one account behaves like a master, every ATV falls back to this account after using it on one ATV.
You are sure you got all the syntax right? You did NOT edit the "default" section?
>>It should be possible to just edit the ATVSettings.cfg instead of logging into the account via the GUI or does the GUI login store values somewhere else too?
Yes, it would be possible. As long as you are able to come up with the correct "Token". And no, it is NOT the password...
15:26:35 - we get a request from 'aTVAddress': '62.1.83.250' with UDID 'C0HKK24UFF54'
...
15:52:46 - 'aTVAddress': '62.1.83.250' with UDID 'DY4KFSMHFF54'
...
17:11:19 - 'aTVAddress': '62.1.83.250' with UDID 'C0HKK24UFF54'
You have TWO aTVs talking on the same IP address. Someone will get puzzled.
The thing is... we can not always make sure, that the aTV UDID is added to the URL request. Some request are done iOS internally, without asking us for any additional work load. We try to work around that to have the IP as backup unique identifier. This for sure assumes, the IP is somewhat unique...
I wonder why both aTVs show the same IP. Don't you use that DHCP stuff? Does you router think both are one and the same device? Do you use an WiFi extender or something, and the shown IP is not the aTV's one, but the one of the antenna?
We might be able to improve by double checking in which areas we might be able to add sending UDID, and up to now simply forgot. But I am pretty sure, we will never be able to catch all instances...
Easier (and safer) would be to get those aTVs different IPs on your side. Is that possible?
Mmm baa the plex server and plexconnect are installed on a dedicate server so i think thats why it is showing the atv with same ip as it sees my internet ip