Commit graph

1463 commits

Author SHA1 Message Date
Jason Lawrence
740ae8cc60 Pass myplex secrets to CI 2020-11-17 16:05:18 -06:00
Jason Lawrence
4bfecebf51 Make CI jobs dependent 2020-11-17 15:56:34 -06:00
Jason Lawrence
a6bc3fe5a7 Separate job for claimed PMS 2020-11-17 14:40:45 -06:00
Jason Lawrence
ae3639d3e4 Increase complexity limit 2020-11-17 14:25:41 -06:00
Jason Lawrence
93b4aa4e21 Only run flake8 on module code 2020-11-17 14:20:40 -06:00
Jason Lawrence
f36621827d Separate job for flake8, abort on flake8 error 2020-11-17 13:50:13 -06:00
Jason Lawrence
0306066a3e Fix missing line continuations 2020-11-17 12:14:43 -06:00
Hellowlol
6f037800ee Add test 2020-11-16 11:01:14 +01:00
Steffen Fredriksen
fd1e7ed63f
Fix typos in readme 2020-11-16 09:49:08 +01:00
JonnyWong16
71904cca15
Clean Path and File docstring 2020-11-15 21:28:58 -08:00
JonnyWong16
4091a0b272
Make includeFiles optional in PlexServer.browse() 2020-11-15 21:21:08 -08:00
JonnyWong16
93280dd979
Allow PlexServer.browse() and .walk() using a Path object 2020-11-15 21:10:13 -08:00
JonnyWong16
7298b3c606
Add ability to browse and walk the Plex server system file directories 2020-11-15 17:54:48 -08:00
Jason Lawrence
9ce209809a Extend scanning timeout 2020-11-06 15:15:11 -06:00
Jason Lawrence
a8c67e3f0a Temporary test troubleshooting 2020-11-06 14:17:57 -06:00
Jason Lawrence
fb6fa16f63 One more try 2020-11-06 13:50:40 -06:00
Jason Lawrence
e123914a9f Fix env typo 2020-11-06 13:48:45 -06:00
Jason Lawrence
39e21171dc Install (editable) plexapi package 2020-11-06 13:46:06 -06:00
Jason Lawrence
ad8eeda090 Fix env declarations 2020-11-06 13:03:45 -06:00
Jason Lawrence
2b6a252d3c Add more tests, fix old dependency 2020-11-06 12:55:27 -06:00
Jason Lawrence
071d7ab8e0 Run on all pushes 2020-11-06 12:19:05 -06:00
Jason Lawrence
aa2ff3fedc First attempt using Github Actions 2020-11-06 11:46:25 -06:00
Jason Lawrence
e22bc81f35 Docstring flake adjustment 2020-11-02 19:24:25 -06:00
Jason Lawrence
b59dd3303f Add method to retrieve a PlayQueue 2020-11-02 17:18:46 -06:00
jjlawren
6430f06e6b
Bump to 4.2.0 release (#596) 2020-11-01 15:03:34 -06:00
jjlawren
2f4a7506dc
Make Photo objects Playable (#592)
* Make Photo objects Playable

* Add more attributes
2020-11-01 15:02:23 -06:00
Steffen Fredriksen
380fd784c4
Merge pull request #582 from pkkid/photo_download
Add download feature to Photo library
2020-11-01 13:06:41 +01:00
Steffen Fredriksen
da1181228a
Merge pull request #583 from pkkid/clean_optimize
Updating cleanBundles() and optimize() methods
2020-11-01 13:05:38 +01:00
Steffen Fredriksen
114d907443
Merge pull request #585 from jjlawren/gdm_scan_clients_with_all
Allow scanning for clients when using GDM.all()
2020-11-01 13:05:07 +01:00
Steffen Fredriksen
60d1fc6daa
Merge pull request #588 from pkkid/field_correction
Collection fields not pulling locked fields
2020-11-01 13:01:45 +01:00
jjlawren
83947b0e29
Don't overwrite existing attributes with an empty list (#594)
* Don't overwrite existing attributes with an empty list

* Also check for empty lists in __eq__
2020-10-31 00:13:19 -05:00
blacktwin
11dcf0b5f4 Merge remote-tracking branch 'remotes/origin/master' into photo_download 2020-10-23 15:50:20 -04:00
blacktwin
5db6f49a03 Merge remote-tracking branch 'remotes/origin/master' into clean_optimize 2020-10-23 15:47:49 -04:00
blacktwin
33697eb1fe Merge branch 'master' of https://github.com/pkkid/python-plexapi into field_correction 2020-10-23 08:38:38 -04:00
blacktwin
c6458a41a5 addressing #587 2020-10-21 08:58:56 -04:00
Steffen Fredriksen
8ec0c4cf42
Merge pull request #581 from jjlawren/tests_handle_empty_dates
Handle empty datetimes in tests
2020-10-14 10:37:19 +02:00
Jason Lawrence
40e295ddf9 Allow scanning for clients when using GDM.all() 2020-10-13 17:00:34 -05:00
blacktwin
b8fbe7235f updating cleanBundles() and optimize() methods 2020-10-10 15:09:22 -04:00
blacktwin
411018dd37 add iterParts() and download() methods to Photoalbum class 2020-10-10 15:00:19 -04:00
blacktwin
0e8b2e88db add download() method to Photo class 2020-10-10 14:55:49 -04:00
blacktwin
717b274d82 add iterParts() method to Photo class 2020-10-10 14:55:16 -04:00
Jason Lawrence
576dc21992 Handle empty datetimes in tests 2020-10-08 15:15:43 -05:00
jjlawren
7dad2a8931
Add server handling of HTTP status code 204 (#580) 2020-10-08 12:51:19 -05:00
Ryan Meek
f9f3535751
Update timeline to return an active timeline object w/ attributes (#572)
* timeline() now returns ClientTimeline objects

* timeline() creates and returns ClientTimeline objects with associated attributes and caching
* Refactor isPlayingMedia to use the new attributes and fix it's default value

* Clarify docstrings

* Remove default param in timeline call & fix docstring typo

* return empty list if `timelines()` comes back empty

Web clients can occasionally return no timelines if no media has been played on them or if nothing has played for a while, this prevents errors in those cases.

* typo

* Workaround for unresponsive clients

* Use sendCommand rather than timelines() for PTP workaround

* Remove workaround, set timeline's wait default to 1

* set timelines() wait default to 0, document buggy behavior

* Use ClientTimeline.key for consistency

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* cast playQueue's IDs as int

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Add audio attribs & make casts bool from int where it makes sense.

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2020-10-02 11:33:53 -05:00
Steffen Fredriksen
163d94d249
Merge pull request #507 from pkkid/show_advanced_setting
Edit Library and Show's Advanced Settings
2020-10-02 12:24:08 +02:00
Steffen Fredriksen
6a5981c888
Merge pull request #518 from pkkid/library_hubs
Library Hubs and Music Stations
2020-10-01 15:47:59 +02:00
jjlawren
eef7b3f843
Bump to 4.1.2 release (#578)
Compatibility fixes for Python 3.5
2020-09-28 13:23:46 -05:00
blacktwin
01239046c7 cleaning up test_settings.test_settings_get test
py2 support has been dropped. returning str instead of bytes now due to 5045ddc
2020-09-28 13:58:31 -04:00
blacktwin
4f96838b3d update sort field in library.ShowSection.recentlyAdded method 2020-09-28 13:51:53 -04:00
Andrew Gaffney
14b8d0e8c8
Replace format strings with explicit call to format() for backward compatibility (fixes #576) (#577) 2020-09-28 08:41:18 -05:00