tvh_assign_epg_sources
Assign advertised EPG source IDs to a Tvheadend channel, with add, replace, or remove modes to preserve or clear existing mappings; supports dry-run previews.
Instructions
Assign advertised EPG source IDs to a channel; add preserves existing sources.
Source IDs are enum keys from get_field_options(channel_uuid, 'epggrab'), often module/channel strings rather than UUIDs. Empty replace explicitly clears.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | add | |
| dry_run | No | ||
| source_ids | Yes | ||
| channel_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||