Fixed track length/fade times in the event that someone has files with multiple values for those fields

CQTexperiment
Chris Moeller 2013-10-12 19:46:25 -07:00
parent b9a014ab16
commit 208bf19ace
1 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,8 @@ struct psf_info_meta_state
static int parse_time_crap(NSString * value)
{
NSArray *components = [value componentsSeparatedByString:@":"];
NSArray *crapFix = [value componentsSeparatedByString:@"\n"];
NSArray *components = [[crapFix objectAtIndex:0] componentsSeparatedByString:@":"];
float totalSeconds = 0;
float multiplier = 1000;