python-plexapi/plexapi
Dr.Blank 7802b79d30
feat: Add sonicAdventure method to MusicSection (#1361)
* 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>
2024-03-16 15:03:36 -07:00
..
__init__.py Add X-Plex-Language header to config (#1241) 2023-09-17 14:51:54 -07:00
alert.py feat(alert): add option to use custom socket (#1219) 2023-08-28 08:57:34 -07:00
audio.py feat: Add sonicAdventure method to MusicSection (#1361) 2024-03-16 15:03:36 -07:00
base.py Lowercase input of istartswith/iendswith (#1359) 2024-02-17 14:35:53 -08:00
client.py Add weakref to parent for PlexClient (#1355) 2024-02-04 20:34:16 -08:00
collection.py Update documentation for collection.sortUpdate. (#1277) 2023-11-02 21:24:05 -07:00
config.py Add X-Plex-Language header to config (#1241) 2023-09-17 14:51:54 -07:00
const.py Release 4.15.10 2024-02-17 14:57:59 -08:00
exceptions.py Add exception for two-factor required (#1357) 2024-02-17 14:34:43 -08:00
gdm.py Fix various typos (#880) 2022-02-26 19:26:08 -08:00
library.py feat: Add sonicAdventure method to MusicSection (#1361) 2024-03-16 15:03:36 -07:00
media.py Simplify building MediaPartStream objects (#1328) 2024-02-04 10:52:19 -08:00
mixins.py Add genres attribute to Track (#1318) 2024-02-17 14:11:07 -08:00
myplex.py Add exception for two-factor required (#1357) 2024-02-17 14:34:43 -08:00
photo.py Feature: Add source property to playlist items to support remote playlist entries (#1335) 2024-02-17 14:16:10 -08:00
playlist.py Use edit mixins for Playlists (#1284) 2023-11-13 10:29:03 -08:00
playqueue.py Add LibrarySection methods to multi-edit items (#1184) 2023-07-27 14:45:23 -07:00
server.py fix: explicitly set includeFiles (#1281) 2023-10-31 16:30:53 -07:00
settings.py Add LibrarySection methods to multi-edit items (#1184) 2023-07-27 14:45:23 -07:00
sonos.py Refactor fetchItems for pagination (#1143) 2023-05-24 14:50:30 -07:00
sync.py style: lint all python files (#1228) 2023-08-28 20:29:39 -07:00
utils.py Refactor cast function in utils.py (#1340) 2024-02-04 11:22:37 -08:00
video.py Feature: Add source property to playlist items to support remote playlist entries (#1335) 2024-02-17 14:16:10 -08:00