Commit Graph

13 Commits

Author SHA1 Message Date
Rikki Tooley
b249ea7fa8 Added LastFm.CatchRequestExceptions to catch HttpRequestExceptions
Using this mean clients don't have to wrap every call in try/catches http://stackoverflow.com/questions/18562613/async-method-returning-taskt-with-generic-constraint-in-c-sharp?noredirect=1#comment27311729_18562613
2013-09-01 23:57:54 +01:00
Rikki Tooley
db00dfd8ed Changed command structure to reduce repetition 2013-09-01 20:52:44 +01:00
Rikki Tooley
73e1831986 user.shout, artist.shout.
the api doesn't have album.shout and track.shout but i made commands for
them anyway, not put them in AlbumApi or TrackApi though.
2013-07-30 00:36:55 +01:00
Rikki Tooley
2235ba0753 album.getinfo, album.getshouts, artist.getshouts, user.getinfo, user.getshouts 2013-07-29 03:47:59 +01:00
Rikki Tooley
718710d200 PostCommands don't need encoded parameters 2013-07-27 16:18:33 +01:00
Rikki Tooley
59f2654f11 Fixes #3: Escaping parameters on existing commands
Simple as Uri.EscapeDataString()
2013-07-25 00:07:37 +01:00
Rikki Tooley
bf87dd9dba Workaround for HttpClient's caching
See
http://stackoverflow.com/questions/6334788/windows-phone-7-webrequest-caching
2013-07-24 01:48:55 +01:00
Rikki Tooley
83b816b3a2 track.love and track.unlove.
Also tidied the postcommands a bit.
2013-07-24 01:14:22 +01:00
Rikki Tooley
92aec324ef Tidied up command framework. 2013-07-24 00:11:57 +01:00
Rikki Tooley
5134b6c2cc user.getRecentStations now uses the new PostAsyncCommand pattern 2013-07-24 00:11:57 +01:00
Rikki Tooley
0b44ed584e TrackApi: Return image uris and timeplayed with tracks 2013-07-02 00:20:42 +01:00
Rikki Tooley
d65005d951 RecentScrobblesCommand: Handling for null date 2013-06-26 23:36:41 +01:00
Rikki Tooley
6ee13480cc Moving stuff to commands 2013-06-23 20:10:57 +01:00