Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spotify Exported Data seems to have changed their JSON format tags, rendering imports of extended history impossible #458

Open
2q2code opened this issue Nov 25, 2024 · 9 comments

Comments

@2q2code
Copy link

2q2code commented Nov 25, 2024

The current release (docker) version (1.11) does not look for the tags as are available in the extended export data. In addition, the account data export is now also including audiobooks and videos (separate files), both of which do not import into Your Spotify (creates an error, restart required). This should be noted in the import interface or documentation. Here is the current (received yesterday) extended export item format (with some items redacted for privacy):

 {
    "ts": "2023-11-04T22:19:36Z",
    "platform": "ios",
    "ms_played": 140956,
    "conn_country": "__",
    "ip_addr": "___.___.___.___",
    "master_metadata_track_name": "HEY NEIGHBOR!",
    "master_metadata_album_artist_name": "poutyface",
    "master_metadata_album_album_name": "POUTY PACK 1.0",
    "spotify_track_uri": "spotify:track:4NoM07yO0Luyv3OpeTwlyW",
    "episode_name": null,
    "episode_show_name": null,
    "spotify_episode_uri": null,
    "reason_start": "trackdone",
    "reason_end": "backbtn",
    "shuffle": true,
    "skipped": true,
    "offline": false,
    "offline_timestamp": 1699136230,
    "incognito_mode": false
  },
@tslnc04
Copy link

tslnc04 commented Nov 25, 2024

Hello! I had this issue too but thanks to #454 it has been resolved, using the docker tag nightly solved it for me

@2q2code
Copy link
Author

2q2code commented Nov 25, 2024

Oh sweet! Thanks for the tip!

@Herve-M
Copy link

Herve-M commented Nov 26, 2024

I believe the filename changed to Streaming_History_Video_XXXX.json, might* need to update the readme.

@pixma140
Copy link

I believe the filename changed to Streaming_History_Video_XXXX.json, night need to update the readme.

I yesterday requested a new extended streaming history, and today I got the files. In that .zip archive, there are multiple files.
They brought an additional file into everything, and they kept the Streaming_History_Audio_XXXX.json files, too. In this archive I got following files:

  • Streaming_History_Audio_<YYYY>-<YYYY>_<Nr>.json
  • ... (multiple audio .json files)
  • Streaming_History_Video_<YYYY>-<YYYY>.json

So I guess the Streaming_History_Video_XXXX.json is just an addition, since now some tracks on Spotify also have music video playback (e.g. Spiritbox -Jaded).

In my last export from February of this year, I had the same structure, multiple audio files and one video file.
So they just changed their JSON structure, I guess.

@2q2code
Copy link
Author

2q2code commented Nov 27, 2024

You got an extended history in a DAY turnaround? Holy crap!

@2q2code
Copy link
Author

2q2code commented Nov 27, 2024

As I have just received my account and extended download, I can confirm that the Video file is an addition, not a replacement. Also, there are now seperate Podcast, Audio, and Video json files in the account data.

@Herve-M
Copy link

Herve-M commented Nov 27, 2024

I believe the filename changed to Streaming_History_Video_XXXX.json, night need to update the readme.

I yesterday requested a new extended streaming history, and today I got the files. In that .zip archive, there are multiple files. They brought an additional file into everything, and they kept the Streaming_History_Audio_XXXX.json files, too. In this archive I got following files:

  • Streaming_History_Audio_<YYYY>-<YYYY>_<Nr>.json
  • ... (multiple audio .json files)
  • Streaming_History_Video_<YYYY>-<YYYY>.json

So I guess the Streaming_History_Video_XXXX.json is just an addition, since now some tracks on Spotify also have music video playback (e.g. Spiritbox -Jaded).

In my last export from February of this year, I had the same structure, multiple audio files and one video file. So they just changed their JSON structure, I guess.

Nice catch, I didn't even see the Video part, my bad!

Wanted to point out this section of the readme, I don't see any file prefixed with endsongX.json.

@schumi4
Copy link

schumi4 commented Dec 12, 2024

Would be great to have the update pushed to stable for the lsio image users

@Yooooomi
Copy link
Owner

Hello, I understand, published a release this morning, thanks for your patience

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

No branches or pull requests

6 participants