Commit graph

76 commits

Author SHA1 Message Date
blacktwin
c061986a44 update SeachResults __repr__ to show name and score. 2020-03-16 14:09:41 -04:00
blacktwin
af586fa55d cast AgentMediaType mediaType to int 2020-03-16 13:53:10 -04:00
blacktwin
99bfdb8129 add __repr__ to Agent and AgentMediaType classes 2020-03-16 13:52:35 -04:00
blacktwin
1b6e16ea21 add mediaTypes to capture additional Agent data
MediatType is the sub element inside Agents xml
create AgentMediaType for gathering sub element information
2020-03-16 13:32:20 -04:00
blacktwin
cfbde385e2 create _settings method to capture agent setting information 2020-03-16 11:15:46 -04:00
blacktwin
dea84935a6 cast SearchResult score attribute to an int 2020-03-10 16:41:27 -04:00
blacktwin
96cb0eb70a add shortIdentifier attribute to Agent 2020-03-10 16:17:24 -04:00
blacktwin
b296cc462e create Agent media class 2020-03-10 16:06:43 -04:00
blacktwin
95114c4a35 create SearchResult class 2020-03-04 16:21:13 -05:00
Steffen Fredriksen
c3e16b2d36
Merge pull request #388 from pkkid/conversions
conversions
2020-01-28 17:12:41 +01:00
blacktwin
6aca1e5e50 corrected Optimized TAG 2020-01-27 14:17:49 -05:00
blacktwin
ad2de7c9a6 correct Conversion TAG 2020-01-27 14:16:41 -05:00
Steffen Fredriksen
ba1f3a2b69
Merge pull request #400 from pkkid/photo_tags
photo_tags
2019-11-28 23:14:45 +01:00
blacktwin
65bb149d7d add tag class for media 2019-11-11 09:32:55 -05:00
blacktwin
e62dff0a09 Correct Poster TAG 2019-11-06 09:28:19 -05:00
blacktwin
8a2b8ad9c0 add _data attrib to Optimized and Conversion 2019-10-10 11:30:29 -04:00
blacktwin
c29563632b new Conversion class 2019-10-10 11:11:43 -04:00
blacktwin
dc6c1f1168 renaming correction 2019-10-10 10:43:52 -04:00
blacktwin
ceb9797ab4 add Conversion attrib targetTagID 2019-10-09 22:28:15 -04:00
blacktwin
8ee383cd3d create poster object in media 2019-10-09 10:44:51 -04:00
blacktwin
fbfcf64a41 conversion docstring 2019-10-08 23:53:31 -04:00
blacktwin
63024025ce create Conversion object 2019-10-08 23:26:42 -04:00
blacktwin
8c78fbacd8
add attributes
adding attributes for exists and accessible.
2019-09-30 20:53:50 -04:00
Andrey Yantsen
97e5383d54 fix few more flake8 warnings from recent PR 2019-02-07 11:09:07 +00:00
Michael Shepanski
99efddf49f
Merge pull request #336 from gstacks13/set_default_streams
Closes #334 - set default audio & subtitle stream
Thanks for the updates!
2019-02-06 19:03:36 -05:00
gstacks13
e830f74436 Tidying up, as requested. 2019-02-06 17:22:28 -06:00
gstacks13
5270395b3a Only pass stream object to function 2019-02-04 20:07:22 -06:00
gstacks13
1c95e7165c Pass either stream or stream.id 2019-02-04 16:28:30 -06:00
Gabriel Stackhouse
a554aec872 Removed a space 2019-02-04 13:52:16 -06:00
Gabriel Stackhouse
d2c7feeaac Closes #334 - set default audio & subtitle stream 2019-02-04 13:45:49 -06:00
Gabriel Stackhouse
14fdc51b37 Add 'forced' var to subtitleStream 2019-02-04 13:15:05 -06:00
blacktwin
60fe55e722
Update media.py
videoProfile doc
2018-10-02 10:52:32 -04:00
blacktwin
a394db6acc
additional attributes
target, title and video profile.  Optimizing items through Plex now allows for adding a title to the version. Target and title are the version name and seem to be the same value.
2018-09-20 09:56:12 -04:00
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
Hellowlol
b401ef3cc2
Merge pull request #258 from pkkid/chap
Chap
2018-04-03 01:53:54 +02:00
shawnsethi
5696110b08
Add sourceVideoCodec to TranscodeSession 2018-03-20 11:30:07 -04:00
Hellowlol
eb337ce585 Add support for similar for tvshows and movies. 2018-03-02 18:27:57 +01:00
Hellowlol
9d364e4860 init chapters. 2018-03-02 13:15:15 +01:00
Hellowlol
0594f24f8b mock delete properly 2017-10-26 23:55:59 +02:00
Hellowlol
828b41e0ec delete should be part of the media not the media part 2017-09-30 23:16:40 +02:00
Hellowlol
e2f90ea81d add broken delete to parts. 2017-09-30 19:45:35 +02:00
Hellowlol
5bfa96b49c Add missing labels and collections from the classes 2017-07-22 01:07:31 +02:00
Michael Shepanski
650a88d638 Started movinf client tests into Pytest framework 2017-05-12 23:25:57 -04:00
Michael Shepanski
14f70620ab Update media.py 2017-02-26 21:12:56 -05:00
Hellowlol
a4abc0e223 fixup 2017-02-27 01:35:22 +01:00
Hellowlol
cbde4787cc Add stop playback. 2017-02-26 23:31:09 +01:00
Hellowlol
53fab6239a fix tests for download logs/dbs
fix clients. Clients now tries to get info from plex.tv resources in the
port is missing.
add quote_plus to compat
2017-02-26 22:47:40 +01:00
Michael Shepanski
cd1a05d770 Make flake8 happy 2017-02-20 00:37:00 -05:00
Hellowlol
c7c04d2a42 Add indexes. Closes https://github.com/pkkid/python-plexapi/issues/121 2017-02-18 01:51:06 +01:00
Michael Shepanski
de69ace19f Go over documentation a bit more; This will never end. 2017-02-13 23:32:27 -05:00