Steffen Fredriksen
7905ff0e58
Merge pull request #468 from pkkid/less_deps
...
reduce deps
2020-05-02 01:44:28 +03:00
Hellowlol
8ac2edb3f6
reduce deps
2020-05-02 01:29:26 +03:00
Steffen Fredriksen
337cb29956
Merge pull request #474 from pkkid/add_docs
...
Update toc.rst
2020-05-02 01:27:11 +03:00
Hellowlol
280c768547
Update gdm.py
2020-05-02 01:18:15 +03:00
Hellowlol
d9442f3e2b
Update gdm.py
2020-05-02 01:02:48 +03:00
Hellowlol
187550e26b
fix docstrings.
2020-05-02 00:57:49 +03:00
Hellowlol
c466b096ef
Allow int to pass aswell
...
Supports int, strings, list off ids.¨
This bugs like this happens when your watcking tv at the same time ¯\_(ツ)_/¯
2020-05-02 00:41:56 +03:00
Hellowlol
201466a52f
Allow failure
2020-05-02 00:32:46 +03:00
Hellowlol
6a3e7a0273
fix bug
2020-05-02 00:22:11 +03:00
Hellowlol
e3dc61d399
add merge method
2020-05-02 00:02:45 +03:00
Steffen Fredriksen
437eea8dfc
Merge pull request #466 from pkkid/batchsearch
...
Make it easier to set a container size using search
2020-05-01 21:08:51 +03:00
blacktwin
25ae83c7bd
add agent to fixMatch docstring
2020-04-29 21:10:48 -04:00
blacktwin
911fb7e680
add agent keyword to fixMatch method
...
allows for auto matching with a different agent than library set agent
2020-04-29 21:10:28 -04:00
blacktwin
517c9fb670
change if statement to caught any not None keywords
...
allowing for `title="",year=""` to work correctly
2020-04-29 21:09:16 -04:00
Jason Lawrence
c4c90acd34
Remove f-string for py2 compatibility
2020-04-29 11:21:50 -05:00
Jason Lawrence
1275f7c0d1
Format with black
2020-04-29 08:42:31 -05:00
Hellowlol
1e77e76fb0
Add log message
...
Add some test that verify that we cant get in a enless loop and handle container_start corrently.
2020-04-29 14:42:19 +03:00
Jason Lawrence
95188b0f72
Add Sonos cache & speaker lookup methods, set X-Plex-Client-Identifier
2020-04-28 15:19:18 -05:00
Jason Lawrence
55b335ee7c
Add lookup & control of linked Sonos speakers
2020-04-28 14:06:26 -05:00
Hellowlol
5a2f14e645
Update based on comments.
2020-04-27 19:22:10 +03:00
Hellowlol
1ba8fe77f7
Add misssing docstring
...
fix comment.
2020-04-27 00:29:28 +03:00
Hellowlol
0647c714a3
only update if all is in the url
2020-04-27 00:14:00 +03:00
Hellowlol
db1f9a9b39
use cast
2020-04-27 00:05:23 +03:00
Hellowlol
66df034023
add fetchItems to library
...
use totalSize so we dont do any more http requests then needed.
2020-04-26 23:51:57 +03:00
Hellowlol
91d76a5d94
Make it easier to set a container size using search
2020-04-26 23:34:13 +03:00
Hellowlol
93dda3c9e5
reduce loglevel
2020-04-26 22:55:54 +03:00
Steffen Fredriksen
6eea7cce0f
Allow pagination ( #464 )
...
Allow pagination on fetchItems
2020-04-26 21:18:52 +02:00
Sascha Montellese
62cb7585ca
Add myplex.MyPlexPinLogin
2020-04-20 23:14:15 +02:00
jjlawren
74ae49ee3c
Bump to 3.4.0 for release ( #459 )
2020-04-17 11:01:41 -05:00
blacktwin
37b4c8729d
Merge pull request #452 from jjlawren/fix_docstrings
...
Fix docstrings for tests
2020-04-16 17:20:33 -04:00
Jason Lawrence
9baff74a89
Fix example
2020-04-16 16:18:38 -05:00
jjlawren
6e1fac7984
Fix client control on unclaimed servers ( #456 )
2020-04-16 14:06:36 -05:00
Steffen Fredriksen
0da9e3994a
Merge pull request #451 from jjlawren/raise_notfound
...
Raise NotFound on 404 errors
2020-04-16 14:41:14 +02:00
Jason Lawrence
a1332434f1
Fix docstrings for tests, remove unused param
2020-04-15 22:49:18 -05:00
Hellowlol
b01d808dc9
fix bug
2020-04-16 01:01:45 +02:00
Hellowlol
e0d5a873e1
misc fixes
2020-04-16 00:30:00 +02:00
Jason Lawrence
a6cfe4225a
Raise NotFound on 404 errors
2020-04-15 17:09:27 -05:00
Hellowlol
ed3d16d1b0
som pytest 4 compat
...
and change to client timeline is can respond quicker.
2020-04-15 22:53:17 +02:00
Hellowlol
cc71daeaba
sync
2020-04-15 20:41:15 +02:00
blacktwin
3a95f55b7e
Merge pull request #410 from pkkid/new_hubs
...
new_hubs
2020-04-13 13:44:34 -04:00
blacktwin
ba1559dcdc
flake fix
...
line too long
2020-04-13 13:30:54 -04:00
blacktwin
a47f67d3df
Merge remote-tracking branch 'origin/new_hubs' into new_hubs
2020-04-13 13:26:49 -04:00
blacktwin
efad7ebe44
flake fix
...
remove unused import X_PLEX_CONTAINER_SIZE
2020-04-13 13:26:15 -04:00
blacktwin
319fe52d0a
Merge branch 'master' into poster_change
2020-04-12 23:04:19 -04:00
blacktwin
2235cafaf1
Merge branch 'master' into poster_change
2020-04-12 22:45:31 -04:00
blacktwin
4cbccabee8
Merge branch 'master' into new_hubs
2020-04-12 22:40:15 -04:00
blacktwin
bef40a74f5
Merge branch 'master' into unmatch_match
2020-04-12 22:37:50 -04:00
blacktwin
d7d2d5aa56
flake fix
...
indention and newline at end of file
2020-04-12 22:36:44 -04:00
blacktwin
fb1ea67a40
flake fix
...
remove unused imports
2020-04-12 22:35:48 -04:00
blacktwin
2a198f5cb8
flake fix
...
missing return
2020-04-12 22:35:22 -04:00
blacktwin
0a77c74466
Merge pull request #426 from pkkid/conversion_actions
...
conversion_actions
2020-04-12 22:34:51 -04:00
jjlawren
e9ecb595a6
Raise exception when empty key passed to fetchItem* ( #432 )
2020-04-11 08:30:05 -05:00
jjlawren
cbdf5ec998
Fix playMedia() calls with a PlayQueue ( #446 )
...
* Fix playMedia() calls with a PlayQueue
* Fix playlists, simplify
2020-04-09 22:34:14 -05:00
jjlawren
dd91ae41f4
Use Unauthorized exception ( #447 )
...
* Use Unauthorized exception in server, myplex, client
2020-04-09 15:56:26 -05:00
blacktwin
839a9da41d
Merge branch 'master' into conversion_actions
2020-04-07 09:21:32 -04:00
Jason Lawrence
ee5983f966
Remove type hinting for compatibility
2020-04-01 21:11:21 -05:00
Jason Lawrence
e97a39b427
Add support to scan for Plex clients
2020-04-01 15:56:36 -05:00
Jason Lawrence
2af89742ff
Add GDM implementation from netdisco
2020-04-01 15:55:51 -05:00
Jason Lawrence
f07766f409
Fix bad indents in media.py
2020-03-31 07:32:56 -05:00
Jason Lawrence
87c147c551
Workarounds for Android & Samsung clients
2020-03-29 14:14:48 -05:00
blacktwin
1bdba218b9
add arts methods to playlist.Playlist
...
Playlists currently do not have or expose any art
this is to be a place holder for the possible addition from Plex
2020-03-18 09:45:52 -04:00
blacktwin
3215856eb5
add arts methods to library.Collections
2020-03-18 09:44:24 -04:00
blacktwin
cd934c06f9
docstring minor update
2020-03-18 09:43:49 -04:00
blacktwin
91a08c63c4
add arts methods to base.PlexPartialObject
2020-03-18 09:42:56 -04:00
blacktwin
d69760e3e5
fix Collection posters method's key
2020-03-18 09:39:44 -04:00
blacktwin
0b4b9c452e
update setPoster method in base, library.Collection, playlist
...
use media.Poster select method instead
2020-03-18 09:26:09 -04:00
blacktwin
8320359b5e
Revert "fix for setPoster returning the new selected posters thumb path setPoster's response.encoding will be None all others are str"
...
This reverts commit c72cc245
2020-03-18 01:24:20 -04:00
blacktwin
7190d9cb15
Merge remote-tracking branch 'origin/poster_change' into poster_change
2020-03-18 01:17:17 -04:00
blacktwin
53a61561b1
fix filepath in uploadPoster for Collections
2020-03-18 01:16:26 -04:00
blacktwin
9651f77c07
add posters methods to playlist
...
poster displays from hub but reverts to composite when on playlist page
uploaded poster are only visible with the posters method or it's endpoint not in the webui
2020-03-18 01:15:43 -04:00
blacktwin
dedab2b5f5
posters methods for collections
2020-03-18 00:55:38 -04:00
blacktwin
623c304fda
setPoster docstring
2020-03-18 00:55:17 -04:00
blacktwin
28d8b862ab
detailed example for using matches method
...
thanks @jonnywong16
2020-03-17 14:06:05 -04:00
blacktwin
e44513c44d
update matches method to operate more closely to webui
...
thanks @jonnywong16
2020-03-17 14:05:29 -04:00
blacktwin
54c871fc01
create getAgentIdentifier method in utils
...
Return the full agent identifier from a short identifier, name, or confirm full identifier
thanks @jonnywong16
2020-03-17 14:00:41 -04:00
blacktwin
165c19fb6c
if mediaType is in initpath also capture name
2020-03-17 13:42:24 -04:00
blacktwin
54a88da39b
if mediaType is in initpath call is from library
...
if not call is from server
2020-03-16 15:12:41 -04:00
blacktwin
a9b149766b
change code attribute to languageCode
2020-03-16 15:10:37 -04:00
blacktwin
98226c044b
use server.agents() mediaType keyword to shorten code
...
Thanks @jonnywong16
2020-03-16 14:26:01 -04:00
blacktwin
2ab3b61447
add mediaType keyword to agents method
...
Thanks @jonnywong16
2020-03-16 14:25:26 -04:00
blacktwin
c061986a44
update SeachResults __repr__ to show name and score.
2020-03-16 14:09:41 -04:00
blacktwin
b54f61d1cf
only allow sections available agents to be used.
2020-03-16 14:05:45 -04:00
blacktwin
cea4f1944e
add agents method to library
...
allow the searching for available agents for specific library
2020-03-16 13:54:16 -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
07e3d66b4f
server agents method docstring minor update
2020-03-16 13:51:36 -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
322c3427a1
use fetchItems instead, reduce redundancy
2020-03-16 13:23:33 -04:00
blacktwin
4a7aac16be
update LibrarySection's edit method to include agent if not provided
...
should allow for edits that are not agent changes to be easier
2020-03-16 11:56:16 -04:00
blacktwin
cfbde385e2
create _settings method to capture agent setting information
2020-03-16 11:15:46 -04:00
blacktwin
46e8b8e155
update Setting _cast method
...
change exclusion from text to enum
text type is available in TYPES dict for casting
2020-03-16 11:13:51 -04:00
blacktwin
1d05304643
create settings method for LibrarySection
...
return current library settings
2020-03-16 11:12:28 -04:00
blacktwin
8d334ce47f
allow for casting str to bool
2020-03-16 11:03:39 -04:00
blacktwin
30974f807b
fixMatch docstring update
2020-03-14 23:39:19 -04:00
blacktwin
07cf7d16e4
fixMatch rework not so not-y
2020-03-14 23:39:04 -04:00
blacktwin
86c722f8bd
docstring updates
2020-03-14 23:37:51 -04:00
blacktwin
dc5d147315
update fixMatch to allow for auto fixmatch
...
auto will select the first searchResult from matches
2020-03-14 23:06:32 -04:00
Hellowlol
18afdc2ec8
some linting
2020-03-14 15:52:54 +01:00
Steffen Fredriksen
c0f2c05627
Merge pull request #433 from pkkid/allowMediaDeletion
...
allowMediaDeletion
2020-03-14 15:39:12 +01:00
Hellowlol
06ca74dbce
Some lint and silence the error
2020-03-14 15:35:56 +01:00