mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
[PR #9607] [MERGED] Fix analyzers warnings and suggestions #11989
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#11989
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/9607
Author: @goremykin
Created: 4/6/2023
Status: ✅ Merged
Merged: 4/10/2023
Merged by: @Bond-009
Base:
master← Head:fix_analyzers_warnings_and_suggestions📝 Commits (10+)
779a22aRemove redundant Cast2c03f7eUse TryGetValue2695816Remove unused using directives7d7e177Remove redundant casts1c0bb82Fix argument is not used in message template warning5508efcRemove bitwise operator on enum that is not marked by [Flags] attribute08ce477Fix duplicate properties in message template warning9d738bbRemove redundant ToString call6ae1903Use TryAddc051736Inline out variable declaration📊 Changes
64 files changed (+238 additions, -300 deletions)
View changed files
📝
Emby.Dlna/Main/DlnaEntryPoint.cs(+0 -1)📝
Emby.Dlna/PlayTo/TransportCommands.cs(+6 -6)📝
Emby.Server.Implementations/Data/BaseSqliteRepository.cs(+1 -1)📝
Emby.Server.Implementations/Data/SqliteItemRepository.cs(+28 -14)📝
Emby.Server.Implementations/Dto/DtoService.cs(+1 -4)📝
Emby.Server.Implementations/Library/LibraryManager.cs(+1 -3)📝
Emby.Server.Implementations/Library/MediaSourceManager.cs(+2 -2)📝
Emby.Server.Implementations/Library/Resolvers/BaseVideoResolver.cs(+2 -1)📝
Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs(+3 -6)📝
Emby.Server.Implementations/LiveTv/Listings/SchedulesDirect.cs(+4 -5)📝
Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunManager.cs(+1 -1)📝
Emby.Server.Implementations/LiveTv/TunerHosts/M3uParser.cs(+1 -2)📝
Emby.Server.Implementations/Localization/LocalizationManager.cs(+6 -6)📝
Emby.Server.Implementations/Session/SessionManager.cs(+2 -2)📝
Emby.Server.Implementations/SyncPlay/Group.cs(+4 -8)📝
Emby.Server.Implementations/SyncPlay/SyncPlayManager.cs(+2 -4)📝
Jellyfin.Api/Controllers/FilterController.cs(+0 -1)📝
Jellyfin.Api/Controllers/QuickConnectController.cs(+0 -2)📝
Jellyfin.Api/Controllers/SearchController.cs(+0 -1)📝
Jellyfin.Api/Controllers/SubtitleController.cs(+2 -4)...and 44 more files
📄 Description
Changes
This PR is mostly about cleanup and fixing analyzers warnings.
Some changes may seem controversial or a matter of taste, so all changes are grouped by type of warning/suggestion (see commit names) to make it easy to rollback any you don't like.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.