4 Commits

Author SHA1 Message Date
James Lu
f88018a76f LastFM: optionally show extended info (user play count + tags) 2017-04-11 18:19:00 -07: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
282ccbeac7 Merge commit 'f48a0555cc008b6074aac571a19285cdbb73ed16' as 'LastFM' 2014-11-04 17:52:03 -08:00