Thanks for the logs. I had a look but they didn't help. So I ran some tests on my systems and they didn't help either!
Matt, I assumed that the "CSystemPowerManagerEntry" value would appear in the logs, but it doesn't seem to. I just see entries like;
0000593: 3384: General: CMCUICore::SystemPowerManager_UpdateActions: Start
0000593: 3384: General: CMCUICore::SystemPowerManager_UpdateActions: UI Mode: -999; Playing: 0
0000593: 3384: General: CMCUICore::SystemPowerManager_UpdateActions: Finish (result: 0) (0 ms)But anyway, I think I have reproduced the problem. This was a hint:
3. PC wakes up consistently each time, however, JRemote fails to connect and reports "timed out".
I don't recall this ever happening on MC24.
I can't test with JRemote because I am an Android user, and JRemote2 for Android doesn't support WOL yet. Besides, it is a completely different program. But you have an Android phone and use Gizmo, so you can test in the same way I did. I tested again using my HTPC server. This is what I found.
1. First, I set the HTPC to go to sleep after one minute. Hybrid Sleep is allowed on the HTPC, but it is set to never Hibernate.
2. I let the HTPC go to sleep.
3. I started Gizmo and tried to connect to the HTPC. It woke the HTPC and connected.
4. I selected an Album (Album "5" by J.J.Cale, mp3 files from 2:14 to 3:13) and started playback. Each track was longer than one minute.
5. The first track played fine, and during the track the HTPC went to sleep.
6. The second track started playing fine.
7. After a short section of the second track, the HTPC woke up again.
8. The second track completed fine, the HTPC went to sleep again, and the next track started playing.
9. Steps 5 to 8 repeated for the third to the sixth track.
10.
The seventh track never started playing. Gizmo displayed an "Error communicating with server" message. The HTPC wasn't waking.11. I connected to the HTPC from my Workstation PC, which woke the HTPC.
12. Gizmo didn't recover and start playing again. It kept trying though, by the look, keeping the phone screen on and displaying the error message. Eventually, Gizmo fell back to failure mode and displayed the "Resume Playback" message without controls. Trying to resume playback just showed the Playing Now screen and same error message as before.
So, for the first six tracks I thought you had a problem with JRemote not waking your MC Server as required when it needed to buffer more audio. But obviously, the answer isn't that simple. Later I checked the Reporter on the server at track changes, and it did change to various "Serving" messages, which progressively expired, and eventually dropped them all, until Gizmo needed the next track to be retrieved, at which time a set of Serving messages happened again.
The first six tracks last 16:56 (mm:ss), with the seventh taking it up to 19:50.
13. Gizmo had to be restarted twice to get it to connect to the HTPC again. Even then, when I started playing tracks on it again (5 by J.J.Cale) I kept getting "Error communicating with server" messages, even when Gizmo was active and the HTPC was awake. The HTPC went to sleep once during the first track, and then didn't go to sleep again. I assume the constant attempts at communication from Gizmo were keeping it awake, but there were no Power messages in Reporter.
Even though the HTPC never slept again, Gizmo kept playing until the first bit of the seventh track, and then stopped again. The server was awake. Gizmo was active with the "Error communicating with server" message flashing. How could this happen? Note: Gizmo was set to download the first 10 tracks, but it was waking the HTPC well before that, during the second and subsequent tracks. I did think I had a bad track in the seventh track for a while, but it could be played individually on all Clients and the Server.
14. I rebooted both the HTPC and the phone, then repeated the test without touching either once I started playback, other than to wake the phone screen and check progress. All fourteen tracks played to the end. I did see some "Error communicating with server" messages, but not on all tracks, and not near the end of the Album. The HTPC MC Server just kept sleeping and waking as required. When the Album started to repeat I hit Stop, which took a while to actually stop playback even though the HTPC was awake, with errors showing on Gizmo, but it worked.
15. I repeated the test above using my Workstation as the MC Client (MC25.0.115) and the HTPC as the MC Server (MC25.0.98), using the same tracks as above, (Album "5" by J.J.Cale, mp3 files from 2:14 to 3:13).
Playback failed during the fourth track, with the HTPC not being woken to serve the remainder of the track.16. I updated the HTPC MC Server to MC25.0.115. For reference, in am runing Windows 10 Version 1903 Build 18362.535.
a. I repeated the test above using my Workstation as the MC Client (MC25.0.115) and the HTPC as the MC Server (MC25.0.115), using 16/44.1 FLAC files in the range of 2:50 to 3:00 mm:ss. The first test failed on the fourth track, with the HTPC not being woken.
b. I wasn't watching very closely, so I repeated that test. It took a while for the HTPC to go to sleep during the first track, and then it failed to wake the HTPC for the second track.
c. I repeated the test, watching closely this time, and it failed 9 seconds into the third track. The HTPC wasn't woken. Interestingly the bold highlight in Playing Now on the Client progressed to the fifth track, without actually playing anything. I guess the Client was trying to play following tracks after I clicked Ok on the "Something went wrong with playback" message? The third track was still the selected track though. When I clicked Play the HTPC was woken and the third track played, but only the third track. The HTPC wasn't woken to serve the fourth track, and the "Something went wrong with playback" message eventually popped up.
I think that is enough testing. There is definitely something wrong with power management when playing to a Client, be it another installation of MC, Gizmo, and possibly other Clients. The issue seems to be on the Server end.Matt, I didn't produce logs. If you think they would help I can do that later. But gtp600's logs didn't show anything significant as far as I could tell.