lyarenei / jellyfin-plugin-listenbrainz

ListenBrainz plugin for Jellyfin.
MIT License
78 stars 3 forks source link

Fix failing resubmit job due to missing file #48

Closed lyarenei closed 1 year ago

lyarenei commented 1 year ago

The resubmit job will keep failing if no listens have been cached since it would not trigger saving => creating the json file.

To fix this, if the file does not exist, it will be created by calling Save() method on cache instance init.