Skip Menu |

This queue is for tickets about the MP3-Tag CPAN distribution.

Report information
The Basics
Id: 41160
Status: open
Priority: 0/
Queue: MP3-Tag

People
Owner: Nobody in particular
Requestors: rich [...] dicksonlife.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: audio_rename - Slashes in tags used literally in filenames
Date: Sun, 23 Nov 2008 09:55:44 -0600
To: bug-MP3-Tag [...] rt.cpan.org
From: Richard Thomas <rich [...] dicksonlife.com>
System: Linux If a tag has slashes in it, when the filename is constructed, the slash is included, leading to strange directory structures. For example, Artist: AC/DC Album: Back in Black Track: You Shook Me All Light Long %a/%l/%a - %t AC/DC/Back in Black/AC/DC - You Shook Me All Night Long AC +DC +Back in Black +AC +DC - You Shook Me All Night Long Since the components of the filename are dealt with on a piece-by-piece basis, the trivial fix is to replace the slashes with another character. This should probably *not* be part of the "Converting exotic characters" routine but should likely be a separate option, perhaps with a generic "replace these characters with those characters" fully specifiable tr() type option
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41160] audio_rename - Slashes in tags used literally in filenames
Date: Sun, 23 Nov 2008 13:07:54 -0800
To: Richard Thomas via RT <bug-MP3-Tag [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Sun, Nov 23, 2008 at 11:01:46AM -0500, Richard Thomas via RT wrote: Show quoted text
> If a tag has slashes in it, when the filename is constructed, the slash > is included, leading to strange directory structures. For example,
Thanks, I fought with slashes in %n, but forgot about other fields... ;-) Show quoted text
> Since the components of the filename are dealt with on a piece-by-piece > basis, the trivial fix is to replace the slashes with another character. > This should probably *not* be part of the "Converting exotic characters" > routine
Why? Thanks, Ilya
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41160] audio_rename - Slashes in tags used literally in filenames
Date: Tue, 2 Dec 2008 19:17:12 -0800
To: Richard Thomas via RT <bug-MP3-Tag [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Sun, Nov 23, 2008 at 11:01:46AM -0500, Richard Thomas via RT wrote: Show quoted text
> If a tag has slashes in it, when the filename is constructed, the slash > is included, leading to strange directory structures. For example,
I remember now why this is not fixed yet. E.g., in some of my files, I have %{TXXX[orig-fname]} which may be something like disk-NAME/sound/album_NAME/orig-NAME.mp3 and I may want to rename to this name. So this boils down to one wanting %t %l %a be /-protected, but some other tags not. I have no idea how to better implement this in a lest confusing way. Do you have any idea? Please report... Thanks, Ilya