Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Adds cache timeout for playlist && Adds hook callback for playlist updates #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

AngellusMortis
Copy link

@AngellusMortis AngellusMortis commented Dec 25, 2018

  • Uses update_frequency from the playlist data that returns as part of get_playlist_data to automatically invalidate the playlist data. This greatly reduces the 403 session expired request and leads to smoother playback.

  • Adds a hook in get_playlist_data to call an arbitrary callback function whenever the playlist updates. This can be used by external programs to update status of what is currently playing really easily.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant