youtube icon indicating copy to clipboard operation
youtube copied to clipboard

🐞reverse playlist

Open IAmBadAtNamesReally opened this issue 7 months ago • 6 comments

Concise Description

When using the reverse playlist feature, when the next video plays the playlist goes back to the created order.

Browser/s

Firefox

Other Browser:

No response

'Steps to reproduce' - Which of our features is required for the bug to happen?

Reverse playlist, repeat playlist, Hide banner ads, Video ads off (block or skip)

Since when?

I just started using your add-on on the 28th of april 2026

Does the bug still happen when you log out of YouTube?

Yes

..No? Then please paste your yt.config_.EXPERIMENT_FLAGS. Twice (With the error & Without)

No response

Are any errors or related log-messages shown in the Browser-Console? (F12)

No

Tested as the only active extension? (incognito mode or another browser users):

None

Expected preferred behavior:

That the playlist stays reversed

ImprovedTube Version

No response

Your Settings (From the Extension's ⋮-Hamburger menu > Settings > Backup & reset > Export settings)

{"ads":"block_all","below_player_pip":false,"hide_banner_ads":true,"lastDarkTheme":"dark","playlist_autoplay":true,"playlist_repeat":true,"playlist_reverse":true,"playlist_reversed_active":true,"theme":"dark"}

Your YouTube-Document

I tried, it says it's too long

OS / Device:

Windows 10

IAmBadAtNamesReally avatar Apr 29 '26 09:04 IAmBadAtNamesReally

Hi, I’d like to work on this issue.

From the description, it seems that the reverse playlist state is not being preserved when the next video loads, possibly due to the playlist being reinitialized without applying the reversed order again.

I plan to investigate where the playlist order is reset and ensure the reversed state ("playlist_reversed_active") is consistently applied after navigation.

Please let me know if I can proceed with this. 🙂

Tanayqq avatar Apr 29 '26 09:04 Tanayqq

Sounds good 😊

On Wed, 29 Apr 2026, 11.48 Lab pgm, @.***> wrote:

Tanayqq left a comment (code-charity/youtube#3818) https://github.com/code-charity/youtube/issues/3818#issuecomment-4342575591

Hi, I’d like to work on this issue.

From the description, it seems that the reverse playlist state is not being preserved when the next video loads, possibly due to the playlist being reinitialized without applying the reversed order again.

I plan to investigate where the playlist order is reset and ensure the reversed state ("playlist_reversed_active") is consistently applied after navigation.

Please let me know if I can proceed with this. 🙂

— Reply to this email directly, view it on GitHub https://github.com/code-charity/youtube/issues/3818#issuecomment-4342575591, or unsubscribe https://github.com/notifications/unsubscribe-auth/CC2RG46HZ57P6RHW2PRMORD4YHFX5AVCNFSM6AAAAACYKPNQ62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNBSGU3TKNJZGE . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

IAmBadAtNamesReally avatar Apr 29 '26 09:04 IAmBadAtNamesReally

"Hi, I've submitted a PR to fix this issue. You can review it here: https://github.com/code-charity/youtube/pull/3825"

Tanayqq avatar May 01 '26 09:05 Tanayqq

Awesome, thank you!

Can you please help me implement it? I copied the whole script and put it into the developer options (Javascript), that changed nothing. So I'm not really sure how I get it implemented

Den fre. 1. maj 2026 kl. 11.57 skrev Lab pgm @.***>:

Tanayqq left a comment (code-charity/youtube#3818) https://github.com/code-charity/youtube/issues/3818#issuecomment-4358791669

"Hi, I've submitted a PR to fix this issue. You can review it here: #3825 https://github.com/code-charity/youtube/pull/3825"

— Reply to this email directly, view it on GitHub https://github.com/code-charity/youtube/issues/3818#issuecomment-4358791669, or unsubscribe https://github.com/notifications/unsubscribe-auth/CC2RG44XWPV5LNPSFJMDHBD4YRYH3AVCNFSM6AAAAACYKPNQ62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DGNJYG44TCNRWHE . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

IAmBadAtNamesReally avatar May 01 '26 12:05 IAmBadAtNamesReally

Hi! Thanks for testing it. The fix isn't meant to be pasted into the browser console — it's a patch to the extension's source code itself. To test it properly, you'd need to:

Download/clone the repo locally Load it as an unpacked extension in Chrome (chrome://extensions → Enable Developer Mode → Load unpacked) The fix will then work automatically when playlist_reverse is enabled

The maintainers will need to review and merge the PR first before it appears in the official extension release. Once merged, it will be available in the next update!

Tanayqq avatar May 01 '26 14:05 Tanayqq

Looks like this was just fixed with closure of #1836 and put into the release built 4 days ago

Hyperspeed1313 avatar Jun 03 '26 02:06 Hyperspeed1313