Everytime i restart plexconnect all apple tvs (4) need to exit the Trailers/icloud app. If not they usually end up producing a traceback error in python (getxmlfrompms request without myplex token and ulr).
Is it possible to make the sessions persistent?
Maybe a rewrite of GetXMLfromPMS that checks for empty requests and automatically gets the myplex token and redirects you to the main page…
Technically it would be possible, I guess.
Currently PlexConnect does the “discovery” as soon as the aTV app is entered - that is at that point in time it will check for local and/or remote servers. Once you quit PlexConnect that database is lost…
You could save the database, but you also doesn’t get notified if a remote server changes it’s address or something. Maybe one or the other server is offline? So I am not sure, how the effort needed for the implementation really compares to not having to exit the app.