2006-08-17: Frank Zschockelt dixit:
> > > * Keith Bennett <[EMAIL PROTECTED]> [060816 18:04]:
> > > > It is only in the filesystem where it becomes an issue.
> > > > In fact, lkarmafs is already slightly broken in this area
> > > > since it only lists the first entry if there is more than
> > > > one file with the same name. [...]
> > > 
> > > Uhm... What's with an virtual fs like fdb? ;]
> > 
> > I don't understand your point. What I meant was that the
> > karma is happy to display more than one tune with the same
> > name whereas in a well-behaved filesystem, all filenames must
> > be unique. This means that lkarmafs is forced to make some
> > kind of compromise in such instances.
> 
> Yeah. But if we create a virtual filesystem properly, this
> wouldn't be the case, since every path should be unique. Well,
> maybe that's like using a steamroller to crack a nut... ;]

I agree with Franky that fdb would be a very good solution, but
we don't have the fdb support fully in place (in fact, it was
completely removed a few versions ago ;) and, moreover, it would
require a lot of changes in lkarmafs (may be even a different
program altogether).

On the other hand, I think this is completely unrelated with the
duplicate path problem.  Dup. paths can be solved in a number of
ways, perhaps the simplest one being to number the different 
instances of the same pathname.

There are two disjoint issues:  one is how to display the RK
tunes and the other is how to upload them.  Lkarmafs gives a more
or less adequate solution for display (I'll try to do something
about repated paths in the next release).

But the upload issue still needs some thinking.  The next release
will keep the -T method, where you name the RK path componnents
yourself with independance of the tune tag contents; e.g.:

  cp ~/music/A/B/uvw.ogg mnt/tune/X/Y/Z/BlaBla.ogg

But I think the other approach is also vaery useful; i.e., copy
to some generic directory and let the path be automagically
defined from the tune tags.  E.g., if the uvw.ogg tags are Rock,
Clapton, Unplugged, Signe and ogg, just type:

  cp ~/music/A/B/uvw.ogg mnt/tune/

to get:

  mnt/tune/Rock/Clapton/Unplugged/Signe.ogg

This method would allow simple bulk uploads such as:

  cp ~/*/A*/*/*.{oog,mp3} /allMusic/Jazz/Ella/*/* mnt/tune/

or much more sophisticated things, e.g., using find.

This would provide even more flexibility (and almost the same
performance) as with riocp with the added value that you get
immediate filesystem view of the uploaded tunes.

(More) comments?

Best,
EV.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to