Skip to content

feat(strm): add support for configuring host in generated .strm files#252

Merged
javi11 merged 9 commits intojavi11:mainfrom
drondeseries:feat/strm-host-config
Feb 3, 2026
Merged

feat(strm): add support for configuring host in generated .strm files#252
javi11 merged 9 commits intojavi11:mainfrom
drondeseries:feat/strm-host-config

Conversation

@drondeseries
Copy link
Copy Markdown
Contributor

Fixes #248

Changes

  • Backend: Added host field to WebDAVConfig.
  • STRM Generator: Updated to use the configured host (or default to localhost) when generating streaming URLs.
  • API: Updated config response types to include and expose the new host field (with password masking).
  • Frontend: Added "External Host" input field to the WebDAV configuration section in the UI.
  • Documentation: Updated config.sample.yaml with the new option.
  • Tests: Added unit tests for STRM generator host configuration.

Verification

  • Verified that .strm files are generated with the configured host via unit tests.
  • Verified frontend UI changes for editing the new field.

drondeseries and others added 9 commits January 15, 2026 15:12
…ooks

- Fixes JSON unmarshalling error when deletedFiles is false
- Adds MovieFile struct to ArrsWebhookRequest to correctly parse file paths
- Handles MovieDelete and SeriesDelete events by recursively removing health records and metadata
- Adds comprehensive tests for webhook parsing and health record deletion
- Adds 'host' field to WebDAV configuration in config.yaml
- Updates STRM generator to use the configured host (or localhost if empty)
- Adds 'External Host' input to the WebDAV settings in the UI
- Includes unit tests for STRM generator host configuration
- Updates sample config with new option
…ary wipes

The EpisodeFileDelete webhook from Sonarr was previously processed by marking the associated file path for deletion. This was too aggressive and could lead to accidental wipes of the entire library content. This change unconditionally ignores these events and returns a success response.
@javi11 javi11 merged commit fcc7bbd into javi11:main Feb 3, 2026
1 check passed
@drondeseries drondeseries deleted the feat/strm-host-config branch February 5, 2026 20:09
drondeseries referenced this pull request in drondeseries/altmount_old Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

How to set host in generated .strm files

2 participants