added oga, webma to audio streaming url

This commit is contained in:
Luke Pulverenti 2013-04-01 20:54:06 -04:00
parent 11d282388a
commit f1224c6389
3 changed files with 9 additions and 1 deletions

View File

@ -14,14 +14,18 @@ namespace MediaBrowser.Api.Playback.Progressive
[Route("/Audio/{Id}/stream.aac", "GET")]
[Route("/Audio/{Id}/stream.flac", "GET")]
[Route("/Audio/{Id}/stream.ogg", "GET")]
[Route("/Audio/{Id}/stream.oga", "GET")]
[Route("/Audio/{Id}/stream.webma", "GET")]
[Route("/Audio/{Id}/stream", "GET")]
[Route("/Audio/{Id}/stream.mp3", "HEAD")]
[Route("/Audio/{Id}/stream.wma", "HEAD")]
[Route("/Audio/{Id}/stream.aac", "HEAD")]
[Route("/Audio/{Id}/stream.flac", "HEAD")]
[Route("/Audio/{Id}/stream.ogg", "HEAD")]
[Route("/Audio/{Id}/stream.oga", "HEAD")]
[Route("/Audio/{Id}/stream.webma", "HEAD")]
[Route("/Audio/{Id}/stream", "HEAD")]
[ServiceStack.ServiceHost.Api(Description = "Gets an audio stream")]
[Api(Description = "Gets an audio stream")]
public class GetAudioStream : StreamRequest
{

View File

@ -473,6 +473,7 @@ namespace MediaBrowser.WebDashboard.Api
"mediaplayer.js",
"metadataconfigurationpage.js",
"metadataimagespage.js",
"movies.js",
"moviesrecommended.js",
"pluginspage.js",
"pluginupdatespage.js",

View File

@ -189,6 +189,9 @@
<Content Include="dashboard-ui\scripts\itembynamedetailpage.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\scripts\movies.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="dashboard-ui\scripts\moviesrecommended.js">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>