GLolol
f8a66f7d90
LastFM: skip tests for 'compare'
...
Some weird bug in the test framework makes this break horribly... The API key doesn't get set??
2015-02-04 20:41:23 -08:00
GLolol
fd5ae25adf
LastFM: major code cleanup and refactoring
...
- 'lastfm 'command is now split into subcommands, wrapping around one shared function (Closes #2 ).
- Use bolding for prettier formatting in output.
- Update command help/documentation to be more consistent (use "user", not "id" to refer to configured users).
- Rename variables named 'id' -> 'user', since the previous is collides with a built in function.
- Update tests accordingly.
2015-02-04 20:26:28 -08:00
GLolol
2f70d9bd71
LastFM: migrate 'profile' to LastFM API v2
2014-11-10 18:15:20 -08:00
James Lu
3497bab87a
test.py: fetch API Key from environment variables
2014-11-02 17:02:18 -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
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
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