losnoco / Cog

Cog - A Free and Open Source Audio Player for macOS 10.13+
https://cog.losno.co
GNU General Public License v2.0
695 stars 45 forks source link

Pause then Play on radio stream switches to next #372

Closed Volodymyr-13 closed 1 year ago

Volodymyr-13 commented 1 year ago

Describe When I'm listening some stream, then press Pause, then get back to it and press Play, it plays a bit cashed music, but then it will play the next stream in a list.

To Reproduce (delete if not applicable) Steps to reproduce the behavior:

  1. Add some streams list
  2. Click any and play it, then click Pause
  3. After waiting some time, like 1-2 min, click Play
  4. Notice that after some time(3-5sec) it will switch to another next stream, but not the current one

Expected behavior For streams it caches some data, then after I pause then play it still plays from the cache and then like gets an error, because there is nothing to play from cache, since I paused playback, so switches to the next track. It should continue and/or try at least 1 times to play the same stream which was pause, so if cache is empty - try again and load again the same track.

Screenshots

If now track is 8 playing, then pause/play it will play track 9

Screenshot

**Version information:***