Bond-009
ff83fabac3
Merge pull request #6456 from GodTamIt/vp8-vp9
...
Disambiguate vpx to vp8 or vp9
3 years ago
Chris Tam
b205d5a032
Disambiguate vpx to vp8 or vp9
3 years ago
Cody Robibero
ff9d14c811
Merge remote-tracking branch 'upstream/master' into authenticationdb-efcore
3 years ago
Cody Robibero
ec13412155
Merge remote-tracking branch 'upstream/master' into warn-259810
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Cody Robibero
cba07b1ca6
Remove more and more warnings
3 years ago
Bond_009
645825db36
Enable nullable for more files
3 years ago
Bond-009
8a460fc6ba
Merge pull request #6444 from cvium/fix_liverecordingsplayback
...
Use ProgressiveFileStream for LiveRecordings endpoint
3 years ago
cvium
12a7fda0a6
Add timeout to ProgressiveFileStream
3 years ago
cvium
f23ef1f1b9
Use ProgressiveFileStream for LiveRecordings endpoint
3 years ago
Cody Robibero
709f8e9faa
Update to dotnet 5.0.9
3 years ago
Patrick Barron
1615663bd2
Remove old response code documentation
3 years ago
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
3 years ago
Claus Vium
a29f702432
Merge pull request #6258 from gnuyent/feat/hardware-encode-status
3 years ago
dependabot[bot]
16ae8cd200
Bump Swashbuckle.AspNetCore.ReDoc from 6.1.4 to 6.1.5
...
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.4...v6.1.5 )
---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore.ReDoc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
dependabot[bot]
3254b5f8cb
Bump Swashbuckle.AspNetCore from 6.1.4 to 6.1.5
...
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.4...v6.1.5 )
---
updated-dependencies:
- dependency-name: Swashbuckle.AspNetCore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
Rich Lander
c07e83fdf8
Invert code and style analysis configuration ( #6334 )
...
Co-authored-by: Bond-009 <bond.009@outlook.com>
3 years ago
Claus Vium
5a9bd712b3
Merge pull request #6296 from Bond-009/oscheck
...
Improve platform checks
3 years ago
Bond-009
c22582b5aa
Merge pull request #6281 from crobibero/controller-warn-04
3 years ago
Cody Robibero
de12ee5dba
Update to dotnet 5.0.8
3 years ago
Bond-009
ea7c7ea48c
Merge pull request #5864 from DeeJayBro/return-on-error
...
Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
3 years ago
Cody Robibero
b44f191d54
Remove obsolete attribute, clean controller name
3 years ago
DeeJayBro
0ad62e7af9
Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
3 years ago
Patrick Barron
60ce0c9fa9
Add dto for device options
3 years ago
Cody Robibero
24c861c23b
Remove extra endpoint
3 years ago
Bond_009
8528e9bddb
Improve platform checks
3 years ago
Cody Robibero
65f8d8c0cd
[CA1801] Parameter is never used. Remove the parameter or use it in the method body.
3 years ago
Cody Robibero
43b0d0fa95
Fix error message, use range parameters
3 years ago
Cody Robibero
e7022cc3fc
Use asp validation and increase max size
3 years ago
Bill Thornton
3090971feb
Restore max width and height params
3 years ago
Brandon Nguyen
d0c5e25ec0
Use nullable enum type instead of strings
3 years ago
Brandon Nguyen
df17c67f11
Use hardware encoding string over boolean
3 years ago
Brandon Nguyen
7e3c94d094
Add hardware encoding status to playback data
...
Resolves #6087
3 years ago
Patrick Barron
bbac9ff67e
GetDeviceOptions always returns an instance of DeviceOptions
3 years ago
crobibero
397868be95
Fix issues with QuickConnect and AuthenticationDb
3 years ago
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
3 years ago
Claus Vium
a41065a248
Merge pull request #6200 from nielsvanvelzen/fix-quickconnect
...
Refactor Quick Connect
3 years ago
Niels van Velzen
7d46ca9317
Refactor Quick Connect
3 years ago
Patrick Barron
3123ea2a94
Add missing ConfigureAwait call
3 years ago
Bond_009
6f8ccab788
Move non-jellyfin extensions to separate project
3 years ago
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons
3 years ago
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
3 years ago
Patrick Barron
336ba2879f
Re-add support for API keys
3 years ago
crobibero
e021a0e9ce
Update to dotnet 5.0.7
3 years ago
Bond-009
aaa9cc604f
Merge pull request #6176 from nielsvanvelzen/userid-required
...
Require userId in getItems and getTrailers endpoints
3 years ago
Niels van Velzen
226abde3f7
Change userId to required in operations that would otherwise throw exceptions
3 years ago
Niels van Velzen
0a0e10e854
Fix routeMediaSourceId route parameter in SubtitleController GetSubtitle
3 years ago
Cody Robibero
9154f20b34
Don't dispose managed CancellationTokenSource ( #6139 )
4 years ago
Claus Vium
6080093b51
Merge pull request #6094 from crobibero/album-artist-sort
...
Add sorting to /Artists/AlbumArtists
4 years ago
Claus Vium
61346dd2e2
Merge pull request #5828 from jackrvan/issue-5813
...
Add NextUpCutoffDate to NextUpQuery
4 years ago
Jack
accb974605
Add optional back
4 years ago
Jack
e3ff473bd4
Review notes to set value to Datetime min value instead of null
4 years ago
crobibero
e01ce826e0
Allow sorting for AlbumArtist
4 years ago
Bond-009
d61530eb4b
Merge pull request #6083 from Bond-009/nullable4
...
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Patrick Barron
b6446c06ee
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Emby.Server.Implementations/Security/AuthenticationRepository.cs
# Jellyfin.Server.Implementations/Security/AuthorizationContext.cs
# MediaBrowser.Controller/Devices/IDeviceManager.cs
4 years ago
Patrick Barron
a0c6f72762
Migrate authentication db to EF Core
4 years ago
Patrick Barron
ab63a7745c
Add PaginatedQuery abstract class, change startIndex to skip
4 years ago
Patrick Barron
e1f7086077
Remove unnecessary query class
4 years ago
Bond-009
a937a854f2
Merge pull request #6013 from Bond-009/minor13
4 years ago
Bond_009
7e8428e588
Enable nullable reference types for Emby.Server.Implementations
4 years ago
Patrick Barron
a225f34796
Merge branch 'master' into authenticationdb-efcore
...
# Conflicts:
# Jellyfin.Api/Helpers/RequestHelpers.cs
4 years ago
Jack
7a17de84d9
Add optional to nextUpDateCutoff help text
4 years ago
crobibero
66b185898f
Update to dotnet5.0.6
4 years ago
Cody Robibero
2888567ea5
Update Jellyfin.Api/Models/ClientLogDtos/ClientLogEventDto.cs
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
4 years ago
Bond-009
50f617357b
Merge pull request #5929 from crobibero/sort
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
BaronGreenback
97c2c523a8
Merge branch 'master' into comparisons
4 years ago
Bond_009
56ac64e70a
Minor improvements
...
* properly dispose CancellationTokenSource
* rewrite DynamicHlsController.GetSegmentLengths
* remove dead code
4 years ago
Bond_009
fb090df0b5
Enable nullable reference types for MediaBrowser.Controller
4 years ago
Bond-009
a4a3f598af
Merge pull request #5982 from Bond-009/nullable
4 years ago
Bond_009
ddb04dc12b
Use new ReadAllLines extensions
4 years ago
BaronGreenback
e682c230bd
Merge branch 'master' into comparisons
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
Bond_009
91c2a57b28
Enable nullable reference types for MediaBrowser.Common
4 years ago
Bond-009
48e81e65e8
Merge pull request #5938 from cvium/allocationz
4 years ago
Bond-009
9d3f614527
Merge pull request #5943 from Maxr1998/device-profile-defaults
4 years ago
crobibero
3c8abeda7d
Require Authorization for the ClientLogController
4 years ago
dependabot[bot]
ee92dffa82
Bump Swashbuckle.AspNetCore.ReDoc from 6.1.3 to 6.1.4
...
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.3...v6.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Claus Vium
b9d18f0fa7
Merge branch 'master' into allocationz
4 years ago
dependabot[bot]
6f722bac0f
Bump Swashbuckle.AspNetCore from 6.1.3 to 6.1.4
...
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.1.3...v6.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Joshua M. Boniface
e71cd8274a
Merge pull request from GHSA-rgjw-4fwc-9v96
...
Remove /Images/Remote API endpoint
4 years ago
Joshua M. Boniface
3e4c860986
Remove /Items/RemoteSearch/Image API endpoint
4 years ago
Joshua M. Boniface
dc81d576ab
Remove /Images/Remote API endpoint
4 years ago
Maxr1998
70771fdcd6
Nullability handling for device profile classes
4 years ago
cvium
ba2e346d12
prevent cancellationtoken leakage
4 years ago
Maxr1998
e90fbe90f9
Remove extraneous 'stream' parameter
...
The argument isn't passed to the method but causes the API generator to include an unnecessary parameter.
Also fixes some typos in the documentation comments.
4 years ago
Bond-009
eeb5d4bd1e
Merge pull request #5842 from BaronGreenback/optimization
...
Code Clean up: Group Methods
4 years ago
Cody Robibero
69e91c33d8
Update Jellyfin.Api/Controllers/GenresController.cs
4 years ago
crobibero
d27ca993a5
Add ability to sort on Genre, MusicGenre, Artist
4 years ago
dependabot[bot]
a3cb8dbc9d
Bump Swashbuckle.AspNetCore.ReDoc from 6.0.7 to 6.1.3
...
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.0.7 to 6.1.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.7...v6.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
crobibero
1d6224c9c6
Add endpoint to log client events
4 years ago
dependabot[bot]
d5037a8988
Bump Swashbuckle.AspNetCore from 6.0.7 to 6.1.3
...
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.0.7 to 6.1.3.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.7...v6.1.3 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond-009
224c48821e
Merge pull request #5887 from Bond-009/perf
...
Improve perf of db save and query
4 years ago
Bond-009
1a54338e38
Merge pull request #5892 from crobibero/password-obsolete
4 years ago
Bond-009
184e05aeb6
Merge pull request #5681 from BaronGreenback/ContentFeatureOptimization
...
Various DLNA Optimizations
4 years ago
crobibero
856819e58f
Don't use obsolete Password property
4 years ago
crobibero
5b0dc21c64
Mark password property as obsolete
4 years ago
Bond_009
f46195899e
Improve perf of db save and query
4 years ago
Bond-009
d5163b4167
Merge pull request #5877 from Bond-009/circ1
...
EncodingHelper: Fix circular dependency
4 years ago
Bond_009
499bac5185
EncodingHelper: Fix circular dependency
4 years ago
cvium
8933389753
Respect user settings for transcode and remux
4 years ago
BaronGreenback
bc1cc2d04a
Remove unused using directives
4 years ago
BaronGreenback
bb6fddde9a
Group Methods
4 years ago
BaronGreenback
80877aa945
Cleaned up "value assigned is not used in any execution path"
4 years ago
Jack
198cc6e76a
Some code cleanup. Allow NextUpDateCutoff to be null
4 years ago
Jack
d7855500c2
Add NextUpCutoffDate to NextUpQuery
4 years ago
Claus Vium
dc4714fe40
fix webp compatibility testing ( #5787 )
4 years ago
Cody Robibero
cc59abd54e
Mark cropWhitespace parameter as obsolete ( #5751 )
4 years ago
Joshua M. Boniface
770c123d12
Merge pull request #5764 from cvium/fix-folders-perms
...
Do not check permissions for Folders collectiontype
4 years ago
BaronGreenback
fb7587dd84
Renamed
4 years ago
Odd Stråbø
13d0837b78
(mostly)Fix ResizeFill
4 years ago
Odd Stråbø
383aa4e4d9
Add Resize to fill box alternative to image endpoints
4 years ago
Claus Vium
bf510ca04e
Merge pull request #5750 from iwalton3/fix-audio-selection-uns
...
Fix setting audio stream in PlaybackInfo for jellyfin-web.
4 years ago
cvium
f2e7491755
Do not check permissions for Folders collectiontype
4 years ago
Patrick Barron
8607b52541
Make device/session code async
4 years ago
Patrick Barron
44e71774b1
Rewrite device manager using EF Core
4 years ago
BaronGreenback
0db5df86df
Update Jellyfin.Api/Constants/Policies.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
5fb7557763
Network Access Policy
4 years ago
Bond-009
b2fbf97abd
Merge pull request #4988 from Bond-009/crop
4 years ago
Ian Walton
321e383965
Fix setting audio stream in PlaybackInfo for jellyfin-web.
4 years ago
Bond-009
5042246360
Merge pull request #5710 from jellyfin/dependabot/nuget/Microsoft.AspNetCore.Authorization-5.0.5
...
Bump Microsoft.AspNetCore.Authorization from 5.0.3 to 5.0.5
4 years ago
Claus Vium
a1718e392b
Merge pull request #5631 from BrianCArnold/FixMessageCommand
4 years ago
dependabot[bot]
e85ac4d975
Bump Microsoft.AspNetCore.Authorization from 5.0.3 to 5.0.5
...
Bumps [Microsoft.AspNetCore.Authorization](https://github.com/dotnet/aspnetcore ) from 5.0.3 to 5.0.5.
- [Release notes](https://github.com/dotnet/aspnetcore/releases )
- [Commits](https://github.com/dotnet/aspnetcore/compare/v5.0.3...v5.0.5 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond-009
4f387dca6e
Merge pull request #5598 from cvium/fix_hls_default_values
4 years ago
Bond-009
ec0ef1530c
Merge pull request #5602 from Ullmie02/IP-string-IP
4 years ago
BaronGreenback
d9a50cb510
Various DLNA Optimizations
4 years ago
Patrick Barron
499785bebb
Use new entities for API key endpoints
4 years ago
BrianCArnold
4fa2a32d81
Apply suggestions from code review
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BrianCArnold
af03b280bc
Update SessionController.cs
4 years ago
BrianCArnold
80fe48fda9
Update SessionController.cs
...
Removed unnecessary construction of POCO to represent data from POST body
4 years ago
Brian Arnold
ca25301e64
Added Required attribute to Text property of MessageCommand.
4 years ago
Brian C. Arnold
998833ea6e
Removed null check for body object and user [Required] attribute in replacement.
4 years ago
Brian Arnold
f114ba57dd
Fixed comment and code block runes to match coding
...
standards required by Jellyfin team.
4 years ago
Brian Arnold
81e3e5ca48
Changed SessionController.SendMessageCommand
...
implementation receive data in the POST body, as that is how the
jellyfin-web client currently posts the data to the server.
Resolves : #5628
4 years ago
Claus Vium
9144d11a9d
Merge pull request #5624 from crobibero/subtitle-format
4 years ago
crobibero
afe3b5999e
Fix route naming
4 years ago
lmaonator
694d772b11
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
crobibero
5b758c4711
Mark query parameters as obsolete
4 years ago
lmaonator
db2fbcef2b
Fix stream selection having no effect when casting
...
When casting to jellyfin-mpv-shim from jellyfin-web in the browser,
jellyfin-web sends data about which version (for grouped items) and
which streams the user selected in the browser to the
"Sessions/{sessionId}/Playing" API endpoint.
The API endpoint currently doesn't forward them to jellyfin-mpv-shim
through the Play command, which results in the default streams being
played instead of the browser selected ones.
PlayRequest already has the properties and they are already sent to the
cast client by SendPlayCommand when present.
jellyfin-mpv-shim will already use them to select the wanted streams
when it receives the Play command.
All that's needed to make it work is to take the parameters and assign
them to PlayRequest.
4 years ago
crobibero
e0ff51cf2a
Mark query parameters as obsolete
4 years ago
crobibero
73fe9d3f69
Allow subtitle format to be set from query parameter.
4 years ago
cvium
b3d084044e
enable range processing for download endpoints
4 years ago
Szymon Acedański
b1e8a8565f
Update Jellyfin.Api/Helpers/FileStreamResponseHelpers.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
Szymon Acedański
136136dea9
Fix incorrect responses for HEAD /audio/<id>/stream
...
Without this fix my Samsung Soundbar (HW-Q80R) fails to play using DLNA
and returns "Error: Resource not found (716)" instead.
I had a look on tcpdump network logs between Jellyfin and the soundbar
and noticed that the device performs a HEAD request for the media before
responding to the DLNA UPNP control request from Jellyfin (or BubbleUPNP
Android App).
Jellyfin retuns 204 No Content response, which is unusual. Common web
servers generally return 200 OK if the GET would return content, and
this is not-very-clearly suggested [in HTTP
spec](https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1 )
The other patch is to ensure, that invalid Content-Length: 0 is not
returned with the HEAD response in the streaming case.
I think in both cases we still don't return the same headers with HEAD
as with GET (e.g. Content-Length or Accept-Ranges), but at least we
don't return anything misleading.
4 years ago
David
19e4ef82dd
Remove conversion from IPAddress to string to IPAddress
4 years ago
cvium
7dedeb6c79
change HLS endpoint defaults to false
4 years ago
Erwin de Haan
1f3aa3fe6f
Apply review suggestions
4 years ago
Erwin de Haan
239a7156cc
Fix arbitrary image file reads in ImageByNameController
...
GHSL-2021-050: Issue 4 Arbitrary image file read and directory traversal.
4 years ago
Erwin de Haan
f61d18612b
Fix directory traversal in the HlsSegmentController in a fairly rudimentary but working way.
...
GHSL-2021-050: Issue 1,2,3 Arbitrary file read and directory traversal.
The segment id's can probably just be verified to be an actual ID or to not contain any forward or backward slashes
4 years ago
Patrick Barron
e5380c653b
Merge branch 'master' into ef-cleanup
...
# Conflicts:
# Jellyfin.Data/Entities/Libraries/MediaFileStream.cs
# Jellyfin.Data/Jellyfin.Data.csproj
4 years ago