radio4000 icon indicating copy to clipboard operation
radio4000 copied to clipboard

After unavailbe track media is fixed, this track data in the player stays invalid

Open 4www opened this issue 7 years ago • 1 comments

Problem:

  1. play your radio and find a track with non available media
  2. fix the link to a correct link
  3. try to click again on the track you fixed, to play the updated track (aka "check if your changes work")
  4. it result in a UX error, because the track in the radio4000-cms list and the one in the radio4000-player are not the same data. The track in the player hasen't been updated, so the track in the cms will be marked again as invalid.

This issue is related to the fact that the data of a deleted, or just edited, track, does not match the cms data because the player is never notified of a change.

Objectives:

  • each time a track is edited, and that the current track's radio in the player is the same radio, the player data (track, but also channels) needs to be updated, to reflect the current state of the cms.

  • Less common scenario, is when a channel is updated, its data in the player is also not updated

4www avatar Jul 21 '18 14:07 4www

Related https://github.com/internet4000/radio4000/issues/62

oskarrough avatar Jul 25 '18 10:07 oskarrough