Allow reading Spotify history directly from ZIP file

This commit is contained in:
Philipp Wolfer 2025-05-24 17:35:19 +02:00
parent ef6780701a
commit 7fb77da135
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
3 changed files with 108 additions and 33 deletions

View file

@ -105,9 +105,11 @@ client-secret = ""
[service.spotify-history]
# Read listens from a Spotify extended history export
backend = "spotify-history"
# Directory where the extended history JSON files are located. The files must
# follow the naming scheme "Streaming_History_Audio_*.json".
dir-path = "./my_spotify_data_extended/Spotify Extended Streaming History"
# Path to the Spotify extended history archive. This can either point directly
# to the "my_spotify_data_extended.zip" ZIP file provided by Spotify or a
# directory where this file has been extracted to. The history files are
# expected to follow the naming pattern "Streaming_History_Audio_*.json".
archive-path = "./my_spotify_data_extended.zip"
# If true (default), ignore listens from a Spotify "private session".
ignore-incognito = true
# If true, ignore listens marked as skipped. Default is false.