2020-05-06 14:15:03 +00:00
|
|
|
ACCOUNT_XML = """<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<user email="testuser@email.com" id="12345" uuid="1234567890" mailing_list_status="active" thumb="https://plex.tv/users/1234567890abcdef/avatar?c=12345" username="testuser" title="testuser" cloudSyncDevice="" locale="" authenticationToken="faketoken" authToken="faketoken" scrobbleTypes="" restricted="0" home="1" guest="0" queueEmail="queue+1234567890@save.plex.tv" queueUid="" hasPassword="true" homeSize="2" maxHomeSize="15" secure="1" certificateVersion="2">
|
|
|
|
<subscription active="1" status="Active" plan="lifetime">
|
|
|
|
<feature id="companions_sonos"/>
|
|
|
|
</subscription>
|
|
|
|
<roles>
|
|
|
|
<role id="plexpass"/>
|
|
|
|
</roles>
|
|
|
|
<entitlements all="1"/>
|
|
|
|
<profile_settings default_audio_language="en" default_subtitle_language="en" auto_select_subtitle="1" auto_select_audio="1" default_subtitle_accessibility="0" default_subtitle_forced="0"/>
|
|
|
|
<services/>
|
|
|
|
<username>testuser</username>
|
|
|
|
<email>testuser@email.com</email>
|
|
|
|
<joined-at type="datetime">2000-01-01 12:348:56 UTC</joined-at>
|
|
|
|
<authentication-token>faketoken</authentication-token>
|
|
|
|
</user>
|
|
|
|
"""
|
|
|
|
|
|
|
|
SONOS_RESOURCES = """<MediaContainer size="3">
|
2020-05-26 20:09:39 +00:00
|
|
|
<Player title="Speaker 1" machineIdentifier="RINCON_12345678901234561:1234567891" deviceClass="speaker" product="Sonos" platform="Sonos" platformVersion="56.0-76060" protocol="plex" protocolVersion="1" protocolCapabilities="timeline,playback,playqueues,provider-playback" lanIP="192.168.1.11"/>
|
|
|
|
<Player title="Speaker 2 + 1" machineIdentifier="RINCON_12345678901234562:1234567892" deviceClass="speaker" product="Sonos" platform="Sonos" platformVersion="56.0-76060" protocol="plex" protocolVersion="1" protocolCapabilities="timeline,playback,playqueues,provider-playback" lanIP="192.168.1.12"/>
|
|
|
|
<Player title="Speaker 3" machineIdentifier="RINCON_12345678901234563:1234567893" deviceClass="speaker" product="Sonos" platform="Sonos" platformVersion="56.0-76060" protocol="plex" protocolVersion="1" protocolCapabilities="timeline,playback,playqueues,provider-playback" lanIP="192.168.1.13"/>
|
2020-05-06 14:15:03 +00:00
|
|
|
</MediaContainer>
|
|
|
|
"""
|