'An Unexpected Playback Error Occurred' Error Dialog if TV is Switched Off whilst Playing Music

Server Version#: 1.41.8.9834
Player Version#: 1.71.0.334

Hello all

I reported back in February that this Issue was Fixed by utilising an EDID Emulator, unfortunately, that solution is no longer working.

If the TV (LG 49SK8500PLA) or the AVR (Marantz NR1609) is Switched Off whilst Playing Music (M4a AAC), or when the Music is Paused, upon Switching On the AVR, or TV, I see an Error Dialog in Plex HTPC showing ‘An Unexpected Playback Error Occurred’.

I use Windows 11 which is all up to Date including Display and Network Drivers etc.

This Issue is really frustrating so any Help in resolving it would be appreciated.

Thanks in advance

Kevin

Hello @MovieFan

I have replicated this Issue and have attached the PlexHTPC Log.

Plex HTPC.log (381.4 KB)

Hopefully the Log will show something.

Thanks in advance

Kevin

Hello all

Well, I Think I have Fixed this Issue by utilising the MPV.conf File.

In the MPV Online Manual there is this Entry:

–audio-fallback-to-null=<yes|no>

If no audio device can be opened, behave as if --ao=null was given. This is useful in combination with --audio-device: instead of causing an error if the selected device does not exist, the client API user (or a Lua script) could let playback continue normally, and check the current-ao and audio-device-list properties to make high-level decisions about how to continue.

By Adding this to the MPV.conf File it seems to have solved the Issue:

audio-device=wasapi/{bd924dda-b45e-478c-a3ab-8e956a2e0c96}
audio-fallback-to-null=yes

I need to keep an eye on it but whilst I have been Testing it has been Working.

If this has Truly Fixed this Issue then this Option really needs to be Set as Default.

Thanks

Kevin

I forget but does htpc have the option for “exclusive audio”. I think it’s in desktop but want sure about htpc. That might be the cause of the app is taking over the audio.

Hello @MovieFan

Yes, it does have the Option for ‘Exclusive Audio’, however, this Option is always Turned Off.

Thanks

Kevin

Have you tried with it on? I’m not even sure what that option does but worth a shot.

Hello @MovieFan

The Option simply Stops any Device, other than Plex HTPC, from using the Audio Device.

It caused Issues when it was On which is why it is now Off.

The ‘Fix’ that I outlined above, utilising the MPV.conf seems to be Working.

Hopefully it continues to do so..

Thanks

Kevin

1 Like

I have always enabled this option as it stops other apps/devices interrupting the feed.

This is particularly important when you have an AVR in the mix and using passthrough.

Good to hear you have it working for you though.

Hello

Thanks for the Reply.

Everything with the Audio now seems to be Working fine, the Setting I Added to the MPV.conf File seems to be designed for this Issue so it is doing its Job.

The Next Issue I am trying to workout is:

PlexHTPC is unresponsive after Switching everything On in the Morning - Plex Players / Desktop Players - Plex Forum

Thanks

Kevin

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.