@@ -99,7 +99,7 @@ To stop playing press Ctrl+C in either the terminal or mpv
9999<details ><summary >List all subcommands</summary >
100100
101101 $ library
102- library (v3.0.040; 101 subcommands)
102+ library (v3.0.041; 99 subcommands)
103103
104104 Create database subcommands:
105105 ╭─────────────────┬──────────────────────────────────────────╮
@@ -215,27 +215,23 @@ To stop playing press Ctrl+C in either the terminal or mpv
215215 ╰──────────────────┴──────────────────────────────────────────────────────╯
216216
217217 Media File subcommands:
218- ╭──────────────────────────┬───────────────────────────────────────────────────────────────────────────╮
219- │ media-check │ Check video and audio files for corruption via ffmpeg │
220- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
221- │ process-media │ Estimate and execute potential disk space savings │
222- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
223- │ process-ffmpeg │ Shrink video/audio to AV1/Opus format (.mkv, .mka) │
224- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
225- │ process-image │ Shrink images to AV1 image format (.avif) │
226- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
227- │ process-text │ Shrink documents to HTML+AV1 image format (requires Calibre) │
228- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
229- │ images-to-pdf │ Convert folders of images into image PDFs │
230- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
231- │ pdf-edit │ Apply brightness, contrast, saturation, and sharpness adjustments to PDFs │
232- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
233- │ torrents-start │ Start torrents (qBittorrent-nox) │
234- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
235- │ torrents-stop │ Stop seeding torrents (qBittorrent-nox) │
236- ├──────────────────────────┼───────────────────────────────────────────────────────────────────────────┤
237- │ torrents-stop-incomplete │ Stop downloading torrents (qBittorrent-nox) │
238- ╰──────────────────────────┴───────────────────────────────────────────────────────────────────────────╯
218+ ╭────────────────┬───────────────────────────────────────────────────────────────────────────╮
219+ │ media-check │ Check video and audio files for corruption via ffmpeg │
220+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
221+ │ process-media │ Estimate and execute potential disk space savings │
222+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
223+ │ process-ffmpeg │ Shrink video/audio to AV1/Opus format (.mkv, .mka) │
224+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
225+ │ process-image │ Shrink images to AV1 image format (.avif) │
226+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
227+ │ process-text │ Shrink documents to HTML+AV1 image format (requires Calibre) │
228+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
229+ │ images-to-pdf │ Convert folders of images into image PDFs │
230+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
231+ │ pdf-edit │ Apply brightness, contrast, saturation, and sharpness adjustments to PDFs │
232+ ├────────────────┼───────────────────────────────────────────────────────────────────────────┤
233+ │ torrents-start │ Start torrents (qBittorrent-nox) │
234+ ╰────────────────┴───────────────────────────────────────────────────────────────────────────╯
239235
240236 Multi-database subcommands:
241237 ╭───────────────────┬───────────────────────────────────────────────────────╮
@@ -319,21 +315,19 @@ To stop playing press Ctrl+C in either the terminal or mpv
319315 ╰────────────────────┴────────────────────────────────────────────────────╯
320316
321317 Update database subcommands:
322- ╭──────────────────┬─────────────────────────────────╮
323- │ fs-update │ Update local media │
324- ├──────────────────┼─────────────────────────────────┤
325- │ tube-update │ Update online video media │
326- ├──────────────────┼─────────────────────────────────┤
327- │ web-update │ Update open-directory media │
328- ├──────────────────┼─────────────────────────────────┤
329- │ gallery-update │ Update online gallery media │
330- ├──────────────────┼─────────────────────────────────┤
331- │ links-update │ Update a link-scraping database │
332- ├──────────────────┼─────────────────────────────────┤
333- │ reddit-update │ Update reddit media │
334- ├──────────────────┼─────────────────────────────────┤
335- │ computers-update │ Update computer stats │
336- ╰──────────────────┴─────────────────────────────────╯
318+ ╭────────────────┬─────────────────────────────────╮
319+ │ fs-update │ Update local media │
320+ ├────────────────┼─────────────────────────────────┤
321+ │ tube-update │ Update online video media │
322+ ├────────────────┼─────────────────────────────────┤
323+ │ web-update │ Update open-directory media │
324+ ├────────────────┼─────────────────────────────────┤
325+ │ gallery-update │ Update online gallery media │
326+ ├────────────────┼─────────────────────────────────┤
327+ │ links-update │ Update a link-scraping database │
328+ ├────────────────┼─────────────────────────────────┤
329+ │ reddit-update │ Update reddit media │
330+ ╰────────────────┴─────────────────────────────────╯
337331
338332 Misc subcommands:
339333 ╭────────────────┬─────────────────────────────────────────╮
@@ -342,6 +336,11 @@ To stop playing press Ctrl+C in either the terminal or mpv
342336 │ dedupe-czkawka │ Process czkawka diff output │
343337 ╰────────────────┴─────────────────────────────────────────╯
344338
339+ Other subcommands:
340+ ╭──────────────────┬──────────────────╮
341+ │ computers-update │ computers_update │
342+ ╰──────────────────┴──────────────────╯
343+
345344
346345</details >
347346
@@ -2163,56 +2162,6 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
21632162 Start torrent files in qBittorrent-nox
21642163
21652164
2166- </details >
2167-
2168- ###### torrents-stop
2169-
2170- <details ><summary >Stop seeding torrents (qBittorrent-nox)</summary >
2171-
2172- $ library torrents-stop -h
2173- usage: library torrents-stop
2174-
2175- Stop torrents in qBittorrent-nox with the following defaults:
2176- - tagged 'library'
2177- - >180 days active seeding
2178- - >90 days since last peer
2179- - >3 current seeders
2180- - >5MiB size
2181-
2182- These defaults can be overridden like so:
2183-
2184- library torrents-stop --min-seeders 3 --min-days-stalled-seed 10 --min-days-seeding 14
2185-
2186- When --mark-deleted is provided, the torrents are tagged with 'library-delete' in qBittorrent
2187- When --delete-rows is provided, the metadata is removed from qBittorrent
2188- When --delete-files is provided, the downloaded files are deleted
2189-
2190-
2191- </details >
2192-
2193- ###### torrents-stop-incomplete
2194-
2195- <details ><summary >Stop downloading torrents (qBittorrent-nox)</summary >
2196-
2197- $ library torrents-stop-incomplete -h
2198- usage: library torrents-stop-incomplete
2199-
2200- Stop torrents in qBittorrent-nox with the following defaults:
2201- - tagged 'library'
2202- - >90 days since last seen complete (or never)
2203- - >60 days active downloading
2204- - >30 days since last peer (or never)
2205-
2206- These defaults can be overridden like so:
2207-
2208- library torrents-stop --min-days-downloading 7
2209-
2210- When --mark-deleted is provided, the torrents are tagged with 'library-delete' in qBittorrent
2211- When --delete-rows is provided, the metadata is removed from qBittorrent
2212- When --delete-files is provided, all downloaded files are deleted.
2213- By default, salvage is provided to files which have more than 73% progress.
2214-
2215-
22162165</details >
22172166
22182167### Multi-database subcommands
@@ -3025,21 +2974,46 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
30252974 $ library torrents-info -h
30262975 usage: library torrents-info
30272976
3028- List torrents
2977+ List torrents in qBittorrent-nox
30292978
3030- library torrents-info
2979+ library torrents
30312980
30322981 Search for specific torrent
30332982
3034- library torrents-info query
2983+ library torrents query
30352984
30362985 Search for specific file
30372986
3038- library torrents-info query -v --file-search query2
2987+ library torrents query -v --file-search query2
2988+
2989+ Force-start incomplete downloads
2990+
2991+ library torrents --dl --progress=+10% --force-start
2992+
2993+ Stop completed downloads
2994+
2995+ library torrents -S+5MiB --seeders=+5 --time-stalled=+45days --time-active=+180days --stop
2996+
2997+ Stop incomplete downloads
2998+
2999+ library torrents --time-unseeded=+90days --time-active=+60days --time-stalled=+30days --stop
3000+ library torrents --time-active=+45days --inactive --progress=0 --stop
3001+
3002+ Move files
3003+
3004+ To continue to seed, use --temp-drive, --temp-path, --download-drive, --download-path
3005+
3006+ library torrents --temp-drive /mnt/d/
3007+
3008+ Otherwise, on localhost, you can move files outside of qBittorrent
3009+ The --stop flag is required to use --move
3010+
3011+ library torrents --stop --move /mnt/d/
30393012
30403013 When --mark-deleted is provided, the torrents are tagged with 'delete' in qBittorrent
30413014 When --delete-rows is provided, the metadata is removed from qBittorrent
30423015 When --delete-files is provided, the downloaded files are deleted
3016+ When --delete-incomplete 80% is provided, any files that were downloaded less than 80% are deleted
30433017
30443018
30453019</details >
@@ -3288,18 +3262,6 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
32883262 library redditupdate edu_subreddits.db
32893263
32903264
3291- </details >
3292-
3293- ###### computers-update
3294-
3295- <details ><summary >Update computer stats</summary >
3296-
3297- $ library computers-update -h
3298- usage: library computers-update DATABASE PATH ...
3299-
3300- Update computer stats
3301-
3302-
33033265</details >
33043266
33053267### Misc subcommands
@@ -3328,6 +3290,20 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
33283290 Choose which duplicate to keep by opening both side-by-side in mpv
33293291
33303292
3293+ </details >
3294+
3295+ ### Other subcommands
3296+
3297+ ###### computers-update
3298+
3299+ <details ><summary >computers_update</summary >
3300+
3301+ $ library computers-update -h
3302+ usage: library computers-update DATABASE PATH ...
3303+
3304+ Update computer stats
3305+
3306+
33313307</details >
33323308
33333309
0 commit comments