Ahmed Rafiq
0e491025ae
Refactor MimeTypes.ToExtension()
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-12-04 21:13:18 +06:00
Ahmed Rafiq
40e05a7993
Update documentation
2021-12-04 21:06:51 +06:00
Ahmed Rafiq
6193fdea69
Use MimeTypes package to determine MIME type
...
This simplifies the code since we don't have to keep large mappings of extensions and MIME types.
We still keep the ability to override the mappings for:
- filling in entries not present in the package, for e.g. ".azw3"
- picking preferred extensions, for e.g. MimeTypes provides ".conf" as a possible extionsion for "text/plain", and while that is correct, ".txt" would be preferrable
- compatibility reasons
2021-12-04 20:08:16 +06:00
Bond_009
beafd6eaab
Use JsonContent where possible
...
Should reduce the # of allocated bytes
2021-12-01 15:40:06 +01:00
Marius Luca
5b5ae1ef52
- enable seek function when direct streaming over DLNA
2021-11-26 18:09:34 +02:00
cvium
69df004b9f
Migrate network configuration safely
2021-11-24 13:00:12 +01:00
Cody Robibero
03c7bcf9c6
Merge pull request #6870 from cvium/fix_omdb_image_provider
2021-11-20 08:50:22 -07:00
Cody Robibero
0009e5cc27
Merge pull request #6850 from PetrusZ/collection-validator
2021-11-19 07:54:41 -07:00
cvium
96ea865681
Refactor omdb providers
2021-11-19 15:32:07 +01:00
Petrus.Z
acb86066ff
Replace library option to AutomaticallyAddToCollection
...
Signed-off-by: Petrus.Z <silencly07@gmail.com>
2021-11-18 16:00:14 +08:00
Petrus.Z
0a0ddb0eaf
Add AutoCollection option
...
it can determine whether auto create/add movies to collection
Signed-off-by: Petrus.Z <silencly07@gmail.com>
2021-11-17 14:02:07 +08:00
Bond_009
257e1be95f
Fix some warnings
2021-11-16 16:31:57 +01:00
Joe Rogers
ca99a27611
Add setter for CustomPrefs
2021-11-15 22:03:19 +01:00
dependabot[bot]
bd32cecf7a
Bump Microsoft.SourceLink.GitHub from 1.1.0 to 1.1.1
...
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/dotnet/sourcelink/releases )
- [Commits](https://github.com/dotnet/sourcelink/compare/1.1.0...1.1.1 )
---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-15 12:01:08 +00:00
Cody Robibero
34df1a030b
Merge pull request #6818 from Bond-009/password
2021-11-13 16:56:25 -07:00
Cody Robibero
132440c683
Remove Obsolete attribute on enum
2021-11-12 06:58:18 -07:00
Cody Robibero
3de86ffdb4
Fix nullability on DisplayPreferencesDto
...
Remove duplicate, fix namespace
2021-11-11 07:34:36 -07:00
Bond_009
5265b3eee7
Replace PBKDF2-SHA1 with PBKDF2-SHA512
...
This also migrates already created passwords on login
Source for the number of iterations:
https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2
2021-11-10 22:34:54 +01:00
Cody Robibero
4c88bf3fe3
Merge pull request #6808 from cvium/dlnope_never_again
2021-11-09 20:34:09 -07:00
Claus Vium
c50c9c3dbf
Merge pull request #6794 from Bond-009/dead
...
Remove some dead code
2021-11-09 19:47:34 +01:00
cvium
6985a4f255
Fix SortCriteria and refactor SetSorting
2021-11-09 19:31:54 +01:00
Bond_009
994101fcf4
Remove some dead code
2021-11-09 16:28:39 +01:00
dependabot[bot]
c2d99dc3f0
Bump Microsoft.SourceLink.GitHub from 1.0.0 to 1.1.0
...
Bumps [Microsoft.SourceLink.GitHub](https://github.com/dotnet/sourcelink ) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/dotnet/sourcelink/releases )
- [Commits](https://github.com/dotnet/sourcelink/compare/1.0.0...1.1.0 )
---
updated-dependencies:
- dependency-name: Microsoft.SourceLink.GitHub
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-09 13:11:42 +00:00
Cody Robibero
64652b6392
Fix and disable new dotnet6 warnings
2021-11-08 12:40:52 -07:00
Cody Robibero
40045d2147
Update to full dotnet 6
2021-11-08 09:40:12 -07:00
Claus Vium
0ee43f897b
Merge pull request #5918 from crobibero/client-logger
...
Add endpoint to log client events
2021-11-08 07:46:51 +01:00
Joe Rogers
b4bf5af7c8
Remove ImageType.Screenshot and ItemFields.Screenshot
2021-11-06 20:43:20 +01:00
Cody Robibero
3398f7f953
Merge branch 'master' into client-logger
2021-11-03 07:52:06 -06:00
Cody Robibero
f444e93a56
Merge remote-tracking branch 'upstream/master' into client-logger
2021-11-02 17:56:12 -06:00
zehner
bbf40d6be2
Update StreamBuilder.cs
...
LogLevel INFO => DEBUG
2021-11-02 09:35:09 +01:00
Cody Robibero
73201ed498
Default log upload to enabled
2021-10-29 06:33:46 -06:00
Cody Robibero
c534c45033
Suggestions from review
2021-10-27 19:20:14 -06:00
Claus Vium
b0e0eba667
Merge pull request #6737 from Bond-009/nullable9
...
Enable nullable for MediaBrowser.Providers
2021-10-27 09:04:18 +02:00
Cody Robibero
f78f1e834c
Merge remote-tracking branch 'upstream/master' into client-logger
2021-10-26 17:43:36 -06:00
Bond_009
f5ca9cbc3b
Enable nullable for MediaBrowser.Providers
2021-10-26 15:49:01 +02:00
Bond_009
1b6eb2ff2d
Enable nullable for more files
2021-10-26 13:56:30 +02:00
Cody Robibero
2b10251b32
Update to dotnet6.rc2
2021-10-12 18:31:58 -06:00
Claus Vium
1156699481
Merge pull request #6657 from Bond-009/dotnetbug
2021-10-09 12:19:44 +02:00
Claus Vium
b16e6621b3
Merge pull request #6663 from crobibero/dotnet-6-rc1
...
Reference dotnet6-rc1 packages
2021-10-08 16:06:15 +02:00
Bond_009
03f933aaa0
Fix the last few warnings
...
Enables TreatWarningsAsErrors for all projects
2021-10-06 11:30:45 +02:00
Cody Robibero
017380f1dd
Reference dotnet6-rc1 packages
2021-10-04 07:43:40 -06:00
Bond_009
9af16fcb6c
Remove workaround for dotnet/runtime#42790
2021-10-03 19:52:38 +02:00
KonH
6cbfdea4c0
Fix warning: Type cast is redundant ( #2149 )
2021-10-03 11:05:18 +07:00
KonH
d45fcdd5af
Fix warning: Redundant control flow jump statement ( #2149 )
2021-10-03 11:02:53 +07:00
KonH
b6bf43af45
Fix warning: Using directive is not required by the code and can be safely removed ( #2149 )
2021-10-03 10:49:41 +07:00
Cody Robibero
9234e5bf80
Remove all instances of en-US culture
2021-09-26 09:11:25 -06:00
cvium
30f3be1da0
Merge branch 'master' into keyframe_extraction_v1
2021-09-25 20:52:09 +02:00
Bond_009
f31224fa8f
Remove sync FileStream hack
2021-09-25 19:44:40 +02:00
Bond_009
5fd315b17c
Address comments
2021-09-24 20:15:46 +02:00
Bond_009
13fbfe6091
Target net6.0
2021-09-24 20:15:46 +02:00
cvium
9c15f96e12
Add first draft of keyframe extraction for Matroska
2021-09-23 15:29:12 +02:00
Bond_009
a6d1e542e6
Reduce allocations
2021-09-19 20:53:31 +02:00
Claus Vium
00f7f68e53
Merge pull request #5648 from OancaAndrei/syncplay-sessions-fix
...
Fix session references in SyncPlay
2021-09-10 17:44:44 +02:00
Chris Tam
b0cd1f5e39
Fix images "not loading" after manual identification
2021-09-09 19:16:15 -04:00
Bond_009
0d16c48998
Fix some warnings
2021-09-09 15:59:13 +02:00
Fernando Fernández
3d0b1ccae6
Remove all unused usings
2021-09-06 21:15:30 +02:00
Claus Vium
74fef6c05b
Merge pull request #6177 from Bond-009/async
...
Use async FileStreams where it makes sense
2021-09-06 13:55:34 +02:00
dkanada
f6c0db4bb5
merge branch 'master' into syncplay-sessions-fix
2021-09-06 13:42:48 +09:00
Bond_009
637e86478f
Fix some warnings
2021-09-03 19:32:11 +02:00
Cody Robibero
ff9d14c811
Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore
2021-09-03 11:01:55 -06:00
Claus Vium
95ca1d5487
Merge pull request #6498 from Bond-009/invalidop
...
Fix InvalidOperationException when serializing MediaPathInfo
2021-09-03 18:45:06 +02:00
Bond-009
3ec7ecf399
Merge pull request #6358 from MrTimscampi/audio-people
2021-09-03 17:15:58 +02:00
Bond_009
b458f85c47
Fix InvalidOperationException when serializing MediaPathInfo
2021-09-03 16:39:03 +02:00
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
2021-09-03 06:56:45 -06:00
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
2021-09-02 14:02:04 +02:00
Mike
cf9c678406
Add subtitle format(codec) to stream display title ( #5853 )
...
Co-authored-by: Michał Kurek <michal.kurek@mail.com>
2021-09-01 18:59:59 +02:00
Claus Vium
4cd372109d
Merge pull request #6473 from Bond-009/nullable7
...
Enable nullable for more files
2021-09-01 09:28:19 +02:00
Bond_009
963ab2dab6
Simplify the way we choose our ffmpeg
...
* no longer search $PATH
* no longer require a full path
* don't fall back
2021-08-30 15:40:52 +02:00
Cody Robibero
cba07b1ca6
Remove more and more warnings
2021-08-28 16:32:50 -06:00
Bond_009
645825db36
Enable nullable for more files
2021-08-28 17:32:09 +02:00
MrTimscampi
8594ee7a22
Fix documentation for lyricist and arranger
2021-08-16 00:22:36 +02:00
MrTimscampi
c9b1cd1d8c
Add some new music-related person types and parse from ffprobe
2021-08-16 00:22:36 +02:00
Bond_009
19824bff94
Minor improvements
2021-08-15 23:48:19 +02:00
Patrick Barron
45f478f63e
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Library/IUserManager.cs
# MediaBrowser.Controller/Security/IAuthenticationRepository.cs
# MediaBrowser.Controller/Session/ISessionManager.cs
2021-08-13 21:08:24 -04:00
Claus Vium
a29f702432
Merge pull request #6258 from gnuyent/feat/hardware-encode-status
2021-08-11 12:54:27 +02:00
Bond_009
f1f72c3060
Minor improvements
2021-08-04 14:40:09 +02:00
Bond-009
00c90cfb21
Merge pull request #6354 from Bond-009/nullable4
...
Enable nullable in more files
2021-07-30 09:49:40 +02:00
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-07-30 09:49:28 +02:00
Bond_009
501de7b6dc
Enable nullable in more files
2021-07-26 23:02:32 +02:00
Bond_009
0512f74459
Add tests for GetResolutionText
2021-07-20 23:04:49 +02:00
Bond-009
c817c63696
Merge pull request #6256 from MrTimscampi/better-resolution-text
2021-07-20 19:08:37 +02:00
Bond_009
b91c4be74c
Remove old "has update available" code
...
This is the job of a package manager (or maybe the tray app for windows)
2021-07-11 22:42:02 +02:00
Brandon Nguyen
c6bac31042
Add int values to HardwareEncodingType enum
2021-07-11 11:59:52 -07:00
Brandon Nguyen
d0c5e25ec0
Use nullable enum type instead of strings
2021-07-05 16:52:52 -07:00
MrTimscampi
a25c3d1cda
Remove usage of this in GetResolutionText
2021-07-04 10:22:17 +02:00
Brandon Nguyen
df17c67f11
Use hardware encoding string over boolean
2021-07-03 15:29:07 -07:00
Brandon Nguyen
7e3c94d094
Add hardware encoding status to playback data
...
Resolves #6087
2021-07-03 01:12:09 -07:00
MrTimscampi
bcae195cc3
Refactor GetResolutionText
...
This improves GetResolutionText a little by making it easier to read and better parsing resolutions (Also adding a few new ones like PAL resolutions and 8K)
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>
2021-07-03 01:45:24 +02:00
crobibero
397868be95
Fix issues with QuickConnect and AuthenticationDb
2021-06-23 21:07:08 -06:00
Patrick Barron
ae878fa051
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/QuickConnect/QuickConnectManager.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
2021-06-23 20:22:12 -04:00
Claus Vium
a41065a248
Merge pull request #6200 from nielsvanvelzen/fix-quickconnect
...
Refactor Quick Connect
2021-06-22 09:43:14 +02:00
Niels van Velzen
7d46ca9317
Refactor Quick Connect
2021-06-22 09:13:14 +02:00
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
2021-06-19 18:04:46 +02:00
Patrick Barron
be88efce3c
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Devices/DeviceManager.cs
# Emby.Server.Implementations/HttpServer/Security/SessionContext.cs
# Emby.Server.Implementations/Security/AuthenticationRepository.cs
# Emby.Server.Implementations/Session/SessionManager.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Library/IUserManager.cs
# MediaBrowser.Controller/Net/ISessionContext.cs
2021-06-18 18:56:10 -04:00
MrTimscampi
22efb69e92
Document SubtitleDeliveryMethod
2021-06-18 18:26:14 +02:00
Bond_009
383c2d7374
Remove useless nullable directives
2021-06-11 23:36:10 +02:00
Claus Vium
ed2f08d05f
Merge pull request #6156 from Bond-009/minor14
...
Minor fixes
2021-06-07 23:09:50 +02:00
Bond-009
ce434ebc7a
Add comment
2021-06-06 19:30:43 +02:00
Bond_009
c78457e6d3
Minor fixes
2021-06-06 18:11:51 +02:00
Bond_009
915855e422
Add property based testing
2021-06-05 13:32:22 +02:00
Bond_009
0bc0601442
Fix some warnings
2021-05-28 14:33:54 +02:00
Claus Vium
b12f509de3
Merge pull request #5696 from Maxr1998/fix-music-video-metadata-probing
2021-05-27 10:20:22 +02:00
Claus Vium
61346dd2e2
Merge pull request #5828 from jackrvan/issue-5813
...
Add NextUpCutoffDate to NextUpQuery
2021-05-27 07:22:06 +02:00
Jack
e3ff473bd4
Review notes to set value to Datetime min value instead of null
2021-05-25 20:46:29 -04:00
Claus Vium
45e27a3bc4
Merge pull request #6075 from MrTimscampi/codec-tag-hdr
...
Properly detect Dolby Vision files derived from AV1, AVC and HEVC
2021-05-24 08:27:22 +02:00
Bond-009
0a30d8dd98
Merge pull request #6086 from Bond-009/deadcode
...
Remove dead code
2021-05-21 13:52:37 +02:00
Bond_009
9b8eb1ba53
Remove dead code
2021-05-21 13:43:49 +02:00
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
2021-05-20 23:56:59 -04:00
Patrick Barron
e1f7086077
Remove unnecessary query class
2021-05-20 20:39:22 -04:00
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
2021-05-20 22:48:53 +02:00
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
2021-05-18 18:09:46 -04:00
MrTimscampi
8407c3d558
Properly detect Dolby Vision files derived from AV1, AVC and HEVC
2021-05-18 12:37:00 +02:00
Bond_009
4479713e04
MediaStream: Replace string.IndexOf with string.Contains where possible
2021-05-05 14:44:53 +02:00
Bond-009
b6df851363
Merge pull request #5984 from Bond-009/container
...
Add regression test for ContainerProfile.ContainsContainer
2021-05-05 13:51:34 +02:00
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>
2021-05-05 13:51:14 +02:00
Bond_009
39931fe3ad
Add regression test for ContainerProfile.ContainsContainer
2021-05-05 13:33:34 +02:00
Maxr1998
65a9a4771a
Fix direct play for DirectPlayProfiles without any codecs set
...
70771fdcd6
broke direct play by treating empty container/codec strings as unsupported in `ContainerProfile.ContainsContainer()`` (which is also used for video and audio codec checks). Instead, they should be treated as supported, for both the positive and negative list option.
2021-05-05 12:25:54 +02:00
Bill Thornton
df40828e1f
Merge pull request #5941 from Maxr1998/device-profile-docs
...
Improve documentation for DeviceProfile
2021-05-05 00:19:49 -04:00
crobibero
1a178e8490
Remove Required attributes
2021-05-04 19:11:01 -06:00
Maxr1998
031a5c122d
Improve documentation for DeviceProfile
2021-05-05 00:58:43 +02:00
Bond-009
9d3f614527
Merge pull request #5943 from Maxr1998/device-profile-defaults
2021-05-05 00:40:32 +02:00
Maxr1998
b2bb062ced
Revert shortened 'is ... or' check
2021-05-04 23:38:17 +02:00
Maxr1998
244ad5b225
Apply review feedback
2021-05-04 22:57:27 +02:00
Bond_009
c608d5104d
Fix scanning
2021-05-01 15:56:16 +02:00
Maxr1998
70771fdcd6
Nullability handling for device profile classes
2021-05-01 13:06:10 +02:00
Bond-009
eeb5d4bd1e
Merge pull request #5842 from BaronGreenback/optimization
...
Code Clean up: Group Methods
2021-04-29 21:14:57 +02:00
crobibero
1d6224c9c6
Add endpoint to log client events
2021-04-26 07:02:26 -06:00
Bond-009
f4a59c92e6
Merge pull request #5826 from BaronGreenback/ssdpFix
...
PlayTo Fix: Use external ip not internal interface
2021-04-25 18:51:11 +02:00
Bond-009
184e05aeb6
Merge pull request #5681 from BaronGreenback/ContentFeatureOptimization
...
Various DLNA Optimizations
2021-04-22 16:45:36 +02:00
cvium
a9ca3c8b01
Fix notification disabled users list
2021-04-19 11:38:27 +02:00
BaronGreenback
bc1cc2d04a
Remove unused using directives
2021-04-17 11:37:55 +01:00
BaronGreenback
bb6fddde9a
Group Methods
2021-04-17 11:19:09 +01:00
Jack
198cc6e76a
Some code cleanup. Allow NextUpDateCutoff to be null
2021-04-16 13:57:22 -04:00
Jack
d7855500c2
Add NextUpCutoffDate to NextUpQuery
2021-04-15 14:48:21 -04:00
BaronGreenback
3199d1c902
Fix: PlayTo using external ip not internal
2021-04-15 18:36:47 +01:00
Cody Robibero
b63f615fd4
Enable nullability for ServerDiscoveryInfo ( #5804 )
2021-04-15 15:39:59 +02:00
Joshua M. Boniface
e2cfc308ea
Merge pull request #5729 from crobibero/dotnet5.0.5
...
Update to dotnet 5.0.5
2021-04-14 09:49:43 -04:00
Odd Stråbø
afff226514
Apply suggestions from code review
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-04-11 08:21:23 +02:00
Odd Stråbø
13d0837b78
(mostly)Fix ResizeFill
2021-04-11 08:21:23 +02:00
Odd Stråbø
383aa4e4d9
Add Resize to fill box alternative to image endpoints
2021-04-11 08:20:47 +02:00
Patrick Barron
44e71774b1
Rewrite device manager using EF Core
2021-04-10 16:17:36 -04:00
Bill Thornton
cc0f191228
Disable hevc encoding by default
2021-04-08 09:57:17 -04:00
crobibero
b1faf8c2e8
Update to dotnet 5.0.5
2021-04-08 07:36:13 -06:00
Claus Vium
a1718e392b
Merge pull request #5631 from BrianCArnold/FixMessageCommand
2021-04-07 14:36:08 +02:00
Maxr1998
24ac8a1223
Improve metadata probing to better support music videos
2021-04-06 15:34:29 +02:00
Bond-009
fa64d8e4f2
Merge pull request #5637 from dmitrylyzo/check-media-type
2021-04-04 01:25:09 +02:00
Dmitry Lyzo
36da7a06d7
Less negation
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-04-04 02:09:57 +03:00
Bond-009
4f387dca6e
Merge pull request #5598 from cvium/fix_hls_default_values
2021-04-03 19:36:41 +02:00
Bond-009
959a09bdb0
Merge pull request #5676 from Bond-009/useless
2021-04-03 02:00:03 +02:00
BaronGreenback
d9a50cb510
Various DLNA Optimizations
2021-04-02 19:06:38 +01:00