Commit graph

458 commits

Author SHA1 Message Date
Bond_009 d92e9ae85e Enable nullable for more files and add tests
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters
Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
2023-08-22 18:11:34 +02:00
Bond-009 84643e328d
Reduce the amount of allocations in GetWhereClauses (#10114) 2023-08-21 18:38:32 +02:00
Claus Vium 10fde0a2c1
Merge pull request #8914 from bradbeattie/augmented-tag-searching
Augment tag searching to consider individual ItemValues instead of the delimited tags field
2023-07-03 08:51:46 +02:00
Mark Lopez 29368a1566
Source SQLite cache_size from an Environment Variable (#9666) 2023-06-05 10:46:13 -06:00
Bond-009 aae22865a0
Merge pull request #9667 from Silvenga/restore-default-journal-size 2023-06-02 10:54:37 +02:00
TelepathicWalrus 603fce59df
Audio normalization (#9222)
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-05-15 13:12:24 +02:00
Bond_009 8e1f0d53c1 nameof instead of GetType().Name 2023-05-04 14:42:39 +02:00
Mark Lopez 29889159e8
Increased the max journal_size_limit to reduce the number of truncation operations. 2023-04-24 06:19:37 -05:00
Bond_009 0d67901e37 Dispose BlockingCollection 2023-04-24 13:08:46 +02:00
Bond_009 13152bf09d Change number of read connections based on # of threads and add comments 2023-04-21 14:05:27 +02:00
Bond_009 8dba3a44fd Get write connection for vacuum 2023-04-21 14:04:37 +02:00
Bond_009 33f97045f9 Use BlockingCollection 2023-04-21 14:04:37 +02:00
Bond_009 858dadcdd1 POC sql connection pool 2023-04-21 14:04:37 +02:00
Brad Beattie ba5e51700e
Fix null parental rating comparison (#9618) 2023-04-16 11:09:54 -06:00
Bond_009 b69abd4d7d Properly dispose prepared statements 2023-04-13 01:50:57 +02:00
Bond-009 15c8854502
Merge pull request #9607 from goremykin/fix_analyzers_warnings_and_suggestions 2023-04-10 21:21:17 +02:00
Brad Beattie 9d37c0feec
Augment similarity with person matches
The code comment says "genres, tags, studios, _person_, year?", but does no matching on common people between films. This PR augments similarity score treating people similar to tags.
2023-04-07 11:55:02 -07:00
Stepan Goremykin 910617bbc3 Remove redundant 'else' keywords 2023-04-06 19:38:34 +02:00
Stepan Goremykin 7d7e177265 Remove redundant casts 2023-04-06 19:17:28 +02:00
Cody Robibero 89be3aa37f
Convert Person.Type to use PersonKind enum (#9487) 2023-03-25 11:52:02 -06:00
Bond_009 4b01aaa0f7 Allocate less Lists 2023-03-01 00:44:57 +01:00
Shadowghost 6300d01fcc Apply review suggestion 2023-02-20 21:58:35 +01:00
Shadowghost 5f938de337 Build ratingClause with StringBuilder 2023-02-20 11:54:39 +01:00
Shadowghost 5cdb0c7932 Apply review suggestions 2023-02-20 11:53:20 +01:00
Shadowghost 2e315b7f08 Properly build where clause for rating checks 2023-02-20 11:53:20 +01:00
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)
2023-02-19 16:52:29 +01:00
Claus Vium f5c970e67f
Merge pull request #9297 from crobibero/livetv-tweaks
LiveTV fixes
2023-02-12 13:07:18 +01:00
Cody Robibero 32eccc139c LiveTV fixes 2023-02-11 07:46:52 -07:00
Jpuc1143 7fa6d4c81e
Add "Allowed Tags" to Parental Controls 2023-01-20 16:43:59 -03:00
Bond_009 8ff0cb1e9d Remove AddPeopleQueryIndex migration 2023-01-14 21:39:47 +01:00
Bond_009 6a8d24d9e9 Set journal_size_limit 2023-01-14 21:39:47 +01:00
Bond_009 73740f6c6e Change synchronous_mode to normal 2023-01-14 21:39:47 +01:00
Bond_009 ab918c6292 Fine tune DB settings 2023-01-14 21:39:46 +01:00
Brad Beattie ac9b7142cc
Fixing similar parental rating calculation (#8959) 2023-01-07 11:31:33 -07:00
Brad Beattie f0376cdad9 Augment tag searching to consider all ItemValues 2022-12-28 16:13:36 -08:00
Bond-009 3f82c90c48
Improve DB perf for everyone not using debug logging (#8827) 2022-12-14 22:03:38 +01:00
Bond-009 d34ded211e
Merge pull request #8842 from bradbeattie/master 2022-12-11 20:27:44 +01:00
Bond_009 b366dc2e6e Use ArgumentException.ThrowIfNullOrEmpty 2022-12-07 16:43:59 +01:00
Brad Beattie ab145c5ddc Search tags as well 2022-12-05 17:38:51 -08:00
Bond_009 52194f56b5 Replace != null with is not null 2022-12-05 15:01:13 +01:00
Bond_009 c7d50d640e Replace == null with is null 2022-12-05 15:00:20 +01:00
Bond-009 b2def4c9ea
Fix build (#8859) 2022-12-05 14:56:58 +01:00
SteveTheGrey 87d4ef7403
Minor search update - full word titles matches first (#8757) 2022-11-27 09:03:28 -07:00
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>
2022-10-31 23:08:42 -04:00
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>
2022-10-28 22:38:58 -04:00
Joe Rogers 62799697a1
Fix localization lookup 2022-10-07 07:48:31 -04:00
Joe Rogers 2e4db18ebe
Add hearing impaired subtitle stream indicator (#7379)
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-10-07 12:38:05 +02:00
Claus Vium 719e5eae16
Merge pull request #8503 from Bond-009/ThrowIfNull 2022-10-07 07:50:39 +02:00
Jan Sommer 0b8faf5db4 Fix minor warnings in Emby.Server.Implementations (#2149) 2022-10-06 21:43:44 +02:00
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);
```
2022-10-06 20:21:23 +02:00