Indexing symlinks

Quicker and broader support forum. Requires payment prior to posting.
Forum rules
You have to buy access to post at this forum. Click here: http://www.kplaylist.net/buysupport.php

Indexing symlinks

Postby kirax2 » Thu Jan 08, 2009 5:07 pm

Hi, I was wondering if it might be possible to modify the source code so that symlinked folders would be indexed in the database. Symlinked files would be nice, too, but mainly I'd like to be able to access symlinked folders from a search. Is it possible?

Thanks,
-kirax2
kirax2
 
Posts: 47
Joined: Tue Apr 01, 2008 1:42 am

Re: Indexing symlinks

Postby aba » Fri Jan 09, 2009 11:49 am

kirax2 wrote:Hi, I was wondering if it might be possible to modify the source code so that symlinked folders would be indexed in the database. Symlinked files would be nice, too, but mainly I'd like to be able to access symlinked folders from a search. Is it possible?


It might be possible, but the search database is made only for music. There is a check for following symlinks when running
the update, then it only follows them and indexes and what it finds on the linked folder. What would be possible, is
to add an additional entry for the symlink name itself, but that would require a few changes.. Might be easier
to just change the name of the destination folder ? Just to check: kP indexes the music on your linked folders
today, right?
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Re: Indexing symlinks

Postby kirax2 » Fri Jan 09, 2009 5:15 pm

kPlaylist finds all symlinked folders and lists them in the main window. However, when I do a search for a symlink name, it won't show up unless I've just accessed that symlinked folder.

What I'm trying to do with kPlaylist is create a server that will allow me to access my very large collection of Japanese karaoke music anywhere, such that I can use it as a resource when I go to a party, for example. I wanted to have all the songs cross referenced, such that if someone searched for the English title of a series, they could still find it.

Sometimes a series might be known by several names. For example, I have a folder called "Hagane no Renkinjutsushi" which contains all the karaoke songs I have from that series. However, the series is also known by fans as "Fullmetal Alchemist", and sometimes by nicknames such as "FMA", "Hagaren", etc. I've never found a mp3 database software that could account for these multiple names, but kPlaylist, with its symlink support, has come the closest.

I've upload the original folder to my server and then symlinked folders with alternate names to the original. The original folder and the symlinked folders all appear in kplaylist, but it would be nice if they could be searchable as well, so that someone could find the same songs by searching for "Alchemist" or "FMA" as they could for "Renkinjutsushi". I don't mind if my database gets huge, but I'd rather not have multiple copies of the same song on my server, if possible.

Perhaps, when following symlinks, an entry could be created with a separate filepath? I know this is asking for a lot, and I understand that it may not be possible, but I figured that it couldn't hurt to ask. :oops:
kirax2
 
Posts: 47
Joined: Tue Apr 01, 2008 1:42 am

Re: Indexing symlinks

Postby aba » Sun Jan 11, 2009 6:29 pm

kirax2 wrote:Perhaps, when following symlinks, an entry could be created with a separate filepath? I know this is asking for a lot, and I understand that it may not be possible, but I figured that it couldn't hurt to ask. :oops:


It's a good idea, I am thinking about a easy way to add this support without breaking existing code. You only thing
is that you want to be able to search the name of the symlink in addition to the rest. Let me think about
it some more. Maybe it's even better to add some support for alternating names, like some kind of aliases one
could write in manually?
aba
Site Admin
 
Posts: 2325
Joined: Wed May 08, 2002 9:19 am

Re: Indexing symlinks

Postby kirax2 » Mon Jan 12, 2009 4:34 pm

It's a good idea, I am thinking about a easy way to add this support without breaking existing code. You only thing
is that you want to be able to search the name of the symlink in addition to the rest. Let me think about
it some more. Maybe it's even better to add some support for alternating names, like some kind of aliases one
could write in manually?


That could be a good idea too, or maybe a "TAG" field that would let you add other words you could search for a song with, like some blogs have nowadays. I could see that being useful for people for whom the "genre" tag is too narrow. The one thing I like about the symlinks is that they show up in the main list.

Thank you for giving this some serious thought. ^_^ I will be going out of town in a few days and I won't be near an internet connection, but I should be back next week, so any more replies might be delayed. :)
kirax2
 
Posts: 47
Joined: Tue Apr 01, 2008 1:42 am

Re: Indexing symlinks

Postby kirax2 » Thu May 03, 2012 10:01 pm

Is kPlaylist still under development? I know it's been a few years since I last posted here, but I was wondering if you'd ever looked into the indexing by symlinks issue. I've still never found any other mp3 indexing software that can handle multiple names, and if kPlaylist could handle searching and displaying both symlinks as well as the 'true' files, it would be perfect for what I need. Thanks very much for your time.
kirax2
 
Posts: 47
Joined: Tue Apr 01, 2008 1:42 am


Return to Express support



cron