Skip to content

Commit

Permalink
Merge pull request #1250 from wutschel/improve_playlist_artist
Browse files Browse the repository at this point in the history
Improvement: Music playlist items shall only show song title and artist
  • Loading branch information
kambala-decapitator authored Feb 25, 2025
2 parents becfc24 + 9e1daeb commit d003b3e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions XBMC Remote/NowPlaying.m
Original file line number Diff line number Diff line change
Expand Up @@ -2076,10 +2076,7 @@ - (UITableViewCell*)tableView:(UITableView*)tableView cellForRowAtIndexPath:(NSI
}
else if ([item[@"type"] isEqualToString:@"song"] ||
[item[@"type"] isEqualToString:@"musicvideo"]) {
NSString *album = item[@"album"];
NSString *artist = item[@"artist"];
NSString *dash = album.length && artist.length ? @" - " : @"";
subLabel.text = [NSString stringWithFormat:@"%@%@%@", album, dash, artist];
subLabel.text = item[@"artist"];
}
else if ([item[@"type"] isEqualToString:@"movie"]) {
subLabel.text = item[@"genre"];
Expand Down

0 comments on commit d003b3e

Please sign in to comment.