Fixed track length/fade times in the event that someone has files with multiple values for those fields
parent
b9a014ab16
commit
208bf19ace
|
@ -195,7 +195,8 @@ struct psf_info_meta_state
|
||||||
|
|
||||||
static int parse_time_crap(NSString * value)
|
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 totalSeconds = 0;
|
||||||
float multiplier = 1000;
|
float multiplier = 1000;
|
||||||
|
|
Loading…
Reference in New Issue