57 Commits

Author SHA1 Message Date
James Lu
02b9dafae5 accountsdb: fix missing import 2019-03-09 12:36:32 -08:00
James Lu
e46915b58d accountsdb: write DB to a temporary file first 2019-03-09 11:15:34 -08:00
James Lu
f3bfd9ff73 accountsdb: store users case-insensitively by default 2019-03-09 11:15:18 -08:00
James Lu
9504ee446a Bump version to 2019.03.03+git 2019-03-03 22:26:12 -08:00
James Lu
07f860c735 Bump version to 2019.03.03 2019-03-03 22:25:50 -08: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
6424b3664f Remove symlinks in local/ (these would break PluginDownloader) 2018-12-30 13:10:15 -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
ca3b9323e7 Bump version to 2018.05.03+git 2018-05-03 12:09:23 -07:00
James Lu
f4bc06f0d3 Bump version to 2018.05.03 2018-05-03 12:01:10 -07:00
James Lu
eae4c6bf33 LastFM: make tests network only 2018-04-27 11:59:00 -07:00
James Lu
11a03ad9a0 Bump version to 2017.05.31 2017-05-31 13:10:47 -07: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
22a710649e Bump version to 2017.01.16+git 2017-01-16 21:23:59 -08:00
James Lu
f97b54d709 Bump version to 2017.01.16 2017-01-16 21:16:25 -08:00
James Lu
b6f0397665 Bump version to 2016.09.26+git 2016-09-26 11:08:14 -07:00
James Lu
23989f692e Bump version to 2016.09.26 2016-09-26 11:07:28 -07:00
James Lu
a7a2dbc03c LastFM: refresh README [skip ci] 2016-09-23 19:39:42 -07:00
James Lu
7c3c90ee37 Bump version to 2016.07.03+git 2016-07-03 12:49:10 -07:00
James Lu
1e96e5fd80 Bump version to 2016.07.03 2016-07-03 12:49:04 -07:00
James Lu
390a4e3bfc LastFM: various formatting improvements 2016-06-19 20:33:07 -07:00
James Lu
274027c94a Bump version to 2016.05.15+git 2016-05-15 10:28:42 -07:00
James Lu
f2d9a3a3ff Bump version to 2016.05.15 2016-05-15 10:28:39 -07:00
James Lu
bb1ed2eda8 Bump version to 2016.02.28.1+git 2016-03-04 16:39:58 -08:00
James Lu
177eefa0a3 plugins: update my email 2016-03-04 16:36:16 -08: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
7b0c06292d LastFM: mention YouTube linking feature and initial setup
[skip ci]
2016-02-14 10:27:05 -08:00
James Lu
af0b15c88c LastFM: remove Travis / gitignore files, since it isn't being used as a subtree anymore 2016-02-07 11:42:19 -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
2a0469d039 LastFM: readme updates
Remove references to the subtree repo for LastFM, it's out of date and isn't in sync anymore (merge conflicts, yay!)

[skip ci]
2015-10-11 22:27:55 -07: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
4a4a6e0f03 Merge remote-tracking branch 'lastfm/devel' 2015-03-13 22:58: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