Commit Graph

129 Commits

Author SHA1 Message Date
joncrall
835af4944e Fix formatting 2024-09-12 17:03:18 -04:00
joncrall
34f76c15b9 Add add_media_library 2024-09-12 17:03:18 -04:00
joncrall
01e252bc56 Add API calls for log files 2024-09-12 17:03:14 -04:00
joncrall
9a9acac992 Fix NowPlaying 2024-09-12 16:52:04 -04:00
joncrall
51ef381dac Add experimental API mixin 2024-09-12 16:40:41 -04:00
joncrall
9c97a8dd21 allow profile to be None in get_play_info 2024-09-12 16:40:41 -04:00
Izzie Walton
4e90e3d6bd Up version to 1.10.0. 2024-08-10 13:39:55 -04:00
Izzie Walton
15164d40a7
Merge pull request #44 from s-t-e-v-e-n-k/add-missing-quote-apikey
Add missing double quote in the API key example
2024-08-10 13:32:41 -04:00
Izzie Walton
f62918a5f7
🏳️‍⚧️ 2024-08-10 13:31:23 -04:00
Izzie Walton
b62994f82e
Merge pull request #45 from Touchstone64/enhance_item_played
Add support for the optional 'date played' parameter in item_played.
2024-08-10 13:30:15 -04:00
Graham Thompson
09c15e70e2 Add support for the optional 'date played' parameter in item_played. 2024-05-05 17:44:01 +01:00
Steve Kowalik
6970895e2e Add missing double quote in the API key example
Argh, bad example, add the missing quote.
2024-02-22 17:38:26 +11:00
Izzie Walton
787a1aeb0d
Merge pull request #42 from Erotemic/dev/update-item-metadata-api
Add get/update item metadata methods
2024-02-14 23:44:59 -05:00
Izzie Walton
a95e6f9748
Merge pull request #41 from Erotemic/collection_api
Collection api
2024-02-14 23:43:26 -05:00
joncrall
d81b580387 Update get_item to return all fields 2024-01-21 16:26:08 -05:00
joncrall
9b75421583 Add collection API
Collection API docs
2024-01-21 16:12:13 -05:00
Izzie Walton
58cb6e703b
Merge pull request #40 from Erotemic/identify_api
Identify api
2024-01-21 15:55:41 -05:00
Izzie Walton
2fba159a13
Merge pull request #39 from Erotemic/media-folder-api
Media folder api
2024-01-21 15:54:45 -05:00
joncrall
1ca958622f Update item metadata docs 2024-01-21 15:21:59 -05:00
joncrall
4a4b02ba36 Add get/update item metadata methods 2024-01-21 15:14:57 -05:00
joncrall
e20d175768 doc tweaks 2024-01-21 14:52:02 -05:00
joncrall
fe5fe1534c Expose identify method 2024-01-21 14:44:59 -05:00
joncrall
50b43e3ae3 identify doc 2024-01-21 14:44:07 -05:00
joncrall
61219817fb Add identify method 2024-01-21 14:43:56 -05:00
joncrall
1bd3ab6324 Remove unused params, avoid mutating params 2024-01-21 14:39:00 -05:00
joncrall
0120650286 rename scan_library to refresh_library 2024-01-21 14:39:00 -05:00
joncrall
a33be83513 Use dict get 2024-01-21 14:39:00 -05:00
joncrall
79742dafa9 Add calls for media folders
Co-authored-by: qishen <qishen@users.noreply.github.com>
2024-01-21 14:39:00 -05:00
Izzie Walton
913322cef7
Merge pull request #36 from Erotemic/add_dunder_version
Move __version__ single source of truth to package __init__
2024-01-21 13:14:07 -05:00
joncrall
0236068956 switch from setup.py to pyproject.toml 2024-01-21 13:00:29 -05:00
joncrall
333108a90f Move __version__ single source of truth to package __init__ 2024-01-21 12:44:14 -05:00
Izzie Walton
56929669a9
Merge pull request #38 from Erotemic/fields-in-get-media-folders
Allow fields query with get_media_folders
2024-01-21 12:36:58 -05:00
Izzie Walton
c38166d9d8
Merge pull request #23 from s-t-e-v-e-n-k/support-api-key-auth
Support API key authentication
2024-01-21 12:34:18 -05:00
Izzie Walton
0d71331a8a
Merge pull request #34 from Erotemic/organize-api
Organize API with Mixin Classes
2024-01-21 12:30:06 -05:00
Steve Kowalik
ef8b616747 Support API key authentication
Support also authenticating with an API key -- since this is seperate
from device tokens, choose to authenticate with one if a device name is
not set.

Fixes #19
2024-01-21 20:48:54 +11:00
joncrall
a3954172a1 Allow fields query with get_media_folders 2023-12-13 18:07:06 -05:00
joncrall
334d930dcb Organize the API with mixin classes 2023-12-11 11:47:17 -05:00
Izzie Walton
72189df3af
Merge pull request #37 from s-t-e-v-e-n-k/add-connection-manager-tests
Add tests for a portion of ConnectionManager
2023-12-10 21:29:34 -05:00
Izzie Walton
5a7a05de51
Merge pull request #33 from Erotemic/fix-docstrs
Make docstrings consistent
2023-12-10 21:25:43 -05:00
Steve Kowalik
3eed880c39 Add tests for a portion of ConnectionManager
Extend the test suite by testing portions of ConnectionManager, I've so
far avoided testing anything that requires a network or a server
answering. This also uncovered a bug in revoke_token().
2023-12-08 09:44:22 +11:00
joncrall
161184e673 Change remote_set_volume to google-style 2023-12-03 14:25:00 -05:00
joncrall
7104cdbda0 Fix remote_seek docstr 2023-12-03 14:24:27 -05:00
joncrall
f50df17c0d extra fix 2023-12-02 13:33:39 -05:00
joncrall
cce31a9584 Make docstrings consistent 2023-12-02 13:30:20 -05:00
Izzie Walton
8d1c108cb0
Merge pull request #31 from s-t-e-v-e-n-k/add-credentials-tests
Add tests for Credentials
2023-11-08 02:01:41 -05:00
Steve Kowalik
56ba9a80bb Add tests for Credentials
This adds the beginnings of a test suite, and the related infrastructure
to run the test suite using tox and GitHub actions.
2023-11-08 17:37:30 +11:00
Izzie Walton
c3cbccce3f
Merge pull request #30 from s-t-e-v-e-n-k/test-preconditions
Correct some small issues
2023-11-07 20:44:07 -05:00
Steve Kowalik
1c4a127829 Correct some small issues
While preparing to add a small test suite, I ran into some issues with
code style and one actual bug in clear_data. None of these changes
should involve behaviour changes.
2023-11-08 12:39:29 +11:00
Izzie Walton
e4f0774ebd
Merge pull request #28 from Nehereus/master
introduce parent_id to search_media_items function
2023-11-07 18:40:50 -05:00
Nehereus
492ab49f8e
introduce a new parameter to search_media_items function so users can now limit which folder to search in by specifying parent_id 2023-11-07 17:10:56 -06:00