mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-15 00:17:33 +00:00
24 lines
2 KiB
Python
24 lines
2 KiB
Python
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">
|
|
<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"/>
|
|
</MediaContainer>
|
|
"""
|