Lestrad wrote: > Yes, converting the path string and launching a program with the path as > argument is doable with VBS. In fact, I can do it in Foobar and MP3Tag, > because with both you can click on any file and get and process the > path. But to do it from LMS a right-click menu would have to be > available, and as I understand things HTML doesn't allow that.
I think it's a little more complicated than that. Part of the problem is that what LMS displays as the file's location is not the same as the URL that is activated when you click on the file. In the image below, the red "1" marks the displayed location. This is the path to the file on the system running LMS. The red "2" shows the link your browser will use if you click on the location text. As you can see, it addresses a virtual location created by LMS and has no relation to the actual path to the file. So even if you right-click on the link and select "Copy link address" (or whatever the equivalent might be in the browser you use), you still will not have a path that you can use. 32049 However, if you click and drag to select the location text at "1", you should then be able to copy the actual address to the clipboard. (Right click, "copy"; or CTRL-C.) As has been suggested, it should be possible to set up a clipboard manager, such as CopyQ, to monitor clipboard activity. In my case, I would want to check anything copied to the clipboard to see if it begins with "Location: /home/robbh/Music_collection/". If so, it would then hand it off to a script that would handle converting the path. Does this make sense? I don't know if I've explained it well enough. Selecting text is not nearly as easy as a simple right click, so I don't know if this would serve your purpose. +-------------------------------------------------------------------+ |Filename: lms_url4.png | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=32049| +-------------------------------------------------------------------+ LMS 8 nightly; 3 Squeezelite players connected by powerline ethernet; 5 wireless players connected via Airplay Bridge; 1 SqueezeAmp player no high-end or esoteric audio gear 1 Squeezebox Radio (upgraded UE Smart Radio) now mostly retired ------------------------------------------------------------------------ RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=113145 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
