Joe Rogers
a26509a98a
Keep from serializing trailers into database
3 years ago
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} `.
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
cbfa355e31
Update StyleCop
3 years ago
Cody Robibero
a8a8ce4e7b
Fix build from PR merging
3 years ago
Cody Robibero
076a13abeb
Merge pull request #7029 from cvium/allocations_maybe
3 years ago
Cody Robibero
00211ca056
Merge pull request #7028 from cvium/everything_went_wrong
3 years ago
cvium
05c8834a3a
Don't cache special feature ids
3 years ago
cvium
9158511017
Don't skip extras refresh when replacing metadata or doing a full refresh
3 years ago
cvium
b880dc8a4a
Use our own Contains extension
3 years ago
cvium
83a94aa612
Fix extras folders
3 years ago
cvium
91f3ce3109
Use == instead of Object.Equals to avoid closure allocation
3 years ago
Claus Vium
9a0618552b
Merge branch 'master' into what_could_go_wrong
3 years ago
Cody Robibero
0edf77994a
Cache BaseItemKind
3 years ago
cvium
c5569c701c
Folder can't have extras
3 years ago
Cody Robibero
32629cd7da
Use BaseItemKind where possible
3 years ago
cvium
fde84a1e00
Refactor extras parsing
3 years ago
Jonas Resch
180e2dc329
Prevent crashes in specific scenarios
3 years ago
Jonas Resch
9978164438
Add support for external audio files
3 years ago
Cody Robibero
b2b4bd82d7
Merge pull request #6862 from 1337joe/query-instead-of-filtering
3 years ago
Joe Rogers
9ba7bf96ef
Query MediaSourceManager directly in image providers
...
Add doc comments/minor tweaks to AudioImageProvider
3 years ago
Joe Rogers
7cf5767949
Query media streams by type instead of filtering
3 years ago
Bond_009
257e1be95f
Fix some warnings
3 years ago
cvium
5b1b2621ab
Fix build
3 years ago
cvium
b50c3852ef
Remove unused dependencies
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Bond_009
5726535a26
Fix some warnings
...
609 left
3 years ago
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
3 years ago
Joe Rogers
b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot
3 years ago
Bond_009
924c6682b9
Remove unused IHasScreenshots interface
3 years ago
Bond_009
416894008e
Minor improvements
...
* Removed some allocations
* Removed some useless abstractions
3 years ago
Joe Rogers
7fcf01235c
Change RemoveImages to array, improve download test
3 years ago
Joe Rogers
b478b115e3
Refactor to validate all images up front
3 years ago
KonH
e3fccd5ae6
Fix warning: Qualifier is redundant ( #2149 )
3 years ago
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
3 years ago
Dixin
27e32083a1
Update LINQ query according to code review feedback.
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Dixin
dc8420c7a2
Fix extra folder type resolving.
3 years ago
Bond_009
0d16c48998
Fix some warnings
3 years ago
dkanada
b8eb8940c7
Merge pull request #6257 from MrTimscampi/music-library-backdrop
...
Use artist backdrop for generated library image
3 years ago
Claus Vium
66659b0842
Merge pull request #6089 from BaronGreenback/IsRoot_fix
...
Set UserRootFolder.IsRoot to true
3 years ago
Bond_009
637e86478f
Fix some warnings
3 years ago
Bond-009
3ec7ecf399
Merge pull request #6358 from MrTimscampi/audio-people
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
MrTimscampi
3300d2d7d3
Enable people for audio files
3 years ago
Rich Lander
e7a3552aae
Update per feedback
3 years ago
Rich Lander
312e2685f8
Update MediaBrowser.Controller/Entities/IHasMediaSources.cs
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Rich Lander
e3df4dcaae
Fix warnings in MediaBrowser.Controller
3 years ago
Rich Lander
ad6f27143f
Update MediaBrowser.Controller/Entities/Folder.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
3 years ago
Rich Lander
e72868f72b
Update AggregateFolder.cs
4 years ago
Rich Lander
0ce7a15534
Fix more warnings
4 years ago
Rich Lander
a16e66615c
Update MediaBrowser.Controller/Entities/AggregateFolder.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Rich Lander
32616d15f2
Update MediaBrowser.Controller/Entities/AggregateFolder.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Rich Lander
a7cc77e7fa
Fix partial set of MediaBrowser.Controller/Entities warnings
4 years ago
Bond-009
c22582b5aa
Merge pull request #6281 from crobibero/controller-warn-04
4 years ago
Bond_009
915141f196
Fix some warnings
4 years ago
Cody Robibero
65f8d8c0cd
[CA1801] Parameter is never used. Remove the parameter or use it in the method body.
4 years ago
MrTimscampi
8a65a6dfc3
Use artist backdrop for generated library image
4 years ago
Bond_009
981cf4cfa0
Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net
4 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
4 years ago
Claus Vium
cb77f8ee28
Merge pull request #6172 from Bond-009/nullable6
...
Remove useless nullable directives
4 years ago
Bond-009
cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram
4 years ago
Bond_009
383c2d7374
Remove useless nullable directives
4 years ago
Claus Vium
ed2f08d05f
Merge pull request #6156 from Bond-009/minor14
...
Minor fixes
4 years ago
Claus Vium
f17d43c564
Merge pull request #6071 from BaronGreenback/DLNAFolderFixPart1
...
Make DLNA folders to work as expected.
4 years ago
Claus Vium
b8f5a14384
Merge pull request #6117 from LinFor/pr_originaltitle_in_lookupinfo
...
Add OriginalTitle to ItemLookupInfo
4 years ago
Bond_009
c78457e6d3
Minor fixes
4 years ago
Cody Robibero
d461e3912a
Remove warninigs from MediaBrowser.Controller (Part 3) ( #6078 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
4 years ago
PingWin
05c241da78
Add OriginalTitle to ItemLookupInfo
4 years ago
cvium
42a2cc1747
Remove some unnecessary allocations
4 years ago
BaronGreenback
51fb6e1d2d
Merge branch 'master' into IsRoot_fix
4 years ago
BaronGreenback
d0537a3271
Set isRoot to true
4 years ago
Bond-009
8d2e5ef8c6
Merge pull request #6042 from crobibero/mbc-warn-2
4 years ago
Bond_009
2b321d8b89
Enable nullable for InternalItemsQuery
4 years ago
BaronGreenback
48bb338352
Enable child items to be returned if a musicAlbum
4 years ago
crobibero
6bcbc2b88a
Reduce warnings in MediaBrowser.Controller
4 years ago
Cody Robibero
e3f55a0c54
Reduce warnings in MediaBrowser.Controller ( #6006 )
...
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
Bond_009
bcb4010db6
More improvements
4 years ago
Bond_009
787bcd4a83
Remove dead code
4 years ago
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? ( #5845 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
BaronGreenback
f2c10471bf
Code Clean up: Use Pattern Matching ( #5838 )
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
4 years ago
Claus Vium
b9d18f0fa7
Merge branch 'master' into allocationz
4 years ago
Bond-009
360d80c873
Merge pull request #5890 from Bond-009/filesystem
...
Reduce string allocations/fs lookups in resolve code
4 years ago
cvium
608cba817c
Reduce some allocations with the magic of spans etc.
4 years ago
Bond-009
eeb5d4bd1e
Merge pull request #5842 from BaronGreenback/optimization
...
Code Clean up: Group Methods
4 years ago
Bond_009
b323044139
Reduce string allocations/fs lookups in resolve code
4 years ago
Bond_009
f46195899e
Improve perf of db save and query
4 years ago
Bond-009
24103d0953
Merge pull request #5876 from Bond-009/nullref5
...
DeepCopy: Throw ArgumentNullException if one of the args is null
4 years ago
Bond-009
48ed4b016c
Merge pull request #5808 from cvium/semi-fix-collection-perf
4 years ago
Bond_009
63e9b1ae2d
DeepCopy: Throw ArgumentNullException if one of the args is null
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
BaronGreenback
bb6fddde9a
Group Methods
4 years ago
cvium
d44b2e2ee5
fixes
4 years ago
cvium
723b6abcb3
Optimize the way items are grouped into collections
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
cvium
c5a870051a
Use distinct for artists to avoid double refreshing
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
crobibero
223b42aed3
Create BaseItemKind enum
4 years ago
Bond_009
a9b497720d
Use JsonSerializer.SerializeToUtf8Bytes when doing a round trip
...
This test uses a very small object (CountryInfo), using a bigger object
would increase the difference in allocated memory.
```
BenchmarkDotNet=v0.12.1, OS=fedora 32
Intel Core i7-6700HQ CPU 2.60GHz (Skylake), 1 CPU, 8 logical and 4 physical cores
.NET Core SDK=5.0.100
[Host] : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
DefaultJob : .NET Core 5.0.0 (CoreCLR 5.0.20.51904, CoreFX 5.0.20.51904), X64 RyuJIT
| Method | Mean | Error | StdDev | Gen 0 | Gen 1 | Gen 2 | Allocated |
|---------------- |-----------:|---------:|---------:|-------:|------:|------:|----------:|
| RoundTripBytes | 932.0 ns | 5.09 ns | 4.25 ns | 0.1173 | - | - | 368 B |
| RoundTripString | 1,114.8 ns | 22.19 ns | 23.74 ns | 0.1469 | - | - | 464 B |
```
4 years ago
David
043d045448
Put json serializer options in private field
4 years ago