Commit Graph

53 Commits

Author SHA1 Message Date
Francisco Ernesto Planas Pestana
e065015d6d Fix #16308: Community ratings not updating after changing .nfo file.
When "replace all metadata" was issued on a film, with the Web metadata
scrapers and "save to local metadata" disabled, after changing the
.nfo file, 'Community rating' was not updated in the server, remaining
the cached value.

Fixed by changing the flag on the 'MergeData' call
(line 809 - MetadataService.cs) to use the option defined by the
user and not the erroneous absolute 'false' value.

Also, in the .nfo parser an option for 'communityrating' was added
along with value conformity verifiers.

Validation tests were added.
2026-03-25 14:07:53 +00:00
KGT1
e28d547006 add test for new uniqueid nfo key normalisation 2025-10-08 15:32:30 +00:00
JPVenson
42bdb22bfb Fixed namespaces 2025-03-25 16:45:00 +01:00
Shadowghost
5303445c9b Migrate to IExternalUrlProvider 2025-02-20 10:13:27 +01:00
TheMelmacian
51207edf44 Backport pull request #13092 from jellyfin/release-10.10.z
Fix: handling of <set> elements in NfoParser

Original-merge: f333ef74b3

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

Backported-by: Bond_009 <bond.009@outlook.com>
2025-02-03 16:54:35 -05:00
Josh Soref
044cf9fb85 chore: fix spelling
* a
* acceleration
* addition
* altogether
* api clients
* artist
* associated
* bandwidth
* cannot
* capabilities
* case-insensitive
* case-sensitive
* configuration
* delimiter
* dependent
* diacritics
* directors
* enable
* explicitly
* filters
* finish
* have
* hierarchy
* implicit
* include
* information
* into
* its
* keepalive
* localization
* macos
* manual
* matching
* metadata
* nonexistent
* options
* overridden
* parsed
* parser
* playback
* preferring
* processes
* processing
* provider
* ratings
* retrieval
* running
* segments
* separate
* should
* station
* subdirectories
* superseded
* supported
* system
* than
* the
* throws
* transpose
* valid
* was

link: forum or chat rooms

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2025-01-25 20:05:15 -05:00
JPVenson
d3a3d9fce3 Merge remote-tracking branch 'jellyfinorigin/master' into feature/EFUserData 2024-10-08 09:34:34 +00:00
renovate[bot]
aed00733f8 Update dependency xunit to 2.9.1 (#12687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-09-22 19:44:37 -06:00
JPVenson
d0b4b2ddb3 Migrated UserData from library sqlite db to jellyfin.db 2024-09-07 19:07:34 +00:00
Bond_009
97a02f5803 Remove BOM from UTF-8 files
I think some people need to change their IDE configuration ;)
2024-08-30 15:29:48 +02:00
TheMelmacian
d4eeafe53f Fix: parsing of xbmc style multi episode nfo files (#12268) 2024-07-30 09:51:08 -06:00
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
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
scampower3
305405c9a1 Combine Title and Overview for multi-episodes files for NFO file (#10080) 2023-10-10 13:12:09 +02:00
Stepan Goremykin
8ea812b65d Reduce string literal length by using verbatim string 2023-10-08 00:26:12 +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
MrTimscampi
7ad0c9ba24 Migrate MusicBrainz plugin to MetaBrainz.MusicBrainz
Co-authored-by: crobibero <cody@robibe.ro>
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2022-10-22 12:44:44 +02:00
Hannes Braun
4edeccc5e0 Remove redundant using directives 2022-09-28 16:26:03 +02:00
David Ullmer
a00e6ff426 Update tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-02-09 13:39:39 +01:00
David Ullmer
fdfcb45c2a Add regression test for #7285 2022-02-08 09:09:33 +01:00
Cody Robibero
7bfc6b5679 Remove more warnings 2021-12-27 07:38:06 -07:00
Fernando Fernández
3d0b1ccae6 Remove all unused usings 2021-09-06 21:15:30 +02:00
David Ullmer
bf441e49b9 Add test for fanart tag 2021-08-13 20:36:14 +02:00
Bond_009
8528e9bddb Improve platform checks 2021-07-12 20:21:51 +02:00
Bond_009
c78457e6d3 Minor fixes 2021-06-06 18:11:51 +02:00
David Ullmer
e57b80b8e2 Add support for fanart aspect in thumb tag 2021-05-05 10:11:31 +02:00
BaronGreenback
bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00
Bond-009
b49d50e634 Merge pull request #5467 from Ullmie02/nfo-fixes 2021-03-30 15:35:56 +02:00
Bond-009
16011d96a0 Merge pull request #5321 from Ullmie02/nfo-thumb 2021-03-25 01:10:37 +01:00
David
572600b38e Use conditional operator instead of if/else block 2021-03-23 15:47:55 +01:00
David
954148eb6d Fix Radarr url nfo files 2021-03-10 17:08:24 +01:00
David
16694b0cfc Add nfo thumb tag support 2021-02-28 15:00:17 +01:00
Bond-009
92e5a5c6e8 Merge pull request #5166 from netpok/index-number-end-from-nfo 2021-02-23 13:00:16 +01:00
David
9379f535c2 Merge remote-tracking branch 'jellyfin/master' into nfo-tests 2021-02-15 12:00:51 +01:00
David
e924545ae2 Fix tests for UNIX 2021-02-15 11:39:00 +01:00
David
fc7377fb9b Merge remote-tracking branch 'jellyfin/master' into nfo-tests
# Conflicts:
#	tests/Jellyfin.XbmcMetadata.Tests/Parsers/EpisodeNfoProviderTests.cs
#	tests/Jellyfin.XbmcMetadata.Tests/Parsers/SeriesNfoParserTests.cs
2021-02-13 22:55:33 +01:00
David
36d91a1601 Add test for music video nfo 2021-02-13 22:41:38 +01:00
David
eecdc3c110 Add more tags to nfo tests 2021-02-13 22:41:12 +01:00
David Ullmer
ab5fb1b1f2 Merge branch 'master' of github.com:jellyfin/jellyfin into nfo-watched 2021-02-11 13:48:58 +01:00
David Ullmer
ae57ed4ac7 Add nfo user data tests 2021-02-11 13:36:35 +01:00
David
3a4c33ca5f Add nfo parsing for watched, playcount and lastplayed 2021-02-09 12:42:55 +01:00
David Ullmer
086254821f Add test for generic nfo provider id parsing 2021-02-09 11:19:19 +01:00
Balázs Váradi
7ba53548a2 Fix typos in nfo tests 2021-02-09 07:21:08 +01:00
Balázs Váradi
351d61a318 Add test for multiepisode nfo parsing 2021-02-08 19:40:17 +01:00
David
454d82c52c Process actor type in nfo files 2021-01-23 18:06:26 +01:00
David
d71dce50ca Add music album nfo parser test 2021-01-20 20:02:35 +01:00
David
ccea02fbb2 Add season nfo parser test 2021-01-20 20:02:03 +01:00
David
dbd70bd394 Add episode nfo parser test 2021-01-20 19:47:31 +01:00
David
0279af5f6b Move existing tests to correct namespace 2021-01-20 19:46:44 +01:00