Skip to content

Fixed an error importing Spotify data exports from 2025#443

Open
slater-uk wants to merge 1 commit intokrateng:masterfrom
slater-uk:fix-spotify-import-name
Open

Fixed an error importing Spotify data exports from 2025#443
slater-uk wants to merge 1 commit intokrateng:masterfrom
slater-uk:fix-spotify-import-name

Conversation

@slater-uk
Copy link
Copy Markdown

@slater-uk slater-uk commented Oct 14, 2025

Spotify data exports from 2025 are named differently than previously. The python script import_scrobbles.py did not recognise the updated file names from spotify. My recent Spotify export data was named "StreamingHistory_music_0.json".

I have editted the import_scrobbles.py script to recognise this new naming scheme from Spotify.

	elif re.match(r"StreamingHistory_music_[0-9]+\.json", filename):
		typeid,typedesc = "spotify", "Spotify"
		importfunc = parse_spotify_lite_legacy 

… are named StreamingHistory_music_0. Added to the import_scrobbles.py script to recognise this naming scheme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant