home · contact · privacy
ytplom
8 months agoMinor refactoring of VideoFile tags config.
Christian Heller [Sat, 15 Feb 2025 01:53:16 +0000 (02:53 +0100)]
Minor refactoring of VideoFile tags config.

8 months agoRefactor tags filtering/display configuration.
Christian Heller [Fri, 14 Feb 2025 18:10:28 +0000 (19:10 +0100)]
Refactor tags filtering/display configuration.

8 months agoAdd anchor links and jumps to them to playlist.
Christian Heller [Fri, 14 Feb 2025 14:16:01 +0000 (15:16 +0100)]
Add anchor links and jumps to them to playlist.

8 months agoMake header sticky.
Christian Heller [Fri, 14 Feb 2025 13:30:15 +0000 (14:30 +0100)]
Make header sticky.

8 months agoIn file view, add play button.
Christian Heller [Thu, 13 Feb 2025 07:08:58 +0000 (08:08 +0100)]
In file view, add play button.

8 months agoImprove ModuleNotFoundError message.
Christian Heller [Mon, 10 Feb 2025 20:34:20 +0000 (21:34 +0100)]
Improve ModuleNotFoundError message.

8 months agoRetrieve bugfixing plomlib commit.
Christian Heller [Mon, 10 Feb 2025 16:04:45 +0000 (17:04 +0100)]
Retrieve bugfixing plomlib commit.

8 months agoOutsource install and startup shell code to plomlib.
Christian Heller [Mon, 10 Feb 2025 15:54:51 +0000 (16:54 +0100)]
Outsource install and startup shell code to plomlib.

8 months agoAdapt plomlib links to its new directory structure.
Christian Heller [Mon, 10 Feb 2025 15:27:49 +0000 (16:27 +0100)]
Adapt plomlib links to its new directory structure.

8 months agoReplace direct cloning of submodule into src/ by specific links into it.
Christian Heller [Mon, 10 Feb 2025 15:13:45 +0000 (16:13 +0100)]
Replace direct cloning of submodule into src/ by specific links into it.

8 months agoAllow calling mere "ytplom" rather than "ytplom serve" to default to latter.
Christian Heller [Mon, 10 Feb 2025 13:55:18 +0000 (14:55 +0100)]
Allow calling mere "ytplom" rather than "ytplom serve" to default to latter.

8 months agoAvoid unnecessary pip install runs.
Christian Heller [Sat, 8 Feb 2025 17:49:03 +0000 (18:49 +0100)]
Avoid unnecessary pip install runs.

8 months agoUpdate plomlib (for Jinja autoescaping).
Christian Heller [Sun, 26 Jan 2025 10:21:56 +0000 (11:21 +0100)]
Update plomlib (for Jinja autoescaping).

8 months agoAdapt web server code to plomlib.web.
Christian Heller [Sat, 18 Jan 2025 02:27:51 +0000 (03:27 +0100)]
Adapt web server code to plomlib.web.

9 months agoFix broken tag filtering.
Christian Heller [Wed, 15 Jan 2025 22:54:25 +0000 (23:54 +0100)]
Fix broken tag filtering.

9 months agoUpdate yt-dlp requirement.
Christian Heller [Wed, 15 Jan 2025 19:00:28 +0000 (20:00 +0100)]
Update yt-dlp requirement.

9 months agoInclude plomlib for its db.py, adapt DB code to it.
Christian Heller [Wed, 15 Jan 2025 14:27:59 +0000 (15:27 +0100)]
Include plomlib for its db.py, adapt DB code to it.

9 months agoSimplify schema validation code.
Christian Heller [Mon, 6 Jan 2025 18:36:45 +0000 (19:36 +0100)]
Simplify schema validation code.

9 months agoMinor code refactoring, and fix default DB path back from debugging assumption.
Christian Heller [Mon, 6 Jan 2025 16:49:07 +0000 (17:49 +0100)]
Minor code refactoring, and fix default DB path back from debugging assumption.

9 months agoDon't commit migrations before surviving schema validation of end result.
Christian Heller [Mon, 6 Jan 2025 16:40:56 +0000 (17:40 +0100)]
Don't commit migrations before surviving schema validation of end result.

