id3-writer icon indicating copy to clipboard operation
id3-writer copied to clipboard

eyeD3 - year tag in iTunes

Open widmr opened this issue 9 years ago • 1 comments

Hi,

I'm using your wrapper with eyeD3 and everything is working as expected - not only the year tag in iTunes. I tag my mp3 with "year" - and this is not showing in iTunes.

As seen on https://rubenerd.com/eyed3-not-setting-date-correctly/ the only workaround is setting every "release-year" tag:

% eyeD3 \
  --release-date 2015 \
  --orig-release-date 2015 \
  --recording-date 2015 \
  --encoding-date 2015 \
  --tagging-date 2015

Do you have any idea if its possible to implement this into your wrapper? Thanks.

Update: Ok, if I change the eyeD3 writer (eyeD3.js in writer folder) at line 187 into this:


            case 'year':
                args.push('-Y ' + value);
                args.push('--orig-release-date', + value);
                args.push('--recording-date', + value);
                args.push('--encoding-date', + value);
                args.push('--tagging-date', + value);
                break;

it works. I have no clue if it's a good idea to set all this tags to the same value ... but for now it's working for me.

widmr avatar Nov 29 '15 18:11 widmr

Hey widmr, I'm fine with your solution. Create a PR for it and I'm gonna merge it. If its possible, add an test case for it, please.

Jack12816 avatar Nov 29 '15 21:11 Jack12816