@dominevo/addon-media-library 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +32 -2
- package/assets/icon.svg +1 -0
- package/dist/index.js +7 -0
- package/dist/index.mjs +2 -0
- package/dist/media-library.addon.js +10817 -0
- package/dist/media-library.addon.mjs +10812 -0
- package/i18n/en.json +26 -0
- package/i18n/it.json +26 -0
- package/package.json +81 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this package are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.1.1] - 2026-12-02
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- New addon: a series and movies catalogue from the arr apps and plain folders, with per-user progress and direct play
|
package/README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Media Library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The self-hosted media stack's catalogue. It lists the series and movies on the hub's disks, from the series and movies apps (an `arr-source` each) and from plain folders, probes each file once with ffmpeg, keeps every user's place in every item, and serves the file with HTTP Range for direct play.
|
|
4
|
+
|
|
5
|
+
## Settings
|
|
6
|
+
|
|
7
|
+
- **Series source / Movies source:** the app's address and API key (the key is a password field, kept in the keychain), plus a path mapping from the app's library folder to where this hub mounts it.
|
|
8
|
+
- **Folders:** plain folders walked for files the apps do not know, and how often to rescan.
|
|
9
|
+
|
|
10
|
+
## Data plane
|
|
11
|
+
|
|
12
|
+
- `/addon/media-library/file/<itemId>` direct-plays a catalogued file (206 and 416 are real).
|
|
13
|
+
- `/addon/media-library/img/<itemId>/poster|fanart` serves a cover fetched from the app once and cached on disk. The API key never leaves the hub.
|
|
14
|
+
|
|
15
|
+
Both serve by item id only; no path of the client's is ever opened.
|
|
16
|
+
|
|
17
|
+
<!-- readme:generated:start (derived from the manifest; edit outside this block) -->
|
|
18
|
+
|
|
19
|
+
Package `@dominevo/addon-media-library` on npm.
|
|
20
|
+
|
|
21
|
+
## What it provides
|
|
22
|
+
|
|
23
|
+
- **Media Library** (`media-library`): The series and movies on the hub's disks as a catalogue (from the arr apps and plain folders), with per-user progress, direct play and a native Media app in the viewer. Category: system.
|
|
24
|
+
- Capabilities: `media-library`, `app-source`.
|
|
25
|
+
|
|
26
|
+
## Requirements
|
|
27
|
+
|
|
28
|
+
- Placement: hub-only.
|
|
29
|
+
- A Dominevo hub. An agent is used only where the placement above allows it.
|
|
30
|
+
|
|
31
|
+
See [CHANGELOG.md](./CHANGELOG.md) for what changed in each version.
|
|
32
|
+
|
|
33
|
+
<!-- readme:generated:end -->
|
package/assets/icon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24" fill="none" stroke="#0e7490" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="2" y="3" width="20" height="14" rx="2"/><path d="m10 8 5 3-5 3z"/><path d="M8 21h8"/><path d="M12 17v4"/></svg>
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
const require_media_library_addon = require("./media-library.addon.js");
|
|
6
|
+
exports.MediaLibraryAddon = require_media_library_addon.MediaLibraryAddon;
|
|
7
|
+
exports.default = require_media_library_addon.MediaLibraryAddon;
|
package/dist/index.mjs
ADDED