hugovk
|
73cf5b3068
|
Move weekly charts getters to _BaseObject, removes duplication between group, tag and user
|
2014-03-06 14:30:02 +02:00 |
|
hugovk
|
6301a5c670
|
Add _get_things to remove duplication
|
2014-03-06 11:42:20 +02:00 |
|
hugovk
|
1d532c0363
|
Run pyflakes and pep8 and update
|
2014-03-05 18:11:57 +02:00 |
|
hugovk
|
779af598db
|
Refactor to include limit parameter to reduce bandwidth\n\nRefactor calls to chart.getTopArtists, chart.getTopTracks, tag.getTopTags and user.getTopTags to include the limit parameter (where available) to reduce the size of data sent by Last.fm.\n\nFor example, getting limit=1 can reduce receiving 101 items to 1, making the test take 0.5s rather than 1.2s.\n\nAlso return a list of TopItems rather than just items, and add cacheable parameter.
|
2014-03-05 10:29:16 +02:00 |
|
hugovk
|
4698993421
|
Jiggle the tests to increase coverage a bit
|
2014-03-05 01:29:58 +02:00 |
|
hugovk
|
f8f9226e94
|
Remove a couple of resource warnings from not closing files
|
2014-03-05 01:01:27 +02:00 |
|
hugovk
|
2a48ccf369
|
The CI got different Spotify IDs to my computer. Generalise the tests. For #74.
|
2014-03-05 00:51:20 +02:00 |
|
hugovk
|
3d169178ae
|
Implement artist/album/track.getPlaylinks, closes #74
|
2014-03-05 00:41:26 +02:00 |
|
hugovk
|
daa590b11d
|
Implement geo.getMetroHypeTrackChart, geo.getMetroTrackChart and geo.getMetroUniqueTrackChart. Closes #44.
|
2014-03-04 18:56:28 +02:00 |
|
hugovk
|
a97c584059
|
Implement geo.getMetroUniqueArtistChart for #44
|
2014-03-04 18:17:37 +02:00 |
|
hugovk
|
2938255e2f
|
Implement geo.getMetroHypeArtistChart and refactor
|
2014-03-04 18:12:56 +02:00 |
|
hugovk
|
c587600e16
|
Add from and to dates for artist charts, for #44
|
2014-03-04 17:58:50 +02:00 |
|
hugovk
|
a254a9fd0c
|
Implement geo.getMetroWeeklyChartlist and geo.getMetroArtistChart for #44
|
2014-03-04 17:49:56 +02:00 |
|
hugovk
|
f7e5645ed6
|
Implement geo.getMetros for #44
|
2014-03-04 17:11:50 +02:00 |
|
hugovk
|
748f66ecc3
|
Implement geo.getTopArtists for #44
|
2014-03-04 16:29:41 +02:00 |
|
hugovk
|
9ca4109f22
|
Implement geo.getTopTracks for #44
|
2014-03-04 16:14:52 +02:00 |
|
hugovk
|
2d11699df0
|
Implement firs Geo function, for #44
|
2014-03-04 15:46:00 +02:00 |
|
hugovk
|
1d1eba5af7
|
Add cacheable parameter for 16 functions that call _collect_nodes(). There's some 112 that call _request() and some may be made cacheable, but they can be done if someone asks for it. Closes #88.
|
2014-03-04 13:47:43 +02:00 |
|
hugovk
|
1fc02a33c5
|
Jiggle the tests to increase coverage a bit
|
2014-03-04 10:42:59 +02:00 |
|
hugovk
|
9edfcb5745
|
Extra tests for artist's bio, track/album's wiki content/summary. Closes #87.
|
2014-03-04 09:24:20 +02:00 |
|
hugovk
|
cd10d53a82
|
Partial fix for #87
|
2014-03-03 23:03:45 +02:00 |
|
hugovk
|
2d42d3b15d
|
No cPickle in Python 3, instead it uses whichever is available. So let's just test pickle
|
2014-03-03 22:22:29 +02:00 |
|
hugovk
|
b947179972
|
Test pickle and cpickle on User object. Seems to work, so going to close #83 and can re-open if more specific info is given.
|
2014-03-03 21:54:35 +02:00 |
|
hugovk
|
c15923e4cd
|
get_upcoming_events() no longer returns events with venue IDs. Also fixed/tested other events functions, and removed duplication. Closes #78.
|
2014-03-03 18:41:07 +02:00 |
|
hugovk
|
40ea12a22f
|
Improve rate limiting and tests, for #80
|
2014-03-03 14:57:15 +02:00 |
|
hugovk
|
a1867cc8d4
|
Make rate-limiting a switch that can be toggled, closes #80
|
2014-03-03 13:41:10 +02:00 |
|
hugovk
|
a38f3b485c
|
Add album for a user's recent tracks and artist tracks, closes #69
|
2014-03-03 13:16:23 +02:00 |
|
hugovk
|
785139dce6
|
Add Track.get_userloved() with test, closes #70
|
2014-03-03 12:45:16 +02:00 |
|
hugovk
|
3a0e69f218
|
Add test case for #70: username parameter already supported for track.getInfo to get user's play count
|
2014-03-03 12:16:22 +02:00 |
|
hugovk
|
023828c07a
|
Fix indentation
|
2014-03-03 09:04:40 +02:00 |
|
hugovk
|
954e32a819
|
Rename test_pylast_example.yaml -> example_test_pylast.yaml (makes tab-autocompletion happier)
|
2014-03-03 08:59:36 +02:00 |
|
hugovk
|
2d861dcb10
|
Cast string of total to int, for #71
|
2014-03-02 22:58:30 +02:00 |
|
hugovk
|
c6c8d45635
|
Apply patch to fix illegal XML characters, closes #71
|
2014-03-02 22:54:02 +02:00 |
|
hugovk
|
6db87f8a27
|
Library, Playlist, XSPF and Group now also hashable, with a helper function to reduce test duplication. For #82.
|
2014-03-02 20:17:34 +02:00 |
|
hugovk
|
9d5d56ceaf
|
Country and Venue now hashable, for #82
|
2014-03-02 19:34:55 +02:00 |
|
hugovk
|
c3bf1f0a06
|
Add tests for hashable events and tags, for #82
|
2014-03-02 18:35:40 +02:00 |
|
hugovk
|
3fe197bbcc
|
Hashable artist and album, for #82
|
2014-03-02 14:46:13 +02:00 |
|
hugovk
|
14293aacca
|
Add test for hashable user. Should fail on 3.3. / cc #82
|
2014-03-02 14:09:57 +02:00 |
|
hugovk
|
06a05361a5
|
Run all tests
|
2014-03-02 14:01:33 +02:00 |
|
hugovk
|
6caed64f75
|
Use random album or artist to avoid problems running concurrent tests on CI
|
2014-03-02 14:01:08 +02:00 |
|
hugovk
|
d125afd45f
|
When getting last scrobbled track, need to get at least two recent tracks because the last may be a now-playing and thus ignored.
|
2014-03-02 12:28:14 +02:00 |
|
hugovk
|
baa4e782b6
|
If no secrets file, load from environment variables. For Travis CI testing.
|
2014-03-02 11:49:46 +02:00 |
|
hugovk
|
f4e1cb7448
|
Add test case for #82. Passes as expected with Python 2.7, but need to test in 3
|
2014-03-02 10:28:44 +02:00 |
|
hugovk
|
0246fa45d5
|
Simplify unix_timestamp()
|
2014-03-02 10:15:47 +02:00 |
|
hugovk
|
44318fccc4
|
Album.get_top_tracks now returns TopItems. Closes #86.
|
2014-03-02 10:00:26 +02:00 |
|
hugovk
|
e388db1e2f
|
ws_server for LibreFMNetwork is now alpha.libre.fm, not alpha.dev.libre.fm. Closes #79.
|
2014-03-02 00:25:29 +02:00 |
|
hugovk
|
3e5e371b29
|
Really add library.removeArtist, closes #84
|
2014-03-02 00:04:30 +02:00 |
|
hugovk
|
bdb429cc8a
|
Add test for adding artist, and allow artist as Artist or string
|
2014-03-01 23:54:45 +02:00 |
|
hugovk
|
7eb640fa88
|
Add library.removeArtist, closes #84
|
2014-03-01 23:41:44 +02:00 |
|
hugovk
|
880e160f64
|
Attempt to reproduce #77 but cannot reproduce. Closes #77.
|
2014-03-01 17:43:25 +02:00 |
|