mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-24 07:30:57 +01:00
[PR #3597] [MERGED] Jellyfin.Drawing.Skia Cleanup #9446
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#9446
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/3597
Author: @barronpm
Created: 7/19/2020
Status: ✅ Merged
Merged: 7/26/2020
Merged by: @anthonylavado
Base:
master← Head:jellyfin-drawing-skia-cleanup📝 Commits (10+)
196e8e1Convert to using declarationsbd77f1eRemove redundant casts87b8a8dSimplify arithmetic1be3e1eRemove unnecessary base constructor calls.a9806d8Convert to switch expressionsd983d65Simplify return statements2569793Reuse paint objects.b51a109Rewrite OrientImage4a356efMake constructor one line36b0515Rewrite CropWhitespace📊 Changes
7 files changed (+263 additions, -441 deletions)
View changed files
📝
Jellyfin.Drawing.Skia/PercentPlayedDrawer.cs(+9 -13)📝
Jellyfin.Drawing.Skia/PlayedIndicatorDrawer.cs(+15 -19)📝
Jellyfin.Drawing.Skia/SkiaCodecException.cs(+1 -1)📝
Jellyfin.Drawing.Skia/SkiaEncoder.cs(+162 -310)📝
Jellyfin.Drawing.Skia/SkiaException.cs(+1 -1)📝
Jellyfin.Drawing.Skia/StripCollageBuilder.cs(+51 -69)📝
Jellyfin.Drawing.Skia/UnplayedCountIndicator.cs(+24 -28)📄 Description
Changes
Cleans up code in Jellyfin.Drawing.Skia. Also rewrites a couple of functions for readability/performance.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.