Browse Source
macosx: Do not display unnecessary disc number strings when there is no real disc number
Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
work/unnecessary-disc-string
Claudio Cambra
6 months ago
No known key found for this signature in database
GPG Key ID: 37F593F3658DB492
1 changed files with
1 additions and
1 deletions
-
modules/gui/macosx/library/VLCLibraryCollectionViewMediaItemSupplementaryDetailView.m
|
|
|
@ -94,7 +94,7 @@ NSCollectionViewSupplementaryElementKind const VLCLibraryCollectionViewMediaItem |
|
|
|
|
|
|
|
VLCInputItem * const inputItem = actualItem.inputItem; |
|
|
|
NSString * const discNumber = inputItem.discNumber; |
|
|
|
if (![discNumber isEqualToString:@""]) { |
|
|
|
if (![discNumber isEqualToString:@""] && ![discNumber isEqualToString:@"0"]) { |
|
|
|
[strings addObject:[NSString stringWithFormat:@"%@ %@", _NS("Disc"), discNumber]]; |
|
|
|
} |
|
|
|
|
|
|
|
|