Niels van Velzen
55916a09eb
Remove some unused client capabilities and sync code ( #10812 )
2024-01-06 13:33:48 -07:00
Cody Robibero
033cfa59c4
Convert CollectionType to use lowercase enum names
2023-12-08 15:45:36 -07:00
Cody Robibero
892973a9e3
Merge branch 'master' into media-type
2023-11-09 22:03:55 -07:00
Cody Robibero
906f701fa8
Convert CollectionType, SpecialFolderType to enum ( #9764 )
...
* Convert CollectionType, SpecialFolderType to enum
* Hide internal enum CollectionType values
* Apply suggestions from code review
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
* Fix recent change
* Update Jellyfin.Data/Attributes/OpenApiIgnoreEnumAttribute.cs
Co-authored-by: Patrick Barron <barronpm@gmail.com>
---------
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Co-authored-by: Patrick Barron <barronpm@gmail.com>
2023-11-09 14:00:29 -07:00
Cody Robibero
2920611ffc
Convert string MediaType to enum MediaType
2023-10-10 15:57:15 -06:00
Bond_009
18a311d32f
== null -> is null
2023-08-22 21:14:54 +02:00
Bond-009
3982b0e057
Reduce bottlenecks scan code ( #9863 )
2023-06-21 21:01:47 -06:00
TelepathicWalrus
603fce59df
Audio normalization ( #9222 )
...
Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com>
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-05-15 13:12:24 +02:00
Stepan Goremykin
910617bbc3
Remove redundant 'else' keywords
2023-04-06 19:38:34 +02:00
Bond_009
2e4905ff05
Fix #9378
...
Remove sort words before replacing dots with spaces
2023-03-16 17:33:43 +01:00
Bond_009
761b9ed6a1
Allow webp for local images
2023-03-08 15:19:40 +01:00
Shadowghost
07dc163844
Fix playlist parental control and no parental control skipping forbidden unrated items
2023-02-20 11:53:20 +01:00
Shadowghost
c8d80450e0
Recursively update rating
2023-02-20 11:53:20 +01:00
Jpuc1143
cb61a57e82
Reduced number of calls to GetPreference()
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-02-09 20:45:40 -03:00
Jpuc1143
7fa6d4c81e
Add "Allowed Tags" to Parental Controls
2023-01-20 16:43:59 -03:00
Cody Robibero
9a740344be
Add support for .sup subtitle ( #8808 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/8628
2022-12-30 08:24:06 -07:00
Joe Rogers
e4040ab812
Allow video extras to use owner library options
2022-12-08 01:00:27 -05: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
photonconvergence
09e8a7e62c
Fix extra type differentiation
...
Change rules for Featurettes and Shorts so they don't both get classed as ExtraType.Clip.
Fix test that these changes break
2022-10-27 18:01:04 -07:00
Bond_009
224bb355dd
Rewrite BaseItem.ModifySortChunks
2022-10-12 17:43:01 +02:00
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2022-10-06 20:21:23 +02:00
Zach Phelan
8857edb66c
Add function back for compatibility, add sorting
2022-09-13 17:13:02 -06:00
Zach Phelan
c71d6f2358
Sort special features same as other spots, removing unnecssary function
...
Added to contributors
2022-09-13 16:56:23 -06:00
Bond-009
2b1a915ead
Merge pull request #7604 from Jellifi007/fixes-diactritics
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
(cherry picked from commit 8d1d973438
)
Signed-off-by: crobibero <cody@robibe.ro>
2022-05-20 18:30:56 -04:00
Bond_009
7fdc0e3c3d
BaseItem: remove unused function
2022-03-11 16:21:32 +01:00
Claus Vium
53209830e7
Merge pull request #7346 from Bond-009/guid
...
Optimize Guid comparisons
2022-03-11 08:15:12 +01:00
Cody Robibero
fc5c6c0404
Use IFileSystem
2022-02-28 17:14:33 -07:00
Joe Rogers
15053516f8
Rewrite tests for coverage and less duplication
...
Address minor warnings
Revert making GetInternalMetadataPath mockable
2022-02-21 22:25:58 +01:00
Bond_009
f50a250cd9
Optimize Guid comparisons
...
* Use Guid.Equals(Guid) instead of the == override
* Ban the usage of Guid.Equals(Object) to prevent accidental boxing
* Compare to default(Guid) instead of Guid.Empty
2022-02-21 14:15:09 +01:00
Shadowghost
719b707281
feat(external-media): refactor to generic provider, extend tests and file recognition, consolidate and extend NamingOptions
2022-02-18 22:19:33 +01:00
Claus Vium
488ce51032
Remove some allocations ( #7246 )
2022-01-28 12:21:40 +01:00
Cody Robibero
7bfc6b5679
Remove more warnings
2021-12-27 07:38:06 -07:00
Bond_009
cbfa355e31
Update StyleCop
2021-12-24 18:28:27 +01:00
Cody Robibero
a8a8ce4e7b
Fix build from PR merging
2021-12-23 19:27:51 -07:00
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
2021-12-24 01:59:25 +00:00
Cody Robibero
00211ca056
Merge pull request #7028 from cvium/everything_went_wrong
2021-12-22 17:57:00 +00:00
cvium
9158511017
Don't skip extras refresh when replacing metadata or doing a full refresh
2021-12-20 23:58:09 +01:00
cvium
b880dc8a4a
Use our own Contains extension
2021-12-20 13:31:07 +01:00
cvium
83a94aa612
Fix extras folders
2021-12-20 12:15:20 +01:00
cvium
91f3ce3109
Use == instead of Object.Equals to avoid closure allocation
2021-12-19 18:24:05 +01:00
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong
2021-12-15 08:38:39 +01:00
Cody Robibero
0edf77994a
Cache BaseItemKind
2021-12-14 07:41:29 -07:00
cvium
c5569c701c
Folder can't have extras
2021-12-12 19:04:22 +01:00
cvium
fde84a1e00
Refactor extras parsing
2021-12-07 15:24:57 +01:00
Bond_009
257e1be95f
Fix some warnings
2021-11-16 16:31:57 +01:00
Bond_009
5726535a26
Fix some warnings
...
609 left
2021-11-09 13:14:31 +01:00
Joe Rogers
b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot
2021-11-06 20:43:20 +01:00
Bond_009
416894008e
Minor improvements
...
* Removed some allocations
* Removed some useless abstractions
2021-11-03 14:02:57 +01:00