Project

General

Profile

Bug #993

Lyrics for streamed content are written to cache but not read.

Added by Róbert Čerňanský about 1 month ago.

Status:
New
Priority:
Minor
Assignee:
-
Category:
plugins/lyricwiki
Start date:
June 07, 2020
Due date:
% Done:

0%

Estimated time:
Affects version:

Description

While playing a track from (HTTPS) stream the lyricwiki plugin correctly fetches lyrics and writes them to local cache (~/.config/audacious/lyrics/...). If however the same remote track is played again the lyrics are not read back from the cache (they are read from the web again). For local files it works as expected (lyrics are written to and read from the cache).

From the issue #906 it seems that it is a feature. To me it seems as rather odd requirement. Why write but not read? I am not sure what was the motivation for it. Behaviour I would expect is one of the following:

1. lyrics from streamed content are not cached at all (not written, not read)
2. lyrics from streamed content are both written and read back to/from the cache
3. lyrics from streamed content are only read from cache but not written to

Option 2 is preferred.

Reason for option 3 could be not to pollute the cache when listening to an internet radio (not sure if this is a real use case though; a few radio streams I have checked did not provide track names and did not cache any lyrics).

Also available in: Atom PDF