python-plexapi/plexapi
Andrey Yantsen 54b26fdc25 Sync support (#282)
* [sync] initial commit

* fix populating of `state` field in sync.Status

* [connection] add posibliity to return first established connection faster

* [base] add timeout argument to PlexObject.fetchItems()

* [sync] add timeout arg to SyncItem.getMedia()

When you have multiple media within one SyncItem it takes a lot of time
to get all the info for this media (on my machine it takes about a
second for each movie).

* [sync] fix marking media as downloaded

* [sync] pass clientIdentifier to created SyncItem()

* [sync] override __repr__() for sync.Status

* fix after @mikes-nasuni`s review

* fix python2 compatibility

* get rid of sync.init()

* use list comprehension

* remove timeout from PlexObject.fetchItems()

* fix SyncItem under python 2.7

* fix __doc__ in sync module

* revert myplex._connect() back to it`s original state

* improve sync docs

* get rid of PlexObjects where not needed

* add X-Plex-Sync-Version=2 to headers

* add sync() method into Video, LibrarySection and MyPlexAccount

* add SyncItem.delete()

* add sync.Policy.create()

* use self._default_sync_title instead of _prettyfilename as default title

* let the tests begin

* add items for refreshing synclists to PlexServer

* fix sync tests

* sync for everybody!

* add TODO doctring for Audio._defaultSyncTitle()

* SyncItems tag may be presented only once, there is no need for loop

* add more TODO docstrings

* hello docs

* remove relative import

* remove unused variable from tests/test_sync.py
2018-09-08 17:25:16 +02:00
..
__init__.py bump to 3.0.6 2018-03-02 16:07:47 +01:00
alert.py Dont include token in URLs unless show_secrets set in config; All functions that return a URL such as stream urls and thumbnails still include token 2018-01-04 21:44:35 -05:00
audio.py Sync support (#282) 2018-09-08 17:25:16 +02:00
base.py Add own duration when not given as parameter 2018-05-18 10:58:06 +02:00
client.py fix bug 2018-07-20 22:17:18 +02:00
compat.py MOve python3 check to compat 2017-07-30 01:02:10 -04:00
config.py Sync support (#282) 2018-09-08 17:25:16 +02:00
exceptions.py Make flake8 happy 2017-02-20 00:37:00 -05:00
library.py Sync support (#282) 2018-09-08 17:25:16 +02:00
media.py Sync support (#282) 2018-09-08 17:25:16 +02:00
myplex.py Sync support (#282) 2018-09-08 17:25:16 +02:00
photo.py Sync support (#282) 2018-09-08 17:25:16 +02:00
playlist.py Sync support (#282) 2018-09-08 17:25:16 +02:00
playqueue.py Cleanup doc strings 2017-02-14 23:29:22 -05:00
server.py Sync support (#282) 2018-09-08 17:25:16 +02:00
settings.py addtourl helper. 2017-02-28 22:49:49 +01:00
sync.py Sync support (#282) 2018-09-08 17:25:16 +02:00
utils.py Added class/libtype for collections and library search function 2018-04-10 12:14:57 -05:00
video.py Sync support (#282) 2018-09-08 17:25:16 +02:00