INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Adding Windows shortcuts (lnk) files as Extras  (Read 630 times)

JohnCLee

  • Recent member
  • *
  • Posts: 7
Adding Windows shortcuts (lnk) files as Extras
« on: August 23, 2022, 11:08:26 am »

My Library has a large number of operas and other vocal works. I have cataloged librettos and texts in JRiver as documents, but often the same libretto will be relevant to multiple recordings. Rather than having to copy the libretto to each recording's Extra location, I would like to be able to place a Windows .lnk file in the Extras folder that would open the related libretto.
Is it possible to add this extension to items listed under Extras?
Thanks.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Adding Windows shortcuts (lnk) files as Extras
« Reply #1 on: August 23, 2022, 01:08:46 pm »

You can select all the recordings and just copy the tag once.
Logged

JohnCLee

  • Recent member
  • *
  • Posts: 7
Re: Adding Windows shortcuts (lnk) files as Extras
« Reply #2 on: August 24, 2022, 06:52:48 am »

I don't understand your response, JimH.  I have been trying to use "View Extras" to see content related to an album. Many of my albums have shared "Extras", but I don't want to copy the files into the Extras folder of every album.

It sounds like you're suggesting using a tag to accomplish this. Can you explain that a bit more for me?

Thanks.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7804
  • Autumn shade...
Re: Adding Windows shortcuts (lnk) files as Extras
« Reply #3 on: August 24, 2022, 07:01:38 am »

Shortcut (.lnk) files aren't actually real files, so that's very likely why they can't be added as extras. You'd unfortunately would likely have to add the actual file(s) into each location for them to get added.

Pretty sure the subject of using shortcut files in MC has come up before in the past.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

voodoo5_6k

  • World Citizen
  • ***
  • Posts: 184
Re: Adding Windows shortcuts (lnk) files as Extras
« Reply #4 on: August 24, 2022, 07:33:23 am »

You could try to use hard links/symbolic links on file system level. That way it "looks" like you have the file in several places, but it actually resides in only one place. However, as it "looks" like it is in several folders, it can be imported several times. MC (and any other application) will think it is a separate file, while in reality it is only existing once.

...\Folder 1\original file

...\Folder 2\hard link to original file

This above will be imported as two files, although there exists only one file (in Folder 1).
Logged
END OF LINE.

JohnCLee

  • Recent member
  • *
  • Posts: 7
Re: Adding Windows shortcuts (lnk) files as Extras
« Reply #5 on: August 24, 2022, 09:09:51 am »

Thank you, voodoo5_6k.  Hardlinks do exactly what I wanted. I found a UI tool to create the hardlinks very easily on Windows 11: LinkShellExtension (https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html#introduction). It works through the context menu of folders and files.

Note: Symbolic links did not work. They appeared OK in the View Extras list but clicking on the symbolic link would not launch the pdf file.

Thanks for your help.
Logged
Pages: [1]   Go Up