9 months agoReorganize migrations code.
Christian Heller [Mon, 6 Jan 2025 16:20:11 +0000 (17:20 +0100)]
Reorganize migrations code.

9 months agoRe-work migration mechanisms.
Christian Heller [Sun, 5 Jan 2025 06:11:34 +0000 (07:11 +0100)]
Re-work migration mechanisms.

9 months agoAdd table schema validation.
Christian Heller [Sat, 4 Jan 2025 21:12:16 +0000 (22:12 +0100)]
Add table schema validation.

9 months agoRe-organize command calling of sub-scripts.
Christian Heller [Sat, 4 Jan 2025 17:47:42 +0000 (18:47 +0100)]
Re-organize command calling of sub-scripts.

9 months agoMore DB management code reorganization; add explicit "create" script.
Christian Heller [Sat, 4 Jan 2025 16:57:01 +0000 (17:57 +0100)]
More DB management code reorganization; add explicit "create" script.

9 months agoSome further minor DB management code simplifications.
Christian Heller [Fri, 3 Jan 2025 01:02:11 +0000 (02:02 +0100)]
Some further minor DB management code simplifications.

9 months agoFurther simplify DB code.
Christian Heller [Thu, 2 Jan 2025 15:28:29 +0000 (16:28 +0100)]
Further simplify DB code.

9 months agoSimplify DB management code.
Christian Heller [Thu, 2 Jan 2025 14:59:08 +0000 (15:59 +0100)]
Simplify DB management code.

9 months agoSimplify _ReqMap code.
Christian Heller [Thu, 26 Dec 2024 09:27:36 +0000 (10:27 +0100)]
Simplify _ReqMap code.

9 months agoRe-organize http module code, mostly alphabetically.
Christian Heller [Thu, 26 Dec 2024 09:11:12 +0000 (10:11 +0100)]
Re-organize http module code, mostly alphabetically.

9 months agoMinor re-organizations and refactorings of http module.
Christian Heller [Thu, 26 Dec 2024 09:04:31 +0000 (10:04 +0100)]
Minor re-organizations and refactorings of http module.

9 months agoOn purge command, reload playlist, to avoid impossible accesses.
Christian Heller [Thu, 26 Dec 2024 08:33:45 +0000 (09:33 +0100)]
On purge command, reload playlist, to avoid impossible accesses.

9 months agoOn sync, rather than only unlink "deleted" files, also remove their DB entries.
Christian Heller [Thu, 26 Dec 2024 08:07:07 +0000 (09:07 +0100)]
On sync, rather than only unlink "deleted" files, also remove their DB entries.

9 months agoTo file view, add button to unlink locally.
Christian Heller [Thu, 26 Dec 2024 02:26:35 +0000 (03:26 +0100)]
To file view, add button to unlink locally.

9 months agoAdd "do not sync" flag to keep files from syncing without deleting them.
Christian Heller [Wed, 25 Dec 2024 20:27:05 +0000 (21:27 +0100)]
Add "do not sync" flag to keep files from syncing without deleting them.

9 months agoDon't try to ffprobe for duration if file is not actually present.
Christian Heller [Wed, 25 Dec 2024 20:24:51 +0000 (21:24 +0100)]
Don't try to ffprobe for duration if file is not actually present.

9 months agoFix sync using from hash representation for retrieving "missing" files.
Christian Heller [Wed, 25 Dec 2024 19:59:20 +0000 (20:59 +0100)]
Fix sync using from hash representation for retrieving "missing" files.

9 months agoFor sync, identify missing files by .digest.b64 rather than relative path.
Christian Heller [Wed, 25 Dec 2024 19:55:58 +0000 (20:55 +0100)]
For sync, identify missing files by .digest.b64 rather than relative path.

9 months agoTo file data view, add duration as per ffprobe.
Christian Heller [Wed, 25 Dec 2024 18:28:56 +0000 (19:28 +0100)]
To file data view, add duration as per ffprobe.

9 months agoFix variability of VideoFile hash due to missing sorting of joined tags.
Christian Heller [Mon, 23 Dec 2024 16:14:51 +0000 (17:14 +0100)]
Fix variability of VideoFile hash due to missing sorting of joined tags.

