1 (edited by annder 2012-07-19 14:25:23)

Topic: Folder renaming

In short: any ideas how to change only directories names (basing on tags) without changing filenames?

e.g. in file naming parameter strings:
$if2(%albumartist%,%artist%)/%catalognumber% - %album%/ "here original filename"

-Thanks in advance

2

Re: Folder renaming

Selecting "move file" and deselecting "rename files" in the options menu should work. Not sure tho never tried...

Re: Folder renaming

I think this is currently not possible. The "rename files" option controls both the naming of the the itself and the creation of the sub directories based on the tags. If you just enable the "move files" option it will just copy the file to the selected folder without creating sub directories.

4

Re: Folder renaming

so "rename files" is actually "rename and/or move" and "move files" is just "copy" option in new Picard?
maybe instead of hardcoding, we should have move/copy/rename plugin.

Re: Folder renaming

I think that everything will work with syntax %filename_ext% (like in Foobar) but probably there is nothing like that in Picard, right?

example:
$if2(%albumartist%,%artist%)/%catalognumber% - %album%/$set(name,%filename_ext%)$get(name)

Re: Folder renaming

ym wrote:

so "rename files" is actually "rename and/or move" and "move files" is just "copy" option in new Picard?
maybe instead of hardcoding, we should have move/copy/rename plugin.

Well no, because moving a file is different to copying it.

In any case, the options were restructured in Picard 1.0 and it's pretty clear now that that won't work - the syntax is greyed out if you untick "rename files".

7

Re: Folder renaming

voiceinsideyou wrote:
ym wrote:

so "rename files" is actually "rename and/or move" and "move files" is just "copy" option in new Picard?
maybe instead of hardcoding, we should have move/copy/rename plugin.

Well no, because moving a file is different to copying it.

In any case, the options were restructured in Picard 1.0 and it's pretty clear now that that won't work - the syntax is greyed out if you untick "rename files".

I was talking about the options in main menu. I don't see any greyed out option there, in any condition.

Re: Folder renaming

Maybe adding a vraiable %_filename% (similar to %_extension%) would be a good idea for the future.

9

Re: Folder renaming

outsidecontext wrote:

Maybe adding a vraiable %_filename% (similar to %_extension%) would be a good idea for the future.

+1

Re: Folder renaming

I thought we already had such a ticket but http://tickets.musicbrainz.org/browse/PICARD-278 anyway

Re: Folder renaming

For some reason that ticket doesn't appear in the changelog but Picard 1.1 provides %_dirname%, %_filename% (which does not include the extension) and %_extension%.