Page 1 of 1

How scanning TDOR= origyear instead of TDRC= (release) year

PostPosted: Sat Oct 29, 2011 10:02 am
by wowo
How can I set the program to scan TDOR = origyear ID3v2.4 tag instead of the TDRC = year ID3v2.4 tag ?
Maybe it is also possible to use the TDOR if there is any and if there is no TDOR tag use the default normal used TDRC = year tag.
I hope you can give me some clues.

Re: How scanning TDOR= origyear instead of TDRC= (release) y

PostPosted: Mon Nov 07, 2011 9:35 pm
by wowo
Or is here someone who can tell if or how I can change this in the scanning module ?
Or what the scanning module is called ?

Re: How scanning TDOR= origyear instead of TDRC= (release) y

PostPosted: Mon Nov 07, 2011 9:49 pm
by califrag
wowo wrote:Or is here someone who can tell if or how I can change this in the scanning module ?
Or what the scanning module is called ?



Hello,
I'm interested in doing this myself, and as such have been working on a branch-mod of Subsonic in which I plan to incorporate several feature-requests and additional functionality.

Since Subsonic is open-source, I encourage anyone who is interested in helping out to check out the SVN.

Particularly you can find the JaudiotaggerParser.java file which controls the ID3 tag reading information here:
http://subsonic.svn.sourceforge.net/vie ... iew=markup

You may want to look specifically at these lines:
Code: Select all
77                   metaData.setYear(getTagField(tag, FieldKey.YEAR));
189               tag.setField(FieldKey.YEAR, StringUtils.trimToEmpty(metaData.getYear()));


I'm pretty sure these two lines control how the year is populated, but I'm not sure where to go from here...
I'm thinking 'FieldKey.ORIGYEAR' ?

Anyways, I am planning to dig a little deeper into the meta data stuff once I fix some of the other bugs I've added.

Re: How scanning TDOR= origyear instead of TDRC= (release) y

PostPosted: Mon Nov 07, 2011 10:01 pm
by wowo
Thanks for your help.
I will try this this weekend.
First I must make a test subsonic setting.

Re: How scanning TDOR= origyear instead of TDRC= (release) y

PostPosted: Tue Nov 15, 2011 10:08 am
by wowo
I have made an test subsonic setting and I was intended to test 'FieldKey.ORIGYEAR'

I search for a file called "JaudiotaggerParser.java" in the subsonic directory but I could not find any.
Only an file called JaudiotaggerParser.class.

So I can not get any further.
Can you help me, sorry I am no programmer.

Re: How scanning TDOR= origyear instead of TDRC= (release) y

PostPosted: Tue Nov 15, 2011 12:06 pm
by BKKKPewsey
Have moved this thread to mods as we are no longer in HELP territory.