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
lmaonator
694d772b11
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
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
c8c5feacb6
Convert ClientCapabilities to a Dto with JsonConverters
4 years ago
crobibero
3cc0dd7e12
Reduce RequestHelpers.Split usage and remove RequestHelpers.GetGuids usage.
4 years ago
crobibero
f2a86d9c80
Remove CommaDelimitedArrayModelBinderProvider
4 years ago
github@esslinger.dev
c3e7eb3a6f
Merge branch '4214-supported-commands-enum' of https://github.com/skyfrk/jellyfin into 4214-supported-commands-enum
4 years ago
github@esslinger.dev
9aad772288
feat: implement CommaDelimitedArrayModelBinderProvider
4 years ago
Simon Eßlinger
d10090b394
fix: remove unused null check
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
github@esslinger.dev
ba12ea7f4a
feat: use CommaDelimitedArrayModelBinder to retain API
4 years ago
github@esslinger.dev
dd4f3a7c51
feat: convert supportedCommands strings to enums
4 years ago
Anthony Lavado
af24c43118
Merge pull request #4192 from nielsvanvelzen/generalcommand-sucks
...
Use GeneralCommandType enum in GeneralCommand
4 years ago
Niels van Velzen
891c538f81
Use GeneralCommandType in SessionController parameters
4 years ago
Niels van Velzen
3459655bb4
Use GeneralCommandType enum in GeneralCommand name
4 years ago
BaronGreenback
f71812abc0
Update SessionController.cs
4 years ago
BaronGreenback
9cb37ae9c2
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
701d54260d
Update SessionController.cs
4 years ago
BaronGreenback
7050525f6b
Update SessionController.cs
4 years ago
BaronGreenback
d8e8d298ea
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
eee977a77b
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
4dae7d0521
Update Jellyfin.Api/Controllers/SessionController.cs
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
BaronGreenback
ea7b3699c2
Update SessionController.cs
...
removed space
4 years ago
BaronGreenback
8738fe570a
Update SessionController.cs
4 years ago
BaronGreenback
81db323f88
Update SessionController.cs
4 years ago
crobibero
63ebae2f9e
Remove nullable from required
4 years ago
crobibero
14de45602b
fix play command route
4 years ago
crobibero
7294dc103f
Fix api routes
4 years ago
crobibero
29fc882037
merge all attributes
4 years ago
crobibero
59d47ec3f5
Make all FromRoute required
4 years ago
crobibero
07e7125d07
Fix dlna play to
4 years ago
crobibero
2e3ef18a11
fix route typo
4 years ago
crobibero
7b864e3a3c
parameter isn't actually required
4 years ago
crobibero
fffa94fc33
Apply fixes from review
4 years ago
crobibero
858aecd409
Fix all route for base url support
4 years ago
crobibero
9e00aa3014
fix openapi validation errors
4 years ago
crobibero
5d34b07d1f
Make query parameters nullable or set default value
4 years ago
crobibero
73bcda7eac
Make all optional strings nullable
4 years ago
David
5c6e9f4db5
Add missing authorization policies
4 years ago
crobibero
10ddbc34ec
Add missing attributes, fix response codes, fix route parameter casing
4 years ago
David
a5bd7f2d6e
Use new authorization and session functions
4 years ago
David
fff3c789b9
Move SessionService to Jellyfin.Api
5 years ago