Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
- run: poetry env use python
- run: poetry install
# Offline tests only, the remaining tests require a TIDAL account
- run: poetry run pytest tests/test_backoff.py tests/test_parsing.py tests/test_token_refresh.py
- run: poetry run pytest tests/test_backoff.py tests/test_parsing.py tests/test_token_refresh.py tests/test_playlog.py
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
History
=======

Unreleased
----------
* Added `Session.start_playback` and `Session.report_playback` to measure plays and report them to TIDAL, so they show up in Recently played on all devices and count for recommendations (Fixes #401) - Petru101_

v0.9.0
------
* (BREAKING!) Drop support for python3.10 and older, python 3.11 or newer is now required - tehkillerbee_
Expand Down
25 changes: 25 additions & 0 deletions docs/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,3 +167,28 @@ API Reference
.. autoclass:: Mix
:members:
:undoc-members:

`tidalapi.playlog`
------------------

.. automodule:: tidalapi.playlog

.. autoclass:: PlaybackTracker
:members:

.. autoclass:: PlaybackSession
:members:

.. autoclass:: PlaybackReport
:members:

.. autoclass:: PlaybackAction
:members:

.. autoclass:: SourceType
:members:
:undoc-members:

.. autoclass:: ActionType
:members:
:undoc-members:
Loading
Loading