diff options
| author | Bond-009 <bond.009@outlook.com> | 2020-08-20 10:52:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-20 10:52:28 +0200 |
| commit | 250e351613e0eed7977c8cdad4a9078927458feb (patch) | |
| tree | 24cc23c99a3ad5aceaa97509680839aac6429937 /Jellyfin.Api/Controllers/AudioController.cs | |
| parent | 3d840473209bcf1d0a706c779a367fc45e90da40 (diff) | |
| parent | 11e3cdb3cba8932ee2aca39fec9275329c6f5c59 (diff) | |
Merge pull request #3938 from crobibero/fix-audio-routes
Fix conflicting audio routes
Diffstat (limited to 'Jellyfin.Api/Controllers/AudioController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/AudioController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Controllers/AudioController.cs b/Jellyfin.Api/Controllers/AudioController.cs index d300b4891..802cd026e 100644 --- a/Jellyfin.Api/Controllers/AudioController.cs +++ b/Jellyfin.Api/Controllers/AudioController.cs @@ -83,9 +83,9 @@ namespace Jellyfin.Api.Controllers /// <param name="streamOptions">Optional. The streaming options.</param> /// <response code="200">Audio stream returned.</response> /// <returns>A <see cref="FileResult"/> containing the audio file.</returns> - [HttpGet("{itemId}/{stream=stream}.{container?}", Name = "GetAudioStreamByContainer")] + [HttpGet("{itemId}/stream.{container}", Name = "GetAudioStreamByContainer")] [HttpGet("{itemId}/stream", Name = "GetAudioStream")] - [HttpHead("{itemId}/{stream=stream}.{container?}", Name = "HeadAudioStreamByContainer")] + [HttpHead("{itemId}/stream.{container}", Name = "HeadAudioStreamByContainer")] [HttpHead("{itemId}/stream", Name = "HeadAudioStream")] [ProducesResponseType(StatusCodes.Status200OK)] public async Task<ActionResult> GetAudioStream( |
