Napster / napster.js

Napster Javascript SDK
MIT License
56 stars 44 forks source link

React example - Some tracks not playing (Unexpected token T in JSON at position 0) #33

Closed lewhunt closed 3 years ago

lewhunt commented 3 years ago

Hi,

When running the React example (nice work btw), I'm getting the following error in the console when I try selecting certain tracks and they fail to play:

In Chrome: Unexpected token T in JSON at position 0 - streaming-player-1.0.1.js In Safari: JSON Parse error: Unexpected identifier "The" - streaming-player-1.0.1.js

Some tracks work OK, but here are a few problematic tracks I've spotted so far:

Metal Genre - Paranoid - Black Sabbath Metal Genre - Here I Go Again - Whitesnake Metal Genre - Nothing Else Matters - Metallica Alternative Genre - Mr. Brightside - The Killers

They play fine on the live napster.com site. Any thoughts what the issue is?

lewhunt commented 3 years ago

Closing this as it works fine on production, it must be a location issue within the dev environment.