Remove debug suffix from filename - fixes Xbox playback
This commit is contained in:
@@ -387,20 +387,15 @@ public static class StreamingHelpers
|
||||
// Check if this is a full file download (no segments) vs HLS streaming
|
||||
var streamingRequest = state.BaseRequest as StreamingRequestDto;
|
||||
|
||||
// DEBUG: Add segment container value to filename
|
||||
var segmentInfo = streamingRequest?.SegmentContainer ?? "NULL";
|
||||
var debugSuffix = $"_SEG_{segmentInfo}";
|
||||
|
||||
if (streamingRequest?.SegmentContainer is null)
|
||||
{
|
||||
// Full file download - use disk-based transcode path
|
||||
var diskTranscodePath = Path.Combine(folder, "downloads");
|
||||
Directory.CreateDirectory(diskTranscodePath);
|
||||
folder = diskTranscodePath;
|
||||
debugSuffix += "_DL";
|
||||
}
|
||||
|
||||
return Path.Combine(folder, filename + debugSuffix + ext);
|
||||
return Path.Combine(folder, filename + ext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user