2006-08-09: julien cubizolles dixit:
> Le mardi 08 août 2006 à 23:57 +0200, EV a écrit :
> [...]
> Today : mounted with
> lkarmafs -G -E ' ' '_' -A  /mnt/karma1/ ~/karma
> [...]
> > Ah!  I see now another possibility:  the scripts don't expect
> > you to go to the mnt/tune[/<genre>]/<artist>/<source>/ dir an
> > then delete the file there; for the moment, they expect the
> > full path under the mointpoint (I think this is easy to fix,
> > though...).
> 
> I tried that too, still no luck
> 
> [EMAIL PROTECTED]:~/karma$ rmTune
> tune/The_Vines/Highly_Evolved/Mary_Jane.ogg
> deleting tune/The_Vines/Highly_Evolved/Mary_Jane.ogg ...
> rm: ne peut enlever `tune/taxi/tmpLkfsUpldToDelete.7308': est un
> répertoire

As I said, the scripts expect you to also include the mountpoint 
in the path.  Moreover, I see that rmTune will fail unless you 
run it from the directory where the mountpoint is a subdir and 
you specify the path strictly as: 

  <mountpoint>/tune[/<genre>]/<artist>/<source>/<title.codec>

(I think rmOggMp3 is less srtict in this matter...)
 
> Same things happen with rmOggMp3s

For the moment, you have to include the mountpoint in the path
too.  I'll try to make these scripts more robust and flexible as
time permits.

Also, if people thinks it is interesting, I can easyly enable
direct deletting of tune files in lkarmafs.  I didn't do it
before as I was considering the mnt/tune/ hierarchy as
essentially read-only.  Of course the -T option (and changing
extended attributes) brakes this assumption to some extent.  
But, essentially, your collection is still safe from accidental
deletes, etc.

I wait for people comments about this issue.

> * I also tried uploadOGGtoLkfs 
> It segfaults with french locales : [...] not with C locales

There is a tricky problem when using the ogginfo command:  its
output messages are written in the language $LANG.  So we need to
set LANG=C (English) to be able to parse the output consistently
across languages.  However, we also need $LANG to be the locale
one in order to get correct accents and tildes for artist, title
etc.  So the script handles both (C and locale) outputs in an
attempt to solve both problems correctly.  So far it seems to
work in various languages (Spanish, English, German).  If you
find a solution for French, please send me the patch.

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