Jellyfin Forum
SOLVED: Trouble recording tv - 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: SOLVED: Trouble recording tv (/t-solved-trouble-recording-tv)



Trouble recording tv - nartub - 2024-02-17

Hello!
I'm having problems with recording tv in Jellyfin. Watching tv is working just fine. Jellyfin says it cannot find the ts file in /config/transcodes when recording. Transcodes is empty so that's no surprise. Jellyfin is writing metadata to the recording folder so the issue is not permissions related. 
Any idea how I can solve this? Wife very much wants to be able to record. 

Thank you

This is what it looks like in the log:
Code:
[2024-02-17 18:12:24.026 +01:00] [INF] [24] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Beginning recording. Will record for "27.599556575" minutes.
[2024-02-17 18:12:24.026 +01:00] [INF] [24] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Writing file to: "/data/inspelning/video/World Sport/World Sport 2024_02_17_18_00_00.ts"
[2024-02-17 18:12:24.029 +01:00] [INF] [24] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Triggering refresh on "/data/inspelning/video/World Sport/World Sport 2024_02_17_18_00_00.ts"
[2024-02-17 18:12:24.030 +01:00] [INF] [24] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Refreshing recording parent "/data/inspelning/video/World Sport"
[2024-02-17 18:12:24.030 +01:00] [INF] [24] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Copying recording to file "/data/inspelning/video/World Sport/World Sport 2024_02_17_18_00_00.ts"
[2024-02-17 18:12:24.030 +01:00] [ERR] [24] Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV: Error recording to "/data/inspelning/video/World Sport/World Sport 2024_02_17_18_00_00.ts"
System.IO.FileNotFoundException: Could not find file '/config/transcodes/46d779f6d9ca4b0da3c937a44d583c19.ts'.
File name: '/config/transcodes/46d779f6d9ca4b0da3c937a44d583c19.ts'
  at Interop.CheckIo(Error error, String path, Boolean isDirectory, Func`2 errorRewriter)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at Emby.Server.Implementations.LiveTv.TunerHosts.LiveStream.GetStream()
  at Emby.Server.Implementations.LiveTv.EmbyTV.DirectRecorder.RecordFromDirectStreamProvider(IDirectStreamProvider directStreamProvider, String targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken)
  at Emby.Server.Implementations.LiveTv.EmbyTV.DirectRecorder.RecordFromDirectStreamProvider(IDirectStreamProvider directStreamProvider, String targetFile, TimeSpan duration, Action onStarted, CancellationToken cancellationToken)
  at Emby.Server.Implementations.LiveTv.EmbyTV.EmbyTV.RecordStream(TimerInfo timer, DateTime recordingEndDate, ActiveRecordingInfo activeRecordingInfo)



RE: Trouble recording tv - TheDreadPirate - 2024-02-17

Make sure that Jellyfin has rxw access to container path /config/transcodes.


RE: Trouble recording tv - nartub - 2024-02-17

(2024-02-17, 07:13 PM)TheDreadPirate Wrote: Make sure that Jellyfin has rxw access to container path /config/transcodes.

Jellyfin has permissions to write to the transcode folder, and does so when I transcode video. However when watching or recording tv nothing is written there, no need for transcoding I guess. 
By the way Im running 10.8.13 in docker.


RE: Trouble recording tv - nartub - 2024-02-18

(2024-02-17, 09:16 PM)nartub Wrote:
(2024-02-17, 07:13 PM)TheDreadPirate Wrote: Make sure that Jellyfin has rxw access to container path /config/transcodes.

Jellyfin has permissions to write to the transcode folder, and does so when I transcode video. However when watching or recording tv nothing is written there, no need for transcoding I guess. 
By the way Im running 10.8.13 in docker.

Solved by ticking the auto-loop option in the source-settings. No idea how or why but it worked.


RE: Trouble recording tv - TheDreadPirate - 2024-02-18

I need to remember this for next time. You are like the 3rd person where this was the solution for whatever reason.