[PR #5622] [CLOSED] Set streamState property to what the code expects. #10577

Closed
opened 2026-02-07 06:22:51 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/5622
Author: @BaronGreenback
Created: 3/26/2021
Status: Closed

Base: masterHead: FileTypeUnknownFix


📝 Commits (1)

  • 5fc3604 Update 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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/5622 **Author:** [@BaronGreenback](https://github.com/BaronGreenback) **Created:** 3/26/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `FileTypeUnknownFix` --- ### 📝 Commits (1) - [`5fc3604`](https://github.com/jellyfin/jellyfin/commit/5fc36042921229ef9c9be797f7fdd3ea85f0c5fc) Update StreamingHelpers.cs ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Api/Helpers/StreamingHelpers.cs` (+1 -1) </details> ### 📄 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 06:22:51 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10577