9 months agoImprove verbosity of sync script.
Christian Heller [Mon, 23 Dec 2024 16:14:20 +0000 (17:14 +0100)]
Improve verbosity of sync script.

9 months agoDon't start right into playback, simplify player control.
Christian Heller [Sun, 22 Dec 2024 13:21:27 +0000 (14:21 +0100)]
Don't start right into playback, simplify player control.

9 months agoFix broken tag editing.
Christian Heller [Thu, 19 Dec 2024 04:38:10 +0000 (05:38 +0100)]
Fix broken tag editing.

9 months agoFix tags not showing in file view.
Christian Heller [Thu, 19 Dec 2024 04:07:32 +0000 (05:07 +0100)]
Fix tags not showing in file view.

9 months agoFix playing link brokenness.
Christian Heller [Thu, 19 Dec 2024 03:30:18 +0000 (04:30 +0100)]
Fix playing link brokenness.

9 months agoSimplify keeping alive of events stream.
Christian Heller [Wed, 18 Dec 2024 16:49:56 +0000 (17:49 +0100)]
Simplify keeping alive of events stream.

9 months agoMinor improvements to events connection handling.
Christian Heller [Wed, 18 Dec 2024 15:02:24 +0000 (16:02 +0100)]
Minor improvements to events connection handling.

9 months agoMinor code clean-up.
Christian Heller [Wed, 18 Dec 2024 13:23:59 +0000 (14:23 +0100)]
Minor code clean-up.

10 months agoIdentify "playing" entry in playlist by playlist.idx rather than digest, to avoid...
Christian Heller [Tue, 17 Dec 2024 00:34:01 +0000 (01:34 +0100)]
Identify "playing" entry in playlist by playlist.idx rather than digest, to avoid entries of same file claiming to be "playing" in parallel.

10 months agoRestart playlist after ending of last file.
Christian Heller [Tue, 17 Dec 2024 00:29:34 +0000 (01:29 +0100)]
Restart playlist after ending of last file.

10 months agoIn /playlist, don't block moving up/down towards playing entry, rather jump over it.
Christian Heller [Mon, 16 Dec 2024 14:33:36 +0000 (15:33 +0100)]
In /playlist, don't block moving up/down towards playing entry, rather jump over it.

10 months agoRe-organize Player code.
Christian Heller [Mon, 16 Dec 2024 13:52:49 +0000 (14:52 +0100)]
Re-organize Player code.

10 months agoSlightly reorganize sync script.
Christian Heller [Sun, 15 Dec 2024 08:05:09 +0000 (09:05 +0100)]
Slightly reorganize sync script.

10 months agoClose events stream earlier by checking for frequent client pings.
Christian Heller [Sun, 15 Dec 2024 07:27:41 +0000 (08:27 +0100)]
Close events stream earlier by checking for frequent client pings.

10 months agoSimplify config file tagset fields.
Christian Heller [Sun, 15 Dec 2024 02:45:22 +0000 (03:45 +0100)]
Simplify config file tagset fields.

10 months agoRe-organize tags code.
Christian Heller [Sun, 15 Dec 2024 02:37:53 +0000 (03:37 +0100)]
Re-organize tags code.

10 months agoAdd option for tags whitelist prefilter, i.e. tags of which to show files even if...
Christian Heller [Wed, 11 Dec 2024 06:28:10 +0000 (07:28 +0100)]
Add option for tags whitelist prefilter, i.e. tags of which to show files even if not matching needed-tags prefilter.

10 months agoMinor redesigns/refactorings/renamings on Tag code.
Christian Heller [Wed, 11 Dec 2024 05:55:03 +0000 (06:55 +0100)]
Minor redesigns/refactorings/renamings on Tag code.

10 months agoAdd config option to (dis-)allow file data editing.
Christian Heller [Wed, 11 Dec 2024 02:17:44 +0000 (03:17 +0100)]
Add config option to (dis-)allow file data editing.

10 months agoAdd config option to always apply invisible AND tag filter.
Christian Heller [Wed, 11 Dec 2024 00:28:56 +0000 (01:28 +0100)]
Add config option to always apply invisible AND tag filter.

10 months agoTurn tags-filtering from OR into AND filter.
Christian Heller [Tue, 10 Dec 2024 23:45:54 +0000 (00:45 +0100)]
Turn tags-filtering from OR into AND filter.

