Stepan Goremykin
910617bbc3
Remove redundant 'else' keywords
2023-04-06 19:38:34 +02:00
Bond-009
9c500bdca3
Merge pull request #9466 from Shadowghost/playlist-fix
2023-03-28 10:58:48 +02:00
Cody Robibero
89be3aa37f
Convert Person.Type to use PersonKind enum ( #9487 )
2023-03-25 11:52:02 -06:00
Bond_009
2e4905ff05
Fix #9378
...
Remove sort words before replacing dots with spaces
2023-03-16 17:33:43 +01:00
Shadowghost
76ae599bd3
Fix playlist creation and removal
2023-03-10 19:16:35 +01:00
Bond-009
1d34c867d9
Merge pull request #9446 from 1337joe/audiobook-grouping-fixes
2023-03-09 12:05:30 +01:00
Bond_009
761b9ed6a1
Allow webp for local images
2023-03-08 15:19:40 +01:00
Joe Rogers
1c3a97bf6a
Inject IDirectoryService where needed instead of passing it through ItemResolveArgs
2023-03-06 23:00:55 -05:00
Joe Rogers
160baa02fd
Remove some BaseItem references to make ItemResolveArgs more usable for testing.
2023-03-06 22:18:26 -05:00
Nils Fürniß
e58bf6b2be
Add SeasonProviderIds to EpisodeInfo ( #9407 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-03-01 00:46:08 +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
Shadowghost
b7418d6e9e
Add permission for collection management
2023-02-13 15:42:04 +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
Egor Bakanov
46e9f5ad2e
Fix recursive children lookup of folders ( #8678 )
...
Fixes https://github.com/jellyfin/jellyfin/issues/6193
Fixes https://github.com/jellyfin/jellyfin/issues/7226
2023-01-07 11:48:14 -07:00
Bond-009
43c3a465e6
Merge pull request #8775 from SenorSmartyPants/DVRMetadata
...
Fixes https://github.com/jellyfin/jellyfin/issues/5178
2023-01-03 12:01:32 +01: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
Bond_009
6481376b81
Use DistinctBy introduced in .NET 6
2022-12-19 15:21:42 +01: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
SenorSmartyPants
159a244654
Add Options to disable DVR NFO and image saving
...
- SaveRecordingNFO and SaveRecordingImages default to true. Maintains current behavior.
- Episode.FillMissingEpisodeNumbersFromPath for live tv so external metadata can be pulled when recording starts.
2022-11-19 14:14:41 -06:00
Shadowghost
072651c4be
Add xmldocs for TMDb provider, correct provider spelling
2022-11-17 11:16:20 +01:00
cvium
08d2acba20
Backport pull request #8662 from jellyfin/release-10.8.z
...
fix: use a combination of ParentIndexNumber and IndexNumber to determine next up episodes
Original-merge: 45f3fb1cfc
Merged-by: Joshua M. Boniface <joshua@boniface.me>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-10-31 23:08:42 -04:00
Bond-009
f6e7313a61
Merge pull request #8638 from photonconvergence/fix/extras-type
2022-10-30 14:17:14 +01:00
cvium
812a4170ee
Backport pull request #8501 from jellyfin/release-10.8.z
...
fix: set MinIndexNumber for the next up query
Original-merge: 679e83082f
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-10-28 22:38:58 -04: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
Claus Vium
b137d0cc2b
Merge pull request #7514 from Shadowghost/music-extend
2022-10-07 15:21:00 +02:00
Bond_009
f5613add1a
Remove extra argument
2022-10-06 20:39:22 +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
Luke F
e579b4d42d
Backport pull request #8189 from jellyfin/release-10.8.z
...
Fix GetItems IndexOutOfRangeException when IDs do not exist
Original-merge: 527ed0607d
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
2022-09-23 23:09:34 -04: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
Shadowghost
61fa325ef0
Extend music parsing
2022-09-13 17:20:22 +02:00
Claus Vium
1cbf5431aa
Merge pull request #8250 from Bond-009/minor18
...
Minor cleanup
2022-09-09 13:27:52 +02:00
Bond_009
5036afd691
Minor cleanup
2022-08-18 13:56:23 +02: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
Niels van Velzen
61afd029df
Check for empty guid
2022-08-14 12:58:38 +02:00
Niels van Velzen
0f91244239
Use Guid for adjacentTo API parameter
2022-08-14 12:47:25 +02:00
Shadowghost
7b05e0a413
Backport pull request #8209 from jellyfin/release-10.8.z
...
Fix series query including missing episodes when it should not
Original-merge: 9357d610b1
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Backported-by: Joshua Boniface <joshua@boniface.me>
2022-08-13 21:46:34 -04:00
Joshua Boniface
b3675ebce0
Backport pull request #8191 from jellyfin/release-10.8.z
...
fix: remove Virtual episodes when their physical counterpart exists
Authored-by: cvium <clausvium@gmail.com>
Merged-by: Bond-009 <bond.009@outlook.com>
Original-merge: 77a007a24d
2022-08-01 14:25:46 -04:00
Joshua Boniface
0356a15056
Backport pull request #8163 from jellyfin/release-10.8.z
...
Don't refresh playlists on album refresh
Authored-by: David Ullmer <davidullmer@outlook.de>
Merged-by: Claus Vium <cvium@users.noreply.github.com>
Original-merge: 444b0ea310
2022-08-01 14:25:44 -04:00
Mikal Stordal
8e1796f08a
Add escape hatch for Series merging
...
This is an universal solution for plugins to override how series are merged.
The reason to override is so we can set the same provider id on multiple items without merging them, while using another id for merging them. Having an (optional) provider id not tied to any online database allows plugins to use their own rules for merging series.
2022-07-03 00:32:09 +02: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
Claus Vium
136eab9b1e
Merge pull request #7370 from crobibero/internal-metadata-path
...
Only add internal files if the internal metadata path exists
2022-03-04 08:13:58 +01:00
Cody Robibero
fc5c6c0404
Use IFileSystem
2022-02-28 17:14:33 -07:00
Joe Rogers
354f22d065
Add post filtering for theme song and video
2022-02-27 23:38:00 +01: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
Bond_009
2dcb2f8a9f
Ban the usage of Task.Result
...
If the calling function can't be made async easily you can still use
.GetAwaiter().GetResult(), which is way easier to find in the future
2022-01-22 16:48:31 +01:00
Cody Robibero
a60cb280a3
Properly populate QueryResult
2022-01-20 08:53:06 -07:00
Dmitry Lyzo
f28384ba30
Ignore JSON serialization for special features of movie.
...
When refreshing the metadata of the video with a local trailer, the server gets
stuck trying to read the database and save the item at the same time.
2022-01-14 22:15:14 +03:00
Cody Robibero
a0f248e200
Merge pull request #7134 from adavier/trakt-episode-links
2022-01-11 16:11:25 -07:00
Joe Rogers
a26509a98a
Keep from serializing trailers into database
2022-01-07 22:33:31 +01:00
adavier
9574d13059
Implement trakt episode links using the implementation from Series.cs
...
The code is the same as `MediaBrowser.Controller/Entities/TV/Series.cs`, using the imdbID to generate Trakt links.
The trakt url for episodes is `https://trakt.tv/episodes/{0} `.
2022-01-07 19:47:36 +00: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
05c8834a3a
Don't cache special feature ids
2021-12-21 00:10:58 +01: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
Cody Robibero
32629cd7da
Use BaseItemKind where possible
2021-12-12 06:11:27 -07:00
cvium
fde84a1e00
Refactor extras parsing
2021-12-07 15:24:57 +01:00
Jonas Resch
180e2dc329
Prevent crashes in specific scenarios
2021-12-01 21:05:43 +01:00
Jonas Resch
9978164438
Add support for external audio files
2021-11-30 19:31:46 +01:00
Cody Robibero
b2b4bd82d7
Merge pull request #6862 from 1337joe/query-instead-of-filtering
2021-11-20 08:50:39 -07:00
Joe Rogers
9ba7bf96ef
Query MediaSourceManager directly in image providers
...
Add doc comments/minor tweaks to AudioImageProvider
2021-11-18 15:11:50 +01:00
Joe Rogers
7cf5767949
Query media streams by type instead of filtering
2021-11-17 22:34:04 +01:00
Bond_009
257e1be95f
Fix some warnings
2021-11-16 16:31:57 +01:00
cvium
5b1b2621ab
Fix build
2021-11-16 12:25:46 +01:00
cvium
b50c3852ef
Remove unused dependencies
2021-11-16 12:24:17 +01:00
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
2021-11-09 22:29:33 +01:00
Bond_009
5726535a26
Fix some warnings
...
609 left
2021-11-09 13:14:31 +01:00
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
2021-11-08 12:40:52 -07:00
Joe Rogers
b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot
2021-11-06 20:43:20 +01:00
Bond_009
924c6682b9
Remove unused IHasScreenshots interface
2021-11-04 01:06:21 +01:00
Bond_009
416894008e
Minor improvements
...
* Removed some allocations
* Removed some useless abstractions
2021-11-03 14:02:57 +01:00
Joe Rogers
7fcf01235c
Change RemoveImages to array, improve download test
2021-11-02 16:16:06 +01:00
Joe Rogers
b478b115e3
Refactor to validate all images up front
2021-11-01 11:53:31 +01:00
KonH
e3fccd5ae6
Fix warning: Qualifier is redundant ( #2149 )
2021-10-03 11:01:40 +07:00
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
2021-09-26 09:11:25 -06:00
Dixin
27e32083a1
Update LINQ query according to code review feedback.
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-09-20 00:27:51 -07:00
Dixin
dc8420c7a2
Fix extra folder type resolving.
2021-09-19 16:54:00 -07:00
Bond_009
0d16c48998
Fix some warnings
2021-09-09 15:59:13 +02:00
dkanada
b8eb8940c7
Merge pull request #6257 from MrTimscampi/music-library-backdrop
...
Use artist backdrop for generated library image
2021-09-06 02:30:49 +09:00
Claus Vium
66659b0842
Merge pull request #6089 from BaronGreenback/IsRoot_fix
...
Set UserRootFolder.IsRoot to true
2021-09-05 15:25:40 +02:00