Spicetify-stuff
Spicetify-stuff copied to clipboard
[Feature Request]: Ability to right click on song title to bring up the context menu for it.
Choose the extension for feature request.
Full Screen Mode
📝 Provide a description of the new feature
I think it'd be great to have the ability to right click on the song title or the album title since otherwise it is a bit annoying to add songs to playlists and whatnot.
➕ Additional Information
Example:
Yeah, would love to add this, always open for contributions via pull requests, if you have the knowledge and time!
Btw how did you create this image, is this just a concept design, or did you do some workaround to add it?
I just used a photo editor to paste the menu onto the the screenshot and put a white line under the text.
To implement this, first you need this component:
You can access it in V3 using:
const TrackMenu = S.webpack.exportedFunctions.find(f => f.toString().includes("canSwitchVisuals") && f.toString().includes("isSmartRecommendation"))
Then you need to wrap your title's component in a
<ContextMenu menu={<TrackMenu {...trackMenuProps} />} >
<YourComponentGoesHere />
</ContextMenu>
with trackMenuProps being:
const playerState = Platform.getPlayerAPI().getState()
const trackMenuProps = {
context: playerState.context,
item: playerState.item
}