Jellyfin Forum
DVR recording stops randomly - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: DVR recording stops randomly (/t-dvr-recording-stops-randomly)

Pages: 1 2


DVR recording stops randomly - macthaidhg - 2023-11-21

Hi, I just recently connected IPTV as HDHomerun (via Xteve) and IPTV is as good as I can expect it to be. However, I'm finding the DVR to be unreliable and I'm not sure if this is an issue with my setup or something within Jellyfin. Shows may record for just a few seconds or minutes before cancelling. To try to replicate the issue I set Jellyfin to record 4 shows last night. 3 recorded perfectly and one stopped prematurely (Shark Tank). Shark Tank started at 1.10am and was due to finish at 2.00am but ended at 1.30am. Logs below. Any insight into the error would be greatly appreciated!

Code:
jellyfin  | [01:10:01] [INF] [60] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Recording timer fired for Shark Tank.
jellyfin  | [01:10:01] [INF] [60] Emby.Server.Implementations.LiveTv.LiveTvManager: Opening channel stream from Emby, external channel Id: hdhr_6
jellyfin  | [01:10:01] [INF] [60] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Streaming Channel hdhr_6
jellyfin  | [01:10:01] [INF] [60] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: GetChannelStream: channel id: hdhr_6. stream id: native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09 profile: native
jellyfin  | [01:10:01] [INF] [60] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Opening SharedHttpStream Live stream from http://192.168.1.50:34400/stream/b629b03cc30721e49bc5b60738f8dc45
jellyfin  | [01:10:02] [INF] [40] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Beginning SharedHttpStream stream to /config/data/transcodes/9ef663d499494c868d3e8b8bdb9958a8.ts
jellyfin  | [01:10:02] [INF] [101] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Live stream opened after 1269.8534ms
jellyfin  | [01:10:02] [INF] [101] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Returning mediasource streamId native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09, mediaSource.Id native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09, mediaSource.LiveStreamId null
jellyfin  | [01:10:02] [INF] [60] Emby.Server.Implementations.Library.MediaSourceManager: Live tv media info probe took 0.0010642 seconds
jellyfin  | [01:10:02] [INF] [60] Emby.Server.Implementations.Library.MediaSourceManager: Live stream opened: {"Protocol": "Http", "Id": "native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09", "Path": "http://172.17.0.5:8096/LiveTv/LiveStreamFiles/9ef663d499494c868d3e8b8bdb9958a8/stream.ts", "EncoderPath": null, "EncoderProtocol": null, "Type": "Default", "Container": "mpegts", "Size": null, "Name": null, "IsRemote": false, "ETag": null, "RunTimeTicks": null, "ReadAtNativeFramerate": false, "IgnoreDts": true, "IgnoreIndex": false, "GenPtsInput": false, "SupportsTranscoding": true, "SupportsDirectStream": true, "SupportsDirectPlay": false, "IsInfiniteStream": true, "RequiresOpening": true, "OpenToken": null, "RequiresClosing": true, "LiveStreamId": "a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09", "BufferMs": 0, "RequiresLooping": false, "SupportsProbing": true, "VideoType": null, "IsoType": null, "Video3DFormat": null, "MediaStreams": [{"Codec": "h264", "CodecTag": null, "Language": null, "ColorRange": "tv", "ColorSpace": "bt709", "ColorTransfer": "bt709", "ColorPrimaries": "bt709", "DvVersionMajor": null, "DvVersionMinor": null, "DvProfile": null, "DvLevel": null, "RpuPresentFlag": null, "ElPresentFlag": null, "BlPresentFlag": null, "DvBlSignalCompatibilityId": null, "Comment": null, "TimeBase": "1/90000", "CodecTimeBase": null, "Title": null, "VideoRange": "SDR", "VideoRangeType": "SDR", "VideoDoViTitle": null, "LocalizedUndefined": null, "LocalizedDefault": null, "LocalizedForced": null, "LocalizedExternal": null, "DisplayTitle": "1080p H264 SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": null, "ChannelLayout": null, "BitRate": 20000000, "BitDepth": 8, "RefFrames": 1, "PacketLength": null, "Channels": null, "SampleRate": null, "IsDefault": false, "IsForced": false, "Height": 1080, "Width": 1920, "AverageFrameRate": 25, "RealFrameRate": 25, "Profile": "High", "Type": "Video", "AspectRatio": "16:9", "Index": -1, "Score": null, "IsExternal": false, "DeliveryMethod": null, "DeliveryUrl": null, "IsExternalUrl": null, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "Path": null, "PixelFormat": "yuv420p", "Level": 40, "IsAnamorphic": false, "$type": "MediaStream"}, {"Codec": "aac", "CodecTag": null, "Language": null, "ColorRange": null, "ColorSpace": null, "ColorTransfer": null, "ColorPrimaries": null, "DvVersionMajor": null, "DvVersionMinor": null, "DvProfile": null, "DvLevel": null, "RpuPresentFlag": null, "ElPresentFlag": null, "BlPresentFlag": null, "DvBlSignalCompatibilityId": null, "Comment": null, "TimeBase": "1/90000", "CodecTimeBase": null, "Title": null, "VideoRange": null, "VideoRangeType": null, "VideoDoViTitle": null, "LocalizedUndefined": null, "LocalizedDefault": null, "LocalizedForced": null, "LocalizedExternal": null, "DisplayTitle": "AAC - Stereo", "NalLengthSize": null, "IsInterlaced": false, "IsAVC": null, "ChannelLayout": "stereo", "BitRate": 132060, "BitDepth": null, "RefFrames": null, "PacketLength": null, "Channels": 2, "SampleRate": 48000, "IsDefault": false, "IsForced": false, "Height": null, "Width": null, "AverageFrameRate": null, "RealFrameRate": null, "Profile": "LC", "Type": "Audio", "AspectRatio": null, "Index": -1, "Score": null, "IsExternal": false, "DeliveryMethod": null, "DeliveryUrl": null, "IsExternalUrl": null, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "Path": null, "PixelFormat": null, "Level": 0, "IsAnamorphic": null, "$type": "MediaStream"}], "MediaAttachments": [], "Formats": [], "Bitrate": 20132060, "Timestamp": null, "RequiredHttpHeaders": {}, "TranscodingUrl": null, "TranscodingSubProtocol": null, "TranscodingContainer": null, "AnalyzeDurationMs": 3000, "TranscodeReasons": "0", "DefaultAudioStreamIndex": null, "DefaultSubtitleStreamIndex": null, "VideoStream": {"Codec": "h264", "CodecTag": null, "Language": null, "ColorRange": "tv", "ColorSpace": "bt709", "ColorTransfer": "bt709", "ColorPrimaries": "bt709", "DvVersionMajor": null, "DvVersionMinor": null, "DvProfile": null, "DvLevel": null, "RpuPresentFlag": null, "ElPresentFlag": null, "BlPresentFlag": null, "DvBlSignalCompatibilityId": null, "Comment": null, "TimeBase": "1/90000", "CodecTimeBase": null, "Title": null, "VideoRange": "SDR", "VideoRangeType": "SDR", "VideoDoViTitle": null, "LocalizedUndefined": null, "LocalizedDefault": null, "LocalizedForced": null, "LocalizedExternal": null, "DisplayTitle": "1080p H264 SDR", "NalLengthSize": "0", "IsInterlaced": false, "IsAVC": null, "ChannelLayout": null, "BitRate": 20000000, "BitDepth": 8, "RefFrames": 1, "PacketLength": null, "Channels": null, "SampleRate": null, "IsDefault": false, "IsForced": false, "Height": 1080, "Width": 1920, "AverageFrameRate": 25, "RealFrameRate": 25, "Profile": "High", "Type": "Video", "AspectRatio": "16:9", "Index": -1, "Score": null, "IsExternal": false, "DeliveryMethod": null, "DeliveryUrl": null, "IsExternalUrl": null, "IsTextSubtitleStream": false, "SupportsExternalStream": false, "Path": null, "PixelFormat": "yuv420p", "Level": 40, "IsAnamorphic": false, "$type": "MediaStream"}, "$type": "MediaSourceInfo"}
jellyfin  | [01:10:02] [INF] [60] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Beginning recording. Will record for 49.978629575 minutes.
jellyfin  | [01:10:02] [INF] [60] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Writing file to: /recordings/Shark Tank/Shark Tank 2023_11_21_01_10_01.ts
jellyfin  | [01:10:02] [INF] [60] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Copying recording to file /recordings/Shark Tank/Shark Tank 2023_11_21_01_10_01.ts
jellyfin  | [01:10:02] [INF] [84] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Triggering refresh on /recordings/Shark Tank/Shark Tank 2023_11_21_01_10_01.ts
jellyfin  | [01:10:02] [INF] [84] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Refreshing recording parent /recordings
jellyfin  | [01:10:12] [INF] [28] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items
jellyfin  | [01:10:12] [INF] [28] Trakt.Helpers.LibraryManagerEventsHelper: No events... stopping queue timer
jellyfin  | [01:10:17] [INF] [60] MediaBrowser.Providers.TV.SeriesMetadataService: Creating Season Season Unknown entry for Shark Tank
jellyfin  | [01:10:17] [ERR] [60] Jellyfin.Plugin.Tvdb.Providers.TvdbEpisodeImageProvider: Episode nullxnull not found for series 100981:Shark Tank
jellyfin  | [01:10:27] [INF] [84] Trakt.Helpers.LibraryManagerEventsHelper: Timer elapsed - processing queued items
jellyfin  | [01:10:27] [INF] [84] Trakt.Helpers.LibraryManagerEventsHelper: No events... stopping queue timer
jellyfin  | [01:11:02] [INF] [84] Emby.Server.Implementations.IO.LibraryMonitor: Shark Tank (/recordings/Shark Tank) will be refreshed.
jellyfin  | [01:14:23] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Clean Log Directory
jellyfin  | [01:14:23] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task DeleteLogFileTask
jellyfin  | [01:14:23] [INF] [106] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Clean Log Directory
jellyfin  | [01:14:23] [INF] [106] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean Log Directory Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:23] [INF] [106] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:14:23] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Download missing subtitles
jellyfin  | [01:14:23] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task SubtitleScheduledTask
jellyfin  | [01:14:23] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Download missing subtitles
jellyfin  | [01:14:23] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: Download missing subtitles Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:23] [INF] [13] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Optimize database
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task OptimizeDatabaseTask
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Optimize database
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.Tasks.OptimizeDatabaseTask: Optimizing and vacuuming jellyfin.db...
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.Tasks.OptimizeDatabaseTask: jellyfin.db optimized successfully!
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: Optimize database Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:25] [INF] [139] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: TasksRefreshChannels
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task RefreshChannelsScheduledTask
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing TasksRefreshChannels
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: TasksRefreshChannels Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:14:25] [INF] [82] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Clean Transcode Directory
jellyfin  | [01:14:25] [INF] [82] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task DeleteTranscodeFileTask
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Clean Transcode Directory
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean Transcode Directory Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:25] [INF] [43] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:14:28] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Scan library for new box sets
jellyfin  | [01:14:28] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task RefreshLibraryTask
jellyfin  | [01:14:28] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Scan library for new box sets
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.ScheduledTasks.RefreshLibraryTask: Starting TMDbBoxSets refresh library task
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Found 71 TMDb collection(s) across all movies
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: 2001: A Space Odyssey
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Aladdin
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: American Graffiti
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: American Psycho
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Angry Birds Movie 2
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Avatar
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Avengers
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: The movies Back to the Future, Back to the Future Part III is/are already in their proper box set, Back to the Future Collection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Bambi
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Bill & Ted's Excellent Adventure
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: The movies Blade Runner, Blade Runner is/are already in their proper box set, Blade Runner Collection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Blues Brothers
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Cinderella
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Citizenfour
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Creed
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Despicable Me
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Dumb and Dumber
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Easy Rider
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: The movies The Empire Strikes Back, Return of the Jedi, Star Wars, Star Wars: Episode I - The Phantom Menace, Star Wars: Episode II - Attack of the Clones, Star Wars: Episode III - Revenge of the Sith, Star Wars: The Force Awakens, Star Wars: The Last Jedi is/are already in their proper box set, Star Wars Collection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Escape from New York
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: The movies Finding Dory, Finding Nemo is/are already in their proper box set, Finding Nemo Collection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Fox and the Hound
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The French Connection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Friday
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Frozen
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Grey Gardens
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Happiness
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Hunchback of Notre Dame
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: An Inconvenient Truth
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Independence Day
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Inside Man
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Jaws
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Jungle Book
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Jurassic Park
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Lady and the Tramp
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Lego Movie
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Lion King
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Little Mermaid
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Lord of the Rings: The Return of the King
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: The movies Mad Max, Mad Max, Mad Max 2, Mad Max 2, Mad Max Beyond Thunderdome, Mad Max Beyond Thunderdome is/are already in their proper box set, Mad Max Collection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: March of the Penguins
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Midnight Run
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Mission: Impossible - Ghost Protocol
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Monsters, Inc.
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: A Nightmare on Elm Street
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Old Yeller
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: One Hundred and One Dalmatians
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Paranormal Activity
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Patriot Games
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Patton
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Predator
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Protector
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Pumping Iron
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Rocky Balboa
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Sherlock Holmes
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Shining
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Sicario
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Sister Act
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: The movies Skyfall, Spectre is/are already in their proper box set, James Bond Collection
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Streetwise
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Terminator Salvation
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: This Is Spinal Tap
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: The Trip to Italy
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Waiting for Guffman
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Wall Street
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: What the #$*! Do We (K)now!?
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Wind River
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Wonder
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Wreck-It Ralph
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Zeitgeist
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.TMDbBoxSetManager: Minimum number of movies is 2, but there is/are only 1: Zootopia
jellyfin  | [01:14:28] [INF] [30] Jellyfin.Plugin.TMDbBoxSets.ScheduledTasks.RefreshLibraryTask: TMDbBoxSets refresh library task finished
jellyfin  | [01:14:28] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan library for new box sets Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:28] [INF] [30] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:14:30] [INF] [145] Emby.Server.Implementations.ScheduledTasks.TaskManager: IntervalTrigger fired for task: Clean Cache Directory
jellyfin  | [01:14:30] [INF] [145] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task DeleteCacheFileTask
jellyfin  | [01:14:30] [INF] [82] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Clean Cache Directory
jellyfin  | [01:14:31] [INF] [82] Emby.Server.Implementations.ScheduledTasks.TaskManager: Clean Cache Directory Completed after 0 minute(s) and 0 seconds
jellyfin  | [01:14:31] [INF] [82] Emby.Server.Implementations.ScheduledTasks.TaskManager: ExecuteQueuedTasks
jellyfin  | [01:30:42] [ERR] [35] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Error copying live stream SharedHttpStream to /config/data/transcodes/9ef663d499494c868d3e8b8bdb9958a8.ts
jellyfin  | System.IO.IOException: The response ended prematurely.
jellyfin  |    at System.Net.Http.HttpConnection.FillAsync(Boolean async)
jellyfin  |    at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken)
jellyfin  |    at Emby.Server.Implementations.IO.StreamHelper.CopyToAsync(Stream source, Stream destination, Int32 bufferSize, Action onStarted, CancellationToken cancellationToken)
jellyfin  |    at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.<>c__DisplayClass4_0.<b__0>d.MoveNext()
jellyfin  | --- End of stack trace from previous location ---
jellyfin  |    at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.<>c__DisplayClass4_0.<b__0>d.MoveNext()
jellyfin  | --- End of stack trace from previous location ---
jellyfin  |    at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.<>c__DisplayClass4_0.<b__0>d.MoveNext()
jellyfin  | [01:30:42] [INF] [35] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Deleting temp file /config/data/transcodes/9ef663d499494c868d3e8b8bdb9958a8.ts
jellyfin  | [01:59:59] [INF] [86] Emby.Server.Implementations.ScheduledTasks.TaskManager: DailyTrigger fired for task: Extract Chapter Images
jellyfin  | [01:59:59] [INF] [86] Emby.Server.Implementations.ScheduledTasks.TaskManager: Queuing task ChapterImagesTask
jellyfin  | [01:59:59] [INF] [148] Emby.Server.Implementations.ScheduledTasks.TaskManager: Executing Extract Chapter Images
jellyfin  | [02:00:00] [INF] [46] Emby.Server.Implementations.ScheduledTasks.TaskManager: Daily trigger for Extract Chapter Images set to fire at 2023-11-22 02:00:00.000 +00:00, which is 23:59:59.0021264 from now.
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Recording stopped: /recordings/Shark Tank/Shark Tank 2023_11_21_01_10_01.ts
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.Library.MediaSourceManager: Live stream native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09 consumer count is now 0
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.Library.MediaSourceManager: Closing live stream a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Closing SharedHttpStream
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.Library.MediaSourceManager: Live stream a17c75760a04e99b68cf766e11316e1c_09efa0d56b934a82adec00a87b837fb0_native_cb854b8527fffc52b88606bca76f83c6_4ae3c89e77b944f74fc24f6fcafaab09 closed successfully
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Triggering refresh on /recordings/Shark Tank/Shark Tank 2023_11_21_01_10_01.ts
jellyfin  | [02:00:01] [INF] [50] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Refreshing recording parent /recordings/Shark Tank
jellyfin  | [02:00:02] [INF] [102] MediaBrowser.Providers.TV.SeriesMetadataService: Removing virtual season null in series Shark Tank
jellyfin  | [02:00:02] [INF] [102] Emby.Server.Implementations.Library.LibraryManager: Removing item, Type: Season, Name: Season Unknown, Path: , Id: a0d3d529-9517-b666-5b22-025921353888
jellyfin  | [02:00:02] [ERR] [102] Emby.Server.Implementations.Library.LibraryManager: Error in ItemRemoved event handler
jellyfin  | System.InvalidOperationException: Nullable object must have a value.



