Skip to content

Spawn Profiles "Not Available" #733

@vindicatorr

Description

@vindicatorr

Kodi : 21.2.0 (Android)
Pvr: 21.2.6
Hts: 4.3-2550~gfa8011b46

2025-12-28 09:21:30.057 T:5604    debug <general>: AddOnLog: pvr.hts: sending auth
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   Received permissions:
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   administrator              : 0
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   HTSP streaming             : 1
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   HTSP DVR                   : 1
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   Failed/aborted DVR         : 0
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   anonymous HTSP only        : 0
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   global connection limit    : 0
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   DVR connection limit       : 0
2025-12-28 09:21:30.069 T:5604     info <general>: AddOnLog: pvr.hts:   streaming connection limit : 0
2025-12-28 09:21:30.069 T:5604    debug <general>: AddOnLog: pvr.hts: rebuilding state
2025-12-28 09:21:30.080 T:5604     info <general>: AddOnLog: pvr.hts:   Available streaming profiles:
2025-12-28 09:21:30.080 T:5604     info <general>: AddOnLog: pvr.hts:   Name: webtv-vp8-vorbis-webm, Comment: WEBTV profile VP8/Vorbis/WEBM
2025-12-28 09:21:30.080 T:5604     info <general>: AddOnLog: pvr.hts:   Name: htsp, Comment: HTSP Default Stream Settings
2025-12-28 09:21:30.080 T:5604     info <general>: AddOnLog: pvr.hts:   Name: custom_moto, Comment: WEBTV profile H264/AAC/MPEG-TS
2025-12-28 09:21:30.080 T:5604    debug <general>: Interface_General::queue_notification - Tvheadend HTSP Client - Error Message : 'Streaming profile spawn0 is not available'
2025-12-28 09:21:30.080 T:5604     info <general>: AddOnLog: pvr.hts: Request async EPG (3 days)

I originally had a custom profile for a mobile device, but that fails since I disable the ffmpeg-6 build while my system uses ffmpeg-8.
So I opted to explore using Spawn profiles (https://tvheadend.org/d/8986-transcode-with-n100i7-8700-via-vaapi-x265/).
I created it and was able to stream TV, but something "felt" off.
I noticed subscribing on channel <...> profile="htsp".

The thing is, for the user, I only have a single profile enabled (originally "custom_moto", then "Spawn - FFMpeg").
I then questioned whether or not the spaces made a difference since I saw no other names with that formatting. Later I saw #704.
So I renamed it to test. Still used htsp.

So I then saw I could force it from the client pvr settings, but when I did, I'd get Streaming profile test is not available.
I thought maybe old settings were retained or something and had cleared the client cache, created a different fresh Spawn name that wasn't used yet. No difference.
Also no difference after restarting the tvheadend service.

When I enabled logging and looked at it from the client, I saw the above message (without the other names because I only had the test Spawn profile created).
I added the other profiles to see the behavior and the builtins and my custom were listed. Just not the "spawn" one.
Just for thoroughness, I even added a description to the spawn. Still nothing.

What I see from the log is only profiles mentioned as "Available". To me, I don't know if that means those are the profile names the hts service sent to the client, or the client also received the "sparse" profile, but some parsing for it didn't pan out.

/home/userName/.config/hts/profile/54e26711a11084454d4d5eebbcf600d7
{
        "cmdline": "echo hey",
        "killsig": 1,
        "kill_timeout": 15,
        "sid": 1,
        "rewrite_pmt": true,
        "rewrite_pat": true,
        "rewrite_sdt": true,
        "rewrite_nit": true,
        "rewrite_eit": true,
        "class": "profile-mpegts-spawn",
        "name": "spawn0",
        "enabled": true,
        "default": false,
        "comment": "some comment",
        "timeout": 5,
        "timeout_start": 0,
        "priority": 3,
        "fpriority": 0,
        "restart": false,
        "contaccess": true,
        "catimeout": 2000,
        "swservice": true,
        "svfilter": 0
}

I saw in my notes I had https://old.tvheadend.org/projects/tvheadend/wiki/Custom_MPEG-TS_Input (except it was the previous 404 page).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions