mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4715] [MERGED] Add number to bool json converter #10238
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/4715
Author: @crobibero
Created: 12/7/2020
Status: ✅ Merged
Merged: 12/8/2020
Merged by: @cvium
Base:
master← Head:hdhr-json-bool📝 Commits (2)
66a1880Add number to bool json converter6e98378Simplify converter📊 Changes
4 files changed (+58 additions, -0 deletions)
View changed files
📝
Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunHost.cs(+4 -0)➕
MediaBrowser.Common/Json/Converters/JsonBoolNumberConverter.cs(+30 -0)📝
MediaBrowser.Common/Json/JsonDefaults.cs(+1 -0)➕
tests/Jellyfin.Common.Tests/Json/JsonBoolNumberTests.cs(+23 -0)📄 Description
Fixes https://github.com/jellyfin/jellyfin/issues/4703
Note: I don't have a HDHR to test with, I just based this PR off of the exception.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.