Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Hibernation and online radio (Read 1970 times) previous topic - next topic
sacduser and 1 Guest are viewing this topic.

Hibernation and online radio

If you turn off the PC into hibernation while playing online radio, then when you wake up, a “network error” error appears. In release this caused playback to stop. In the last preview, playback restarts, but there is still an error and the time countdown starts from zero.

 

Re: Hibernation and online radio

Reply #1
What if you set your network adapter to never sleep in Windows Device Manager.
Uncheck "Allow the computer to turn off the device to save power" under the Power Managment tab.

Re: Hibernation and online radio

Reply #2
This doesn't work. The problem started during the global update foobar to version 2.

Re: Hibernation and online radio

Reply #3
I have the same issue with version 2.1.2 on Windows 11.

Steps to reproduce:

1. Play an online radio
2. Close the lid of your laptop to go into standby
3. Wait a few minutes
4. Open the lid to resume

I expect Foobar2000 to continue playing the radio but it fails with an error:



Any chance this can be fixed?

Thank you!

Re: Hibernation and online radio

Reply #4
orschiro
In foobar2000 v2.2 preview 2024-02-19 this problem is partially has been fixed. But there is still an error.

Re: Hibernation and online radio

Reply #5
@mihelson what do you mean by partially?

Re: Hibernation and online radio

Reply #6
orschiro
Playback continues, but there is still an error.

Re: Hibernation and online radio

Reply #7
Nice!

I can confirm that playback resumes but indeed it's showing an error window.

Re: Hibernation and online radio

Reply #8
How to create a bug report for a developer?

Re: Hibernation and online radio

Reply #9
Maybe it's already fixed in foobar2000 v2.2 preview 2024-02-28?

Re: Hibernation and online radio

Reply #10
@orschiro no, bug don't fixed.


Re: Hibernation and online radio

Reply #12
You are quite optimistic to think that any new preview build would change the behavior even when their changelogs don't mention anything related.
Peter is aware of the issue. Let's hope he has time and interest to add special handling for network disconnections caused by power state change.

Re: Hibernation and online radio

Reply #13
Thank you Case and Peter!


Re: Hibernation and online radio

Reply #14
@Case can you please keep us notified here once the issue has been potentially addressed and can be tested?

Re: Hibernation and online radio

Reply #15
The latest foobar2000 v2.2 preview should improve things.

Re: Hibernation and online radio

Reply #16
Going to test now, thanks Case! :)

Re: Hibernation and online radio

Reply #17
I am still getting the same error messages. How about you @mihelson?

For me nothing seemed to have changed.

Re: Hibernation and online radio

Reply #18
Can you point specific radio stations where this is still an issue? I tested the link from the screenshot and it appeared to behave OK now.

Thanks
Microsoft Windows: We can't script here, this is bat country.


Re: Hibernation and online radio

Reply #20
Changed behavior in today's build, will just resume playback quietly if disconnected, without trying to react to system sleep events.
Microsoft Windows: We can't script here, this is bat country.

Re: Hibernation and online radio

Reply #21
Great, thanks Peter!

This new behaviour will presumably come with the next preview as well?

Re: Hibernation and online radio

Reply #22
The issue has been fixed in preview 2.2 2024-04-13.

Thank you so much!