aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api
AgeCommit message (Collapse)Author
2021-04-17Remove unused using directivesBaronGreenback
2021-04-12fix webp compatibility testing (#5787)Claus Vium
2021-04-12Mark cropWhitespace parameter as obsolete (#5751)Cody Robibero
2021-04-11Merge pull request #5764 from cvium/fix-folders-permsJoshua M. Boniface
Do not check permissions for Folders collectiontype
2021-04-11(mostly)Fix ResizeFillOdd Stråbø
2021-04-11Add Resize to fill box alternative to image endpointsOdd Stråbø
2021-04-10Merge pull request #5750 from iwalton3/fix-audio-selection-unsClaus Vium
Fix setting audio stream in PlaybackInfo for jellyfin-web.
2021-04-10Do not check permissions for Folders collectiontypecvium
2021-04-10Merge pull request #4988 from Bond-009/cropBond-009
2021-04-09Fix setting audio stream in PlaybackInfo for jellyfin-web.Ian Walton
2021-04-07Merge pull request #5710 from ↵Bond-009
jellyfin/dependabot/nuget/Microsoft.AspNetCore.Authorization-5.0.5 Bump Microsoft.AspNetCore.Authorization from 5.0.3 to 5.0.5
2021-04-07Merge pull request #5631 from BrianCArnold/FixMessageCommandClaus Vium
2021-04-06Bump Microsoft.AspNetCore.Authorization from 5.0.3 to 5.0.5dependabot[bot]
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>
2021-04-03Merge pull request #5598 from cvium/fix_hls_default_valuesBond-009
2021-04-03Merge pull request #5602 from Ullmie02/IP-string-IPBond-009
2021-03-31Apply suggestions from code reviewBrianCArnold
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-31Update SessionController.csBrianCArnold
2021-03-30Update SessionController.csBrianCArnold
Removed unnecessary construction of POCO to represent data from POST body
2021-03-29Added Required attribute to Text property of MessageCommand.Brian Arnold
2021-03-27Removed null check for body object and user [Required] attribute in replacement.Brian C. Arnold
2021-03-27Fixed comment and code block runes to match codingBrian Arnold
standards required by Jellyfin team.
2021-03-27Changed SessionController.SendMessageCommandBrian Arnold
implementation receive data in the POST body, as that is how the jellyfin-web client currently posts the data to the server. Resolves: #5628
2021-03-27Merge pull request #5624 from crobibero/subtitle-formatClaus Vium
2021-03-26Fix route namingcrobibero
2021-03-26Update Jellyfin.Api/Controllers/SessionController.cslmaonator
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-03-26Mark query parameters as obsoletecrobibero
2021-03-26Fix stream selection having no effect when castinglmaonator
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.
2021-03-25Mark query parameters as obsoletecrobibero
2021-03-25Allow subtitle format to be set from query parameter.crobibero
2021-03-25enable range processing for download endpointscvium
2021-03-24Update Jellyfin.Api/Helpers/FileStreamResponseHelpers.csSzymon Acedański
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-03-24Fix incorrect responses for HEAD /audio/<id>/streamSzymon Acedański
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.
2021-03-23Remove conversion from IPAddress to string to IPAddressDavid
2021-03-22change HLS endpoint defaults to falsecvium
2021-03-20Apply review suggestionsErwin de Haan
2021-03-20Fix arbitrary image file reads in ImageByNameControllerErwin de Haan
GHSL-2021-050: Issue 4 Arbitrary image file read and directory traversal.
2021-03-20Fix directory traversal in the HlsSegmentController in a fairly rudimentary ↵Erwin de Haan
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
2021-03-14Merge branch 'master' into ef-cleanupPatrick Barron
# Conflicts: # Jellyfin.Data/Entities/Libraries/MediaFileStream.cs # Jellyfin.Data/Jellyfin.Data.csproj
2021-03-14Merge pull request #5422 from Bond-009/warn51Bond-009
2021-03-13Merge pull request #5518 from crobibero/missing-endpointsBond-009
Add missing InstantMix endpoints
2021-03-13FxCop -> Net Analyzers (part 2)Bond_009
2021-03-13Add missing InstantMix endpointscrobibero
2021-03-13Merge pull request #5515 from jellyfin/fix-refresh-endpointBond-009
fix refresh endpoint
2021-03-13fix refresh endpointClaus Vium
It was originally a POST https://github.com/jellyfin/jellyfin/blob/9af6eda0b495649e3a77694b2bb30abad1a26484/MediaBrowser.Api/Library/LibraryService.cs#L155
2021-03-11Fix third part integrationcrobibero
2021-03-10Merge pull request #5403 from BaronGreenback/DLNAProfileFixClaus Vium
2021-03-10Update StreamingHelpers.csBaronGreenback
Updated condition
2021-03-09Use FileShare.Read for log filesDavid
2021-03-09FxCop -> Net Analyzers (part 1)Bond_009
2021-03-07Fix unreachable code & assign id to each profile.BaronGreenback