Commit Graph

192 Commits

Author SHA1 Message Date
kasthack
f61bea9173 library.removeTrack 2015-04-05 01:23:37 +03:00
kasthack
0769feac68 library.removeScrobble, typo fix 2015-04-05 00:31:00 +03:00
kasthack
aca940e25c LastResponseStatus parsing 2015-04-05 00:05:19 +03:00
Rikki Tooley
8a04cde0f4 #61 Scrobbler class with support for external HttpClient (#41), + tests
Also add Alt+T key combo to Syro to insert timestamp to focussed field, and fix unit tests
2015-04-04 21:23:14 +01:00
Rikki Tooley
0e074ec1bf Merge branch 'master' into scrobbler 2015-04-04 14:57:41 +01:00
Rikki Tooley
a06f01bfa7 Fixing the change from yesterday 2015-04-04 14:57:21 +01:00
Rikki Tooley
1eeba5648b Started implementing SQLiteScrobbler to cache scrobbles when on dodgy internet connections 2015-04-04 04:30:21 +01:00
Rikki Tooley
de2eb870a8 LastResponse wouldn't return Successful status 2015-04-04 03:33:49 +01:00
Rikki Tooley
4d3e60685e Rename LastFmApiError to LastResponseStatus, more command tidying 2015-04-04 03:30:40 +01:00
Rikki Tooley
e3ca4f3b14 Tidying command classes
Closes #43
2015-04-04 02:24:45 +01:00
Rikki Tooley
bac183be0b Json.NET serialising datetimeoffets weirdly, fix the scrobble integration test by testing track.TimePlayed separately 2015-04-03 21:06:59 +01:00
Rikki Tooley
b38cd0fe45 Accidentally broke a bunch of tests, fixing 2015-04-03 18:24:22 +01:00
Rikki Tooley
4afe00f663 Response tests for user.getTopAlbums 2015-04-03 18:04:50 +01:00
Rikki Tooley
4e6446b744 Syro now saves/loads session state to solution directory 2015-04-03 17:34:28 +01:00
Rikki Tooley
cd157882eb user get top albums command 2015-04-03 16:13:53 +01:00
Harry
4af69f16d8 Renaming TotalPlayCount and fixing possible bug
also added play count to artist
2015-02-28 11:05:15 -04:00
Harry
0b31173925 Fixing memory leaks 2015-02-28 10:49:00 -04:00
Rikki Tooley
6a82519acb Updating NuGet packages
Json.Net -> 6.0.8
Closes #55
2015-02-19 19:16:19 +00:00
Rikki Tooley
6ce2fac64b Merge branch 'master' of https://github.com/inflatablefriends/lastfm 2015-02-19 19:04:35 +00:00
Rikki Tooley
9ef3f8f933 Fixing the scrobbling integration test. 2015-02-19 19:04:13 +00:00
Rikki Tooley
09ed4132b9 Moving demo Windows Phone app to https://github.com/inflatablefriends/lastfm-samples 2015-02-19 18:51:01 +00:00
Rikki Tooley
82b71c36de Making test logging ~30% better 2015-02-17 10:06:18 +00:00
Rikki Tooley
56fd461b5f Use DateTimeOffset internally instead of DateTime, closes #26 2015-01-14 18:51:49 +00:00
Rikki Tooley
c6990545b9 Merge pull request #53 from zumicts/master
Round duration on update now playing (integer)
2015-01-12 01:23:52 +00:00
Rikki Tooley
1a4290be22 Set a fractional duration for scrobble in track.updateNowPlaying integration test, will break build (see #52, #53) 2015-01-12 01:16:40 +00:00
Harry
bbffb27e63 Round duration on update now playing 2015-01-11 19:12:21 -04:00
Rikki Tooley
27f0d2dbb4 Update PROGRESS.md - 100 remain 2015-01-04 03:55:22 +00:00
Rikki Tooley
d2d4a595a8 artist.getTags (by username) command 2015-01-04 03:53:15 +00:00
Rikki Tooley
b13bef5ea6 Actually expose artist.getTopTags to api.. 2015-01-04 03:36:20 +00:00
Rikki Tooley
1533b0f987 artist.getTopTags 2015-01-04 03:31:13 +00:00
Rikki Tooley
b49b0aa442 Made PageResponse<T> covariant and readonly, changed signature of PageResponse.CreateSuccessResponse method, tests for album.getTagsByUserCommand 2015-01-04 02:47:08 +00:00
Rikki Tooley
74da6afee5 Merge branch 'master' into pr/40 2015-01-04 00:57:09 +00:00
Prashant Khandelwal
bd9a9d9240 album.getTags command 2015-01-04 00:26:36 +00:00
Rikki Tooley
7920432d0a Fix Apollo project build, change Scrobble constructor again 2015-01-03 23:54:29 +00:00
Rikki Tooley
adf6d7316b Moved track.updateNowPlaying to a command
Also
- Fix for track.scrobble test failing half the time
- Changed signature of user.getRecentTracks method to make since parameter optional, added note about different behaviour with 0 or 1 as page number
- Changed constructors for Scrobble
- Fixed DateTime issue in test serialise method
2015-01-03 23:32:19 +00:00
Rikki Tooley
85474f2ea2 Fix track.scrobble test 2015-01-03 21:40:28 +00:00
Rikki Tooley
1d0c433555 Merge remote-tracking branch 'remotes/zumicts/master' into pr/46
Conflicts:
	src/IF.Lastfm.Core/Api/Commands/UserApi/GetRecommendedArtistsCommand.cs
	src/IF.Lastfm.Core/Api/TrackApi.cs
2015-01-03 21:30:46 +00:00
Rikki Tooley
b21d0e1a6c track.scrobble integration test, fix for LastAuth not working 2015-01-03 21:18:35 +00:00
Rikki Tooley
fd66ad42aa Forgot to commit project 2015-01-03 03:13:59 +00:00
Rikki Tooley
b0743de028 Moving track.scrobble to a command, handle missing auth in PostAsyncCommandBase 2015-01-03 02:36:01 +00:00
Rikki Tooley
e96010bcd7 UserGetRecommendedArtistsCommand tests
Fix bug in syro with post commands
2015-01-03 02:17:13 +00:00
Rikki Tooley
525810528b Probably shouldn't be checking in my Last.fm password... 😓 2015-01-03 00:50:05 +00:00
Rikki Tooley
577beae9c5 artist.getInfo tests
(also fix auth test, oops)
2015-01-03 00:17:54 +00:00
Rikki Tooley
cc8d6cd2cc LastAuth tests 2015-01-02 23:15:56 +00:00
Harry
06e2a1b121 Fix bug with playcount prop 2015-01-01 19:25:28 -04:00
Harry
a003d38325 Move api method to correct class
recommended artist is in the userapi
2014-12-30 12:16:10 -04:00
Harry
5d452642a6 Recommend artist (user) api 2014-12-30 12:05:34 -04:00
Harry
6788074731 Fix bugs with updateNowPlaying
duration must be an int or else it will fail.

no need for timestamp
2014-12-24 17:42:40 -04:00
Harry
86020cad1d Use duration for scrobble 2014-12-24 17:10:29 -04:00
Harry
e2f380ac24 Add track.updateNowPlaying
and duration prop
2014-12-24 15:21:10 -04:00
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