| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
This subcommand is functionally identical with the previous `subs list --url`,
but semantically it improves the situation, by having symmetrical
`import` and `export` subcommands.
|
|
|
|
|
|
| |
Otherwise, SQLite tries to “coerce” types into fitting in the “preferred”
type of the table. Now SQLite actually refuses to accept a type
mismatch.
|
| |
|
|
|
|
|
|
| |
Sqlx supports turning an option to a NULL insertion, but trying to
insert a string, containing "NULL", will result in this literal string
being written to the database.
|
|
|
|
|
|
| |
These URLs should be checked *before* they are written to the database,
thus being unable to decode them after they've been read from the
database is an application bug and not a user input issue.
|
|
|
|
|
| |
With the new `update_raw.py` script, supporting this flag becomes nearly
impossible. Thus, we're simply removing it.
|
| |
|
| |
|
|
|
|
| |
Always fetching a subtitle file is rather counterproductive.
|
| |
|
| |
|
|
|
|
|
| |
All freshly added videos have a priority of 0. To ensure that they are
still ordered, also sort by `publish_date`.
|
|
|
|
| |
This allows setting a priority even on picked videos.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Testing has resulted in a speed-up of circa 3400% (updates of 1
subscription (which is already fully stored) are now ca. 1 sec from
previously 34 sec).
BREAKING CHANGE: The extractor hash is now calculated from the `id` and
not the `webpage_url` field requiring a complete re-fetch of all stored
videos.
```bash
$# export your subscriptions:
$ yt subs list --urls > subs.txt
$# remove the old database
$ mv ~/.local/share/yt/videos.sqlite{,.old}
$# reimport the subsciptions
$ yt subs import subs.txt
$# refetch all videos
$ yt upadate
```
|
| |
|
| |
|
| |
|
| |
|
|
This repository was migrated out of my nixos-config.
|