Commit Graph

120 Commits (83bf7ea08049c9239b62f19d3f8e4cac262ad710)

Author SHA1 Message Date
Tomáš Mládek 83bf7ea080 rudimentary README 2019-05-29 10:32:23 +02:00
Tomáš Mládek e291a41ea9 add /retag command 2019-05-29 10:25:34 +02:00
Tomáš Mládek d6372671be warning about missing markov; returns '???' when generation failed 2019-05-29 10:25:15 +02:00
Tomáš Mládek 00397b2dac fix #text reply message, for good 2019-05-28 17:53:35 +02:00
Tomáš Mládek 2a54a8a308 Merge branch 'feature-unify_handlers' 2019-05-28 17:44:38 +02:00
Tomáš Mládek fdfda353fc move commandhandlers further up 2019-05-28 17:39:39 +02:00
Tomáš Mládek 64d0080885 fix incorrect reply_message when handling text 2019-05-28 16:48:02 +02:00
Tomáš Mládek 903ad07e3c unify all handlers into one for clarity and proper text message handling
(first try)
2019-05-28 15:43:45 +02:00
Tomáš Mládek ed81096071 fallback on all non-critical config options 2019-05-28 12:29:27 +02:00
Tomáš Mládek 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
Tomáš Mládek 2027b80fb6 do NOT sanitize ytdl filename; this breaks tagging and moving 2019-05-23 23:37:08 +02:00
Tomáš Mládek 71a5fd3522 unicode normalize in sanitize function 2019-05-23 14:36:12 +02:00
Tomáš Mládek 89db7e885a broaden sanitization slightly 2019-05-22 15:24:16 +02:00
Tomáš Mládek bfbc225d0e sanitize filenames 2019-05-22 15:21:25 +02:00
Tomáš Mládek 4059ce6366 don't ignore protected tags completely, download to PUBLIC/ instead 2019-05-22 12:12:16 +02:00
Tomáš Mládek 4d74e08b00 cosmetics; make clear that the first hashtag is a special one 2019-05-22 12:11:52 +02:00
Tomáš Mládek 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
Tomáš Mládek a9d5967996 respect chat for last_hashtag and /delete command 2019-05-16 15:33:38 +02:00
Tomáš Mládek fbb78e4316 add 1hr timeout to hashtags; forget last_hashtag in handle() 2019-05-16 15:19:20 +02:00
Tomáš Mládek f86c5cbc4d don't override artist in tags unless necessary 2019-05-15 11:50:48 +02:00
Tomáš Mládek ddd1ee3616 return empty array instead of None when no hashtags found 2019-05-15 11:43:05 +02:00
Tomáš Mládek 6a660206c8 also mention type on exception catch 2019-05-15 11:28:36 +02:00
Tomáš Mládek 6300ed6438 fix 'dir' variable names shadowing dir(); add noinspection comments
(shut pycharm's mouth)
2019-05-15 11:21:35 +02:00
Tomáš Mládek 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
Tomáš Mládek 6ad4eadd79 Merge remote-tracking branch 'origin/master' 2019-05-14 23:40:49 +02:00
Tomáš Mládek 723008e451 download into subdirectories when multiple hashtags present (fix #2) 2019-05-14 23:36:42 +02:00
Tomáš Mládek d308f48a1e less strict filter for raw url downloads 2019-05-04 23:27:28 +02:00
Tomáš Mládek 9471aad4ba don't try to tag unnecessarily 2019-05-03 11:45:46 +02:00
Tomáš Mládek 56635b60f1 remove hardcoded /var/tmp 2019-05-03 11:41:54 +02:00
Tomáš Mládek 4ac19409b5 whoops; title is not 'title' (fix files not getting tagged) 2019-05-03 11:38:53 +02:00
Tomáš Mládek cd2419d752 Add LICENSE 2019-05-02 20:42:50 +00:00
Tomáš Mládek 3368f27588 fix tag function logging; don't try to tag with None 2019-05-02 19:29:58 +02:00
Tomáš Mládek e5c66265f3 fix tagging directly sent files 2019-05-02 19:26:39 +02:00
Tomáš Mládek c4352df8fc initial.txt fallback (no markov) 2019-05-02 19:26:25 +02:00
Tomáš Mládek 617f6cc6f3 add acoustid (?) 2019-05-02 19:18:35 +02:00
Tomáš Mládek 265447ed76 add a /delete command 2019-05-02 15:53:49 +02:00
Tomáš Mládek f93bc1a0eb fix no id3 tag error 2019-05-01 14:15:58 +02:00
Tomáš Mládek 78f681791f change /stats to report extensions 2019-05-01 13:39:49 +02:00
Tomáš Mládek 4d74fb74f7 delete delojza.ini 2019-05-01 12:24:05 +02:00
Tomáš Mládek d4d7d98764 improve id3 tagging 2019-05-01 12:23:30 +02:00
Tomáš Mládek 93df4ebd44 update requirements 2019-05-01 11:11:54 +02:00
Tomáš Mládek 671c306ad1 add /stats, /orphans, /version; fix order of processing bug 2019-05-01 10:54:43 +02:00
Tomáš Mládek 2f658ed9ab fix last_hashtag bug 2019-05-01 10:53:48 +02:00
Tomáš Mládek 0e4ba13166 add a TUMBLR_NOW special hashtag for direct tumblr posting 2019-05-01 10:52:14 +02:00
Tomáš Mládek ce28caa1db any tag containing AUDIO/RADIO is now extracted 2019-05-01 10:51:40 +02:00
Tomáš Mládek 4bbe6475b0 fix ytdl sources sometimes not having a "bestaudio" format 2019-05-01 10:51:16 +02:00