Commit Graph

499 Commits

Author SHA1 Message Date
Bond_009 d3f0346f04 Enable nullable for UserItemData
MetadataResult.GetOrAddUserData doesn't ever get used and is probably broken since the migration to .NET Core as it still expects a Guid for userId
2024-07-29 21:05:23 +02:00
Bond-009 46fde9aa04 Backport pull request #12278 from jellyfin/release-10.9.z
Fix localization of audio title

Original-merge: f7a90b6383

Merged-by: Bond-009 <bond.009@outlook.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-07-21 00:58:05 -04:00
Erwin de Haan 3262f8dc2a Add check for ProviderIds to prevent '=' from appearing in keys, also support '=' in the values. (#12274) 2024-07-15 08:44:22 -04:00
Bond-009 ec2fa95bf3 Merge pull request #11972 from Bond-009/numconns
Remove old connection count props
2024-06-06 20:42:33 +02:00
Bond-009 b4e32a5ede Backport pull request #11986 from jellyfin/release-10.9.z
Use only 1 write connection/DB

Original-merge: cc4563a477

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06 14:30:40 -04:00
Bond-009 78e8eae5ad Backport pull request #11969 from jellyfin/release-10.9.z
Create readonly DB connections when possible

Original-merge: a46c17e19f

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-06 14:30:36 -04:00
Bond_009 953bd5f210 Remove old connection count props
Not used with the new SQLite lib
2024-06-05 11:58:21 +02:00
Shadowghost 407dc9272c Backport pull request #11762 from jellyfin/release-10.9.z
Mark Audio as RequiresDeserialization and backfill data

Original-merge: e2c909f50f

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:57 -04:00
Shadowghost 5d4880c497 Backport pull request #11743 from jellyfin/release-10.9.z
Fix replace logic

Original-merge: 2ddb15c784

Merged-by: joshuaboniface <joshua@boniface.me>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:56 -04:00
Bond-009 4ded042dde Backport pull request #11698 from jellyfin/release-10.9.z
Fix not binding to SQL parameters

Original-merge: d303ca56e3

Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:56 -04:00
Bond-009 3feb3f81bf More efficient array creation (#11468) 2024-04-30 13:32:59 -06:00
gnattu 5dc6bb4910 Fix incomplete tag query for whitelist tags (#11416) 2024-04-30 13:32:49 -06:00
Bond_009 88a38a61b5 Improve audio normalization
* Move calculation of LUFS to a scheduled task as it's pretty slow
* Correctly calculate album LUFS
* Don't try to convert replaygain tags to LUFS values
2024-04-28 15:18:53 +02:00
Bond-009 7d28d08e08 Enable more warnings as errors (#11288) 2024-04-12 17:45:01 -06:00
Cody Robibero eccc9a0b64 Add index for lastPlayedDate (#11342) 2024-04-12 17:44:16 -06:00
Said Aroua c4c245a552 Refactor out static constructor
See CA1810 for more details
2024-03-27 16:02:43 +01:00
Cody Robibero e7b8d45bbb Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Cody Robibero f2b01f66e8 Specify DateTimeKind when pulling a DateTime out of the database 2024-01-06 15:01:54 -07:00
Cody Robibero 892973a9e3 Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Cody Robibero c7a94d48ae Convert ItemSortBy to enum (#9765)
* Convert ItemSortBy to enum

* Rename Unknown to Default
2023-11-09 14:00:13 -07:00
Cody Robibero 2920611ffc Convert string MediaType to enum MediaType 2023-10-10 15:57:15 -06:00
Stepan Goremykin fdef9356b9 Use null propagation 2023-10-08 01:25:37 +02:00
Stepan Goremykin 212976277d Remove redundant ToString call for value types 2023-10-08 01:17:32 +02:00
Bond-009 c7ca416206 Merge pull request #10138 from cvium/sqlite_client_poc 2023-08-28 11:54:35 +02:00
cvium 4fa7672d75 fix todos and add graylog back 2023-08-25 19:49:14 +02:00
cvium 9a246166b0 move a computation out of transaction and skip season updates if name matches 2023-08-23 12:15:21 +02:00
cvium cb48fe02c2 remove nullable enable 2023-08-22 20:12:16 +02:00
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
cvium 05e40ecb93 review comments 2023-08-22 08:31:34 +02:00
cvium 0d3d9490e5 remove unused deps 2023-08-22 07:27:21 +02:00
cvium d1190c5215 fix userdata table not being committed 2023-08-21 22:12:08 +02:00
cvium a061e8f8e4 fix bad merge 2023-08-21 21:54:56 +02:00
cvium c24571b5b8 Merge branch 'master' into sqlite_client_poc
# Conflicts:
#	Emby.Server.Implementations/Data/SqliteItemRepository.cs
2023-08-21 21:53:26 +02:00
cvium e7016e38b8 remove readonly 2023-08-21 21:49:39 +02:00
cvium 791413a50f open before changing pragmas 2023-08-21 21:38:16 +02:00
cvium cf04b43fa4 simplify extension methods 2023-08-21 21:37:18 +02:00
cvium fb511dbae2 rename variable and fix crash 2023-08-21 20:34:50 +02:00
Bond-009 84643e328d Reduce the amount of allocations in GetWhereClauses (#10114) 2023-08-21 18:38:32 +02:00
cvium 061d79c113 remove runintransaction 2023-08-21 14:12:49 +02:00
cvium 0867812c1f more using 2023-08-21 12:46:30 +02:00
cvium f2d7842563 add missing using 2023-08-21 12:29:20 +02:00
cvium 493229cc15 fix guid blobs 2023-08-21 12:27:07 +02:00
cvium 613f4296e3 loading works 2023-08-21 12:13: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