10 months agoTreat tag filter input fields as OR of comma-delimited terms.
Christian Heller [Tue, 10 Dec 2024 23:38:43 +0000 (00:38 +0100)]
Treat tag filter input fields as OR of comma-delimited terms.

10 months agoIn YT result page, don't directly link files, instead link their pages.
Christian Heller [Tue, 10 Dec 2024 22:38:26 +0000 (23:38 +0100)]
In YT result page, don't directly link files, instead link their pages.

10 months agoTo each new file, add "new" tag.
Christian Heller [Tue, 10 Dec 2024 22:16:42 +0000 (23:16 +0100)]
To each new file, add "new" tag.

10 months agoUpdate yt-dlp version.
Christian Heller [Tue, 10 Dec 2024 22:15:51 +0000 (23:15 +0100)]
Update yt-dlp version.

10 months agoReduce overkill in type definitions.
Christian Heller [Tue, 10 Dec 2024 22:06:02 +0000 (23:06 +0100)]
Reduce overkill in type definitions.

10 months agoAdd config option to hide YT queries older than a defined cutoff datetime.
Christian Heller [Tue, 10 Dec 2024 20:41:57 +0000 (21:41 +0100)]
Add config option to hide YT queries older than a defined cutoff datetime.

10 months agoRemove over-complicating tag editing in playlist view.
Christian Heller [Tue, 10 Dec 2024 16:21:37 +0000 (17:21 +0100)]
Remove over-complicating tag editing in playlist view.

10 months agoIn all-pages player control, show playing titles tags.
Christian Heller [Tue, 10 Dec 2024 16:14:20 +0000 (17:14 +0100)]
In all-pages player control, show playing titles tags.

10 months agoIn all-pages player control, link playing title to file page.
Christian Heller [Tue, 10 Dec 2024 15:57:51 +0000 (16:57 +0100)]
In all-pages player control, link playing title to file page.

10 months agoReorganize playlist page to only use JS API, smaller changes along the other template...
Christian Heller [Tue, 10 Dec 2024 14:30:39 +0000 (15:30 +0100)]
Reorganize playlist page to only use JS API, smaller changes along the other templates too.

10 months agoGreatly simplify template context type checking.
Christian Heller [Fri, 6 Dec 2024 16:17:05 +0000 (17:17 +0100)]
Greatly simplify template context type checking.

10 months agoHave basic player control as part of every page's head rather than only as playlist...
Christian Heller [Fri, 6 Dec 2024 15:54:53 +0000 (16:54 +0100)]
Have basic player control as part of every page's head rather than only as playlist page element.

10 months agoImmediately start player after loading files.
Christian Heller [Thu, 5 Dec 2024 04:37:37 +0000 (05:37 +0100)]
Immediately start player after loading files.

10 months agoFix broken redir_target passing.
Christian Heller [Thu, 5 Dec 2024 03:21:06 +0000 (04:21 +0100)]
Fix broken redir_target passing.

10 months agoAdd filtering to /playlist.
Christian Heller [Thu, 5 Dec 2024 03:01:44 +0000 (04:01 +0100)]
Add filtering to /playlist.

10 months agoMake background color configurable.
Christian Heller [Wed, 4 Dec 2024 17:21:55 +0000 (18:21 +0100)]
Make background color configurable.

10 months agoShow reduced file data form/table in playlist view.
Christian Heller [Wed, 4 Dec 2024 16:24:00 +0000 (17:24 +0100)]
Show reduced file data form/table in playlist view.

10 months agoFor VideoFiles, renew .last_update any time .save() saves actual changes to other...
Christian Heller [Tue, 3 Dec 2024 06:01:52 +0000 (07:01 +0100)]
For VideoFiles, renew .last_update any time .save() saves actual changes to other DB-recored fields.

10 months agoTo /files view, add filtering by tags.
Christian Heller [Tue, 3 Dec 2024 05:22:44 +0000 (06:22 +0100)]
To /files view, add filtering by tags.

10 months agoIn /file view, for tag addition propose tags used elsewhere.
Christian Heller [Tue, 3 Dec 2024 05:01:11 +0000 (06:01 +0100)]
In /file view, for tag addition propose tags used elsewhere.

