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

CurrentTrack event and BBC Sounds statioins #532

Open
kimaldis opened this issue Apr 15, 2022 · 0 comments
Open

CurrentTrack event and BBC Sounds statioins #532

kimaldis opened this issue Apr 15, 2022 · 0 comments

Comments

@kimaldis
Copy link

Using the CurrentTrack event to watch for track changes, when a BBC station plays the returned data has changed since BBC stations now have to be accessed through the BBC Sounds service. I wondered, is there a way to get title, artist, album data where available when these tracks change.

Radio 4:

{
  id: null,
  parentID: null,
  title: 'BR P|TYPE=SNG|TITLE |ARTIST |ALBUM ',
  artist: null,
  album: null,
  albumArtist: null,
  albumArtURI: 'https://ichef.bbci.co.uk/images/ic/640x640/p0c0bzb3.jpg',
  uri: 'x-sonosapi-hls:stations%7eplayable%7e%7ebbc_radio_fourfm%7e%7eurn%3abbc%3aradio%3anetwork%3abbc_radio_four?sid=325&flags=288&sn=6',
  duration: 0,
  queuePosition: 1
}

Radio 2 - track changes every ten seconds or so, reflects what the station is currently playing:

{
  id: null,
  parentID: null,
  title: 'BR P|TYPE=SNG|TITLE Vogue|ARTIST Madonna|ALBUM ',
  artist: null,
  album: null,
  albumArtist: null,
  albumArtURI: 'https://ichef.bbci.co.uk/images/ic/640x640/p01bv8jj.jpg',
  uri: 'x-sonosapi-hls:stations%7eplayable%7e%7ebbc_radio_two%7e%7eurn%3abbc%3aradio%3anetwork%3abbc_radio_two?sid=325&flags=288&sn=6',
  duration: 0,
  queuePosition: 1
}
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

1 participant