Is it possible to add double quotes around the year tag? I've been looking for some time now and couldn't find any examples. For example I'm trying to get "1997" instead of 1997.
I'm running exiftool on windows with this batch file:
exiftool.exe -api filter="s/ \(approx\)//" -AudioBitrate -FileName
-Directory -Year -Artist -Title -Duration -j -r -ext mp3 -ext flac
-progress "C:\Audio" >>"MusicSearch temp.js"
Also is it possible force it too add empty vaules if the year isn't present? This already happens for mp3 files, but not for flac files.
Thank you for any help.
Why do you want quotes around a json number? Sorry, there is currently no option to do that.
You can add -f -api MissingTagValue^= to extract missing missing values as an empty string.
- Phil
Hi Phil,
The script I have to search for songs only works if the value is in quotes. I can search using the artist tag and the title tag, but searching by year doesn't work because of the missing quotes. I'll have to look for another solution.
Thank you