|
@@ -218,7 +218,7 @@
|
|
|
VLCPlaylistViewController *delegate = (VLCPlaylistViewController*)self.collectionView.delegate;
|
|
|
|
|
|
if (delegate.isEditing)
|
|
|
- self.subtitleLabel.text = [NSString stringWithFormat:@"%@ — %i MB", [VLCTime timeWithNumber:[mediaFile duration]], (int)([mediaFile fileSizeInBytes] / 1e6)];
|
|
|
+ self.subtitleLabel.text = [NSString stringWithFormat:@"%@ — %@", [VLCTime timeWithNumber:[mediaFile duration]], [NSByteCountFormatter stringFromByteCount:[mediaFile fileSizeInBytes] countStyle:NSByteCountFormatterCountStyleFile]];
|
|
|
else {
|
|
|
self.subtitleLabel.text = [NSString stringWithFormat:@"%@", [VLCTime timeWithNumber:[mediaFile duration]]];
|
|
|
if (mediaFile.videoTrack) {
|