Stepan Goremykin
7d7e177265
Remove redundant casts
2 years ago
Cody Robibero
89be3aa37f
Convert Person.Type to use PersonKind enum ( #9487 )
2 years ago
Bond_009
4b01aaa0f7
Allocate less Lists
2 years ago
Shadowghost
6300d01fcc
Apply review suggestion
2 years ago
Shadowghost
5f938de337
Build ratingClause with StringBuilder
2 years ago
Shadowghost
5cdb0c7932
Apply review suggestions
2 years ago
Shadowghost
2e315b7f08
Properly build where clause for rating checks
2 years ago
Bond_009
24a7e210c3
Optimize tryparse
...
* Don't check for null before
* Don't try different formats when not needed (NumberFormat.Integer is the fast path)
2 years ago
Claus Vium
f5c970e67f
Merge pull request #9297 from crobibero/livetv-tweaks
...
LiveTV fixes
2 years ago
Cody Robibero
32eccc139c
LiveTV fixes
2 years ago
Jpuc1143
7fa6d4c81e
Add "Allowed Tags" to Parental Controls
2 years ago
Bond_009
8ff0cb1e9d
Remove AddPeopleQueryIndex migration
2 years ago
Bond_009
6a8d24d9e9
Set journal_size_limit
2 years ago
Bond_009
73740f6c6e
Change synchronous_mode to normal
2 years ago
Bond_009
ab918c6292
Fine tune DB settings
2 years ago
Brad Beattie
ac9b7142cc
Fixing similar parental rating calculation ( #8959 )
2 years ago
Brad Beattie
f0376cdad9
Augment tag searching to consider all ItemValues
2 years ago
Bond-009
3f82c90c48
Improve DB perf for everyone not using debug logging ( #8827 )
2 years ago
Bond-009
d34ded211e
Merge pull request #8842 from bradbeattie/master
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Brad Beattie
ab145c5ddc
Search tags as well
2 years ago
Bond_009
52194f56b5
Replace != null with is not null
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Bond-009
b2def4c9ea
Fix build ( #8859 )
2 years ago
SteveTheGrey
87d4ef7403
Minor search update - full word titles matches first ( #8757 )
2 years ago
cvium
08d2acba20
Backport pull request #8662 from jellyfin/release-10.8.z
...
fix: use a combination of ParentIndexNumber and IndexNumber to determine next up episodes
Original-merge: 45f3fb1cfc
Merged-by: Joshua M. Boniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2 years ago
cvium
812a4170ee
Backport pull request #8501 from jellyfin/release-10.8.z
...
fix: set MinIndexNumber for the next up query
Original-merge: 679e83082f
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2 years ago
Joe Rogers
62799697a1
Fix localization lookup
2 years ago
Joe Rogers
2e4db18ebe
Add hearing impaired subtitle stream indicator ( #7379 )
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2 years ago
Claus Vium
719e5eae16
Merge pull request #8503 from Bond-009/ThrowIfNull
2 years ago
Jan Sommer
0b8faf5db4
Fix minor warnings in Emby.Server.Implementations ( #2149 )
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Joshua Boniface
bffda19bbc
Backport pull request #8166 from jellyfin/release-10.8.z
...
Bind @userid only when it's in the statement
Authored-by: Joseph <1315585+joseph39@users.noreply.github.com>
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Original-merge: 057e8ef240
2 years ago
Joshua M. Boniface
fe32b5e333
Merge pull request #7964 from jellyfin/dovi-side-data
...
(cherry picked from commit 39d185c7b1
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Cody Robibero
5b0af106c2
Merge pull request #7940 from Shadowghost/fix-recommendations
...
(cherry picked from commit 6749313249
)
Signed-off-by: Joshua Boniface <joshua@boniface.me>
2 years ago
Bond-009
2b1a915ead
Merge pull request #7604 from Jellifi007/fixes-diactritics
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
(cherry picked from commit 8d1d973438
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Cody Robibero
efcdab116f
Merge pull request #7529 from Shadowghost/strm-ffprobe-external-fix
...
(cherry picked from commit 60affd0965
)
Signed-off-by: crobibero <cody@robibe.ro>
3 years ago
Cody Robibero
78a8c26690
Don't allow unknown sort-by
3 years ago
Joe Rogers
1a307db7eb
Add label for external audio/sub tracks
3 years ago
Cody Robibero
0a8bec1af4
Revert "chore: Add a read only connection for routes like Shows/NextUp"
3 years ago
Cody Robibero
bc3cb04c0b
Merge pull request #7240 from jaysonsantos/add-readonly-connection
3 years ago
Cody Robibero
b705ace262
Apply suggestions from code review
3 years ago
Cody Robibero
7ccf7e6157
Merge pull request #7322 from Bond-009/db2
3 years ago
Bond_009
23ea14aa27
Clean up SqliteItemRepository
...
* remove dead code
* reduce allocations
3 years ago
Bond_009
5732e6188c
Fix some warnings
3 years ago
Bond_009
1c14c86b20
Fix some warnings
3 years ago
Jayson Reis
09b8cde6aa
fix: Avoid opening read connections without mutexes
3 years ago
Jayson Reis
2e4dd02f76
chore: Add a read only connection for routes like Shows/NextUp
3 years ago
Cody Robibero
a60cb280a3
Properly populate QueryResult
3 years ago
Cody Robibero
7d63377194
Use provided SortOrder
3 years ago
Cody Robibero
f802763e8f
Reverse all order-by
3 years ago
Cody Robibero
c3071f8996
Fix orderby query
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
ea8f40e84a
More cleanup
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
Cody Robibero
8ddba55214
Use string builder instead of string interpolation
3 years ago
Cody Robibero
0dd304f86c
Log warning for unknown BaseItemKind to Type mapping
3 years ago
Cody Robibero
249a1ca955
Add mapping from BaseItemKind to Type.FullName for querying
3 years ago
Cody Robibero
87439665d7
Use array instead of HashSet
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
Bond_009
474b035d99
Fix some warnings
3 years ago
Bond_009
03f933aaa0
Fix the last few warnings
...
Enables TreatWarningsAsErrors for all projects
3 years ago
Patrick Barron
21007aec20
Fix warnings in Data
3 years ago
Bond_009
5fd315b17c
Address comments
3 years ago
Bond_009
4d1d9f23d5
Use new Enum.TryParse(ReadOnlySpan<char>) overload
3 years ago
Bond_009
653df7d8e5
Specify DateTimeStyles when possible
3 years ago
Fernando Fernández
3d0b1ccae6
Remove all unused usings
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
3 years ago
Bond_009
286dabdc4b
Add SqliteItemRepository.ItemImageInfoFromValueString as a fuzzing
...
target
and add test cases
3 years ago
Cody Robibero
ecb4b8e0aa
Apply suggestions from code review
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
981cf4cfa0
Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
Bond_009
5fb72951a0
Add test for ReadOnlySpan.Count extension
3 years ago
cvium
9111730a0a
More review
3 years ago
cvium
0835b26889
review
4 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
cvium
3b59064f97
Bump SQLitePCL.pretty.netstandard to 3.0.1
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Bond-009
e8790bfa96
Merge pull request #6054 from cvium/allocationz_2_extreme_db_plsdonthurtme
4 years ago
cvium
e0f793799a
Fix build
4 years ago
cvium
7e6a45c402
Review changes
4 years ago
cvium
1027792b16
Review changes
4 years ago
Bond_009
2b321d8b89
Enable nullable for InternalItemsQuery
4 years ago
cvium
be4aeb5c2c
Rename SQL extension methods
4 years ago
cvium
1b49435a0e
Reduce some allocations
4 years ago
Bond-009
50f617357b
Merge pull request #5929 from crobibero/sort
4 years ago
Bond-009
d729a76707
Merge pull request #5934 from Bond-009/utf8
...
SqliteItemRepository: Parse ChannelId directly from utf-8 data
4 years ago
cvium
c0feb3694b
rename to SplitEnumerator and fix test
4 years ago
Claus Vium
b9d18f0fa7
Merge branch 'master' into allocationz
4 years ago
Bond_009
874f92e93a
Add tests for SqliteItemRepository.(De)SerializeProviderIds
4 years ago
Bond_009
8a6b9e1fb6
Add tests for SqliteItemRepository.(De)SerializeImages
4 years ago
cvium
716cbb0695
remove span based setproviderid
4 years ago
cvium
a6726730fc
revert the last bits of the getcount experiment
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
Bond_009
34313ef216
SqliteItemRepository: Parse ChannelId directly from utf-8 data
4 years ago
crobibero
d27ca993a5
Add ability to sort on Genre, MusicGenre, Artist
4 years ago
Bond_009
a02e37daa0
SqliteItemRepository: remove redundant operations
...
removed:
* nameof -> FullName lookup
* IndexOf before Replace
* Enum.GetNames -> Enum.Parse roundtrip
4 years ago