Commit graph

188 commits

Author SHA1 Message Date
Bond_009 277830855d Clean up UserDataManager
* enable nullable
* remove unused methods
* fix warnings and docs
2024-08-30 15:08:56 +02:00
TheMelmacian d4eeafe53f
Fix: parsing of xbmc style multi episode nfo files (#12268)
Some checks failed
Project Automation / Project board (push) Has been cancelled
CodeQL / Analyze (csharp) (push) Has been cancelled
OpenAPI / OpenAPI - HEAD (push) Has been cancelled
OpenAPI / OpenAPI - BASE (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
Merge Conflict Labeler / Labeling (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
2024-07-30 09:51:08 -06:00
Bond_009 ecd2dab0a2 Add TrySetProviderId extension 2024-07-17 15:48:21 +02:00
Shadowghost 99bae981da Backport pull request #12120 from jellyfin/release-10.9.z
Do not override <year> if <releasedate> is set

Original-merge: bf53f1ae38

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-23 11:40:55 -04:00
Shadowghost c0364fc766 Backport pull request #11719 from jellyfin/release-10.9.z
Move NFO series season name parsing to own local provider

Original-merge: a53ea029fa

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-06-01 18:40:55 -04:00
Shadowghost b063dfd2e3 Backport pull request #11648 from jellyfin/release-10.9.z
Fix series status parsing

Original-merge: c6c48a2b47

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:42 -04:00
Shadowghost 29a293f9e7 Backport pull request #11647 from jellyfin/release-10.9.z
Fix season names

Original-merge: 2da06bc0b1

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

Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17 13:51:40 -04:00
Bond-009 3feb3f81bf
More efficient array creation (#11468) 2024-04-30 13:32:59 -06:00
Martin Vandenbussche 27ab3ef029 Removing unnecessary array initialization 2024-01-17 16:46:04 +01:00
Martin Vandenbussche 9ff9c8f0c7
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-01-16 08:50:39 +01:00
Martin Vandenbussche 7cd60aefb5 Adding support for proper trailer STRM URL format, along with the deprecated format 2024-01-15 16:19:47 +01:00
Stepan Goremykin 8d7e4229ca Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Net/SocketFactory.cs
#	RSSDP/SsdpCommunicationsServer.cs
#	RSSDP/SsdpDeviceLocator.cs
#	RSSDP/SsdpDevicePublisher.cs
2023-10-12 20:11:16 +02:00
Patrick Barron 1ce49b4a04
Merge branch 'master' into xml-parsing-cleanup 2023-10-10 12:00:45 -04:00
scampower3 305405c9a1
Combine Title and Overview for multi-episodes files for NFO file (#10080) 2023-10-10 13:12:09 +02:00
Stepan Goremykin f84469d500 Remove redundant using directives 2023-10-08 00:50:02 +02:00
Stepan Goremykin 0870af330d Remove redundant verbatim string prefixes 2023-10-08 00:15:38 +02:00
Patrick Barron 40e1c5f4c6 Remove logger parameter from XmlReaderExtensions.TryReadDateTime 2023-10-06 16:56:50 -04:00
Patrick Barron 1d0ecd3188 More miscellaneous cleanup 2023-10-06 16:18:33 -04:00
Patrick Barron 0e51ffa169 Add TryReadInt to XmlReaderExtensions 2023-10-06 15:35:26 -04:00
Patrick Barron 8a7a1cc723 Add ReadNormalizedString to XmlReaderExtensions 2023-10-06 15:12:49 -04:00
Patrick Barron 99832642ce Add TryParseDateTime and TryParseDateTimeExact to XmlReaderExtensions 2023-10-06 14:18:56 -04:00
Patrick Barron 1a6ec2c740 Add GetStringArray and GetPersonArray to XmlReaderExtensions 2023-10-06 13:40:08 -04:00
Patrick Barron bdca4ed322 Add XmlReader.GetPersonFromXmlNode 2023-10-06 12:46:35 -04:00
Shadowghost 6ddc449a89 Implement NFO named season parsing 2023-05-20 18:57:56 +02:00
Stepan Goremykin 6ae1903453 Use TryAdd 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 7a93731992 Ignore avg critic rating Rotten Tomatoes 2023-03-07 18:44:59 +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
ProfessionalismIsMyMiddleName ffc4cc4a04 Save modified userData after parsing an nfo in case of "watched", "playcount" or "lastplayed" tags. 2023-01-25 07:35:18 +01:00
Bond_009 b366dc2e6e Use ArgumentException.ThrowIfNullOrEmpty 2022-12-07 16:43:59 +01: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
Shadowghost 2e639c77c7 Apply review suggestions 2022-11-17 18:54:35 +01:00
Shadowghost 072651c4be Add xmldocs for TMDb provider, correct provider spelling 2022-11-17 11:16:20 +01:00
luz paz 9ec2870b10 Fix various typos
Found via `codespell -q 3 -S ./Emby.Server.Implementations/Localization -L allready,doesnt,inh,receivedfrom,whoknows`
2022-08-15 06:48:34 -04:00
David Ullmer 7885167f54 Fix nfo thumb tags without aspect 2022-02-08 09:08:35 +01:00
Cody Robibero 7bfc6b5679 Remove more warnings 2021-12-27 07:38:06 -07:00
cvium 61b75c82ce Read past empty elements 2021-11-17 14:49:30 +01:00
Bond_009 1d19a5be61 Fix some warnings
down to 580
2021-11-09 22:29:33 +01:00
cvium c0bab5c173 Make sure ReadToDescendant was successful, #6773 2021-11-04 11:50:46 +01:00
Cody Robibero 9234e5bf80 Remove all instances of en-US culture 2021-09-26 09:11:25 -06:00
Bond_009 653df7d8e5 Specify DateTimeStyles when possible 2021-09-21 01:21:45 +02:00
Bond_009 a6d1e542e6 Reduce allocations 2021-09-19 20:53:31 +02:00
Fernando Fernández 3d0b1ccae6
Remove all unused usings 2021-09-06 21:15:30 +02:00
Bond-009 bb685e4920
Merge pull request #6422 from daullmer/nfo-fanart 2021-08-30 15:02:25 +02:00
Bond_009 19824bff94 Minor improvements 2021-08-15 23:48:19 +02:00
David Ullmer 12e58840eb
Modify FetchThumbNode method to read children of fanart tag 2021-08-13 20:33:53 +02:00
David Ullmer 577d665192
Move thumb tag parsing to separate method 2021-08-13 20:16:05 +02:00
Bond_009 f1f72c3060 Minor improvements 2021-08-04 14:40:09 +02:00
David Ullmer e57b80b8e2 Add support for fanart aspect in thumb tag 2021-05-05 10:11:31 +02:00