Skip to content

Commit

Permalink
Add mapping for album info summary node
Browse files Browse the repository at this point in the history
  • Loading branch information
Piers committed Mar 20, 2013
1 parent b5f17be commit 82dfe19
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
@@ -1,3 +1,6 @@
1.4.1 - March 20, 2013
- Add a mapping for the summary node in the getInfoForAlbum method

1.4.0 - January 30, 2013
- New cache delegate method: - (BOOL)cacheExpiredForKey:(NSString *)key;
- To be used to implement "rolling cache"
Expand Down
2 changes: 1 addition & 1 deletion LastFm.podspec
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "LastFm"
s.version = "1.4.0"
s.version = "1.4.1"
s.summary = "Block based Last.fm SDK for iOS and Mac OS X."
s.homepage = "https://github.com/gangverk/LastFm"
s.license = 'MIT'
Expand Down
3 changes: 2 additions & 1 deletion LastFm/LastFm.m
Expand Up @@ -556,7 +556,8 @@ - (NSOperation *)getInfoForAlbum:(NSString *)album artist:(NSString *)artist suc
@"image": @[ @"./image[@size=\"large\"]", @"NSURL" ],
@"releasedate": @[ @"./releasedate", @"NSString" ],
@"tags": @[ @"./toptags/tag/name", @"NSArray" ],
@"userplaycount": @[ @"./userplaycount", @"NSNumber" ]
@"userplaycount": @[ @"./userplaycount", @"NSNumber" ],
@"summary": @[ @"./wiki/summary", @"NSString" ]
};

return [self performApiCallForMethod:@"album.getInfo"
Expand Down

0 comments on commit 82dfe19

Please sign in to comment.