<feed xmlns='http://www.w3.org/2005/Atom'>
<title>jellyfin/Emby.Naming/Video/VideoResolver.cs, branch v12.0-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.b0n.dev/jellyfin/atom?h=v12.0-rc2</id>
<link rel='self' href='https://git.b0n.dev/jellyfin/atom?h=v12.0-rc2'/>
<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>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>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>
<entry>
<title>Refactor extras parsing</title>
<updated>2021-12-07T14:24:57Z</updated>
<author>
<name>cvium</name>
<email>clausvium@gmail.com</email>
</author>
<published>2021-12-07T14:18:17Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=fde84a1e00b0c781ce10acc73a9103db51aab67b'/>
<id>urn:sha1:fde84a1e00b0c781ce10acc73a9103db51aab67b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change ReadOnlySpan to string following PR 6383 (#6734)</title>
<updated>2021-10-26T12:47:34Z</updated>
<author>
<name>Claus Vium</name>
<email>cvium@users.noreply.github.com</email>
</author>
<published>2021-10-26T12:47:34Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=39d5bdac96b17eb92bd304736cc2728832e1cad0'/>
<id>urn:sha1:39d5bdac96b17eb92bd304736cc2728832e1cad0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move non-jellyfin extensions to separate project</title>
<updated>2021-06-19T16:04:46Z</updated>
<author>
<name>Bond_009</name>
<email>bond.009@outlook.com</email>
</author>
<published>2021-06-19T16:02:33Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=6f8ccab788e85e025eaa44b67a1487bf419afb53'/>
<id>urn:sha1:6f8ccab788e85e025eaa44b67a1487bf419afb53</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove some unnecessary allocations</title>
<updated>2021-05-23T22:30:41Z</updated>
<author>
<name>cvium</name>
<email>clausvium@gmail.com</email>
</author>
<published>2021-05-23T22:30:41Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=42a2cc1747c7859c63334a7a45792e0af1410e1a'/>
<id>urn:sha1:42a2cc1747c7859c63334a7a45792e0af1410e1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Review changes</title>
<updated>2021-05-19T06:51:46Z</updated>
<author>
<name>cvium</name>
<email>clausvium@gmail.com</email>
</author>
<published>2021-05-19T06:51:46Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=1027792b16996e3fe7e4835805204e8c91beda01'/>
<id>urn:sha1:1027792b16996e3fe7e4835805204e8c91beda01</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce some allocations</title>
<updated>2021-05-16T12:49:11Z</updated>
<author>
<name>cvium</name>
<email>clausvium@gmail.com</email>
</author>
<published>2021-05-16T12:49:11Z</published>
<link rel='alternate' type='text/html' href='https://git.b0n.dev/jellyfin/commit/?id=1b49435a0eb18595c84236fb8cf7671263f3c3cf'/>
<id>urn:sha1:1b49435a0eb18595c84236fb8cf7671263f3c3cf</id>
<content type='text'>
</content>
</entry>
</feed>
