Page 1 of 1

Remove automatic tag manipulation

PostPosted: Wed Aug 31, 2011 1:01 pm
by bile
I've got some songs which titles are prefixed with the track number. Primarily Nine Inch Nail's album Ghosts I-IV. Tracks are in the format "XX Ghosts I" where XX is the track number.

The problem is found in net/sourceforge/subsonic/service/metadata/MetaDataParser.java

title = removeTrackNumberFromTitle(title, metaData.getTrackNumber());

It causes the track title to go from "01 Ghosts I" to "Ghosts I". Can you please remove this sort of tag manipulation logic. I don't think at such a low level you should be manipulating the data present in the file. Outside using the filename as the title... at most I think you could/should provide the ability to apply patterns or filters on tags or filenames and have it be optional.

Re: Remove automatic tag manipulation

PostPosted: Mon Sep 12, 2011 11:52 am
by bile
Does anyone have any objection to this kind of change? It's a rare condition to hit but it's rather frustrating.

Re: Remove automatic tag manipulation

PostPosted: Mon Oct 17, 2011 6:43 pm
by andu_
I have this same request. The example I have is with the Radiohead's track "15 Step" from the album "In Rainbows." Subsonic shows it as "Step" and scrobbles it to Last.fm as "Step".

I am running Subsonic version 4.5 on Windows 7 64-bit. I primarily use subsonic through the web player and my browser is Chrome, if that helps. :)

Re: Remove automatic tag manipulation

PostPosted: Wed Nov 09, 2011 10:28 am
by sindre_mehus
Subsonic does a best effort when trying to guess the track number and track name based on file name and ID3 tags. In some cases it makes the wrong decision.

In the case of "15 Step" you could try to put the track number in the ID3 tag. Subsonic should then understand that "15" is part of the title and not the track number.

Hope this helps,
Sindre

Re: Remove automatic tag manipulation

PostPosted: Wed Nov 09, 2011 5:13 pm
by BKKKPewsey
sindre_mehus wrote:In the case of "15 Step" you could try to put the track number in the ID3 tag. Subsonic should then understand that "15" is part of the title and not the track number.

Unfortunately that doesn't work, that is track 1 (on mine at least) and the ID tags are correct with track no and title.
SS still strips the 15 off :(
I got round it by enclosing it in quotes '15 Step' which at least scrobbles ok to Last FM (Well it gets the right album np)
Note if you use double quotes (") the edit tag title field goes blank within SS :?
:mrgreen:

Re: Remove automatic tag manipulation

PostPosted: Wed Nov 09, 2011 8:47 pm
by sindre_mehus
BKKKPewsey wrote:
sindre_mehus wrote:In the case of "15 Step" you could try to put the track number in the ID3 tag. Subsonic should then understand that "15" is part of the title and not the track number.

Unfortunately that doesn't work, that is track 1 (on mine at least) and the ID tags are correct with track no and title.
SS still strips the 15 off :(
I got round it by enclosing it in quotes '15 Step' which at least scrobbles ok to Last FM (Well it gets the right album np)
Note if you use double quotes (") the edit tag title field goes blank within SS :?
:mrgreen:


Hm, that's strange, it works for me. Could you please send me the "15 Step" file so I can try to reproduce?

Cheers,
Sindre

Re: Remove automatic tag manipulation

PostPosted: Wed Nov 09, 2011 9:49 pm
by BKKKPewsey
Sent PM with attachment (I think - it uploaded so went somewhere :? )
Let us know if you didnt get it and I will re-send via link
:mrgreen:

Re: Remove automatic tag manipulation

PostPosted: Sat Nov 19, 2011 11:59 pm
by bile
If I've got all relevant tags... why should Subsonic try to be smart? You want to derive tags from the filename? Fine. But why try to fix tags? At least make it optional.