Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 26 lines (23 sloc) 0.771 kb
25de748 @mxcl Audioscrobbler Protocol 2.0 implemented
authored
1 // Created by Max Howell on 05/06/2010.
2 #import <Cocoa/Cocoa.h>
3
4 @interface NSDictionary (mxcl)
5 @property(readonly) bool unrated;
6 @property(readonly) int64_t pid;
7 @property(readonly) int rating;
8 @property(readonly) NSString* artist;
9 @property(readonly) NSString* title;
10 @property(readonly) NSString* album;
11 @property(readonly) int playerState;
12 @property(readonly) NSString* prettyTitle;
6d779ff @mxcl Actual error handling
authored
13 @property(readonly) NSURL* url;
f2071fc @mxcl Handle trackNumber
authored
14 @property(readonly) unsigned duration;
15 @property(readonly) NSNumber* trackNumber;
16 @property(readonly) NSString* albumArtist;
6b1d02d @mxcl Lyrics menu item opens LyricWiki.com
authored
17 @property(readonly) NSURL* lyricWikiUrl;
25de748 @mxcl Audioscrobbler Protocol 2.0 implemented
authored
18 @end
19
20 @interface NSMutableDictionary (mxcl)
21 -(void)setArtist:(NSString*)artist;
22 -(void)setTitle:(NSString*)title;
23 -(void)setAlbum:(NSString*)album;
05bba00 @mxcl Use delegates and thus be more beautiful
authored
24 -(void)setRating:(int)newrating;
25de748 @mxcl Audioscrobbler Protocol 2.0 implemented
authored
25 @end
Something went wrong with that request. Please try again.