3 Commits
Author SHA1 Message Date
Worph 7b4a72337c align to metadata keys doc
Build and Push Docker Image / build (push) Failing after 15s
2026-08-30 19:50:12 +02:00
Worph 1f83d2a747 gitattributes
Build and Push Docker Image / build (push) Failing after 14s
2026-07-14 16:04:59 +02:00
Worph c7a7981116 add missing lib
Build and Push Docker Image / build (push) Failing after 14s
2026-06-14 22:03:12 +02:00
4 changed files with 25 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
# FIX CRLF always when developer has not set
# Linux/Mac: git config --global core.autocrlf input
# Windows: git config --global core.autocrlf true
# Auto detect text files and perform LF normalization
* text=auto
* eol=lf
+5 -2
View File
@@ -1,8 +1,11 @@
node_modules/
dist/
# Locally-built @metazla/filename-tools tarball (vendored file: dep; rebuilt from
# packages/filename-tool — see Dockerfile note). Build artifact, not source.
vendor/
# packages/filename-tool — see Dockerfile note). The tarball itself MUST be
# committed: the Dockerfile `COPY vendor/` needs it at build time, and CI has no
# other source for it. Ignore everything else under vendor/.
vendor/*
!vendor/filename-tools.tgz
*.log
.env
.DS_Store
+14 -2
View File
@@ -113,8 +113,20 @@ export async function process(
// too (meta-watch reads contentKind to detect/aggregate episodes).
// Gated with the other title-derived tags so meta-sort (the real
// file is the authority there, flag off) is unaffected.
if (metadata.videoType === 'tvshow') result.contentKind = 'episode';
else if (metadata.videoType === 'movie') result.contentKind = 'movie';
// `domain` travels with `contentKind` — whoever writes one writes
// the other (METADATA_KEYS.md §1). It is what every client filters
// its wall on, and a record with a kind but no domain is invisible
// to all of them. Stamped literally rather than through
// filename-tool's `domainForContentKind` because this plugin
// vendors that package as a tarball; the two kinds here are the
// whole table's video half anyway.
if (metadata.videoType === 'tvshow') {
result.contentKind = 'episode';
result.domain = 'tv';
} else if (metadata.videoType === 'movie') {
result.contentKind = 'movie';
result.domain = 'film';
}
}
if (Object.keys(result).length > 0) {
BIN
View File
Binary file not shown.