Skip to content

fix(webpack): update playlist menu needle for Spotify 1.2.99+ - #9

Open
Mralimoh wants to merge 1 commit into
spicetify:mainfrom
Mralimoh:main
Open

fix(webpack): update playlist menu needle for Spotify 1.2.99+#9
Mralimoh wants to merge 1 commit into
spicetify:mainfrom
Mralimoh:main

Conversation

@Mralimoh

@Mralimoh Mralimoh commented Sep 6, 2026

Copy link
Copy Markdown

Summary

Fixes the [stdlib] webpack needle miss: value:"playlist" + canView + permissions warning on Spotify 1.2.99+ builds and restores Menus.Playlist.

Context & Root Cause

In Spotify 1.2.99.317 (and newer):

  1. value:"playlist" no longer exists as an inline string literal in any module factory; the playlist type enum was hoisted into a shared enum module (module 4464) and is accessed via member reference (type: rz.c.PLAYLIST).
  2. The view-model mapper (module 84828) produces canView and canPin, whereas permissions is consumed downstream in module 3046. The old triple co-occurrence is broken.

Fix

Replaced the dead needle predicate with a regex anchoring on stable, unmangled adjacent capability properties (canPin + canView) which uniquely identifies the playlist mapper module (84828).

Updated the needle for playlist menu module ID to match Spotify 1.2.99 capabilities.
@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 50ed50d7-aaae-41b6-b05a-20849a2adb69


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant