-
Notifications
You must be signed in to change notification settings - Fork 18
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
Uncaught (in promise) TypeError: track.artists is undefined #37
Comments
I need to add that 4) is well documented: "Make sure the Mopidy config http/allowed_origins includes pi3.local:1234" I just had the challenge that a basic Using a "professional" script does the trick of a working installation:
|
MP3 stream does not work, MP3 local file does not work, but Spotify does work. I started the MP3 stream with |
Is there an actual problem/question regarding Mopidy.js here? If not, I'm going to close this. If you are having problems with playing mp3 files or Mopidy in general then we can work on that at discuss.mopidy.com (you can also search for the similar issues on there already, it's likely a missing gstreamer plugin package). |
Sorry, if I wasn't clear. Mopidy.js throws an exception when playing MP3 streams or local MP3 files.
This prevents the Mopidy.js UI from updating the displayed information. I would say it's a bug in Mopidy.js. |
|
It seems that the code that triggered the bug was the example web app bundled with Mopidy.js, so I guess that could be made more robust. |
@kingosticks in https://github.com/mopidy/mopidy.js/blob/master/src/mopidy.d.ts#L227-L289 only I just stumbled upon this because {
jsonrpc=2.0,
id=0,
method=core.tracklist.add,
params={uris: [orfradio:oe3/live]},
} returns {"jsonrpc": "2.0", "id": 0, "result": [{"__model__": "TlTrack", "tlid": 12, "track": {"__model__": "Track", "uri": "orfradio:oe3/live", "name": "Live"}}]} where most fields are actually missing. |
For hours I have been trying to get mopidy.js to run, my major challenges:
It seems to work now, I play a radio stream on the Raspi3+ (latest Raspberry Pi OS Lite), can access remotely via Iris and mopidy.js seems to connect, I can see web socket messages. But the console shows the exception and it displays "Unknown - Unknown".
The text was updated successfully, but these errors were encountered: