ShareLinks: only inject the ShareLink button into real item action sheets

The fallback injector matched almost any dialog with a couple of buttons,
so the button leaked into the Edit images and Add to collection dialogs
(both opened from the item menu). Restrict it to genuine action sheets
(.actionSheet / [role=menu]) whose entries are .actionSheetMenuItem and
include a recognizable item command, which also excludes audio/subtitle/
quality pickers. The primary path (next to Copy Stream URL) is unchanged.
Cette révision appartient à :
Franciskid
2026-07-07 22:15:26 +02:00
Parent 3c19c63d8c
révision 2f3c4a8213
2 fichiers modifiés avec 31 ajouts et 12 suppressions
+2 -2
Voir le fichier
@@ -13,8 +13,8 @@
"changelog": "ShareLink button on the item menu, temporary guest users confined by tag policy, expiring links with a date/time picker, admin dashboard with revoke, and a configurable guest lockdown that hides tag/genre/studio/cast links, the add-to-playlist and add-to-collection actions, and other plugins' UI. The creation popup is localized in English and French.",
"targetAbi": "10.11.0.0",
"sourceUrl": "https://github.com/Franciskid/jellyfin-plugin-sharelinks/releases/download/v1.0.0.0/sharelinks_1.0.0.0.zip",
"checksum": "cf29acab1bb5c77ae5a5b8f96891c8a3",
"timestamp": "2026-07-07T21:30:00Z"
"checksum": "60e24bb267eb7df7bdd144c0c598ab1e",
"timestamp": "2026-07-07T21:45:00Z"
}
]
}