Skip to content
This repository was archived by the owner on Oct 15, 2020. It is now read-only.

Commit 3ec9882

Browse files
committed
Merge pull request #18 from zsk425/master
fix artist method
2 parents bf3de1b + 683337a commit 3ec9882

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Pod/Classes/MediaPlayer/LMMediaItem/LMMediaItem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ - (NSString *)albumTitle
155155

156156
- (NSString *)artist
157157
{
158-
return artist_ ?: [self valueWithProperty:MPMediaItemPropertyAlbumTitle cache:artist_];
158+
return artist_ ?: [self valueWithProperty:MPMediaItemPropertyArtist cache:artist_];
159159
}
160160

161161
- (UIImage *)artworkImageWithSize:(CGSize)size

0 commit comments

Comments
 (0)