[PR #4804] [CLOSED] Fix Live TV Recording Scheduling (10.7) #10284

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

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/4804
Author: @ryanpetris
Created: 12/16/2020
Status: Closed

Base: release-10.7.zHead: fix-getuser-10.7


📝 Commits (2)

  • 32584de If requestContext is HttpRequest, get the context from it properly.
  • 63f39b0 This is only used in one place and therefore will always be HttpRequest.

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Emby.Server.Implementations/HttpServer/Security/SessionContext.cs (+1 -1)

📄 Description

NOTE: This is a duplicate of PR #4803 but for the 10.7.z branch

Currently it is impossible to schedule a recording, either for a series or an individual showing, due to an invalid cast.

I'm not sure if this changed with .NET 5.0, however this used to work and there doesn't appear to be a code change that would have caused this to break.

Changes
Modify SessionContext.GetUser(object) to cast requestContext to HttpRequest, then use the HttpContext property. This is in lieu of casting directly to an HttpContext.

Issues
I was unable to find an issue related to this.


🔄 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/4804 **Author:** [@ryanpetris](https://github.com/ryanpetris) **Created:** 12/16/2020 **Status:** ❌ Closed **Base:** `release-10.7.z` ← **Head:** `fix-getuser-10.7` --- ### 📝 Commits (2) - [`32584de`](https://github.com/jellyfin/jellyfin/commit/32584deef071e1eb3260b2185ec6c784398fe5d9) If requestContext is HttpRequest, get the context from it properly. - [`63f39b0`](https://github.com/jellyfin/jellyfin/commit/63f39b0b4e96b5ba1bf74cb73c24a1e11c00a485) This is only used in one place and therefore will always be HttpRequest. ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/HttpServer/Security/SessionContext.cs` (+1 -1) </details> ### 📄 Description *NOTE:* This is a duplicate of PR #4803 but for the 10.7.z branch Currently it is impossible to schedule a recording, either for a series or an individual showing, due to an invalid cast. I'm not sure if this changed with .NET 5.0, however this used to work and there doesn't appear to be a code change that would have caused this to break. **Changes** Modify SessionContext.GetUser(object) to cast requestContext to HttpRequest, then use the HttpContext property. This is in lieu of casting directly to an HttpContext. **Issues** I was unable to find an issue related to this. --- <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:17:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#10284