Partially fixed Total duration: field, is missing duration for currently playing song.
parent
138c575dda
commit
91e5833a40
File diff suppressed because it is too large
Load Diff
|
@ -169,7 +169,7 @@
|
||||||
int sec = (int)(tt);
|
int sec = (int)(tt);
|
||||||
hoursAndMinutes = ldiv(sec/60, 60);
|
hoursAndMinutes = ldiv(sec/60, 60);
|
||||||
|
|
||||||
[self setTotalTimeDisplay:[NSString stringWithFormat:@"%i minutes %02i seconds (%ld hours %ld minutes)",sec/60, sec%60, hoursAndMinutes.quot, hoursAndMinutes.rem]];
|
[self setTotalTimeDisplay:[NSString stringWithFormat:@"%ld hours %ld minutes %d seconds", hoursAndMinutes.quot, hoursAndMinutes.rem, sec%60]];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)setTotalTimeDisplay:(NSString *)ttd
|
- (void)setTotalTimeDisplay:(NSString *)ttd
|
||||||
|
|
Loading…
Reference in New Issue