Commit graph

81 commits

Author SHA1 Message Date
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
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
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
Jason Lawrence
87c147c551 Workarounds for Android & Samsung clients 2020-03-29 14:14:48 -05:00
Hellowlol
8b7569b130 lets not give on the master toke if we dont need to. 2019-11-28 23:07:15 +01:00
Hellowlol
2c9402fd44 Fix goToMedia 2019-11-28 23:02:11 +01:00
Hellowlol
7f80f8ff7b Fix for starting playback on Chrome and Plex for windows 2019-11-28 21:58:31 +01:00
Jason Lawrence
6d4ae35339 Workaround for Android TV client commands 2019-10-24 22:23:48 -05:00
Jason Lawrence
f4f635ab36 Review tweaks 2019-10-11 15:30:32 -05:00
Jason Lawrence
8f329f53d7 Simplify query calls, fix proxy bug 2019-10-08 16:06:45 -05:00
Jason Lawrence
23a5ad695b Simplify call 2019-10-08 15:31:37 -05:00
Jason Lawrence
6ef1e9c8f4 Check in sendCommand instead of query 2019-10-08 15:20:48 -05:00
Jason Lawrence
6f789e31bb Plexamp workaround 2019-10-05 12:05:33 -05:00
Hellowlol
d9c87d8423 inital pmp workaround. 2018-11-17 01:46:42 +01:00
Andrey Yantsen
7a67417615 fix docs for Raises clauses 2018-10-03 11:09:43 +01:00
Hellowlol
250d3538c6
fix bug 2018-07-20 22:17:18 +02:00
Hellowlol
c3dc913d81
Fix openpht bug. 2018-01-15 23:44:28 +01:00
Michael Shepanski
61ede66ad5 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
Hellowlol
c1efa6f9c3 Lax missing protocol abilities. If its missing does not mean i dont work. 2018-01-02 00:01:05 +01:00
Hellowlol
2d1e4f02fb Lint cov. 2017-10-25 18:34:59 +02:00
Michael Shepanski
fd015439c4 Fix flake8 warnings 2017-09-29 19:49:13 -04:00
Hellowlol
bff5c4b18f fix 2017-09-12 09:30:12 +02:00
Hellowlol
82f4485f32 test it update docs. 2017-09-12 09:01:40 +02:00
Hellowlol
fc6ecaaa77 init 2017-09-12 08:58:43 +02:00
Hellowlol
24d6dc9c7c Fix for openpht. 2017-08-18 21:01:01 +02:00
Hellowlol
8b2780186c remove depicated warn, add main token to server.clients()
Abit more dry client.
2017-07-30 20:49:06 +02:00
Michael Shepanski
259d0fef37 Fixc bad reference to client.title; Cleanup indentation 2017-07-30 00:49:39 -04:00
Hellowlol
5641dcffee Fix https://github.com/pkkid/python-plexapi/issues/158
Confirmed on ptp and ios.
2017-07-26 22:51:24 +02:00
Michael Shepanski
215bf833fa Bug #144 Fix docs for private vars 2017-06-04 22:01:07 -04:00
Michael Shepanski
624afd7082 Move share into MyPlexAccount.inviteFriend; Add abilities inviteFriend, updateFriend, RemoveFriend 2017-05-26 22:35:33 -04:00
Michael Shepanski
a79bc44b7a Ability to get a MyPlexAccount object from the plexServer object A(using same token). Review code to lookup port if not available on the client listing (fixed a few bugs in it). 2017-05-18 23:04:57 -04:00
Michael Shepanski
1a175a74a0 Copy all client tests to pytest framework; Remove tests-old dir 2017-05-13 16:13:38 -04:00
Michael Shepanski
ca077c3017 Fix bug with missing commandId and server token (for playback) 2017-05-12 23:42:27 -04:00
Michael Shepanski
650a88d638 Started movinf client tests into Pytest framework 2017-05-12 23:25:57 -04:00
Michael Shepanski
6bb18843d7 Fix a few tests 2017-04-29 02:21:20 -04:00
Michael Shepanski
109d7367f6 Rename tools to follow naming pattern 2017-04-27 21:21:40 -04:00
Michael Shepanski
a5180b879f Use config to specify client and token; connect to PlexClient even if no token specified 2017-04-25 23:23:57 -04:00
Michael Shepanski
decdc296b6 Merge branch 'generic-tests' 2017-04-25 23:11:25 -04:00
patrick
7487a41df7 Fixed regression involving invalid token requirement
Fixed regression in client constructor argument
2017-04-24 22:49:15 -04:00
Michael Shepanski
be2142f7ed Better logging when connecting to resources; Ability to specify timeout when connecting to resources; Update connect_to_resource test to be a bit more generic 2017-04-23 22:59:22 -04:00
Michael Shepanski
4c83961cb4 Ability to delete device 2017-02-25 02:37:30 -05:00
Michael Shepanski
08f1e4b83d Fix pulling server baseurl,token from config; Add option to auto connect to client from config options 2017-02-22 01:22:10 -05:00
Michael Shepanski
cd1a05d770 Make flake8 happy 2017-02-20 00:37:00 -05:00
Michael Shepanski
4b1a564409 All config options can be set with environment variables; Update all os.environ calls to use CONFIG.get; Finish documenting configuration options. 2017-02-19 22:18:23 -05:00
Michael Shepanski
e93829f881 Allow passing a playqueue to client.playMedia(); Default all mtype arguments to video. 2017-02-15 00:37:02 -05:00
Michael Shepanski
de69ace19f Go over documentation a bit more; This will never end. 2017-02-13 23:32:27 -05:00
Michael Shepanski
c0958a0edc only auto-connect to clients is baseurl and token passed 2017-02-13 01:37:23 -05:00
Michael Shepanski
9b791b95e7 Add TAG constant to PlexObjects; Better method to save and build PLEXOBJECTS; All objects in media.py are now registered and can be looked up; Remove __len__ on Library class (it was causing URL to load twice). 2017-02-12 21:55:55 -05:00