James Lu
f4f9bf6956
LastFM: prefer looking up account names; use ident@host only if the caller isn't registered
...
Closes #43 .
2016-03-04 15:25:04 -08:00
James Lu
5bf5772b9a
LastFM: switch to using wrap() as a decorator
2016-02-25 06:58:30 -08:00
James Lu
0abe86e824
LastFM: update copyright, remove unused code / imports
2015-11-01 11:04:55 -08:00
James Lu
99d6557e46
LastFM: add experimental YouTube link fetching for 'np'
...
Essentially, my reimplementation of krf/supybot-lastfm#8 . Instead of using YouTube's API (which requires API keys and all that), this performs web search on site:youtube.com using the DDG (DuckDuckGo) plugin in this repository. The advantage to this is that it's simpler to set up, but results may not always be the most accurate / relevant.
This behavior can be turned on by setting supybot.plugins.LastFM.fetchYouTubeLinks to True - it defaults to off since this is experimental anyways. The DDG plugin needs to be loaded too for this to work.
Also, only bold the album/artist/track data during output formatting, NOT before (this screws up searches with all the \x02's).
2015-11-01 10:48:56 -08:00
James Lu
932a27e588
LastFM: catch and fall back to "some point in time" if LastFM's API doesn't show the listened-to date
2015-11-01 10:24:44 -08:00
James Lu
f03b891fc2
LastFM: rewrite "np" using the JSON API
...
Close 36.
2015-10-09 18:25:57 -07:00
James Lu
f5b1bedd3f
LastFM: fix "profile", moving to JSON API ( #36 )
2015-10-09 18:23:48 -07:00
James Lu
02a2efffb2
LastFM: reduce the plugin to "np" and "profile" ( #36 )
...
LastFM's API breakages are making this hard to maintained, and the low demand for these commands make it not worth maintaining.
2015-10-09 18:23:48 -07:00
James Lu
3564f0bd43
LastFM: "compare" is dead, remove it. ( #36 )
...
LastFM seems to have disabled their tasteometer API without any notice whatsoever. Oddly, the only relevant information I can find on this is a Reddit post: https://www.reddit.com/r/lastfm/comments/3mkrqm/is_the_tasteometer_api_down/
2015-10-09 18:23:44 -07:00
James Lu
652b3de8ef
Update LastFM snapshot (Merge remote-tracking branch 'lastfm/devel')
2015-02-25 01:04:08 -05:00
James Lu
767b5da0c2
Merge remote-tracking branch 'lastfm/devel'
2015-02-05 20:36:42 -08:00
James Lu
a6c7d078b4
Update LastFM snapshot
...
- baeb37d LastFM: Make plugin threaded
2015-01-31 14:58:53 -05:00
James Lu
dd0493ddb2
Merge remote-tracking branch 'lastfm/devel'
2014-12-20 23:14:35 -08:00
James Lu
7b1e3f0fa1
Update LastFM snapshot
2014-12-20 23:03:59 -08:00
James Lu
78a16dee53
Merge remote-tracking branch 'lastfm/devel'
2014-12-11 15:48:34 -08:00
James Lu
76bb8817b8
Merge remote-tracking branch 'lastfm/devel'
2014-11-29 22:34:15 -08:00
lilsnooker
8ef76f5d75
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
78a72af085
Update LastFM snapshot (Merge remote-tracking branch 'lastfm/devel') [ci skip]
2014-11-13 19:34:26 -08:00
James Lu
282ccbeac7
Merge commit 'f48a0555cc008b6074aac571a19285cdbb73ed16' as 'LastFM'
2014-11-04 17:52:03 -08:00