Commit graph

29 commits

Author SHA1 Message Date
Koen van Zuijlen
c851b82a1d Reverted temporary files change 2020-12-29 22:12:43 +01:00
Koen van Zuijlen
b992d26138 Bugfix for creation of temporary files 2020-12-29 21:19:46 +01:00
Hugo van Kemenade
10107a04e4 Merge remote-tracking branch 'upstream/master' into streaming 2020-12-29 21:38:44 +02:00
Hugo van Kemenade
0999501600 Fix comment 2020-12-29 21:24:05 +02:00
Hugo van Kemenade
23503a7212 Refactor to remove unused parameter 2020-12-27 14:22:20 +02:00
Hugo van Kemenade
08274028eb Set limit to 50 by default, not 1 2020-12-27 14:01:12 +02:00
Hugo van Kemenade
85f58472a3 Remove deprecated Artist.get_cover_image, User.get_artist_tracks and STATUS_TOKEN_ERROR 2020-09-12 00:21:12 +03:00
Hugo van Kemenade
0f96fe58b1 Format with Black and isort 2020-09-11 23:47:42 +03:00
Koen van Zuijlen
136b7f1cef Made stream=False the default instead of stream=True 2020-07-14 03:42:44 +02:00
kvanzuijlen
52abbba2bd tox lint changes 2020-07-12 13:32:32 +02:00
kvanzuijlen
15672922a7 General code improvements 2020-07-12 13:32:24 +02:00
kvanzuijlen
99fb7cd7a5 Added a parameter to choose whether to include now playing or not 2020-07-12 13:32:13 +02:00
kvanzuijlen
11d955dd89 Now playing shouldn't count as a recently played track 2020-07-12 13:32:01 +02:00
kvanzuijlen
92004058ba Added option to stream from resources to reduce memory usage 2020-07-12 13:31:48 +02:00
Hugo
158273e0ae Deprecate Artist.get_cover_image, they're no longer available from Last.fm 2020-06-22 22:20:45 +03:00
Hugo
d467e2ceb7 If we already have the album, return early 2020-06-01 21:45:11 +03:00
Hugo
7689a1e95a User.get_now_playing: Add album and cover image to info 2020-06-01 14:52:29 +03:00
Hugo
a373654500 Return None if bio section is empty 2020-05-08 12:38:02 +03:00
spiritualized
6a28ba076f Improve handling of error responses from the API 2020-05-06 22:43:16 -04:00
Hugo
21f127f88b Fix regression calling get_recent_tracks with limit=None 2020-02-15 18:19:59 +02:00
Hugo
662e3bbddd Update copyright year 2020-01-03 13:26:27 +02:00
Hugo
ad2f9cbaa2 Use setuptools_scm to simplify versioning during release 2019-12-27 23:13:58 +02:00
Hugo
3673c07994 Concatenate strings, post-Black 2019-12-17 22:47:39 +02:00
Hugo
109315d93d Remove Python 2 warnings, apply lint updates 2019-09-26 11:10:52 +03:00
Hugo
3fd8280e33 Update docstring: since 2016 get_weekly_artist_charts is only for users, not tags 2019-09-26 10:34:22 +03:00
Hugo
7915d7f3e6 Respect get_recent_tracks' limit when there's a now playing track 2019-09-19 14:27:20 +03:00
Paddez
7694de346e Store Album Art URLs when you call GetTopAlbums.
GetTopAlbums returns AlbumArt information alongside the TopAlbums.
We should store this in the Album() info variable, so we don't have to follow up with an additional GetInfo() call if we want the Album Art.

Signed-off-by: Paddez <dave@paddez.com>
2019-06-22 22:36:41 +01:00
Hugo
44d0c2c966 user.getArtistTracks has now been removed from Last.fm and returns an error 2019-06-02 22:54:03 +03:00
Hugo
1a78c0b99d Move production code to src/ 2019-04-05 08:37:01 +03:00