* Add hasVoiceActivity attribute to Media
* Update tests for voice activity analysis
* Fix movie year test
* Add canAutoSync attribute to SubtitleStream
* Add support for editing audience ratings and critic ratings
* Note: Not all types of ratings are supported/shown in the Plex UIs. However they can be edited/updated and stored in the Plex Media Server database.
* Add tests for editing audience rating and critic rating
* Fix: stop maxresults from overwriting previous results
* Added test for use of maxresults in fetchItems #1393
* Removed the need for last_container_size #1393
* Renamed collections to better represen what is being tested
* Renamed collections to better represent what is being tested #1393
* Update tests/test_library.py with cleaner test
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
---------
Co-authored-by: Graham Thompson <graham.c.thompson@gmail.com>
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* MediaContainer class is now a list
- can now support totalSize as returned from server
* add tests for media container
* Update MediaContainer attributes if previously None when extending
* Fixing how advanced settings params are set and adding a prefix & when appending advanced settings. Update parts append to use f-string
* Adding basic test to include Advanced settings.
* lint fix
* fix failing test
* lint fix in test
* Update test_library.py
Add section deletion after testing
* Disallow using smart playlist with items
* Change exception message
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Also check for state when creating collections
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Add sonicAdventure method to MusicSection
* satisfy flake8
* sonicAdventure accepts Track as param
* test with both types for sonicAdventure
* Add authentication to recently added music test
* Fix test_library.py to include missing newline character
* Add sonicAdventure method to Track class
* fix doc as suggested
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* fix bound on sonicAdventure method
- add type to docstr
* Apply suggestions from code review
- pass in plexpass account to tests
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* make tests pass on bootstrap
- still asserts it is an iterable
- still checks all elements are tracks
- in case no adventure found, does not fail
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Change regex/iregex to use re.search instead of re.match
This is BREAKING CHANGE
* Also cast to bool.
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Add source property to Video
A Playlist entry if added a remote server item has field "source" initialized with value like `server://<server_id>/com.plexapp.plugins.library`
* Add source to Episode
* Fix flake8 error
E261 at least two spaces before inline comment
* Add source to Track
* Add source to Photo
* Rename the field to sourceURI
* Update plexapi/audio.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Update plexapi/photo.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Update plexapi/video.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Update plexapi/video.py
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>
* Fix flake line length issue
---------
Co-authored-by: JonnyWong16 <9099342+JonnyWong16@users.noreply.github.com>