"resume" feature with authentication
Don't show server name if there is only one.

Make the nice clean interface look ugly :)
fix {{URL}} to not include internal path or external URLs...
fix Channels.xml: broke if one section (video, audio, photo) was empty
Add trailer button to MoviePrePlay templete

Looks up trailer using Youtube if trailer button is pushed and loads
trailer using the YouTube channel.
getXMLFromMultiplePMS() - fix size information forwarded to PlexConnect
Changed trailer query source to themovidedb

- Added some error messages (and a mirror of the python XML_Error
function in javascript)

Current bug: Some trailers are found but do not play and result in no
action (no error, no video, no loading, etc). I am still tracking this
down.
Fixed trailer lookup for movies with quotation marks

- Added ATTRIB_SVAL for "safe" values (escaped)
half-way turn back of 2d4dc9501a as CUTting a disabled COPY doesn't make much sense…
Merge pull request #172 from salbahra/master

Add trailer button to MoviePrePlay template
re-add key to timeline calls, now with key from PMS to correctly handle external stuff (channels) as well.
addon to 13817551eb - remove sessionstorage[ ] from PrePlayScreens, too.
major change in PMS handling

PlexAPI
- g_PMS to store server properties per aTV
- declare, search, access functions (class-like?)
- discover: checks GDM + MyPlex
- intermediate XMLFromMultiplePMS: add PMS address, similar to aTV
WebServer
- removed: try to discover
XML_converter
- discover whn aTV app starts - ie PlexConnect.xml is requested
- handle PMS() data in URL, IMAGEURL
- rewritten PMDCOUNT, PMSNAME
Settings
- removed "toggle PMS"

Known issue…
when cancelling out/at the end of video replay, the PrePlayScreen is
not found ->PMS unknown.
fix for commit #401: updatePag() contains correct URL to provide PMS address
fix for commit #401: PMS search.
a bunch of changes addressing the "accesstoken" issue
couple of fixes and improvements

Dahlgren's commits:
- 59d1163bc7 - Fixed key typo
- 0c3dfb381b - Make sure MyPlex PMS is updated within the last two days
- 4b5f21cd3 - Handle error where thre are no local or MyPlex PMS present
Thanks!

force discover/PlexGDM when signing into/out of Myplex
add MyPlex template to collect all remote/shared servers
send server-based accesstoken to .js instead of MyPlex authorisation.

- add new special char to {{VAL}}: % to access PMSProperty, might even
be used to replace {{PMSNAME}}, {{ADDR_PMS}}
- rework application.js to better show we are using server-based
accesstoken
add setting for bitrate limit of remote/shared MyPlex servers