Inconsistent triggering of post-processing script for Live TV recordings #6280

Closed
opened 2026-02-07 03:23:32 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @schumi4 on GitHub (Sep 17, 2024).

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found here.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

The post-processing script for Live TV recordings is only triggered intermittently, approximately 1 out of 5 recordings. When it works, it's reflected in the logs, but when it doesn't trigger, the logs only show that the recording is ending without any post-processing being launched.
I can't make out any pattern, which is why I believe this to be a bug. Configuration and setup has remained exactly the same between tries.

Reproduction steps

  1. Set up a post-processing script for Live TV recordings
  2. Configure Jellyfin to use this script
  3. Record multiple Live TV shows

What is the current bug behavior?

The post-processing script is only triggered for some recordings

What is the expected correct behavior?

The post-processing script should be triggered consistently for every Live TV recording.

Jellyfin Server version

10.9.11+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.9.11

Environment

- OS: Debian 12
- Linux Kernel: 6.1.0-25-amd64
- Virtualization: Docker (official image)
- Clients: -
- Browser: -
- FFmpeg Version: -
- Playback Method: -
- Hardware Acceleration: none
- GPU Model: -
- Plugins:
- Reverse Proxy:
- Base URL:
- Networking:
- Storage:

Jellyfin logs

success:
[14:13:36] [INF] [86] Jellyfin.LiveTv.Recordings.RecordingsManager: Recording stopped: /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_13_45_51 - Die Lückenbüßerin.ts
[14:13:36] [INF] [86] Emby.Server.Implementations.Library.MediaSourceManager: Live stream 815bc9586a596e8036936cc476d4758e consumer count is now 1
[14:13:36] [INF] [75] Jellyfin.LiveTv.Recordings.RecordingsManager: Triggering refresh on /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_13_45_51 - Die Lückenbüßerin.ts
[14:13:36] [INF] [75] Jellyfin.LiveTv.Recordings.RecordingsManager: Refreshing recording parent /dropbox/livetv/RawRecordings/Two and a Half Men
[14:13:36] [INF] [75] Jellyfin.LiveTv.Recordings.RecordingsManager: Running recording post processor /config/scripts/post_process.sh "/dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_13_45_51 - Die Lückenbüßerin.ts"

failure:
[13:18:44] [INF] [83] Jellyfin.LiveTv.Recordings.RecordingsManager: Recording stopped: /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_12_49_53 - Frodos Autogrammkarten.ts
[13:18:44] [INF] [83] Emby.Server.Implementations.Library.MediaSourceManager: Live stream 815bc9586a596e8036936cc476d4758e consumer count is now 1
[13:18:44] [INF] [83] Jellyfin.LiveTv.Recordings.RecordingsManager: Triggering refresh on /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_12_49_53 - Frodos Autogrammkarten.ts
[13:18:44] [INF] [83] Jellyfin.LiveTv.Recordings.RecordingsManager: Refreshing recording parent /dropbox/livetv/RawRecordings/Two and a Half Men

FFmpeg logs

No response

Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @schumi4 on GitHub (Sep 17, 2024). ### This issue respects the following points: - [x] This is a **bug**, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report. The links can be found [here](https://jellyfin.org/contact/). - [X] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_. - [X] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue. - [X] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct). - [X] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one. ### Description of the bug The post-processing script for Live TV recordings is only triggered intermittently, approximately 1 out of 5 recordings. When it works, it's reflected in the logs, but when it doesn't trigger, the logs only show that the recording is ending without any post-processing being launched. I can't make out any pattern, which is why I believe this to be a bug. Configuration and setup has remained exactly the same between tries. ### Reproduction steps 1. Set up a post-processing script for Live TV recordings 2. Configure Jellyfin to use this script 3. Record multiple Live TV shows ### What is the current _bug_ behavior? The post-processing script is only triggered for some recordings ### What is the expected _correct_ behavior? The post-processing script should be triggered consistently for every Live TV recording. ### Jellyfin Server version 10.9.11+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.9.11 ### Environment ```markdown - OS: Debian 12 - Linux Kernel: 6.1.0-25-amd64 - Virtualization: Docker (official image) - Clients: - - Browser: - - FFmpeg Version: - - Playback Method: - - Hardware Acceleration: none - GPU Model: - - Plugins: - Reverse Proxy: - Base URL: - Networking: - Storage: ``` ### Jellyfin logs ```shell success: [14:13:36] [INF] [86] Jellyfin.LiveTv.Recordings.RecordingsManager: Recording stopped: /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_13_45_51 - Die Lückenbüßerin.ts [14:13:36] [INF] [86] Emby.Server.Implementations.Library.MediaSourceManager: Live stream 815bc9586a596e8036936cc476d4758e consumer count is now 1 [14:13:36] [INF] [75] Jellyfin.LiveTv.Recordings.RecordingsManager: Triggering refresh on /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_13_45_51 - Die Lückenbüßerin.ts [14:13:36] [INF] [75] Jellyfin.LiveTv.Recordings.RecordingsManager: Refreshing recording parent /dropbox/livetv/RawRecordings/Two and a Half Men [14:13:36] [INF] [75] Jellyfin.LiveTv.Recordings.RecordingsManager: Running recording post processor /config/scripts/post_process.sh "/dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_13_45_51 - Die Lückenbüßerin.ts" failure: [13:18:44] [INF] [83] Jellyfin.LiveTv.Recordings.RecordingsManager: Recording stopped: /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_12_49_53 - Frodos Autogrammkarten.ts [13:18:44] [INF] [83] Emby.Server.Implementations.Library.MediaSourceManager: Live stream 815bc9586a596e8036936cc476d4758e consumer count is now 1 [13:18:44] [INF] [83] Jellyfin.LiveTv.Recordings.RecordingsManager: Triggering refresh on /dropbox/livetv/RawRecordings/Two and a Half Men/Two and a Half Men 2024_09_17_12_49_53 - Frodos Autogrammkarten.ts [13:18:44] [INF] [83] Jellyfin.LiveTv.Recordings.RecordingsManager: Refreshing recording parent /dropbox/livetv/RawRecordings/Two and a Half Men ``` ### FFmpeg logs _No response_ ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
OVERLORD added the bugstalelive-tv labels 2026-02-07 03:23:32 +03:00
Author
Owner

@jellyfin-bot commented on GitHub (Jan 16, 2025):

This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.

If you have any questions you can use one of several ways to contact us.

@jellyfin-bot commented on GitHub (Jan 16, 2025): This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
Author
Owner

@jellyfin-bot commented on GitHub (Feb 6, 2025):

This issue was closed due to inactivity.

@jellyfin-bot commented on GitHub (Feb 6, 2025): This issue was closed due to inactivity.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#6280