Commit Graph

192 Commits

Author SHA1 Message Date
Harry
ea0ed95ca0 Fix time bug with scrobbles
no need for "ToUniversalTime" to the epoch DateTime
2014-12-24 14:31:03 -04:00
Harry
2a67393ada Fix scrobble bug
adding the user session token multiple times
2014-12-24 14:10:48 -04:00
Harry
1299f51c81 Using custom MD5 implementation
instead of the MyConvert package
2014-12-24 13:54:10 -04:00
Harry
34b2008286 Hnadling unauth on scrobble
should make it in a more generic and easier way for all apis
2014-12-24 12:30:28 -04:00
Harry
9ff8b5fbaf Comment on LastWiki bug 2014-12-24 12:01:10 -04:00
Harry
39a17b4349 Merge remote-tracking branch 'upstream/master' 2014-12-24 11:58:15 -04:00
Rikki Tooley
f267ab1735 Remove CatchRequestExceptions option, closes #23 2014-12-23 00:07:37 +00:00
Rikki Tooley
65c21565ab Make ILastFmObject internal so it's only visible to Syro, closes #44 2014-12-22 23:34:04 +00:00
Rikki Tooley
564b0dc8de Forgot to commit the project file.....
http://i.imgur.com/QDgKUpw.jpg
2014-12-22 23:29:53 +00:00
Rikki Tooley
73835fc447 Style changes and a bit of tidying, rename some commands (#43)
Also excluding Object tests temporarily
2014-12-22 23:19:29 +00:00
Peter Curd
596cd285fb Updating GetTracksCommand to use new style CreateSuccessResponse 2014-12-20 16:01:57 +00:00
Peter Curd
367724390d Added TotalPlayCount to Track parsing
Added Name as a possible field for album name
Allowed HandleResponse for GetTracksCommand handle single results as an object instead of an array
Added working tests for GetTracksCommand
2014-12-20 15:32:02 +00:00
Peter Curd
7ce8527f1c Tests for Multiple and Single track returns for GetRecentScrobbles 2014-12-20 14:20:16 +00:00
Peter Curd
3e90340a80 Added tests for prototype LibraryGetTracks
Starter reconstruction of test helper functions
Added ApiResponses for User
Added tests for GetRecentScrobbles
2014-12-20 13:53:27 +00:00
Peter Curd
c90c65ff8d Added LibraryAPI class, interface, resource, and tests. Initial code for Library.getTracks method. Updated LastImageSet object to allow optional Mega size. 2014-12-18 19:30:01 +00:00
Harry
03e36191ab Better fix for LastWiki 2014-12-18 15:19:58 -04:00
Harry
6516dac271 Fix bug with LastWiki
sometimes it will throw a formatexception when parsing the published
property
2014-12-17 12:53:47 -04:00
Harry
691e430efb Rename LastBio to LastWiki 2014-12-16 13:55:29 -04:00
Harry
e5395dfd19 Add bio and similar to artist object 2014-12-14 18:31:36 -04:00
Rikki Tooley
b06517d32a Fixing build... always forget to commit project file changes 2014-12-09 13:31:03 +00:00
Rikki Tooley
7e703ff25d Merge branch 'master' of https://github.com/inflatablefriends/lastfm 2014-12-08 21:04:31 +00:00
Rikki Tooley
4a7a3c11b6 Fix the test I broke in GetAlbumTopTagsCommandTest 2014-12-08 11:34:33 +00:00
Rikki Tooley
dca94d8ebc Make GetAlbumTopTagsCommand use the casing as on the documentation
album.gettoptags -> album.getTopTags
2014-12-08 10:53:13 +00:00
Rikki Tooley
d1bca34f6c Renaming Shout to LastShout
See #17
2014-12-06 13:36:14 +00:00
Prashant Khandelwal
68470c84d8 Test cases for GetAlbumTopTagsCommand 2014-12-05 14:29:22 +00:00
Prashant Khandelwal
6899cf86ee Added album.getTopTags API method to get top tags 2014-12-04 20:10:07 +05:30
Rikki Tooley
c7cafb45d6 GetAlbumShoutsCommandTests, fix timezone issue with Shout.TimePosted 2014-11-16 20:58:14 +00:00
Rikki Tooley
f4ea6ca238 Page parameters weren't being passed through in Syro tool 2014-11-16 20:39:21 +00:00
Rikki Tooley
9bdb7b13c0 GetAlbumInfoCommandTests, tidying tests project 2014-11-16 20:28:37 +00:00
Rikki Tooley
56464f1f29 Change to use artist.getTopTracks instead of artist.topTracks like in documentation
also top albums
Fixes #34
2014-11-09 23:01:54 +00:00
Rikki Tooley
574f99bc0c Use MD5 hashing from MyConvert NuGet package instead of xBrainLab.Security.Cryptography.dll
Closes #35
2014-11-09 22:55:52 +00:00
Rikki Tooley
11c1626485 Contributing guide 2014-11-09 16:46:08 +00:00
Rikki Tooley
c6d9cb551f Removing duplicate project + deleting copy-report.ps1 2014-11-09 16:22:42 +00:00
Rikki Tooley
7d754407c6 Removing test code 2014-11-09 15:51:48 +00:00
Rikki Tooley
e99ba1fb77 Merge branch 'master' into syro 2014-11-09 15:50:07 +00:00
Rikki Tooley
63bc96beac Don't send the ExpectContinue header on API requests - fixes #36 2014-11-09 15:49:15 +00:00
Rikki Tooley
997f3da9d1 Request builder 2014-11-09 14:42:51 +00:00
Rikki Tooley
55decdda69 Open progress report link 2014-11-08 15:44:39 +00:00
Rikki Tooley
12e0b3ac62 Fixing progress report 2014-11-08 15:34:46 +00:00
Rikki Tooley
7f102820da VS style tabs 2014-11-06 00:52:34 +00:00
Rikki Tooley
a8d28159d4 Window styling 2014-11-05 23:31:36 +00:00
Rikki Tooley
34a6043cd1 Moved progress report code to SYRO 2014-11-02 23:32:12 +00:00
Rikki Tooley
eebef48a7b Change visibility of command bases from internal to public 2014-11-01 12:46:24 +00:00
Rikki Tooley
303f27e1b3 Add a progress bar from progressed.io to the progress report 2014-10-26 14:47:43 +00:00
Rikki Tooley
28259b58d4 Progress report tool now generates PROGRESS.md
(build and run IF.Lastfm.ProgressReport to update)
Closes #28
2014-10-26 14:28:54 +00:00
Harry
07a5fab059 Fix tags bugs for last objects
Needed to check if the token was an array or not and continue from there
to the appropriate action.
2014-10-22 09:49:44 -04:00
Rikki Tooley
150d50ffc9 Merge branch 'master' of https://github.com/inflatablefriends/lastfm 2014-10-21 00:19:22 +01:00
Rikki Tooley
a47d601bfb Console app to generate progress report almost there, needs to generate Markdown and deal with missing Lastfm documentation
See #28
2014-10-21 00:18:50 +01:00
Harry
72b910aee1 Fixing null exception bug 2014-10-16 11:35:11 -04:00
Rikki Tooley
bff352704f SearchAlbumsCommand tests 2014-10-12 19:06:45 +01:00
Rikki Tooley
27ac6d5b38 Prefixing all objects with Last
Closes #17 and #12
2014-10-12 16:47:21 +01:00
Rikki Tooley
311b98da8b Check error code is correct in track shouts command tests 2014-10-12 16:34:55 +01:00
Rikki Tooley
1e6aa46f49 Reorganising test resources and GetTrackShoutsCommandTests 2014-10-12 16:30:17 +01:00
Rikki Tooley
70a557097b Actually fixes search commands after cac461b22c 2014-10-12 15:50:11 +01:00
Rikki Tooley
2fc4326dd2 Change similar items commands to use PageResponse
Also fix search commands after cac461b22c
Closes #22
2014-10-12 15:44:07 +01:00
Rikki Tooley
1a98e79d11 Was passing wrong JToken to PageResponse factory
Fixes #25
2014-10-12 13:54:32 +01:00
Rikki Tooley
7509a7f105 Revert "Upgrade demo project to WP Silverlight 8.1"
This reverts commit 284d4fef03.

Closes #24
2014-10-12 00:08:56 +01:00
Rikki Tooley
785cf1e94b Don't forget to check if it builds... 2014-10-11 18:34:55 +01:00
Rikki Tooley
fff188a355 Styling changes for Command files 2014-10-11 18:32:57 +01:00
Rikki Tooley
cac461b22c Merge pull request #20 from zumicts/master
Fixing more page response apis
2014-10-11 17:06:39 +01:00
Rikki Tooley
284d4fef03 Upgrade demo project to WP Silverlight 8.1 2014-10-11 16:13:44 +01:00
Harry
61d6f0acb1 Fix and refactor charts api
there was an issue with the get top tracks api plus I forgot to set
those commands to use the new page response create method.
2014-10-10 09:12:54 -04:00
Harry
dc8189903b Fix page response bug for search 2014-10-09 13:57:07 -04:00
Harry
934bb46760 Using new page response creator in other places
plus doing a similar array check in the lastalbum track properties,
seems to have the same issue when the album has only one track
2014-10-08 14:15:37 -04:00
Harry
f41916cfc8 Made an easier way to create page response
that takes into account that the list sometimes is not an array.
2014-10-08 14:02:06 -04:00
Harry
cf52a96610 Fix the kiesza bug for tracks
Definitely will create a helper for this, instead of writing one for
every object.
2014-10-08 13:19:54 -04:00
Harry
b4d1c59f73 Fix token selection typo in LastAlbum 2014-10-08 13:13:44 -04:00
Harry
448114c8cd Fix conflicts with ceb16a9 2014-10-07 22:05:44 -04:00
Harry
d2863e256f Refactor album page response token parsing
plus changed the rank property to be a nullable int
2014-10-07 21:54:53 -04:00
Harry
2ee49a61a3 Refactor image set largest property
I can't believe I did not see that...
2014-10-07 21:26:28 -04:00
Rikki Tooley
ceb16a96fa Check for token type instead of handling an exception 2014-10-08 02:09:51 +01:00
Harry
c8612f8510 Fix bug with parsing tracks
sometimes they don't come with duration.  so parse as string, which can
be null, and then if is not null we try to parse it as a double
2014-10-07 17:13:25 -04:00
Harry
0b48051ce9 Fix what I like to call the Kiesza bug
Last.fm returns an object instead of an array when it will return only
one object.  Had to resolve to some trickery behind the scenes to make
it work...
2014-10-07 17:04:16 -04:00
Harry
f6f027845d Renaming singular to plural
just for the consistency
2014-10-07 16:08:56 -04:00
Harry
5058d370df Add pagination to artist methods
the get top tracks and albums.
2014-10-07 15:58:42 -04:00
Harry
e1ad4f7a10 Add charts api
plus renaming some files
2014-10-07 15:56:30 -04:00
Harry
1bdcafbf9f Small refactoring 2014-10-07 15:41:47 -04:00
Harry
229968eb63 Add getting info by mbid
to artist, album and track
2014-10-07 15:38:08 -04:00
Harry
79fde575f0 Add an easy way to get the largest image 2014-10-07 15:17:34 -04:00
Harry
8f4b84dca1 Add rank attribute to track 2014-10-07 15:09:59 -04:00
Harry
9d93743c2b Hacks to flex objects with the api
what can I say, last.fm is one of the most unreliable apis I have work
with. these changes help with abstracting all that.
2014-10-07 10:30:28 -04:00
Harry
5306c8970c Add search and similar methods for apis 2014-10-07 10:24:27 -04:00
Harry
c8429bd361 Rename track, album and artist objects 2014-10-07 10:12:09 -04:00
Rikki Tooley
878e7c0e63 Rename LastImageCollection -> LastImageSet, add more info to Artist page demo 2014-10-04 22:43:26 +01:00
Rikki Tooley
49139c97fa Messing about with NuGet again :'(
Change targets to .NET 4.5 to remove dependency on Microsoft.Async
Also removing console project
2014-10-03 15:05:58 +01:00
Rikki Tooley
d9153ed34c Changing PCL profile again, hopefully fixing broken packages (really need to figure out a proper process for this) 2014-10-02 13:11:46 +01:00
Rikki Tooley
20a06390dc Removing support for Windows Phone 7.5.
PCL profile 104 -> 259.
2014-10-02 10:27:53 +01:00
Rikki Tooley
c25d132185 Added artist top tracks and artist top albums methods to GetArtistInfo in demo app 2014-10-01 01:31:00 +01:00
Harry
941c38f01c Merge https://github.com/zumicts/lastfm into master
Add get top tracks and albums for artist
See pr #10
2014-10-01 01:29:50 +01:00
Rikki Tooley
f6c9efd836 Remove binding redirects... and a test...
will AppVeyor work now? (#9)
2014-09-30 14:51:00 +01:00
Rikki Tooley
7c95aaa254 Changing back to PCL104, hopefully fixing NuGet and AppVeyor 2014-09-30 14:35:05 +01:00
Rikki Tooley
66366ceaf0 Reorganising project, update dependencies, changed PCL profile 2014-09-16 18:28:40 +01:00