Commit Graph

45 Commits

Author SHA1 Message Date
Nils Lehnen
f8ffccae7f Use InvariantCulture when parsing machine-generated dates
DateTime.TryParse without an IFormatProvider falls back to the current
thread culture, so the same string can parse differently (or fail)
depending on the server's locale. None of these call sites deal with
user-entered text - they parse dates that come from filenames, an
HTTP header, ffprobe metadata and values the app itself wrote to the
auth database - so InvariantCulture is the correct provider everywhere
here.

Fixes the S6580 / CA1305 warnings on these call sites.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 23:55:31 +02:00
Shadowghost
c2cb18a9d1 Fix local plugin registration 2026-06-26 11:42:28 +02:00
Bond_009
ac92da233b await instead of returning Task 2026-06-15 20:41:30 +02:00
Bond_009
f6bb086415 fix build errors 2026-06-15 18:52:20 +02:00
Bond_009
d8f8dbabcb Replace usage of SharpCompress
ComicImageProvider is the last user of SharpCompress after this PR
2026-06-13 22:19:30 +02:00
Bond-009
d8acea21fb Merge pull request #16444 from dkanada/comic-providers
migrate local comic providers to server codebase
2026-06-10 19:20:20 +02:00
jakobkukla
37350282cc Run tree-wide dotnet format 2026-05-21 20:48:41 +02:00
Shadowghost
8740f3d154 Move ComicVine and GoogleBooks ExternalUrl providers to MediaBrowser.Providers.Books 2026-05-16 18:52:20 +02:00
dkanada
65710a4e4f add missing exception information to error log 2026-05-10 12:49:35 +09:00
dkanada
df751af194 fix reported SonarQube issues 2026-05-08 12:51:34 +09:00
Seven Rats
f5f75ed2e1 feat/audiobook_chapters (#16518)
feat/audiobook_chapters
2026-05-03 12:18:20 +02:00
dkanada
a0d1e05696 migrate local comic providers to server codebase 2026-03-21 12:02:22 +09:00
dkanada
0413a8b6d2 include external IDs and URLs for book providers 2026-01-29 19:45:31 +09:00
Gladtbam
b97f5b809d fix: Resolve CA1849/CA2007 synchronous IO in EpubImageProvider (#16124)
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - BASE (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - Difference (push) Has been cancelled
OpenAPI / OpenAPI - Publish Unstable Spec (push) Has been cancelled
OpenAPI / OpenAPI - Publish Stable Spec (push) Has been cancelled
Tests / run-tests (macos-latest) (push) Has been cancelled
Tests / run-tests (ubuntu-latest) (push) Has been cancelled
Tests / run-tests (windows-latest) (push) Has been cancelled
Project Automation / Project board (push) Has been cancelled
Merge Conflict Labeler / Labeling (push) Has been cancelled
Stale PR Check / Check PRs with merge conflicts (push) Has been cancelled
Stale Issue Labeler / Check for stale issues (push) Has been cancelled
2026-01-27 19:40:12 -07:00
dkanada
d95bab41a1 improve genre support from OPF metadata 2025-11-23 21:40:52 +09:00
dkanada
820e208bdc fix runtime exception from incorrect argument to XDocument method 2025-11-23 21:37:56 +09:00
dkanada
6963d95880 extract local metadata from OPF and EPUB files 2025-11-22 16:25:59 +09:00
JPVenson
4cd0a2ed8d Always set update action when item does not exist (#14304) 2025-06-15 15:19:57 -06:00
Tim Eisele
49c6a99e00 Cleanup external item data cleanup (#14072) 2025-05-09 08:35:29 -06:00
Tim Eisele
d976f13970 Recognize file changes and remove data on change (#13839)
Some checks are pending
CodeQL / Analyze (csharp) (push) Waiting to run
OpenAPI / OpenAPI - HEAD (push) Waiting to run
OpenAPI / OpenAPI - BASE (push) Waiting to run
OpenAPI / OpenAPI - Difference (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Unstable Spec (push) Blocked by required conditions
OpenAPI / OpenAPI - Publish Stable Spec (push) Blocked by required conditions
Tests / run-tests (macos-latest) (push) Waiting to run
Tests / run-tests (ubuntu-latest) (push) Waiting to run
Tests / run-tests (windows-latest) (push) Waiting to run
Project Automation / Project board (push) Waiting to run
Merge Conflict Labeler / Labeling (push) Waiting to run
2025-05-04 21:21:44 -06:00
Joe Rogers
e3a7c9238d Pull default MergeData implementation to parent 2021-12-28 15:12:09 +01:00
Bond_009
eba488a0f8 Enable TreatWarningsAsErrors in Release for MediaBrowser.Providers 2020-06-19 20:24:13 +02:00
aled
299e49f39d Fix a small number of compile warnings 2020-06-09 23:12:53 +01:00
Mark Monteiro
b67e9cde8c Replace ILogger with ILogger<T> wherever possible
Log entries will contain additional class context when using this interface
2020-03-03 23:07:10 +01:00
Bond_009
d9a03c9bb1 Fix more warnings 2019-10-29 17:55:16 +01:00
Bond_009
e4f893a0eb More warning fixes 2019-08-29 22:28:33 +02:00
Erwin de Haan
b062577d81 Find+Sed BOM removal *.cs: MediaBrowser.Providers-SocketHttpListener 2019-01-13 21:03:10 +01:00
Erwin de Haan
587bb85b41 Visual Studio Reformat: MediaBrowser.Providers 2019-01-13 20:26:31 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
43eec485e9 fix book providers 2017-10-06 11:49:22 -04:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
1aff48b93b move book support into the core 2016-12-12 00:49:19 -05:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
15f0832a04 deprecate refreshinfo db 2016-05-21 02:12:00 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
b1be09242c update people saving 2015-06-28 21:10:45 -04:00
Luke Pulverenti
eab030df7f fixes #916 - Support reading playstate data from nfo's 2014-09-26 22:28:13 -04:00
Luke Pulverenti
7f5a4c2d4e added item type to refresh info 2014-02-08 17:38:02 -05:00
Luke Pulverenti
d0f1a83621 added more image providers 2014-02-08 15:02:35 -05:00
Luke Pulverenti
b1713a16cd switch to generic lookup type 2014-02-06 22:10:13 -05:00
Luke Pulverenti
8b3485968f support saving new metadata configuration 2014-02-02 14:31:56 -05:00