Jellyfin Forum
unable to record a tv show - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: unable to record a tv show (/t-unable-to-record-a-tv-show)



unable to record a tv show - Rob Latour - 2024-11-05

For the last couple weeks Jellyfin has been unable to record a scheduled TV show.  The following error is showing up in the logs:

Quote:[2024-11-04 22:00:00.013 -05:00] [INF] [63] Jellyfin.LiveTv.DefaultLiveTvService: Recording timer fired for "Hogan's Heroes".
[2024-11-04 22:00:00.013 -05:00] [INF] [65] Jellyfin.LiveTv.DefaultLiveTvService: Recording timer fired for "Hogan's Heroes".
[2024-11-04 22:00:00.020 -05:00] [ERR] [65] Jellyfin.LiveTv.DefaultLiveTvService: Error recording stream
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'Emby.Server.Implementations.Data.SqliteItemRepository'.
  at Emby.Server.Implementations.Data.SqliteItemRepository.GetItemList(InternalItemsQuery query)
  at Emby.Server.Implementations.Library.LibraryManager.GetItemList(InternalItemsQuery query, Boolean allowExternalContent)
  at Jellyfin.LiveTv.DefaultLiveTvService.GetProgramInfoFromCache(String programId)
  at Jellyfin.LiveTv.DefaultLiveTvService.GetProgramInfoFromCache(TimerInfo timer)
  at Jellyfin.LiveTv.DefaultLiveTvService.OnTimerManagerTimerFired(Object sender, GenericEventArgs`1 e)
[2024-11-04 22:00:00.035 -05:00] [INF] [63] Jellyfin.LiveTv.LiveTvMediaSourceProvider: Opening channel stream from "Emby", external channel Id: "hdhr_28.2"
[2024-11-04 22:00:00.038 -05:00] [INF] [63] Jellyfin.LiveTv.DefaultLiveTvService: Streaming Channel "hdhr_28.2"
[2024-11-04 22:00:00.041 -05:00] [INF] [63] Jellyfin.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: GetChannelStream: channel id: "hdhr_28.2". stream id: "native_693ad98cd65cd307f3589d7fbe1da88d_d145f7b958a7d9b0ea19381030693927" profile: "native"
[2024-11-04 22:00:00.045 -05:00] [INF] [63] Jellyfin.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Opening "SharedHttpStream" Live stream from "http://192.168.1.197:5004/auto/v28.2"
[2024-11-04 22:00:00.435 -05:00] [INF] [29] Jellyfin.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Beginning "SharedHttpStream" stream to "C:\ProgramData\Jellyfin\Server\cache\transcodes\2481acc614824d6ba8ea6a4f4c2f8277.ts"
[2024-11-04 22:00:00.442 -05:00] [INF] [65] Jellyfin.LiveTv.TunerHosts.HdHomerun.HdHomerunHost: Live stream opened after 397.6061ms
[2024-11-04 22:00:00.444 -05:00] [INF] [65] Jellyfin.LiveTv.DefaultLiveTvService: Returning mediasource streamId "native_693ad98cd65cd307f3589d7fbe1da88d_d145f7b958a7d9b0ea19381030693927", mediaSource.Id "native_693ad98cd65cd307f3589d7fbe1da88d_d145f7b958a7d9b0ea19381030693927", mediaSource.LiveStreamId null
[2024-11-04 22:00:00.449 -05:00] [INF] [29] Emby.Server.Implementations.Library.MediaSourceManager: Live tv media info probe took "0.0030457" seconds
[2024-11-04 22:00:00.454 -05:00] [INF] [29] Emby.Server.Implementations.Library.MediaSourceManager: Live stream opened: MediaSourceInfo { Protocol: Http, Id: "native_693ad98cd65cd307f3589d7fbe1da88d_d145f7b958a7d9b0ea19381030693927", Path: "http://[fe80::1d0d:70a4:436f:429a]:8096/LiveTv/LiveStreamFiles/2481acc614824d6ba8ea6a4f4c2f8277/stream.ts", EncoderPath: null, EncoderProtocol: null, Type: Default, Container: "ts", 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, UseMostCompatibleTranscodingProfile: True, RequiresOpening: True, OpenToken: null, RequiresClosing: True, LiveStreamId: "e2329f4997b378e64ccf8fa396deb76e_af999c25a00715699361240d4c6c7a53_native_693ad98cd65cd307f3589d7fbe1da88d_d145f7b958a7d9b0ea19381030693927", BufferMs: 0, RequiresLooping: False, SupportsProbing: True, VideoType: null, IsoType: null, Video3DFormat: null, MediaStreams: [MediaStream { Codec: "mpeg2video", CodecTag: null, Language: null, ColorRange: "tv", ColorSpace: null, ColorTransfer: null, ColorPrimaries: null, DvVersionMajor: null, DvVersionMinor: null, DvProfile: null, DvLevel: null, RpuPresentFlag: null, ElPresentFlag: null, BlPresentFlag: null, DvBlSignalCompatibilityId: null, Rotation: null, Comment: null, TimeBase: "1/90000", CodecTimeBase: null, Title: null, VideoRange: SDR, VideoRangeType: SDR, VideoDoViTitle: null, AudioSpatialFormat: None, LocalizedUndefined: null, LocalizedDefault: null, LocalizedForced: null, LocalizedExternal: null, LocalizedHearingImpaired: null, DisplayTitle: "1080i MPEG2VIDEO SDR", NalLengthSize: null, IsInterlaced: True, IsAVC: null, ChannelLayout: null, BitRate: 20000000, BitDepth: 8, RefFrames: 1, PacketLength: null, Channels: null, SampleRate: null, IsDefault: False, IsForced: False, IsHearingImpaired: False, Height: 1080, Width: 1920, AverageFrameRate: 29.97003, RealFrameRate: 59.94006, ReferenceFrameRate: 29.97003, Profile: "Main", Type: Video, AspectRatio: "16:9", Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, IsPgsSubtitleStream: False, IsExtractableSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: "yuv420p", Level: 4, IsAnamorphic: False }, MediaStream { Codec: "ac3", CodecTag: "AC-3", 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, Rotation: null, Comment: null, TimeBase: "1/90000", CodecTimeBase: null, Title: null, VideoRange: Unknown, VideoRangeType: Unknown, VideoDoViTitle: null, AudioSpatialFormat: None, LocalizedUndefined: null, LocalizedDefault: "Default", LocalizedForced: null, LocalizedExternal: "External", LocalizedHearingImpaired: null, DisplayTitle: "Dolby Digital - 5.1", NalLengthSize: null, IsInterlaced: False, IsAVC: False, ChannelLayout: "5.1", BitRate: 384000, BitDepth: null, RefFrames: null, PacketLength: null, Channels: 6, SampleRate: 48000, IsDefault: False, IsForced: False, IsHearingImpaired: False, Height: null, Width: null, AverageFrameRate: null, RealFrameRate: null, ReferenceFrameRate: null, Profile: null, Type: Audio, AspectRatio: null, Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, IsPgsSubtitleStream: False, IsExtractableSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: null, Level: 0, IsAnamorphic: null }], MediaAttachments: [], Formats: [], Bitrate: 20384000, FallbackMaxStreamingBitrate: 30000000, Timestamp: null, RequiredHttpHeaders: [], TranscodingUrl: null, TranscodingSubProtocol: http, TranscodingContainer: null, AnalyzeDurationMs: 3000, TranscodeReasons: 0, DefaultAudioStreamIndex: null, DefaultSubtitleStreamIndex: null, HasSegments: False, VideoStream: MediaStream { Codec: "mpeg2video", CodecTag: null, Language: null, ColorRange: "tv", ColorSpace: null, ColorTransfer: null, ColorPrimaries: null, DvVersionMajor: null, DvVersionMinor: null, DvProfile: null, DvLevel: null, RpuPresentFlag: null, ElPresentFlag: null, BlPresentFlag: null, DvBlSignalCompatibilityId: null, Rotation: null, Comment: null, TimeBase: "1/90000", CodecTimeBase: null, Title: null, VideoRange: SDR, VideoRangeType: SDR, VideoDoViTitle: null, AudioSpatialFormat: None, LocalizedUndefined: null, LocalizedDefault: null, LocalizedForced: null, LocalizedExternal: null, LocalizedHearingImpaired: null, DisplayTitle: "1080i MPEG2VIDEO SDR", NalLengthSize: null, IsInterlaced: True, IsAVC: null, ChannelLayout: null, BitRate: 20000000, BitDepth: 8, RefFrames: 1, PacketLength: null, Channels: null, SampleRate: null, IsDefault: False, IsForced: False, IsHearingImpaired: False, Height: 1080, Width: 1920, AverageFrameRate: 29.97003, RealFrameRate: 59.94006, ReferenceFrameRate: 29.97003, Profile: "Main", Type: Video, AspectRatio: "16:9", Index: -1, Score: null, IsExternal: False, DeliveryMethod: null, DeliveryUrl: null, IsExternalUrl: null, IsTextSubtitleStream: False, IsPgsSubtitleStream: False, IsExtractableSubtitleStream: False, SupportsExternalStream: False, Path: null, PixelFormat: "yuv420p", Level: 4, IsAnamorphic: False } }
[2024-11-04 22:00:00.623 -05:00] [INF] [29] Jellyfin.LiveTv.Recordings.RecordingsManager: Beginning recording. Will record for 29.98960254 minutes.
[2024-11-04 22:00:00.626 -05:00] [INF] [29] Jellyfin.LiveTv.Recordings.RecordingsManager: Writing file to: "E:\Jellyfin\DVR\Hogan's Heroes\Season 3\Hogan's Heroes S03E11 Is General Hammerschlag Burning.ts"
[2024-11-04 22:00:00.711 -05:00] [INF] [29] Jellyfin.LiveTv.Recordings.RecordingsManager: Copying recording to file "E:\Jellyfin\DVR\Hogan's Heroes\Season 3\Hogan's Heroes S03E11 Is General Hammerschlag Burning.ts"
[2024-11-04 22:00:00.723 -05:00] [INF] [23] Jellyfin.LiveTv.Recordings.RecordingsManager: Triggering refresh on "E:\Jellyfin\DVR\Hogan's Heroes\Season 3\Hogan's Heroes S03E11 Is General Hammerschlag Burning.ts"
[2024-11-04 22:00:00.726 -05:00] [INF] [23] Jellyfin.LiveTv.Recordings.RecordingsManager: Refreshing recording parent "E:\Jellyfin\DVR\Hogan's Heroes\Season 3"
[2024-11-04 22:01:00.728 -05:00] [INF] [29] Emby.Server.Implementations.IO.LibraryMonitor: "Season 3" ("E:\Jellyfin\DVR\Hogan's Heroes\Season 3") will be refreshed.


Server version 10.10.1
Web version    10.10.1
Build version    10.10.1


Any help would be appreciated.


RE: unable to record a tv show - Rob Latour - 2024-11-05

hmmm, may be a bad channel?


RE: unable to record a tv show - TheDreadPirate - 2024-11-05

Are you able to watch the channel live?


RE: unable to record a tv show - Rob Latour - 2024-11-05

no, I had been able to watch it fine for a couple of weeks - and it recorded fine in that time - but now I can't watch it live so I suspect that is likely a big part of the issue. I tried recording another channel live and that worked.

In any case, I rescanned the channels but its very rainy and cloudy today and I ended up losing several - including this one that I was trying to record from.

I'll wait for a clearer day, rescan, and hope it comes back.