Commit graph

1365 commits

Author SHA1 Message Date
Jason Lawrence
022a639730 Skip sync tests on unclaimed server 2020-12-02 11:31:37 -06:00
Jason Lawrence
6491ecb415 Fix indentation 2020-12-02 11:24:02 -06:00
Jason Lawrence
c0fbb2ccbc Add caching, flake cleanup, cov indentation 2020-12-02 11:21:59 -06:00
Jason Lawrence
47a4613d1b Teardown after linked tests, only run against master 2020-12-01 21:40:07 -06:00
Jason Lawrence
3fd25be433 Fix test dependency 2020-12-01 21:22:23 -06:00
Jason Lawrence
38837a8c88 Refactor, add coverage reporting 2020-12-01 21:21:00 -06:00
Jason Lawrence
12ffc35ea4 Remove whitespace for readability 2020-11-17 20:59:11 -06:00
Jason Lawrence
11b3e897fb Set CI branch/PR triggers, revert testing tweaks 2020-11-17 20:48:31 -06:00
Jason Lawrence
b1c6f2e0b2 Fix typo, remove version for (usually) skipped test 2020-11-17 20:35:03 -06:00
Jason Lawrence
57bd094a09 Only run claimed tests on merged branches, mark python version used 2020-11-17 20:28:06 -06:00
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
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
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