Scripting ISDBSongData::Year
http://www.mediamonkey.com/wiki/index.p ... Data::Year
misreports empty Date as Year 0 rather than empty Year as expected e.g.
http://i.imgur.com/mjVz9oC.png
Workaround:
Code: Select all
Dim fixedyear
fixedyear = "":IF itm.Year <> 0 THEN fixedyear = itm.Year
fout.WriteLine itm.path &vbTAB& itm.TrackOrderStr &vbTAB& itm.DiscNumberStr &vbTAB& itm.Title &vbTAB& itm.ArtistName _
&vbTAB& itm.AlbumName &vbTAB& itm.AlbumArtistName &vbTAB& itm.Genre &vbTAB& fixedyear &vbTAB& itm.Rating &vbTAB& itm.Custom1 &vbTAB& itm.Publisher
Note: In the UI track list Date field, entering 0 causes the field to display as empty.