Tomáš Mládek
|
2e416d3412
|
improved logging
|
2019-08-29 10:08:21 +02:00 |
|
Tomáš Mládek
|
d19512e3eb
|
debug logger for all received tg messages
|
2019-08-28 11:41:51 +02:00 |
|
Tomáš Mládek
|
49cdb48bba
|
limit /orphan and /stats cmds to protected chats to curb trolling
|
2019-08-28 11:31:52 +02:00 |
|
|
a5c1b724ab
|
add drive space check
|
2019-07-25 11:25:35 +02:00 |
|
|
9fe9c81586
|
prevent unnecessary "file too big" errors (?)
|
2019-07-25 11:05:52 +02:00 |
|
|
0369b98ff2
|
replace acoustid's ";" artist separator with "&"
|
2019-07-16 12:03:46 +02:00 |
|
Tomáš Mládek
|
66b12c2caf
|
check before trying to add to markov
|
2019-07-03 16:26:05 +02:00 |
|
|
645570adc6
|
update gitignore
|
2019-06-25 17:08:17 +02:00 |
|
|
7b6e15cae6
|
add db, set protected chats/tags dynamically
|
2019-06-25 15:49:25 +02:00 |
|
|
bfcecc7cf1
|
Merge remote-tracking branch 'origin/master'
|
2019-06-12 16:23:53 +02:00 |
|
|
0c45a0a5da
|
add retval to handle() fn, stop processing message on first success
|
2019-06-12 16:23:36 +02:00 |
|
Tomáš Mládek
|
a33e341794
|
upload mp4s to tumblr as gifs (fixes #7)
|
2019-05-31 19:43:22 +02:00 |
|
Tomáš Mládek
|
45a7594ef3
|
fix crash on no Tumblr
|
2019-05-31 19:39:43 +02:00 |
|
Tomáš Mládek
|
ff5526eeed
|
wrangle all audio files to 44.1k for proper crossfading
|
2019-05-31 17:57:31 +02:00 |
|
Tomáš Mládek
|
29dcef7e29
|
pip-compile --upgrade
|
2019-05-31 17:55:04 +02:00 |
|
Tomáš Mládek
|
60601ea061
|
avoid infinite loops in case of 403 errors
|
2019-05-31 17:53:40 +02:00 |
|
|
ae09a1d981
|
slight change in /retag (" - " instead of "-" is the artist/title split)
|
2019-05-29 15:58:16 +02:00 |
|
|
558e723948
|
attempt to handle 403 errors
|
2019-05-29 13:50:44 +02:00 |
|
|
12f625a432
|
ydl -> ytdl (cosmetics; ocd)
|
2019-05-29 13:45:56 +02:00 |
|
|
4c585496a9
|
remember tags and last downloaded per each chat
|
2019-05-29 13:43:08 +02:00 |
|
|
194b59f89c
|
add out to .gitignore
|
2019-05-29 10:32:44 +02:00 |
|
|
83bf7ea080
|
rudimentary README
|
2019-05-29 10:32:23 +02:00 |
|
|
e291a41ea9
|
add /retag command
|
2019-05-29 10:25:34 +02:00 |
|
|
d6372671be
|
warning about missing markov; returns '???' when generation failed
|
2019-05-29 10:25:15 +02:00 |
|
|
00397b2dac
|
fix #text reply message, for good
|
2019-05-28 17:53:35 +02:00 |
|
|
2a54a8a308
|
Merge branch 'feature-unify_handlers'
|
2019-05-28 17:44:38 +02:00 |
|
|
fdfda353fc
|
move commandhandlers further up
|
2019-05-28 17:39:39 +02:00 |
|
|
64d0080885
|
fix incorrect reply_message when handling text
|
2019-05-28 16:48:02 +02:00 |
|
|
903ad07e3c
|
unify all handlers into one for clarity and proper text message handling
(first try)
|
2019-05-28 15:43:45 +02:00 |
|
|
ed81096071
|
fallback on all non-critical config options
|
2019-05-28 12:29:27 +02:00 |
|
|
56bfaa7bc5
|
add a handling function for #text samples (has issues)
specifically, any message with links gets still handled by tg_handle_url
instead.
|
2019-05-28 12:29:27 +02:00 |
|
Tomáš Mládek
|
d782ce8c48
|
change tagging logic (>.8 acoustid trumps all; >.4 acoustid fallback)
|
2019-05-24 00:05:17 +02:00 |
|
|
2027b80fb6
|
do NOT sanitize ytdl filename; this breaks tagging and moving
|
2019-05-23 23:37:08 +02:00 |
|
|
71a5fd3522
|
unicode normalize in sanitize function
|
2019-05-23 14:36:12 +02:00 |
|
|
89db7e885a
|
broaden sanitization slightly
|
2019-05-22 15:24:16 +02:00 |
|
|
bfbc225d0e
|
sanitize filenames
|
2019-05-22 15:21:25 +02:00 |
|
|
4059ce6366
|
don't ignore protected tags completely, download to PUBLIC/ instead
|
2019-05-22 12:12:16 +02:00 |
|
|
4d74e08b00
|
cosmetics; make clear that the first hashtag is a special one
|
2019-05-22 12:11:52 +02:00 |
|
|
4f0f6cfc59
|
handle 'id' possibly missing in tumblr response, refactor tumblr upload
|
2019-05-20 11:55:08 +02:00 |
|
Tomáš Mládek
|
48bb352d11
|
fix last hashtag detection
|
2019-05-19 11:11:27 +02:00 |
|
Tomáš Mládek
|
186450d1c7
|
liven up the rejection replies
|
2019-05-18 14:33:06 +02:00 |
|
Tomáš Mládek
|
6d10fae743
|
protected chats & tags
|
2019-05-18 14:28:23 +02:00 |
|
|
a9d5967996
|
respect chat for last_hashtag and /delete command
|
2019-05-16 15:33:38 +02:00 |
|
|
fbb78e4316
|
add 1hr timeout to hashtags; forget last_hashtag in handle()
|
2019-05-16 15:19:20 +02:00 |
|
|
f86c5cbc4d
|
don't override artist in tags unless necessary
|
2019-05-15 11:50:48 +02:00 |
|
|
ddd1ee3616
|
return empty array instead of None when no hashtags found
|
2019-05-15 11:43:05 +02:00 |
|
|
6a660206c8
|
also mention type on exception catch
|
2019-05-15 11:28:36 +02:00 |
|
|
6300ed6438
|
fix 'dir' variable names shadowing dir(); add noinspection comments
(shut pycharm's mouth)
|
2019-05-15 11:21:35 +02:00 |
|
|
949008cb05
|
tumblr updates (see details); fixed initial "/" in /delete
- /delete also cancels queued or deletes published tumblr posts
- tumblr blog name in config
|
2019-05-15 11:18:11 +02:00 |
|
|
6ad4eadd79
|
Merge remote-tracking branch 'origin/master'
|
2019-05-14 23:40:49 +02:00 |
|