diff --git a/Base.lproj/MainMenu.xib b/Base.lproj/MainMenu.xib index 13de08974..40f5ec534 100644 --- a/Base.lproj/MainMenu.xib +++ b/Base.lproj/MainMenu.xib @@ -732,6 +732,50 @@ + diff --git a/Playlist/PlaylistController.m b/Playlist/PlaylistController.m index 16187becd..9f3981729 100644 --- a/Playlist/PlaylistController.m +++ b/Playlist/PlaylistController.m @@ -48,7 +48,7 @@ static void *playlistControllerContext = &playlistControllerContext; cellIdentifiers = @[@"index", @"status", @"title", @"albumartist", @"artist", @"album", @"length", @"year", @"genre", @"track", @"path", @"filename", @"codec", @"rating", @"samplerate", - @"bitspersample"]; + @"bitspersample", @"bitrate"]; NSValueTransformer *repeatNoneTransformer = [[RepeatModeTransformer alloc] initWithMode:RepeatModeNoRepeat]; @@ -518,6 +518,11 @@ static void *playlistControllerContext = &playlistControllerContext; cellText = [NSString stringWithFormat:@"%u", pe.bitsPerSample]; cellTextAlignment = NSTextAlignmentRight; break; + + case 16: + cellText = [NSString stringWithFormat:@"%u kbps", pe.bitrate]; + cellTextAlignment = NSTextAlignmentRight; + break; } } @@ -664,6 +669,7 @@ static void *playlistControllerContext = &playlistControllerContext; break; case 13: + case 16: sortDescriptor = [[NSSortDescriptor alloc] initWithKey:[tableColumn identifier] ascending:ascending selector:@selector(compare:)]; sortDescriptors = @[sortDescriptor]; break; diff --git a/en.lproj/MainMenu.strings b/en.lproj/MainMenu.strings index 7988a31b5..e38691cf2 100644 --- a/en.lproj/MainMenu.strings +++ b/en.lproj/MainMenu.strings @@ -811,3 +811,6 @@ /* Class = "NSTableColumn"; title = "Bits Per Sample"; ObjectID = "3no-xo-TpJ"; */ "3no-xo-TpJ.title" = "Bits Per Sample"; + +/* Class = "NSTableColumn"; title = "Bitrate"; ObjectID = "PoD-EU-L4X"; */ +"PoD-EU-L4X.title" = "Bitrate"; diff --git a/es.lproj/MainMenu.strings b/es.lproj/MainMenu.strings index 2cf73ee4b..b70cde387 100644 --- a/es.lproj/MainMenu.strings +++ b/es.lproj/MainMenu.strings @@ -811,3 +811,6 @@ /* Class = "NSTableColumn"; title = "Bits Per Sample"; ObjectID = "3no-xo-TpJ"; */ "3no-xo-TpJ.title" = "Bits por muestra"; + +/* Class = "NSTableColumn"; title = "Bitrate"; ObjectID = "PoD-EU-L4X"; */ +"PoD-EU-L4X.title" = "Tasa de bits"; diff --git a/ru.lproj/MainMenu.strings b/ru.lproj/MainMenu.strings index 519320eec..1f8229386 100644 --- a/ru.lproj/MainMenu.strings +++ b/ru.lproj/MainMenu.strings @@ -724,3 +724,6 @@ /* Class = "NSTableColumn"; title = "Bits Per Sample"; ObjectID = "3no-xo-TpJ"; */ "3no-xo-TpJ.title" = "Бит на семпл"; + +/* Class = "NSTableColumn"; title = "Bitrate"; ObjectID = "PoD-EU-L4X"; */ +"PoD-EU-L4X.title" = "Битрейт"; diff --git a/tr.lproj/MainMenu.strings b/tr.lproj/MainMenu.strings index 33ea05555..84b9a87ce 100644 --- a/tr.lproj/MainMenu.strings +++ b/tr.lproj/MainMenu.strings @@ -838,3 +838,6 @@ /* Class = "NSTableColumn"; title = "Bits Per Sample"; ObjectID = "3no-xo-TpJ"; */ "3no-xo-TpJ.title" = "Örnek başına bit sayısı"; + +/* Class = "NSTableColumn"; title = "Bitrate"; ObjectID = "PoD-EU-L4X"; */ +"PoD-EU-L4X.title" = "Bit hızı";