[Thunar-dev] thunar-media-rename-plugin

Jannis Pohlmann info at sten-net.de
Wed Apr 5 14:09:48 CEST 2006


On Wed, 5 Apr 2006 13:49:34 +0200
samuel verstraete <samuel.verstraete at gmail.com> wrote:

> Hi,
> Jannis and Benny  this one is for you :)
> of course we like thunar and the plugin... but some nice enhancements
> you could adopt if you like:
> 1. recursive renaming (but this is prolly something that needs to be
> implemented in thunar)

First of all, you can already add as many files as you like to the
bulk renamer, either by using the context menu or by calling thunar -B
and add files you want.

One possibility to open the renamer with recursively scanned directory

   thunar -B $(find ~/Arbeit/XML-Libraries/libparsifal-0.9.9/**/*.*)

> 2. directory renaming (i moaned about this before to you but this is
> just so you don't forget it :P ) (this prolly goes for a part together
> with nr1 and so it's most likely something thunar should adopt instead
> of you) f.e. this means that i can have something like $MUSIC\artist
> \album \track-title.mp3. And then i would set $MUSIC somewhere in a
> config file... don't know where you would like to do that though

I already talked about that to Benny. It's not as easy as one might
think and therefore is something for post-1.0.

> 3. a tag can contain characters that are nog allowed in a filename...
> f.e. "?" ... and it happen to be that this ?-sign is in a lot of my
> tags or so it seems

"?" is allowed in filenames. You just have to escape it when working
on the shell. Some people might want to use it (e.g. there may be song
titles like "Guess what?"). If I would disallow "?", I'd also have to
replace spaces because they have to be escaped in the shell, too. 

> 4. a user-customizable input... (i moaned about this too already
> still i like to remember you...) You might think that you can cover a
> lot of reasonable choices but there still be users that want it to be
> different... (don't forget customizable capitalization... some users
> like : "03-The Thing That Should Not Be", others will like "03-The
> thing that should not be" and other others will like "03-the thing
> that should not be" and there are even others that like "03-The Thing
> that Should not Be" (though the latest option seems a bit too much to
> me... ;) )

First of all, files are renamed based on their tags. If the title is
"the Thing that Should not Be" and you don't like this - shit happens.
You could e.g. rename it to lowercase (=> "the thing that should not
be") and use the case renamer to change it to "The Thing That Should
Not Be". But that's not my part, I don't want to fix broken tags.

Anyway, customizable format in terms of a GtkEntry with placeholders
like %t (song title), %a (artist) and so on is on the TODO list, though
it doesn't have high priority at the moment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060405/51d2b926/attachment.pgp>

More information about the Thunar-dev mailing list