digimezzo / dopamine-windows

Audio player which tries to make organizing and listening to music as simple and pretty as possible.

Home Page:https://digimezzo.github.io/site/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modifying devices in WASAPI results in a queue reset

Tetrapak0 opened this issue · comments

I'm submitting a...


[ ] Regression 
[x] Bug report  
[ ] Feature request

I'm using these versions

  • Windows version: Windows 10 Pro 22H2, Build 19045.2673
  • Dopamine version: 2.0.9 (Release)

Reproduction steps

  • Step 1 Play a song and let Dopamine play the following few songs,
  • Step 2 Disconnect your headphones and pause playback,
  • Step 3 Attempt to resume playback.

Observed behavior

Modifying the device list in WASAPI in any way resets the queue. If you modify it while music is playing, pause the music and attempt to resume playback it will break. Same happens if playback was already paused.

Desired behavior

The playback should resume normally.

Log file

2023-04-01 11:54:52.153|Info|PlaybackService.PlaybackInterruptedHandler|1278|Track interrupted: C:\Users#####\OneDrive\Music\Helloween\2003 - Rabbit Don't Come Easy\13 Far Away (Bonus Track).mp3
2023-04-01 11:54:55.373|Info|PlaybackService.TryPlayAsync|1142|Playing the file C:\Users#####\OneDrive\Music\Helloween\1985 - Walls Of Jerico [Expanded Edition]\04 Victim Of Fate.mp3. EventMode=False, ExclusiveMode=False, LoopMode=None, Shuffle=True
2023-04-01 11:54:55.380|Error|ScrobblingService.PlaybackService_PlaybackSuccess|120|Could not update Now Playing for track 'HELLOWEEN - Victim Of Fate'. Exception: An error occurred while sending the request.
2023-04-01 11:54:57.897|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:54:58.722|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:54:58.897|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:54:59.195|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:54:59.964|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:55:00.503|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:55:00.835|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:55:01.049|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:55:01.228|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:55:01.381|Info|PlaybackService.PlayPreviousAsync|703|Request to play the previous track.
2023-04-01 11:55:01.878|Info|PlaybackService.TryPlayAsync|1142|Playing the file C:\Users#####\OneDrive\Music\Helloween\1985 - Walls Of Jerico [Expanded Edition]\04 Victim Of Fate.mp3. EventMode=False, ExclusiveMode=False, LoopMode=None, Shuffle=True
2023-04-01 11:55:01.878|Error|ScrobblingService.PlaybackService_PlaybackSuccess|120|Could not update Now Playing for track 'HELLOWEEN - Victim Of Fate'. Exception: An error occurred while sending the request.