Real "copy URL" & "copy path" context menu entries

Replace the poorly implemented 2-in-1 "copy address" media event
menu option with:

- Copy <mediaType> address: visible for non-encrypted media, always
  copies the http URL

- Copy local path: always visible for already downloaded media, even if
  they were downloaded before mirage was started
This commit is contained in:
miruka
2020-07-20 00:22:12 -04:00
parent 37579fc664
commit 30ce271ebc
9 changed files with 88 additions and 43 deletions

View File

@@ -13,6 +13,6 @@ AudioPlayer {
HoverHandler {
onHoveredChanged:
eventDelegate.hoveredMediaTypeUrl =
hovered ? [Utils.Media.Audio, audio.source] : []
hovered ? [Utils.Media.Audio, audio.source, loader.title] : []
}
}