youtube icon indicating copy to clipboard operation
youtube copied to clipboard

Reverse playlist button no longer functioning. - Remedy: Add Shortkey (& extra position?)

Open somecalvin opened this issue 3 years ago • 20 comments

Bug Report:

⚬ BUG: Reverse playlist button no longer functioning Previously worked about a month ago. Have tried main extension as well as beta version.

⚬ HOW: Reverse playlist button no longer functioning

⚬ EXPECTED (/preferred) behavior: Dual arrow icon should appear on playlist

Setup:

⚬ ImprovedTube Version: 4.0.17 ⚬ Browser: Chrome Version 109.0.5414.75 ⚬ Settings: improvedtube.txt ⚬ OS: Windows 11 ⚬ Device: PC

somecalvin avatar Jan 20 '23 05:01 somecalvin

Confirmed, this is broken for me as well @ImprovedTube , I can take this up.

dojoVader avatar Jan 20 '23 16:01 dojoVader

im still haivng this issue. for a while it came back but now its been gone again

Bamadeus avatar Mar 14 '23 17:03 Bamadeus

No reverse for me either. I'm on Firefox. Loop and Shuffle buttons do show.

TiagoTiago avatar Mar 21 '23 21:03 TiagoTiago

thanks @Bamadeus was gone back since when exactly if you remember? did youtube change back and forth in any other way at the same time?

It's been happening for 2 weeks now. I noticed no other issues during this time frame, except for s few days where it was stuck on light modes despite being in dark mode.

Bamadeus avatar Mar 22 '23 06:03 Bamadeus

I can confirm there's no reverse button for me either. Tested on both Chrome and Edge.

eUnisk avatar Apr 02 '23 14:04 eUnisk

I don't use this feature, but I just tried to enable the Reverse playlist option and it doesn't show any button. I'm logged into YouTube with my account. I signed out and it then shows up+works. I'm using the most updated version.

edit: I have another YouTube account and the button still shows on there on both its own playlists and when viewing other playlists. On my main account (the one with no button), the button doesn't show for my own or other people's playlists.

SingularityRS avatar Apr 04 '23 01:04 SingularityRS

Thank you

On Thursday, April 6, 2023, ImprovedTube @.***> wrote:

@SingularityRS https://github.com/SingularityRS great info

can you copy paste Youtube's sidebar from the DOM (F12 Browser console) where it doesnt work? (+ errors (if any are shown)

and/or paste the whole DOM, so that we can also look for more changes.

— Reply to this email directly, view it on GitHub https://github.com/code-charity/youtube/issues/1544#issuecomment-1498008593, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZIQEUXYEXXAPVA3XLTGRILW7XB4DANCNFSM6AAAAAAUBEKMPI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

suparnaghosh934 avatar Apr 05 '23 19:04 suparnaghosh934

Am I just meant to inspect element on the sidebar and then just look on the "Console" tab for any shown errors? I highlighted all the error messages and then saved it to a text document. It looks quite messy though. Not sure if there's an easier way to share the errors. There's a load of "ERR_BLOCKED_BY_CLIENT" errors. I only see a few errors that reference ImprovedTube.

www.youtube.com-1680746694984.log is the text file that was created showing the errors in the "Console" section.

SingularityRS avatar Apr 06 '23 02:04 SingularityRS

So I think I did the inspecting right.

I tested the working account first with the reverse button showing and copied the full xpath, I got the same as yours: /html/body/ytd-app/div[1]/ytd-page-manager/ytd-watch-flexy/div[5]/div[1]/div/div[2]/ytd-playlist-panel-renderer/div/div[1]/div/div[2]/div[1]/div[1]/ytd-menu-renderer/div[1]/ytd-playlist-loop-button-renderer/div/ytd-button-renderer/yt-button-shape/button/yt-touch-feedback-shape/div/div[2]

Tried the same on my main account that doesn't get the button and it gives /html/body/ytd-app/div[1]/ytd-page-manager/ytd-watch-flexy/div[5]/div[1]/div/div[2]/ytd-playlist-panel-renderer/div/div[1]/div/div[2]/div[1]/div[1]/ytd-menu-renderer/div[1]/ytd-playlist-loop-button-renderer/div/ytd-button-renderer/yt-button-shape/button/yt-touch-feedback-shape/div/div[2]

They seem to be the same.

SingularityRS avatar Apr 07 '23 23:04 SingularityRS

Issue still persists on the latest version. I did the ctrl+F on the Chrome dev console, made sure to click in the area on the "Elements" tab and did the search. There doesn't seem to be any differences. On both accounts, the number of times the loop and toggle button renderer are mentioned is exactly the same.

This seems like some sort of block on YouTube's side since it's only happening when logged in to certain accounts.

SingularityRS avatar Apr 08 '23 05:04 SingularityRS

Looks like the button is back again on my main account. I didn't do anything to bring it back. Must've been some YouTube problem.

