25 Commits

Author SHA1 Message Date
James Lu
610eab51f8 LastFM: drop depends on bs4 2014-12-20 23:03:08 -08:00
James Lu
6d03a08fee LastFM: strip spaces in fields correctly
This reverts commit 6699dfb7b297afe77dae1c3fff836021a6552a12.
2014-12-11 15:46:30 -08:00
GLolol
6699dfb7b2 LastFM: fix a weird spacing issue 2014-11-28 10:44:26 -08:00
lilsnooker
36576b3166 fix _formatTimeago in LastFM plugin
On arch using python 3.4.2 this if statement was always true for the first statement.

This fixes the problem for me.
2014-11-23 13:38:33 -08:00
GLolol
dc869d4e59 LastFM: finish the migration to API v2.0 (remote stale variables) 2014-11-13 19:27:11 -08:00
GLolol
46170c30ca LastFM: parse output properly in 'lastfm' (requires beautifulsoup4 and lxml) 2014-11-13 19:17:08 -08:00
GLolol
c8823ab66f LastFM: begin migrating 'lastfm' to API version 2 (still very broken right now) 2014-11-10 18:49:30 -08:00
GLolol
c0d4b55633 LastFM: use Raise=True over return & clarify function descriptions 2014-11-10 18:20:25 -08:00
GLolol
2f70d9bd71 LastFM: migrate 'profile' to LastFM API v2 2014-11-10 18:15:20 -08:00
James Lu
6289f11445 fix UnicodeDecodeError with 'lastfm recenttracks' 2014-11-04 17:22:21 -08:00
GLolol
1d4a5a2af5 Stop hardcoding api key & fix errors when a user has never played a track before (#1)
- Tests are broken at the moment (supybot-test just ignores them!) At least they don't cause SyntaxErrors now
2014-11-02 09:47:31 -08:00
GLolol
7f39668e79 Add preliminary Python 3 support (some things are still quite broken and need testing) 2014-11-01 11:36:56 -07:00
Edward Hades
f7d5d22cf8 nowPlaying: format album properly 2013-08-03 11:52:33 +02:00
Kevin Funk
63b0af8338 Fix missing argument
Ouch. Wondering how that one slipped through.

Thanks to Colin Guthrie for reporting.
2013-03-15 23:27:30 +01:00
Kevin Funk
5e91a27ace Fix null album strings, add tests
Thanks to Thomas Coppi for the hint.

Related to https://github.com/krf/supybot-lastfm/pull/2
2012-10-16 09:11:21 +02:00
Kevin Funk
1dbffdf6f6 Fix missing 'channel' decl 2012-07-27 06:54:19 +02:00
Kevin Funk
644ef579ac Respect maxResults config variable in compare 2012-07-26 21:37:27 +02:00
Kevin Funk
836b11b026 Minor: Fixup method naming 2012-07-26 20:53:54 +02:00
Kevin Funk
c709f1d826 Include more rating information in "compare" 2012-07-26 20:52:46 +02:00
Kevin Funk
2bb47b716b Dont use generic try-except clauses 2012-07-26 20:35:38 +02:00
Kevin Funk
122eedd11d Finally use own API KEY 2012-07-26 20:33:07 +02:00
Kevin Funk
6eee1e06a9 More cleanup 2012-07-26 20:32:23 +02:00
Kevin Funk
9638d6ddce Cleanup, try to stay compatible with Python 2.5.x 2012-07-26 20:21:36 +02:00
Kevin Funk
20397ff5bb Add compare function 2012-07-26 20:10:03 +02:00
Kevin Funk
8bcc372c0c Moved to github.com 2012-07-09 21:49:00 +02:00