your_spotify icon indicating copy to clipboard operation
your_spotify copied to clipboard

Error when importing account data

Open jessenolan1 opened this issue 10 months ago • 4 comments

Describe the bug

When i requested my Account Data, I received 3 files. One of the files is called StreamingHistory_podcast_0.json and breaks the import process. When trying to upload again, i get a prompt saying an import is already in progress. The only way ive found to reset is to restart the containers.

Expected behavior

I think that there should be some verbiage added advising to only upload the music json files and also some filename validation would be nice to ensure that the podcast file/s arent being selected

Additional context

The reason why its failing is because its missing the artistName and trackName keys. Below is what my file looks like.

[
  {
    "endTime" : "2023-09-15 14:04",
    "podcastName" : "Everyday Ethics",
    "episodeName" : "Lying To Grandma",
    "msPlayed" : 1065494
  },
  {
    "endTime" : "2023-09-15 14:13",
    "podcastName" : "Everyday Ethics",
    "episodeName" : "Santa Claus",
    "msPlayed" : 462541
  },
  {
    "endTime" : "2023-09-15 22:50",
    "podcastName" : "Everyday Ethics",
    "episodeName" : "Baby, It's Cold Outside",
    "msPlayed" : 944773
  }
]

jessenolan1 avatar Apr 18 '24 19:04 jessenolan1