mogad0n
2a098528c7
LastFM: more immersive nowplaying output ( #95 )
...
* Making the output for nowplaying immersive
Added a simple conditional to make the output of now playing a little more aesthetically pleasing.
mogad0n is listening to Roller Mobster by Carpenter Brut [Trilogy]
vs
mogad0n listened to Roller Mobster by Carpenter Brut [Trilogy] just now.
Close #92
2020-09-10 20:27:22 -07:00
James Lu
53d2286aaf
LastFM, NuWeather: allow DB addressing mode to be configured
...
These now support:
- saving users by accounts (fall back to ident@host if not registered)
- saving users by ident@host
- saving users by nick
2019-01-02 19:43:20 -08:00
James Lu
c0d15face0
accountsdb: always save files into the data directory
2018-12-30 14:22:38 -08:00
James Lu
f0546d521d
Pull LastFMDB into a generic accountsdb module
2018-12-30 12:37:22 -08:00
James Lu
888ce4e445
LastFM: fix formatting errors in 'profile'
2018-07-19 18:22:53 +00:00
James Lu
39ae7846c7
LastFM: fix extended info parsing on tracks without a Musicbrainz ID
2017-04-11 18:19:00 -07:00
James Lu
e3f9098776
LastFM: make fetchYouTubeLink option actually channel specific
2017-04-11 18:19:00 -07:00
James Lu
f88018a76f
LastFM: optionally show extended info (user play count + tags)
2017-04-11 18:19:00 -07:00
James Lu
4cd8bc9354
LastFM: fix grammar ("listened to X just now" vs. "listened to X right now")
2017-04-11 18:19:00 -07:00
James Lu
35e82ca785
LastFM: fix my email [skip ci]
2017-03-07 17:18:46 -08:00
James Lu
1836cc7f90
LastFM: rewrite YouTube link search to use DDG's search_core()
...
This allows the LastFM plugin to share the same redirect expansion code as DDG (from commit 8187d51cef8a716f7b58d8e4521ebf37444f8fe0).
2017-01-20 19:04:07 -08:00
James Lu
390a4e3bfc
LastFM: various formatting improvements
2016-06-19 20:33:07 -07:00
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