mirror of
https://github.com/fergalmoran/picard.git
synced 2026-04-22 20:31:22 +00:00
PICARD-765: Do not use cached CAA JSON files
Makes sure latest CAA JSON data is used instead of stale ones.
This commit is contained in:
@@ -32,7 +32,10 @@ from PyQt5 import (
|
||||
QtCore,
|
||||
QtWidgets,
|
||||
)
|
||||
from PyQt5.QtNetwork import QNetworkReply
|
||||
from PyQt5.QtNetwork import (
|
||||
QNetworkReply,
|
||||
QNetworkRequest,
|
||||
)
|
||||
|
||||
from picard import (
|
||||
config,
|
||||
@@ -566,7 +569,8 @@ class CoverArtProviderCaa(CoverArtProvider):
|
||||
self._caa_path,
|
||||
self._caa_json_downloaded,
|
||||
priority=True,
|
||||
important=False
|
||||
important=False,
|
||||
cacheloadcontrol=QNetworkRequest.PreferNetwork
|
||||
)
|
||||
self.album._requests += 1
|
||||
# we will call next_in_queue() after json parsing
|
||||
|
||||
Reference in New Issue
Block a user