[Bug]: Crossfade, Volume fader does not properly handle switching between songs #1971

Open
opened 2024-04-13 19:56:18 +00:00 by Scream034 · 8 comments
Scream034 commented 2024-04-13 19:56:18 +00:00 (Migrated from github.com)

Preflight Checklist

  • I use the latest version of YouTube Music (Application).
  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.3.6

Checklists

What operating system are you using?

Windows

Operating System Version

Windows 11 Pro 22H2 x64

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. Enable the CrossFade plugin.
  2. Start playing a song (song 1).
  3. While the fade is in progress, switch to a different song (song 2).
  4. Go back to any song (song 1).
  5. You can't hear any song until you update the volume slider.

Expected Behavior

To hear the songs next.

Actual Behavior

I can't hear the song.

Enabled plugins

  • Crossfade

Additional Information

No response

Edit: I fix mistakes

### Preflight Checklist - [X] I use the latest version of YouTube Music (Application). - [X] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) for a bug report that matches the one I want to file, without success. - [X] I understand that **th-ch/youtube-music has NO affiliation with Google or YouTube** ### YouTube Music (Application) Version 3.3.6 ### Checklists - [X] I use the portable version of the YouTube Music Application. - [ ] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Windows ### Operating System Version Windows 11 Pro 22H2 x64 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version _No response_ ### Reproduction steps 1. Enable the CrossFade plugin. 2. Start playing a song (song 1). 3. While the fade is in progress, switch to a different song (song 2). 4. Go back to any song (song 1). 5. **You can't hear any song until you update the volume slider**. ### Expected Behavior To hear the songs next. ### Actual Behavior I can't hear the song. ### Enabled plugins - Crossfade ### Additional Information _No response_ Edit: I fix mistakes
InInfinitumEtInTenebris commented 2024-06-12 01:17:26 +00:00 (Migrated from github.com)

Thanks for adding this bug report. I was highly confused as to why my music was not producing audio until I came across this report. I had initially thought it was some error with the adblock, considering Youtube's recent skipping of videos while adblock is on through browser.

Thanks for adding this bug report. I was highly confused as to why my music was not producing audio until I came across this report. I had initially thought it was some error with the adblock, considering Youtube's recent skipping of videos while adblock is on through browser.
successtheman commented 2024-07-06 20:26:03 +00:00 (Migrated from github.com)

it also seems to have issues when you go forward in a track or backwards before the song ends and then the volume issue also occurs

it also seems to have issues when you go forward in a track or backwards before the song ends and then the volume issue also occurs
dingerr commented 2024-10-22 12:14:16 +00:00 (Migrated from github.com)

I am having the same issue / issues. Thanks for posting this, please fix this asap..
Also what specific settings do you use for crossfade plugin that work and most consistent for you?
thanks and hope to hear back from yall soon!

I am having the same issue / issues. Thanks for posting this, please fix this asap.. Also what specific settings do you use for crossfade plugin that work and most consistent for you? thanks and hope to hear back from yall soon!
dingerr commented 2024-11-05 07:00:22 +00:00 (Migrated from github.com)

not sure about you guys but this is still happening to me constantly.. it's incredibly annoying.. .

not sure about you guys but this is still happening to me constantly.. it's incredibly annoying.. .
Owner

I suspect the code that checks if the current video/song has changed is buggy

https://github.com/th-ch/youtube-music/blob/master/src%2Fplugins%2Fcrossfade%2Findex.ts#L202-L224

I suspect the code that checks if the current video/song has changed is buggy https://github.com/th-ch/youtube-music/blob/master/src%2Fplugins%2Fcrossfade%2Findex.ts#L202-L224
Owner

Will investigate later this day.

Will investigate later this day.
Anokino commented 2025-01-12 04:39:52 +00:00 (Migrated from github.com)

Any news on this ? Still happening on 3.7.1

Any news on this ? Still happening on 3.7.1
successtheman commented 2025-02-16 17:36:34 +00:00 (Migrated from github.com)

Any news on this ? Still happening on 3.7.1

Can confirm that it's still occurring for me here as well

> Any news on this ? Still happening on 3.7.1 Can confirm that it's still occurring for me here as well
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#1971
No description provided.