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
		
			
				
	
	
		
			19 lines
		
	
	
		
			397 B
		
	
	
	
		
			QML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			397 B
		
	
	
	
		
			QML
		
	
	
	
	
	
| // SPDX-License-Identifier: LGPL-3.0-or-later
 | |
| 
 | |
| import QtQuick 2.12
 | |
| import QtQuick.Layouts 1.12
 | |
| import QtAV 1.7
 | |
| import "../../.."
 | |
| import "../../../Base"
 | |
| import "../../../Base/MediaPlayer"
 | |
| 
 | |
| AudioPlayer {
 | |
|     id: audio
 | |
| 
 | |
|     HoverHandler {
 | |
|         onHoveredChanged:
 | |
|             eventDelegate.hoveredMediaTypeUrl =
 | |
|                 hovered ? [Utils.Media.Audio, audio.source, loader.title] : []
 | |
|     }
 | |
| }
 | 
