Skip to content

Commit

Permalink
Fixes for Pandora rate-limiting downloads
Browse files Browse the repository at this point in the history
A recent Pandora change rate-limiting the download of each track has
no effect on streaming players, but because panharmonicon can't stream
playback (a limitation of the rodio audio audio library), we have to
fully download the track before playing it.

To prevent this from causing the UI to block, we move track download to
a separate thread, and to prevent long pre-buffering times, we changed
the configuration options for caching policy to only allow modification
of the cache eviction policy, and not whether or how much we pre-cache.
  • Loading branch information
compenguy committed Apr 11, 2020
1 parent 6ef17ee commit b6cbcc0
Show file tree
Hide file tree
Showing 5 changed files with 571 additions and 593 deletions.
Loading

0 comments on commit b6cbcc0

Please sign in to comment.