10 months agoAdd file tagging.
Christian Heller [Tue, 3 Dec 2024 04:21:16 +0000 (05:21 +0100)]
Add file tagging.

10 months agoIn /file view, move deletion checkbox out of danger zone.
Christian Heller [Tue, 3 Dec 2024 03:34:58 +0000 (04:34 +0100)]
In /file view, move deletion checkbox out of danger zone.

10 months agoTo fix sync, add comparison and string representation to Hash class.
Christian Heller [Tue, 3 Dec 2024 03:03:33 +0000 (04:03 +0100)]
To fix sync, add comparison and string representation to Hash class.

10 months agoStore files hash digest as BLOB field .digest, overhaul DB and migrations code.
Christian Heller [Tue, 3 Dec 2024 02:58:45 +0000 (03:58 +0100)]
Store files hash digest as BLOB field .digest, overhaul DB and migrations code.

10 months agoReorganize DB code and especially migrations handling.
Christian Heller [Mon, 2 Dec 2024 13:30:29 +0000 (14:30 +0100)]
Reorganize DB code and especially migrations handling.

10 months agoEnsure DbConn encapsulates its executions into rollbackable transactions.
Christian Heller [Mon, 2 Dec 2024 11:12:04 +0000 (12:12 +0100)]
Ensure DbConn encapsulates its executions into rollbackable transactions.

10 months agoFrom sync script, remove no-longer-necessary ID name differentiation.
Christian Heller [Sun, 1 Dec 2024 07:48:57 +0000 (08:48 +0100)]
From sync script, remove no-longer-necessary ID name differentiation.

10 months agoTurn files.sha512_digest into new primary key, get rid of .rel_path base64-encoding...
Christian Heller [Sun, 1 Dec 2024 07:42:28 +0000 (08:42 +0100)]
Turn files.sha512_digest into new primary key, get rid of .rel_path base64-encoding shenanigans.

10 months agoTo files table, add sha512 checksum field.
Christian Heller [Sun, 1 Dec 2024 07:07:59 +0000 (08:07 +0100)]
To files table, add sha512 checksum field.

10 months agoMove "delete" flag in files.flags into highest bit.
Christian Heller [Sun, 1 Dec 2024 01:43:50 +0000 (02:43 +0100)]
Move "delete" flag in files.flags into highest bit.

10 months agoFix sync script bug of trying to JSONize pathlib.Path objects.
Christian Heller [Sun, 1 Dec 2024 01:35:21 +0000 (02:35 +0100)]
Fix sync script bug of trying to JSONize pathlib.Path objects.

10 months agoMinor DbConnection usage fixes, a renaming for convenience.
Christian Heller [Sat, 30 Nov 2024 22:55:21 +0000 (23:55 +0100)]
Minor DbConnection usage fixes, a renaming for convenience.

10 months agoRefactor DbConnection into context manager.
Christian Heller [Sat, 30 Nov 2024 22:45:10 +0000 (23:45 +0100)]
Refactor DbConnection into context manager.

10 months agoIn http module, mark with underscore constants not used outside.
Christian Heller [Sat, 30 Nov 2024 18:44:13 +0000 (19:44 +0100)]
In http module, mark with underscore constants not used outside.

10 months agoRefactor YoutubeQuery creation.
Christian Heller [Sat, 30 Nov 2024 18:40:55 +0000 (19:40 +0100)]
Refactor YoutubeQuery creation.

10 months agoFix /yt_result showing file path even if file not .present.
Christian Heller [Sat, 30 Nov 2024 18:23:21 +0000 (19:23 +0100)]
Fix /yt_result showing file path even if file not .present.

10 months agoRefactor VideoFile.flags setting.
Christian Heller [Sat, 30 Nov 2024 18:18:36 +0000 (19:18 +0100)]
Refactor VideoFile.flags setting.

10 months agoStart moving HTTP-related code to dedicated file.
Christian Heller [Sat, 30 Nov 2024 18:05:21 +0000 (19:05 +0100)]
Start moving HTTP-related code to dedicated file.

10 months agoFrom /files path filtering, remove case sensitivity.
Christian Heller [Fri, 29 Nov 2024 06:29:49 +0000 (07:29 +0100)]
From /files path filtering, remove case sensitivity.