mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #5622] [CLOSED] Set streamState property to what the code expects. #10577
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/5622
Author: @BaronGreenback
Created: 3/26/2021
Status: ❌ Closed
Base:
master← Head:FileTypeUnknownFix📝 Commits (1)
5fc3604Update StreamingHelpers.cs📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
Jellyfin.Api/Helpers/StreamingHelpers.cs(+1 -1)📄 Description
Don't know what issue is caused by the current code, but StreamState.RequestedUrl is currently set to the file extension of the Uri.
The code isn't expecting this, and isn't working as designed later, when it's checked for its url value.
Investigated further.
By url only being set to the file extension part of the request - eg. avi if http://1.1.1.1/web/film.avi (line 91)
the function StreamingHelper.cs / GetOutputFileExtension will always calculate the extension.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.