hygienic-books
  • Joined on 2022-02-27
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-26 22:16:00 +00:00
80db904a45 Remove to-dos
hygienic-books pushed to master at Quico/mvw-dl 2022-03-26 22:13:00 +00:00
eabf595ff5 systemd timer unit example has on 'OnCalendar' instruction
ab0a82c626 Hide log timestamps, intended use case is inside a systemd service unit anyway where systemd provides timestamps
Compare 2 commits »
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-24 23:10:20 +00:00
91370068e4 Increment file counter suffix as much as needed to get a unique file name
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-23 22:42:30 +00:00
af1525a2c3 Handle malformed source file names
hygienic-books pushed to master at Quico/mvw-dl 2022-03-23 22:40:54 +00:00
03b449c768 systemd service unit will run on a timer, change unit type to oneshot and supply a timer unit file
e269a110a6 When cleaning file name remove question marks instead of replacing them with dashes
a3a375d142 Config and JSON files by default live in script's dir
81ce5812a6 Account for situations where a state file does not (yet) exist
83921912a4 Add to-dos
Compare 8 commits »
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-23 13:00:42 +00:00
c147b56747 Load config.ini from directory where code's located instead of CWD
4118e4c781 .gitignore config.ini files
1673cbe8bd Add example systemd service unit file
a30a31a2fc Add .example extension to systemd service unit file, shorten description
7b3df48945 Add example config file
Compare 6 commits »
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-23 12:15:16 +00:00
86339a88e4 Remove PyCharm TODOs
1de24ee2d1 Run arbitrary command after file's been put in place
318e29da85 Trigger a library update in Kodi
b0aafc4f95 Prepare sane config defaults
a47faa90b9 Prepare sane config defaults
Compare 5 commits »
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-22 18:37:50 +00:00
834563bae1 Handle multiple inotify watches
78879b1724 Optionally create season-specific subdir
Compare 2 commits »
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-22 01:36:54 +00:00
7bcf366581 Process new files
d4cdbb3606 Add lxml, write NFO XML file
ebcef84522 Fix imports, exit codes
5224c90918 Extend config options
Compare 4 commits »
hygienic-books opened issue Quico/cec-dm-controller#5 2022-03-21 12:05:59 +00:00
sddm-greeter check occasionally finishes too early
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-21 02:57:27 +00:00
ec05611ee3 Memo for basic string manipulation
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-21 02:55:01 +00:00
8b5a35dcc4 Prep XML generation
9e58429aae Set up inotify watch
3b4b017322 Require inotify-simple to watch for incoming files
95a3df8bed Options parsing
2ec5e8b29b Basic options and imports setup
Compare 5 commits »
hygienic-books pushed to master at Quico/kodi-nfo-feeder 2022-03-21 01:28:52 +00:00
2d4d6d8ae5 Initial commit
hygienic-books created repository Quico/kodi-nfo-feeder 2022-03-21 01:05:28 +00:00
hygienic-books pushed to master at Quico/mvw-dl 2022-03-20 01:35:37 +00:00
287a755e65 Streamline download selection
d70766bae0 If a partial download exists in temp dir we resume it
380fb4bf2e Calculate total downloadable content length after deciding which downloads we need
e395309011 Cosmetics, remove unnecessary lines, rewrite help texts a bit
029d9ffb7e When replacing filename pattern strings only log the ones we're seeing in config file
Compare 13 commits »
hygienic-books pushed to master at Quico/mvw-dl 2022-03-19 15:58:36 +00:00
d0552f9e67 Check if file was previously downloaded
dd6464de5d Start implementing range downloading
facfe4e7d3 Check state file for previous downloads, improve logging per thread
c0a271d0eb Cosmetics, add trailing newline
11b9daa729 Update urllib3 to 1.26.9
Compare 6 commits »
hygienic-books pushed to master at Quico/mvw-dl 2022-03-19 07:51:42 +00:00
3f6bc46d52 Cosmetics, remove unused variable
601583afc3 Maintain a state file
7081c6b50a Generate safe filename
7b391be89e Cosmetics, replace safe filename regex with triple-quoted string so we don't have to bḁash-escape literal double quote
c5f74ce479 Separate function to expand download directory
Compare 8 commits »
hygienic-books pushed to master at Quico/mvw-dl 2022-03-17 17:41:30 +00:00
25d0059f14 Prep for logging and safe filenames
296e2ca7e5 Use user's download location, resolve mentions of ~ (tilde) and environment vars
34ef348929 Download episodes and provide regular updates
47bb1f761a Get total content_length and provide just one global stream of download progress updates
d92236a2f2 Prior to submitting download job to thread pool determine URL for highest quality
Compare 5 commits »
hygienic-books pushed to master at Quico/mvw-dl 2022-03-17 03:11:56 +00:00
376932583e Dabble in downloading with Will McGugan's downloader example at https://github.com/Textualize/rich/blob/master/examples/downloader.py
6aeecabc9b Add humanize for human-readable number representation
bb4defdb82 In an MVW JSON response the 'size' attribute may be None e.g. when the result is an ORF .m3u8 instead of an .mp4 file
0f68ef558e exit if results list is empty (or is cleared during filtering)
Compare 4 commits »
hygienic-books pushed to master at Quico/mvw-dl 2022-03-16 14:49:40 +00:00
32932fe803 Get unique list of files we want to download