IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

 
Reply to this topicStart new topic
Foobar parsing $year(%date%) incorrectly in id3v2.3
BenB
post Jun 14 2012, 05:40
Post #1





Group: Members
Posts: 632
Joined: 17-April 12
Member No.: 98921



If the TDAT frame's contents begin with 00 (0012 for example, meaning the month but not the date is known), then foobar returns "0000" in the playlist.

It happens with any of the following title formatting:

$year(%date%)
$cut(%date%,4)
$left(%date%,4)
$substr(%date%,1,$sub($strchr(%date%,-),1))

I also tried substituting $meta(date) in those scripts.

foobar sorts the albums correctly in the playlist when you sort by year. It's just displaying the year incorrectly.

This is, of course, occurring in 1.1.13


The bug shows in the DUI as well as Facets and Columns UI. Interestingly, if you create a filter in CUI, the filter will display two years separately for tracks with the aforementioned TDAT frames: once under 0000 and once under the correct year.

EDIT:

This bug also affects $month(%date%). "00" is returned for month under the same condition as outlined above. Tracks are only listed once however in a CUI filter. This time under 00 only.

This post has been edited by BenB: Jun 14 2012, 06:28
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th April 2014 - 03:30