RE: DVR recording stops randomly - TheDreadPirate - 2023-11-21

How big is your transcode directory?

Code:
jellyfin  | [01:30:42] [ERR] [35] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Error copying live stream SharedHttpStream to /config/data/transcodes/9ef663d499494c868d3e8b8bdb9958a8.ts
jellyfin  | System.IO.IOException: The response ended prematurely.

I am wondering if you ran out of disk space.


RE: DVR recording stops randomly - macthaidhg - 2023-11-21

Thanks for looking into this. I have Jellyfin running in docker and everything (other than Jellyfin libraries) runs off the OS drive which has around 800GB free. Interesting that there was an error on copying to a transcode file. Makes me wonder why there was a transcode?? It seems to be very random whatever is happening. I tried a couple of recordings today and they worked fine. Once it happens again I'll delve into the log and see if I'm seeing the same thing


RE: DVR recording stops randomly - macthaidhg - 2023-11-21

It happened again, seems to be same issue. I scheduled "Today" to record at 15.30, due to finish at 17.40. The recording failed at 17.10. Logs below.

Code:
jellyfin  | [17:08:52] [INF] [55] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 64.43.143.252 request
jellyfin  | [17:10:43] [ERR] [87] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Error copying live stream SharedHttpStream to /config/data/transcodes/16128e87d16445acbeaf0c1f54110302.ts
jellyfin  | System.IO.IOException: The response ended prematurely.
jellyfin  |    at System.Net.Http.HttpConnection.FillAsync(Boolean async)
jellyfin  |    at System.Net.Http.HttpConnection.ChunkedEncodingReadStream.ReadAsyncCore(Memory`1 buffer, CancellationToken cancellationToken)
jellyfin  |    at Emby.Server.Implementations.IO.StreamHelper.CopyToAsync(Stream source, Stream destination, Int32 bufferSize, Action onStarted, CancellationToken cancellationToken)
jellyfin  |    at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.<>c__DisplayClass4_0.<b__0>d.MoveNext()
jellyfin  | --- End of stack trace from previous location ---
jellyfin  |    at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.<>c__DisplayClass4_0.<b__0>d.MoveNext()
jellyfin  | --- End of stack trace from previous location ---
jellyfin  |    at Emby.Server.Implementations.LiveTv.TunerHosts.SharedHttpStream.<>c__DisplayClass4_0.<b__0>d.MoveNext()
jellyfin  | [17:10:43] [INF] [87] Emby.Server.Implementations.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Deleting temp file /config/data/transcodes/16128e87d16445acbeaf0c1f54110302.ts
jellyfin  | [17:12:48] [INF] [34] Emby.Server.Implementations.Session.SessionWebSocketListener: Sending ForceKeepAlive message to 1 inactive WebSockets.



RE: DVR recording stops randomly - TheDreadPirate - 2023-11-21

It might just be writing the chunks it is receiving to the transcode directory before it muxes them together into the final file.

Looking at your system specs I wonder if it is just running out of memory or is struggling to keep up?

Perhaps look through the SYSTEM log around the times this fails to see if there is an explanation there.


RE: DVR recording stops randomly - macthaidhg - 2023-11-21

Thanks. I'll keep an eye on RAM usage when I run a trial next but I do think the specs are OK. When I set up the server initially it did struggle a bit with the 4GB but this was sorted after I created a page file of 2GB. Now I rarely see RAM usage go above 60% and performance has been solid. The clients (1-2 max) are set up for direct play.

For the purposes of the DVR tests today and yesterday, server load was very low - it was just carrying out those tasks and nothing else. How do I check the SYSTEM log?


RE: DVR recording stops randomly - TheDreadPirate - 2023-11-21

/var/log/syslog? /var/log/messages? Either is very cluttered and verbose so it might be a needle in a haystack situation.


RE: DVR recording stops randomly - macthaidhg - 2023-11-21

Cheers.. will have a look. I have also tried an instance of TVHeadend on the same server and I had similar issues with DVR recordings failing randomly (using the same Live TV source). However, I got this sorted after making a few tweaks to the TVHeadend settings (copied and pasted below from a TVHeadend forum):

- Configuration
- Stream
- Stream Profiles
- Pass
- Timeout 0 (may need to experiment with between 5-10 second)
- Restart on error, Enabled
- Rewrite Service ID, set to 0
- Disable ALL rewrite options (PMT, PAT, SDT, EIT), these settings had the biggest impact for me.
- Save

- Configuration
- Stream
- Stream Profiles
- HTSP
- Timeout 0 (may need to experiment with between 5-10 second)
- Restart on error, Enabled)
- Save

- Configuration
- General
- Base
- Packet Backlog, enabled
- Save

So recordings are now consistently working in TVHeadend.. but I much prefer to manage DVR recordings in jellyfin if possible. The workaround for TVH may suggest an issue with the IPTV source, although the Jellyfin logs seem to point to something else?


RE: DVR recording stops randomly - macthaidhg - 2023-11-22

Can anyone comment on their experiences with Live TV / DVR in Jellyfin? Should I expect the DVR to be reliable or are there known issues? Would be good to hear about experiences with particular Live TV sources.. might help me narrow down what is causing my issue.


RE: DVR recording stops randomly - macthaidhg - 2023-11-29

Just giving this a bump. Do many here use DVR functionality? Is it reliable?