SingularityRS avatar Apr 22 '23 07:04 SingularityRS

Looks like it's working for me

TiagoTiago avatar Apr 25 '23 01:04 TiagoTiago

hi @SingularityRS !! Yay yay, but you're sure the "fix above wasn't it? You're making me link all the guys from the thread again @somecalvin @Bamadeus @eUnisk @suparnaghosh934 @TiagoTiago (I mean what choice do i have? "too important tasks, too little time)

I'm sure since I checked after updating. The button wasn't there on my main account (still was on the unaffected account). After that, I just left the "Reverse playlist" option switched on and stopped looking. I only noticed it yesterday when I just happened to look and saw the button was there. I'm not sure exactly when it returned (could've been before yesterday).

EDIT: just to be sure, I added an older version of ImprovedTube, before the fix was implemented, and the button now shows when enabled. So the issue must've been with YouTube and they've now done something to fix it.

SingularityRS avatar Apr 25 '23 08:04 SingularityRS

Seems like it's gone again on my main account. Still shows on the unaffected account as always. Not sure when it went away, but it's not because of anything with the extension because I haven't updated it (still using the version I downloaded a while ago). I guess this feature will just keep going on a cycle of breaking and working on certain accounts.

SingularityRS avatar May 14 '23 10:05 SingularityRS

I have the same issue, I tested with the current stable and beta version.
Activated the reverse option on both (other version was disabled), but no button visible. (Browser is current stable version of Chrome [114.0.5735.133] on Windows 10 [22H2].) Any ideas how to fix/test this case?

duracell avatar Jun 15 '23 19:06 duracell

Noticed that this just started for me a few days ago.

{"action":"storage-loaded","storage":{"always_show_progress_bar":true,"below_player_pip":false,"below_player_screenshot":false,"bluelight":30,"dim":0,"forced_theater_mode":true,"hide_gradient_bottom":true,"hide_playlist":false,"player_autofullscreen":false,"player_hd_thumbnail":true,"player_hide_skip_overlay":true,"player_size":"do_not_change","player_transparent_background":true,"playlist_repeat":false,"playlist_reverse":true,"playlist_shuffle":false,"theme":"dark","theme_primary_color":[200,200,200],"theme_text_color":[25,25,25],"thumbnails_quality":"hqdefault"}}

.fk9XWG_reverseBtn{text-align:center;cursor:pointer;width:40px;height:40px;font-size:16px;font-weight:700;line-height:40px;display:inline-block;padding:0!important}.fk9XWG_reverseBtn:hover{background-color:#0000001a;border-radius:50%}.fk9XWG_reverseBtn.fk9XWG_darkThemeBtn{color:#fff}.fk9XWG_reverseBtn.fk9XWG_darkThemeBtn:hover{background-color:#fff3}.fk9XWG_popContent{color:#8bc34a;width:360px;padding:4px;font-size:18px}.fk9XWG_popContentTitle{color:#4caf50}.fk9XWG_popContent div{margin:0 0 8px}

keebster avatar Oct 14 '23 23:10 keebster

Not sure when my Reverse Playlist disappeared, maybe a couple of weeks to a month ago. But just up and no longer present. Using the latest version as of today 10/31 (uninstalled and reinstalled several times). I think my chrome browser is up to date. I haz a sad, that is the only thing I use the extension for. Am I missing something? Should I go back and install an older version (which I'm not sure I know how to do).

Thanks! (And thanks for all your hard work, community, I so wish I could help!)

TooFyrii avatar Oct 31 '23 23:10 TooFyrii

I also have the problem that the reverse function is not showing up.. i need that function to watch the creepypasta playlist.. i really hope this gets fixed soon.. i really like having something playing in the background while playing tedious games... ( i am watching youtube on chrome browser on windows 10)

jesper987654 avatar Nov 04 '23 11:11 jesper987654

Hi @ImprovedTube ,

i fixed in my local by taking release code and change the code from

                        node.parentComponent &&
			node.parentComponent.nodeName === 'YTD-MENU-RENDERER' &&
			node.parentComponent.parentComponent &&
			node.parentComponent.parentComponent.nodeName === 'YTD-PLAYLIST-PANEL-RENDERER'

to

                        node.closest("YTD-MENU-RENDERER") &&
			node.closest("YTD-PLAYLIST-PANEL-RENDERER")

it is working with above change Screenshot 2023-11-05 203502

chasevis avatar Nov 05 '23 15:11 chasevis

  • TYVM! @chasevis this might not be final / efficient? - considering our mutation observer can run many times. - Yet we can CPUly afford to make code more universal - and failproof predicting some of the ways Youtube might still change.
  • publishing a new version to the stores
  • Wish the many people who votes us down for this would come back and revise their 1 star.

@ImprovedTube can we make a flag for reverse icon and once the reverse icon is enabled we can stop going into if condition.

chasevis avatar Nov 07 '23 06:11 chasevis