addMediaItemContextMenuEntry does not include the context menu item
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 8
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Description
The addMediaItemContextMenuEntry function doesn't seem to actually provide any useful information in it's onClick function. The label of the context item is provided, but any sort of ID or track/album/artist information is not.
The goal
Hopefully this isn't a misunderstanding of the documentation. I'm trying to add a context menu entry for a plugin where I can right click on an album, for example, I redirect to a new page, and utilize that right clicked song to populate the initial plugin data.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the addMediaItemContextMenuEntry entry point and the documentation referenced in the report, then trace the onClick callback contract. Done means a plugin can identify the right-clicked album, track, or artist from the callback and use it to populate its initial page data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100