Skip to content

Commit a224ca1

Browse files
committed
3.0.039
1 parent 7e0afe0 commit a224ca1

File tree

2 files changed

+55
-26
lines changed

2 files changed

+55
-26
lines changed

.github/README.md

Lines changed: 54 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -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.038; 99 subcommands)
102+
library (v3.0.039; 101 subcommands)
103103

104104
Create database subcommands:
105105
╭─────────────────┬──────────────────────────────────────────╮
@@ -123,6 +123,8 @@ To stop playing press Ctrl+C in either the terminal or mpv
123123
├─────────────────┼──────────────────────────────────────────┤
124124
│ hn-add │ Create / Update a Hacker News database │
125125
├─────────────────┼──────────────────────────────────────────┤
126+
│ getty-add │ Create / Update a Getty Museum database │
127+
├─────────────────┼──────────────────────────────────────────┤
126128
│ substack │ Backup substack articles │
127129
├─────────────────┼──────────────────────────────────────────┤
128130
│ tildes │ Backup tildes comments and topics │
@@ -275,27 +277,29 @@ To stop playing press Ctrl+C in either the terminal or mpv
275277
╰─────────────────┴─────────────────────────────────────────────────────────────╯
276278

277279
Playback subcommands:
278-
╭───────────────┬────────────────────────────────────────────────────────╮
279-
│ watch │ Watch / Listen │
280-
├───────────────┼────────────────────────────────────────────────────────┤
281-
│ now │ Show what is currently playing │
282-
├───────────────┼────────────────────────────────────────────────────────┤
283-
│ next │ Play next file and optionally delete current file │
284-
├───────────────┼────────────────────────────────────────────────────────┤
285-
│ seek │ Set playback to a certain time, fast-forward or rewind │
286-
├───────────────┼────────────────────────────────────────────────────────┤
287-
│ stop │ Stop all playback │
288-
├───────────────┼────────────────────────────────────────────────────────┤
289-
│ pause │ Pause all playback │
290-
├───────────────┼────────────────────────────────────────────────────────┤
291-
│ tabs-open │ Open your tabs for the day │
292-
├───────────────┼────────────────────────────────────────────────────────┤
293-
│ links-open │ Open links from link dbs │
294-
├───────────────┼────────────────────────────────────────────────────────┤
295-
│ surf │ Auto-load browser tabs in a streaming way (stdin) │
296-
├───────────────┼────────────────────────────────────────────────────────┤
297-
│ torrents-info │ List torrents (qBittorrent-nox) │
298-
╰───────────────┴────────────────────────────────────────────────────────╯
280+
╭─────────────────┬────────────────────────────────────────────────────────╮
281+
│ watch │ Watch / Listen │
282+
├─────────────────┼────────────────────────────────────────────────────────┤
283+
│ now │ Show what is currently playing │
284+
├─────────────────┼────────────────────────────────────────────────────────┤
285+
│ next │ Play next file and optionally delete current file │
286+
├─────────────────┼────────────────────────────────────────────────────────┤
287+
│ seek │ Set playback to a certain time, fast-forward or rewind │
288+
├─────────────────┼────────────────────────────────────────────────────────┤
289+
│ stop │ Stop all playback │
290+
├─────────────────┼────────────────────────────────────────────────────────┤
291+
│ pause │ Pause all playback │
292+
├─────────────────┼────────────────────────────────────────────────────────┤
293+
│ tabs-open │ Open your tabs for the day │
294+
├─────────────────┼────────────────────────────────────────────────────────┤
295+
│ links-open │ Open links from link dbs │
296+
├─────────────────┼────────────────────────────────────────────────────────┤
297+
│ surf │ Auto-load browser tabs in a streaming way (stdin) │
298+
├─────────────────┼────────────────────────────────────────────────────────┤
299+
│ torrents-info │ List torrents (qBittorrent-nox) │
300+
├─────────────────┼────────────────────────────────────────────────────────┤
301+
│ torrents-status │ Overview of torrents (qBittorrent-nox) │
302+
╰─────────────────┴────────────────────────────────────────────────────────╯
299303

300304
Database enrichment subcommands:
301305
╭────────────────────┬────────────────────────────────────────────────────╮
@@ -689,11 +693,14 @@ BTW, for some cols like time_deleted you'll need to specify a where clause so th
689693
<details><summary>Add open-directory media</summary>
690694

691695
$ library web-add -h
692-
usage: library web-add [(--filesystem) | --video | --audio | --image | --text] DATABASE URL ...
696+
usage: library web-add [--filesystem | --video | --audio | --image | --text] DATABASE URL ...
693697

694-
Scan open directories
698+
Scan open directories (multiple profiles can be selected or none at all)
695699

700+
library web-add open_dir.db http://1.1.1.1/ # simple spider
701+
library web-add open_dir.db --filesystem http://1.1.1.1/
696702
library web-add open_dir.db --video http://1.1.1.1/
703+
library web-add open_dir.db --filesystem --video http://1.1.1.1/
697704

698705
Re-scan using a different profile
699706

@@ -3000,7 +3007,7 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
30003007
$ library torrents-info -h
30013008
usage: library torrents-info
30023009

3003-
Print stats
3010+
List torrents
30043011

30053012
library torrents-info
30063013

@@ -3017,6 +3024,28 @@ Inspired somewhat by https://nikkhokkho.sourceforge.io/?page=FileOptimizer
30173024
When --delete-files is provided, the downloaded files are deleted
30183025

30193026

3027+
</details>
3028+
3029+
###### torrents-status
3030+
3031+
<details><summary>Overview of torrents (qBittorrent-nox)</summary>
3032+
3033+
$ library torrents-status -h
3034+
usage: library torrents-status
3035+
3036+
Print stats
3037+
3038+
library torrents-status
3039+
3040+
Search for specific torrent
3041+
3042+
library torrents-status query
3043+
3044+
Search for specific file
3045+
3046+
library torrents-status query -v --file-search query2
3047+
3048+
30203049
</details>
30213050

30223051
### Database enrichment subcommands

library/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from library.utils import argparse_utils, iterables
66
from library.utils.log_utils import log
77

8-
__version__ = "3.0.038"
8+
__version__ = "3.0.039"
99

1010
progs = {
1111
"Create database subcommands": {

0 commit comments

Comments
 (0)