Commit graph

194 commits

Author SHA1 Message Date
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 896e248909 Unfix broken fix for #85 2014-03-03 12:48:58 +02:00
hugovk 785139dce6 Add Track.get_userloved() with test, closes #70 2014-03-03 12:45:16 +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 3257a2b178 Events and tags are now hashable 2014-03-02 18:40:47 +02:00
hugovk 3fe197bbcc Hashable artist and album, for #82 2014-03-02 14:46:13 +02:00
hugovk 6fa52100c3 Should fix hashable user on 3.3, for #82 2014-03-02 14:12:47 +02:00
hugovk 6b47ae15b7 Add possible partial fix for #82 2014-03-02 13:12:14 +02:00
hugovk b83113bda5 Add debugging for Python 3.3 2014-03-02 12:19:22 +02:00
hugovk e90f433e5e Add debugging for Python 3.3 2014-03-02 12:17:22 +02:00
hugovk 892ccd3585 Add debugging for Python 3.3 2014-03-02 12:13:50 +02:00
hugovk 7887242e84 Add debugging for Python 3.3 2014-03-02 12:11:39 +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 16079468ab Fix getting now playing for user with no scrobbles. Closes #81. 2014-03-01 16:57:29 +02:00
hugovk f59d2cc680 Fix comparison of User to other types. Closes #75. 2014-03-01 16:44:13 +02:00
hugovk 5324aacd83 Apply typo patch, closes #85. 2014-03-01 16:25:19 +02:00
hugovk 50bb692383 Add track.unlove, closes #65 2014-03-01 15:57:00 +02:00
hugovk 56f3666ced If no country, return None rather than Country class. Fixes http://stackoverflow.com/q/14609467/724176 2014-03-01 12:36:35 +02:00
hugovk 6d5c818ad0 Fix up some missing stuff after grafting 2014-02-28 11:20:01 +02:00
hugovk 552c45f18f Get user's registration date (and as a UNIX timestamp) 2014-02-27 20:14:32 +02:00
hugovk 71bef027c4 Merge pull request #1 from inversion/master
Merging event changes
2014-02-26 19:54:44 +02:00
hugovk 16482faed1 Add library.removeScrobble 2014-02-26 13:41:35 +02:00
hugovk b48f56badf Bug fix: http://stackoverflow.com/a/5542465/724176 2014-02-26 13:16:28 +02:00
Andrew Moss eadce48315 fixed bug wherein empty elements would make get_venue() crash 2013-12-27 10:08:50 +00:00
Andrew Moss e9a25606a0 Merge branch 'master' of github.com:inversion/pylast 2013-12-26 23:18:54 +00:00
Andrew Moss c8216a139e Allow getting venue info through Event.get_venue() as a workaround until
the Venue.getInfo API call is added to Last.fm. Changed version to 0.6
in setup.py and pylast.py to reflect update.
2013-12-26 23:16:55 +00:00
Andrew Moss 88f5b5e6b9 Allow getting venue info through Event.get_venue() as a workaround until the Venue.getInfo API call is added to Last.fm 2013-12-26 23:11:23 +00:00
Matt Jeffery bb33663472 replace '&' with & when it is not in a character entity (approximation) 2013-03-01 20:14:18 +00:00
Matt Jeffery e2cc69a7e8 works with CDATA tags 2013-03-01 19:38:41 +00:00
Hugo 78aac5c437 Added user.getArtistTracks 2013-01-24 19:37:02 +02:00
Elizabeth J. Myers 7fadea93bd whitespace cleanup. no functional change. 2013-01-16 11:21:55 -06:00
Elizabeth J. Myers 04cf7f7e25 Add support for user nowplaying to several classes. 2013-01-16 11:19:41 -06:00
Elizabeth J. Myers 0400a87b04 Bloop 2013-01-16 11:18:29 -06:00
Lukas Lipka 79a43919cc Add support for chart artists/tracks. 2012-03-10 15:09:42 +01:00
Lukas Lipka ad525bdd8b Import pylast-0.5.11 2012-03-10 14:50:47 +01:00
Lukas Lipka a6b1f50f2e Initial import. 2012-03-10 14:24:59 +01:00
Amr Hassan 240483d72f Closes Issue #71 2011-09-30 23:02:43 +02:00
Amr Hassan 6508bc132a * New release. 2011-03-12 14:32:06 +00:00
Amr Hassan 45eca0e8e4 * New release. 2011-03-12 00:00:42 +00:00
Amr Hassan 09c7d7238c * Fixed a typo in scrobble_many. 2011-01-25 12:57:23 +00:00
Amr Hassan e5228d410d * Added artist and album parameters to Library methods. (API BREAKAGE).
(Closes Issue #44)
2011-01-24 13:21:31 +00:00
Amr Hassan 52ce81743a * Fixed not using the limit on *.get_top_tags(limit). (Closes Issue #61) 2011-01-24 13:05:44 +00:00
Amr Hassan 96e90dfebf * Making use of the warnings module. (Closes Issue #59) 2011-01-22 01:27:59 +00:00
Amr Hassan 38aeed8570 * Hopefully, no non-string parameters should break requests now. (Should
close Issue #56)
2011-01-22 01:14:16 +00:00
Amr Hassan e882d38ffe * Fixed: Issue #56: update_now_playing() and scrobble() does not accept
integers where natural
2011-01-21 22:37:14 +00:00
Amr Hassan b267c90b82 * Further Error-proofing through pylast.NetworkError. 2011-01-21 22:33:34 +00:00
Amr Hassan 881d6abf3e * Fixed _Taggable.remove_tag. (Closes Issue #57) 2011-01-21 22:28:17 +00:00
Amr Hassan c7d4227b01 * New pylast.MalformedResponseError exception that fires off (hopefully)
on bad responses from Last.fm or network data corruption. (Closes Issue
#58)
2011-01-21 21:49:07 +00:00
Amr Hassan 5423322cd7 Fixed a bug in _Network.scrobble_many(...) with missing parameters 2011-01-11 07:59:46 +00:00
Amr Hassan 6b3185bf7b * Removed redundant Track.shout(...). (Closes Issue #54) 2011-01-06 15:18:51 +00:00
Amr Hassan c57a912305 * Fixed compatibility with Python 2.6. (Closes Issue #53) 2011-01-06 15:02:54 +00:00
Amr Hassan 8c145f0512 * Network objects are now serializable through the repr() function. 2011-01-06 06:20:49 +00:00
Amr Hassan 02ccb2b199 * Implemented the scrobbling protocol 2.0 through Network.scrobble(...),
Network.scrobble_many(...), and Network.update_now_playing(...) and
deprecating the old ways. Closes Issues #49 #50 #51.
2011-01-05 12:40:27 +00:00
Amr Hassan 4250670110 Fixed scrobbling responses on Python3 2011-01-05 08:24:12 +00:00
Amr Hassan bebf474aa9 * Taggable.add_tags(), Taggable.set_tags() and Taggable.remove_tags()
now only accept a list of tags [API BREAKAGE]. (Closes Issue #52)
2011-01-05 06:48:04 +00:00
Amr Hassan a3649bd1cb * properly_capitalized argument available for attributes that can be
retrieved from the webservices and replace the given (more likely)
miscapitalized ones. Closes Issue #37
2011-01-05 05:44:17 +00:00
Amr Hassan 0183d8b294 Fixed: Use __str__() for textual info about an object, and __repr__() for textual serializaion of the object that can be used to recreate it. 2011-01-05 05:29:46 +00:00
Amr Hassan d0344f40d4 * Now plays nice with Python3. (Hopefully) 2011-01-05 05:07:07 +00:00
Amr Hassan b7129a564b Changed the license to Apache 2 2010-08-22 07:09:38 +00:00
Amr Hassan 2882cdd457 Broken scrobbling BADAUTH response 2010-08-11 01:27:23 +00:00
Amr Hassan 155f98940d Fixed issue #40 2010-03-28 09:45:38 +00:00
Amr Hassan c0da0cc880 * Added Scrobbler.scrobble_many(...) method
* Fixed issue #38: Moved AuthenticatedUser.get_cover_image() to User.get_image() and all the other "user.getInfo" related methods to User as well.
* Fixed issue #39: Added PERIOD_7DAYS constant
2010-03-27 18:52:31 +00:00
Amr Hassan 4772a67b2e Fixed compatibility issue with libre.fm 2010-02-20 07:27:55 +00:00
Amr Hassan f3b4182317 Fixed scrobbling with webservices authentication 2010-02-19 06:34:27 +00:00
Amr Hassan 7a2fad0110 -- Fixed Issue #32\n-- Fixed Issue #33 2010-02-19 05:49:42 +00:00
Amr Hassan c2f8333c7c Fixed Libre.fm scrobbling. Now it actually works! It's weird that no one noticed. 2009-11-20 19:08:18 +00:00
Amr Hassan fbb869de1c fixed a smartass bug 2009-11-20 17:50:30 +00:00
Amr Hassan 066417c69b scrobble mode can be left out blank 2009-10-21 10:48:28 +00:00
Amr Hassan 312230e30b ran through pychecker and fixed several typos 2009-10-21 00:42:07 +00:00
Amr Hassan 33fb6190ae _BaseObject.__hash__() is now case-insensitive 2009-10-06 15:04:52 +00:00
Amr Hassan 7d91a9acac _BaseObject.__hash__() now includes a type indentifier 2009-10-06 14:37:31 +00:00
Amr Hassan 16c9e14a4d each _BaseObject descendant has a unique __hash__ now 2009-10-06 14:27:24 +00:00
Amr Hassan fa6093313a fixed minor issue in User.get_friends() 2009-10-06 12:54:16 +00:00
Amr Hassan 83bbe31b66 fixed and issue with authenticating through Network's constructor 2009-10-01 18:18:57 +00:00
Amr Hassan 586fcae541 Fixes issue #23 2009-09-08 15:06:43 +00:00
Amr Hassan ae32b1bb6d changed the output of Artist.get_similar and Track.get_similar to include the match value (API breakage) - Closes issue #22 2009-09-08 01:40:41 +00:00
Amr Hassan 3a9dd57492 fix scrobbling not worky 2009-09-02 05:02:54 +00:00
Amr Hassan bd1ce5ebaf added order to Artist.get_images() 2009-09-01 06:14:45 +00:00
Amr Hassan 1667f43454 Made logging optional per Network 2009-08-31 22:05:23 +00:00
Amr Hassan e092099bde 2009-08-31 04:57:13 +00:00
Amr Hassan d61fbb3a04 Enter v0.4 2009-08-31 04:18:37 +00:00
Amr Hassan a34a7ea6aa Closes issue #21: 'limit' support in get_loved_tracks 2009-08-30 20:42:16 +00:00
Amr Hassan 45092ec4f5 FIXED (hopefully): unicode issue in scrobbling 2009-08-18 23:02:15 +00:00
Amr Hassan 8d8063afe8 fixed sqlite caching 2009-08-04 20:20:34 +00:00
Amr Hassan 6acb1bfd38 fixed a typo 2009-08-03 09:04:11 +00:00
Amr Hassan 3d6c57a71b Refactored the code for caching requests, and added the support of sqlite3 if the module is present. If not installed, shelve module would be used instead. 2009-07-16 03:04:21 +00:00
Amr Hassan adc785ade4 fixed some unicode problems with hashlib, i hope. 2009-06-29 09:01:00 +00:00
Amr Hassan a34b8b558e changed versioning system to include svn revision. 2009-06-26 07:13:45 +00:00
Amr Hassan 5baa605bd2 * uses shelve for caching 2009-06-26 05:53:12 +00:00
Amr Hassan 3a6d7d9fb1 2009-05-12 13:27:40 +00:00
Amr Hassan d9148ac382 * testing something... 2009-04-05 04:11:52 +00:00
Amr Hassan a8e62d7bb0 * testing something... 2009-04-05 03:55:32 +00:00