Author Topic: Playing song after sleep [SOLVED]  (Read 1605 times)

tnvu

  • Newbie
  • *
  • Posts: 4
So there seems to be a bug in MusicBee after waking the computer up from sleep.

1) Play a music file.
2) Pause the music file in the middle.
3) Put the computer to sleep.
4) Wake up the computer.
5) Continue to play the file.
6) File plays for a little bit but then will skip to the next track.

I imagine it has to do with the file handle being stale and/or the read() failing. Would it be better to:
1) Re-open and seek() to the previous read attempt
2) Increase the buffer to buffer the whole file in the options menu

Thanks for any feedback.
Last Edit: June 16, 2017, 02:25:26 AM by tnvu

redwing

  • Guest
Working fine for me after waking up. Try v3.1 from the first forum topic to see if that makes any differences.

tnvu

  • Newbie
  • *
  • Posts: 4
I updated to the latest 3.1 version and it still happens.

To reproduce, you might need to let it sleep for a little bit longer so the network connections timeout.

redwing

  • Guest
Then try to increase the buffer size. v3.1 can load the entire file into memory in player settings.