Ticket #211 (closed Defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Symlinks for video files do not appear to work correctly

Reported by: wgotten@… Owned by:
Priority: normal Milestone:
Component: Other Version: 1.0b6.3
Keywords: Cc:

Description

I have several networked Macs in my house, connected to a central iTunes music folder, which is auto-organized by iTunes. I want to maintain this, but I also do not want to follow the Sapphire TV show naming conventions and XML overrides in this folder, as it would eventually cause chaos.

So I created a separate folder and put symlinks (tried aliases first but didn't work) into this new folder. In the new folder, I correctly name the files in accordance with the Sapphire conventions. However, Sapphire appears to process the name of the original file (as is in my original iTunes folder) rather than the conventionally correct name of the symlink in the new folder. Is this the way it is supposed to work, or is it a bug? Thanks in advance

Change History

comment:1 follow-up: ↓ 2 Changed 6 years ago by gbooker

Hmm.... Currently it uses the original name by the nature of how symlinks are handled. In many ways this is how it is supposed to work, but the real question is should that design principle be changed. The case where I have seen symlinks used most is to include a file from a directory that is normally not scanned, in which case it is preferred for the name to be preserved.

P.S. Alias do not work because they are a holdover to the OS 9 days and not unix standard. They are really something that Apple should abolish and switch Finder and the like to using symlinks. Alternatively, they could have the unix backend see aliases as symlinks, but they likely have a very good reason why they don't.

comment:2 in reply to: ↑ 1 Changed 6 years ago by wgotten@…

gbooker, thanks for the reply. if it's possible to use the symlink name rather than the original name (i don't know enough to say), i would use this feature in order to clean up my ipod video listings. although i see that i can use an episode title as a remark in the filename, i would find it more convenient, i think, to use just the "cleaner" (?) episode title in itunes rather than having to rename it in accordance with the sapphire convention. as you suggested, i'm doing this because i don't want all of my itunes videos to show up in Sapphire. In the end, i can make it work either way - at least now i know how i would have to do it.

comment:3 Changed 6 years ago by gbooker

  • Status changed from new to closed
  • Resolution set to fixed

(In [730]) Use the path information of a symlink instead of the file it pointed to in importers Fixes #211

Note: See TracTickets for help on using tickets.