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
Bond-009
0e5d4a3bcf
Merge pull request #5422 from Bond-009/warn51
4 years ago
Bond-009
8bb2420a25
Merge pull request #5518 from crobibero/missing-endpoints
...
Add missing InstantMix endpoints
4 years ago
Bond_009
a8ed753f6c
FxCop -> Net Analyzers (part 2)
4 years ago
crobibero
9ac9543ee2
Add missing InstantMix endpoints
4 years ago
Bond-009
260b48ef9d
Merge pull request #5515 from jellyfin/fix-refresh-endpoint
...
fix refresh endpoint
4 years ago
Claus Vium
fe2a310fe2
fix refresh endpoint
...
It was originally a POST 9af6eda0b4/MediaBrowser.Api/Library/LibraryService.cs (L155)
4 years ago
crobibero
eef15dc7ac
Fix third part integration
4 years ago
Claus Vium
5592967497
Merge pull request #5403 from BaronGreenback/DLNAProfileFix
4 years ago
BaronGreenback
84da57cd48
Update StreamingHelpers.cs
...
Updated condition
4 years ago
David
ece0d67f99
Use FileShare.Read for log files
4 years ago
Bond_009
9ed7f429c0
FxCop -> Net Analyzers (part 1)
4 years ago
BaronGreenback
75c9659e05
Fix unreachable code & assign id to each profile.
4 years ago
David
60ffa6f514
Use FileShare.None when creating files
4 years ago
Patrick Barron
f638ee6b09
Enable nullable for Jellyfin.Data and remove unnecessary attributes
4 years ago
Bond-009
e839929b91
Merge pull request #5380 from Bond-009/plugins
...
100% branch coverage for DashboardController
4 years ago
Bond-009
3741be51ec
Merge pull request #5383 from cvium/fix-mergeversions-overflow
...
do not pick a linked item as primary when merging versions
4 years ago
cvium
59814bd55e
do not pick a linked item as primary when merging versions
4 years ago
Claus Vium
d0a2d00b29
Fix UpdateMediaPath model binding ( #5378 )
4 years ago
Bond_009
a6d0db5d04
100% branch coverage for DashboardController
4 years ago
crobibero
858c91ab48
Specify defaults or set query parameter to nullable
4 years ago
BaronGreenback
d819a1d928
Remove Content-Length header from DLNA HEAD request ( #5335 )
4 years ago
Bond-009
c2af32d035
Merge pull request #5299 from Bond-009/tests13
4 years ago
Bond_009
914e891689
Fix unchecked input
4 years ago
Bond_009
aff0aea60f
Improve branch coverage
4 years ago
Joshua M. Boniface
7ece3c5523
Merge pull request #5273 from Bond-009/warn31
4 years ago
Joshua M. Boniface
c0c4aff8a6
Merge pull request #5276 from Bond-009/minor12
4 years ago
Joshua M. Boniface
da55462d92
Merge pull request #5291 from Bond-009/tests12
4 years ago
dependabot[bot]
875e02318c
Bump Swashbuckle.AspNetCore from 6.0.5 to 6.0.7
...
Bumps [Swashbuckle.AspNetCore](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.0.5 to 6.0.7.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.5...v6.0.7 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond_009
ec3237ba55
Fix tests
4 years ago
Bond_009
57102090d3
Add tests for DashboardController
4 years ago
dependabot[bot]
29fb2c57c8
Bump Swashbuckle.AspNetCore.ReDoc from 6.0.5 to 6.0.7
...
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.0.5 to 6.0.7.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.5...v6.0.7 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond_009
b1fe28d0a6
Use GetEncodingOptions where possible
4 years ago
Bond_009
eba859e33e
Minor improvements
4 years ago
Bond_009
40b9e7592f
Fix build
4 years ago
Bond_009
141efafd3d
Enable TreatWarningsAsErrors for MediaBrowser.Model
4 years ago
dkanada
13d65318eb
Merge pull request #5223 from Bond-009/minor10
...
Minor improvements
4 years ago
dkanada
175e2a5249
Merge pull request #5242 from jellyfin/cancellationtokens
...
Properly forward cancellationTokens
4 years ago
crobibero
6ad2544a30
Bump Swashbuckle.AspNetCore to 6.0.5
4 years ago
Bond_009
e9f22303a4
Properly forward cancellationTokens
4 years ago
dependabot[bot]
7feef9a01b
Bump Swashbuckle.AspNetCore.ReDoc from 6.0.2 to 6.0.5
...
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 6.0.2 to 6.0.5.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v6.0.2...v6.0.5 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
Bond-009
6616add8c8
Merge pull request #5213 from Bond-009/tests9
...
Add tests for RequestHelpers.GetItemTypeStrings
4 years ago
Bond_009
65bab55ca0
Minor improvements
4 years ago
dkanada
9fcdbd4c4b
remove deprecated settings from server config
4 years ago
Bond_009
97935d2cd2
Add tests for RequestHelpers.GetItemTypeStrings
4 years ago
Bond-009
76d66e0dee
Merge pull request #5208 from crobibero/api-post-image
...
Add image file accept to openapi
4 years ago
crobibero
223b42aed3
Create BaseItemKind enum
4 years ago
crobibero
d5f0b046bb
Add image file accept to openapi
4 years ago
crobibero
407c35f087
Update to dotnet 5.0.3
4 years ago
dependabot[bot]
df121c1516
Bump Swashbuckle.AspNetCore.ReDoc from 5.6.3 to 6.0.2
...
Bumps [Swashbuckle.AspNetCore.ReDoc](https://github.com/domaindrivendev/Swashbuckle.AspNetCore ) from 5.6.3 to 6.0.2.
- [Release notes](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/releases )
- [Commits](https://github.com/domaindrivendev/Swashbuckle.AspNetCore/compare/v5.6.3...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
David Ullmer
07f1a2c2dc
Update Jellyfin.Api/Controllers/UserController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
David
eb0ff0c370
Fix forgot password pin request
4 years ago
dkanada
86859a3926
Merge pull request #5010 from BaronGreenback/Remove_IPluginConfigurationPage
...
Removal of IPluginConfigurationPage
4 years ago
Claus Vium
63be326302
Merge pull request #5117 from jellyfin/fix-framerate-locale
...
Make FRAME-RATE field culture invariant
4 years ago
nyanmisaka
3ce0d589ba
make FRAME-RATE field culture invariant
4 years ago
Bond-009
4a2678e63b
Merge pull request #5097 from Bond-009/cleanup4
...
Remove useless abstraction and clean up formatting
4 years ago
crobibero
77b417e41e
Mark non-nullable body as null
4 years ago
Bond_009
f6b293203a
Restore weird behaviour
4 years ago
Bond_009
1c2cd7efa0
Remove useless abstraction and clean up formatting
4 years ago
Bond_009
d24e7f60c7
Fix GetOrderBy and add tests
4 years ago
crobibero
55670b91b2
Use ArrayModelBinder for sortBy and sortOrder
4 years ago
Joshua M. Boniface
4b6b90e0b1
Merge pull request #5069 from crobibero/obsolete-param
4 years ago
Joshua M. Boniface
3bf7e18886
Merge pull request #5031 from crobibero/5.0.2
...
Update to dotnet 5.0.2
4 years ago
Cody Robibero
91a9af95c2
Apply suggestions from code review
...
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
4 years ago
crobibero
59ff2c5b4b
Add ability to mark query parameter as obsolete.
4 years ago
crobibero
a087ab389a
dotnet 5.0.2
4 years ago
crobibero
3b9567d583
Add query parameter to disable returning first episode as next up
4 years ago
BaronGreenback
a4e838fbf5
Remoed configurationPageType
4 years ago
BaronGreenback
c6aa6ceed9
Removal of IPluginConfigurationPage
4 years ago
crobibero
5f998bdd1f
Require elevated auth to upload subtitles
4 years ago
Bond_009
620fbf0f89
Remove CropWhitespace function
4 years ago
crobibero
a15e126ef8
Fix inverted SkipWhile
4 years ago
Bond-009
9a10a18db1
Merge pull request #4905 from BaronGreenback/streamingHelper
...
Null exception fix
4 years ago
crobibero
1b894798b1
Change log level for converters
4 years ago
BaronGreenback
11700db312
Update StreamingHelpers.cs
...
Null exception fix
4 years ago
Cody Robibero
5c57569692
Merge branch 'master' into PluginDowngrade
4 years ago
BaronGreenback
4c291da45c
Encoding fix for System Logs. ( #4564 )
4 years ago
BaronGreenback
889e988167
Updated to latest unstable.
4 years ago
BaronGreenback
62702fa3eb
Changes as requested
4 years ago
Bond-009
3a452463fc
Merge pull request #4849 from crobibero/clean-deps
...
Remove unused dependencies
4 years ago
Joshua M. Boniface
bfdd4727b5
Merge pull request #4850 from BaronGreenback/NetworkApiFix
...
Null reference fix
4 years ago
Joshua M. Boniface
a77788906c
Merge pull request #4821 from BaronGreenback/disableDlna
4 years ago
BaronGreenback
e113a50597
Possible null reference fix.
4 years ago
crobibero
1dac2226c4
Remove unused deps
4 years ago
BaronGreenback
bc9462981e
changed to constants
4 years ago
BaronGreenback
bf24929d27
Changed to 503.
4 years ago
Claus Vium
53119ed2a1
Merge pull request #4824 from crobibero/livestream-post-body
...
Add request parameters to OpenLiveStreamDto
4 years ago
Claus Vium
98da2c67a5
Merge pull request #4836 from crobibero/dashboard-theme
...
Return dashboardTheme when requesting DisplayPreferences
4 years ago
David
13de663201
Fix similar endpoint for TV
4 years ago
crobibero
a682fc4516
Return dashboardTheme when requesting DisplayPreferences
4 years ago
David
eba403158e
Re-add IsMovie
4 years ago
David
f4d1e33010
Fix similar items endpoint for movies and TV
4 years ago
crobibero
4539164d38
Add request parameters to OpenLiveStreamDto
4 years ago
BaronGreenback
9470712118
Added xml docs
4 years ago
BaronGreenback
3d0b9f9ea1
Did the other API,
4 years ago
BaronGreenback
c98144c60d
Updated docs.
4 years ago
BaronGreenback
f06d52c475
Disable API if dlna is disabled.
4 years ago
Greenback
5d748c0e9f
Renamed to ImagePath
4 years ago
BaronGreenback
5d5b198525
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
e445c2932a
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
crobibero
56ae63433f
Set filename when downloading file
4 years ago
Greenback
1ed25ebd9a
Corrections as recommended.
4 years ago
Greenback
ebbb57efc3
Change json default settings.
4 years ago
Claus Vium
21d2e9ff0c
Merge pull request #4771 from crobibero/typed-get-preference
...
Use typed UserManager GetPreference
4 years ago
Greenback
5323887540
Replaced TryGetPlugin with GetPlugin
4 years ago
Greenback
00ff3b9096
remove attribute
4 years ago
BaronGreenback
aecd35d306
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
24ab152e9d
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
e4993ae574
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
2afa963fc1
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
3f1ad7f963
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Greenback
c197dca759
Changed PluginId to guid so its the same type as plugin.id
4 years ago
Greenback
eb2439f23b
Changes as recommended.
4 years ago
Bond-009
e84622b4ab
Merge pull request #4794 from cvium/fix_image_upload
...
Convert from base64 when saving item images
4 years ago
Bond-009
906ee4f962
Merge pull request #4781 from crobibero/map-xmltv
...
Use request body for mapping xml channels
4 years ago
Greenback
208d545cfe
Changed as suggested.
4 years ago
Greenback
dddcfa6dbb
Suggested changes.
4 years ago
BaronGreenback
41466c430d
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
cvium
5b4eef741a
Convert from base64 when saving item images
4 years ago
BaronGreenback
33385c1b8c
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
1c6529c9eb
Update Jellyfin.Api/Controllers/PluginsController.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
BaronGreenback
67c480ad53
Merge branch 'master' into PluginDowngrade
4 years ago
Greenback
356d92cd71
Fixed repository listing
4 years ago
Greenback
494ace7984
Mark plugin failure on DI Loop.
4 years ago
Greenback
d2d45295fc
Rollback change.
4 years ago
Greenback
a246a77ada
Delete plugin working.
4 years ago
Greenback
7986465cf7
Initial upload
4 years ago
Joshua M. Boniface
4f6a585424
Merge pull request #4716 from OancaAndrei/syncplay-new-auth-policies
4 years ago
crobibero
c6b381db10
Use request body for mapping xml channels
4 years ago
crobibero
ee23d06154
Use a more descriptive function name
4 years ago
Claus Vium
13bb5e1ead
Merge pull request #4761 from crobibero/playlist
4 years ago
Claus Vium
f8ef38c0ea
Merge pull request #4758 from nyanmisaka/fix-landingScreen-options
4 years ago
crobibero
b670937c3d
Use typed UserManager GetPreference
4 years ago
Bond-009
04ba59ab40
Merge pull request #4766 from barronpm/usermanager-async
...
Convert DeleteUser to async
4 years ago
Patrick Barron
76f61eb0d6
Convert DeleteUser to async
4 years ago
Nyanmisaka
a79c210c76
fix typo
...
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
4 years ago
crobibero
297b7ea6fa
Fix empty body for PlaybackInfo
4 years ago
crobibero
0d2106a272
Allow playlist to be created by query string
4 years ago
nyanmisaka
0332b72502
fix landing screen options
4 years ago