<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/Emby.Server.Implementations/Library/Resolvers/ExtraResolver.cs, branch v12.0-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.b0n.dev/jellyfin/atom?h=v12.0-rc1</id>
<link rel='self' href='https://git.b0n.dev/jellyfin/atom?h=v12.0-rc1'/>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/'/>
<updated>2025-03-28T00:18:19Z</updated>
<entry>
<title>Fix for Issue #12142: Fix ExtraRuleResolver filtering out top level folders (#12170)</title>
<updated>2025-03-28T00:18:19Z</updated>
<author>
<name>Michael McElroy</name>
<email>44167199+mcmcelro@users.noreply.github.com</email>
</author>
<published>2025-03-28T00:18:19Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=f02190c394ad300c00dec4cc4f3b9d42ac6aaca2'/>
<id>urn:sha1:f02190c394ad300c00dec4cc4f3b9d42ac6aaca2</id>
<content type='text'>
* Fix ExtraRuleResolver to stop filtering out libraries where the name of the base folder matches an 'videos extras' rule with an ExtraRuleType of DirectoryName

Currently the ExtraRuleResolver code doesn't know anything about the root folder of the current library. As a result, when we're attempting to add items in a library where the root folder has a name with a match in Emby.Naming.Common.NamingOptions.VideoExtraRules, the entire library is being ignored as a Video Extras folder.

Need to pass in the root folder of the current library to compare to the path of the current item being evaluated, and if we match the current item's folder to the root folder, then we ignore the ExtraRules with a type of DirectoryName and we continue to scan deeper in the library. Filters still apply to subfolders within the library itself.

* Update CONTRIBUTORS.md

* Update Emby.Naming/Video/ExtraRuleResolver.cs

* Update ExtraTests.cs

Add tests for this fix.

Also add missing tests in TestKodiExtras, TestExpandedExtras, and TestSample, and expanded TestDirectories into TestDirectoriesAudioExtras and TestDirectoriesVideoExtras. There were no checks for the theme-music folder name previously.

* Update ExtraTests.cs

Removed unnecessary "using System"

* In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4

* Update ExtraTests.cs

Remove empty lines in usings

* Revert "In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4"
</content>
</entry>
<entry>
<title>Clean Extra Names</title>
<updated>2023-03-09T23:44:12Z</updated>
<author>
<name>SenorSmartyPants</name>
<email>senorsmartypants@gmail.com</email>
</author>
<published>2023-02-26T19:32:46Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=b96420b7865538439c6a96305d70fa4f16dfd591'/>
<id>urn:sha1:b96420b7865538439c6a96305d70fa4f16dfd591</id>
<content type='text'>
- Adds regular expression to CleanStrings to remove suffix style extra naming from the name presented in JF.
- Override Resolve for Extras to enable parsename
- remove exclusion on parsename of extratypes</content>
</entry>
<entry>
<title>Inject IDirectoryService where needed instead of passing it through ItemResolveArgs</title>
<updated>2023-03-07T04:00:55Z</updated>
<author>
<name>Joe Rogers</name>
<email>1337joe@gmail.com</email>
</author>
<published>2023-03-07T04:00:55Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=1c3a97bf6adadf4e3b22177e1e965691637d0426'/>
<id>urn:sha1:1c3a97bf6adadf4e3b22177e1e965691637d0426</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace == null with is null</title>
<updated>2022-12-05T14:00:20Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2022-12-05T14:00:20Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=c7d50d640e614a3c13699e3041fbfcb258861c5a'/>
<id>urn:sha1:c7d50d640e614a3c13699e3041fbfcb258861c5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix #7100 by catching the exception on opening invalid UDF images</title>
<updated>2022-02-20T13:30:55Z</updated>
<author>
<name>Stanislav Ionascu</name>
<email>stanislav.ionascu@gmail.com</email>
</author>
<published>2022-01-04T21:52:52Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=554d1b2ca8868e7aeb1fa9acac75cb8ce423796a'/>
<id>urn:sha1:554d1b2ca8868e7aeb1fa9acac75cb8ce423796a</id>
<content type='text'>
When an invalid UDF image is opened by the UdfReader, it may throw
and exception. This change is to catch and log the exception.
</content>
</entry>
<entry>
<title>Fix SA1642 warning</title>
<updated>2022-01-15T12:33:54Z</updated>
<author>
<name>Dmitry Lyzo</name>
<email>ashephard0@gmail.com</email>
</author>
<published>2022-01-15T12:32:04Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=ea1f3fe6bdfae0384afd56eb1bfdc9b8d1c7c340'/>
<id>urn:sha1:ea1f3fe6bdfae0384afd56eb1bfdc9b8d1c7c340</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use dedicated resolvers for extras</title>
<updated>2021-12-27T23:37:40Z</updated>
<author>
<name>cvium</name>
<email>clausvium@gmail.com</email>
</author>
<published>2021-12-27T23:37:40Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=2749509f001505d35863db4b53bb4bc6c3af6fa4'/>
<id>urn:sha1:2749509f001505d35863db4b53bb4bc6c3af6fa4</id>
<content type='text'>
</content>
</entry>
</feed>
