Jump to content

How to add streaming radio URLs to music library?


jachin99

Recommended Posts

Just tried that in a bunch of apps including the browser and vlc is the only one that could handle it so there must be something non standard about it.

Link to comment
Share on other sites

OK. VLC is showing as Streaming Info the following URL, which is also working well in Firefox and Chrome:

http://dg-swr-http-dus-dtag-cdn.cast.addradio.de/swr/swr3/live/mp3/128/stream.mp3

I've updated the strm file and recreated my "radio" Library...
Now, Emby is only showing the rotating "loading" circle... without any error or playback :-(
 

Edited by CChris
Link to comment
Share on other sites

hi,

Short error description:

After using the link

http://dg-swr-http-dus-dtag-cdn.cast.addradio.de/swr/swr3/live/mp3/128/stream.mp3

Using Firefox and Chrome, I'm getting the Error Message that no compatible stream could be found, with the following information in the error logs:

 

2019-02-24 19:43:51.077 Info App: User policy for Christoph.Caina. EnableAudioPlaybackTranscoding: True
2019-02-24 19:43:51.078 Info App: [LinuxMount] Checking we can attempt to mount [/volume1/music/emby/04_Radio/SWR 3/swr3.strm], Extension = [.strm], Operating System = [Linux], Executables Available = [True].
2019-02-24 19:43:51.078 Info HttpClient: HttpClientManager GET: http://swr-swr3-live.cast.addradio.de/swr/swr3/live/mp3/128/stream.mp3
2019-02-24 19:43:51.194 Info HttpServer: HTTP Response 200 to 109.192.243.27. Time: 121ms. http://media.caina.de:8096/emby/Audio/23175/universal?UserId=cf29c9bee8f04205b17d4b8333565b21&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1&MaxStreamingBitrate=700000000&Container=opus,mp3|mp3,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1551033827108&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2019-02-24 19:43:51.221 Info HttpServer: HTTP GET http://media.caina.de:8096/emby/Audio/23175/universal?UserId=cf29c9bee8f04205b17d4b8333565b21&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1&MaxStreamingBitrate=700000000&Container=opus,mp3|mp3,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1551033827108&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
2019-02-24 19:43:51.223 Info App: User policy for Christoph.Caina. EnableAudioPlaybackTranscoding: True
2019-02-24 19:43:51.225 Info App: [LinuxMount] Checking we can attempt to mount [/volume1/music/emby/04_Radio/SWR 3/swr3.strm], Extension = [.strm], Operating System = [Linux], Executables Available = [True].
2019-02-24 19:43:51.229 Error HttpServer: Error processing request
	*** Error Report ***
	Version: 4.0.2.0
	Command line: /var/packages/EmbyServer/target/server/EmbyServer.exe -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 4.4.59.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: False
	Mono: 5.18.0.240 (tarball Fri Jan 18 15:40:28 UTC 2019)
	Processor count: 2
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.0.2.0
	System.ArgumentException: System.ArgumentException: The 'Range' header must be modified using the appropriate property or method.
	Parameter name: name
	  at System.Net.WebHeaderCollection.ThrowOnRestrictedHeader (System.String headerName) [0x0002f] in <06b225350c3541b2a422a59539189a6b>:0 
	  at System.Net.WebHeaderCollection.Set (System.String name, System.String value) [0x0001c] in <06b225350c3541b2a422a59539189a6b>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.AddRequestHeaders (System.Net.HttpWebRequest request, MediaBrowser.Common.Net.HttpRequestOptions options) [0x0007a] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.GetRequest (MediaBrowser.Common.Net.HttpRequestOptions options, System.String method) [0x00062] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x000b0] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.GetStaticRemoteStreamResult (Emby.Server.MediaEncoding.Api.StreamState state, System.Collections.Generic.Dictionary`2[TKey,TValue] responseHeaders, System.Boolean isHeadRequest, System.Threading.CancellationTokenSource cancellationTokenSource) [0x00136] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.ProcessRequest (Emby.Server.MediaEncoding.Api.StreamRequest request, System.Boolean isHeadRequest) [0x00284] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at Emby.Server.MediaEncoding.Api.UniversalAudioService.GetUniversalStream (Emby.Server.MediaEncoding.Api.GetUniversalAudioStream request, System.Boolean isHeadRequest) [0x0073e] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult (System.Threading.Tasks.Task task) [0x00081] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.Logging.ILogger logger, System.String operationName, System.Threading.CancellationToken cancellationToken) [0x0023e] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.String urlString, System.String host, System.String localPath, System.Threading.CancellationToken cancellationToken) [0x00af1] in <5837600bbe23491d837720283845e3f2>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	  at System.Net.WebHeaderCollection.ThrowOnRestrictedHeader (System.String headerName) [0x0002f] in <06b225350c3541b2a422a59539189a6b>:0 
	  at System.Net.WebHeaderCollection.Set (System.String name, System.String value) [0x0001c] in <06b225350c3541b2a422a59539189a6b>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.AddRequestHeaders (System.Net.HttpWebRequest request, MediaBrowser.Common.Net.HttpRequestOptions options) [0x0007a] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.GetRequest (MediaBrowser.Common.Net.HttpRequestOptions options, System.String method) [0x00062] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsyncInternal (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x000b0] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpClientManager.HttpClientManager.SendAsync (MediaBrowser.Common.Net.HttpRequestOptions options, System.String httpMethod) [0x0009e] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.GetStaticRemoteStreamResult (Emby.Server.MediaEncoding.Api.StreamState state, System.Collections.Generic.Dictionary`2[TKey,TValue] responseHeaders, System.Boolean isHeadRequest, System.Threading.CancellationTokenSource cancellationTokenSource) [0x00136] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at Emby.Server.MediaEncoding.Api.Progressive.BaseProgressiveStreamingService.ProcessRequest (Emby.Server.MediaEncoding.Api.StreamRequest request, System.Boolean isHeadRequest) [0x00284] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at Emby.Server.MediaEncoding.Api.UniversalAudioService.GetUniversalStream (Emby.Server.MediaEncoding.Api.GetUniversalAudioStream request, System.Boolean isHeadRequest) [0x0073e] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult (System.Threading.Tasks.Task task) [0x00081] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync (Emby.Server.Implementations.HttpServer.HttpListenerHost appHost, MediaBrowser.Model.Services.IRequest httpReq, MediaBrowser.Model.Services.IResponse httpRes, MediaBrowser.Model.Logging.ILogger logger, System.String operationName, System.Threading.CancellationToken cancellationToken) [0x0023e] in <5837600bbe23491d837720283845e3f2>:0 
	  at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler (MediaBrowser.Model.Services.IRequest httpReq, System.String urlString, System.String host, System.String localPath, System.Threading.CancellationToken cancellationToken) [0x00af1] in <5837600bbe23491d837720283845e3f2>:0 
	
2019-02-24 19:43:51.230 Info HttpServer: HTTP Response 400 to 109.192.243.27. Time: 10ms. http://media.caina.de:8096/emby/Audio/23175/universal?UserId=cf29c9bee8f04205b17d4b8333565b21&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1&MaxStreamingBitrate=700000000&Container=opus,mp3|mp3,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1551033827108&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2019-02-24 19:43:51.235 Info HttpServer: HTTP POST http://media.caina.de:8096/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
2019-02-24 19:43:51.238 Info PlaybackReporting - EventMonitorEntryPoint: Adding playback tracker : TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1-cf29c9bee8f04205b17d4b8333565b21-42dd0266b463c559863140c384b26f51
2019-02-24 19:43:51.238 Info PlaybackReporting - EventMonitorEntryPoint: PlaybackTracker : Adding Start Event : 2/24/2019 7:43:51 PM
2019-02-24 19:43:51.238 Info PlaybackReporting - EventMonitorEntryPoint: Creating StartPlaybackTimer Task
2019-02-24 19:43:51.239 Info PlaybackReporting - EventMonitorEntryPoint: StartPlaybackTimer : Entered
2019-02-24 19:43:51.239 Info HttpServer: HTTP Response 204 to 109.192.243.27. Time: 4ms. http://media.caina.de:8096/emby/Sessions/Playing
2019-02-24 19:43:51.283 Info HttpServer: HTTP GET http://media.caina.de:8096/emby/Users/cf29c9bee8f04205b17d4b8333565b21/Items/23175. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
2019-02-24 19:43:51.287 Info HttpServer: HTTP Response 200 to 109.192.243.27. Time: 4ms. http://media.caina.de:8096/emby/Users/cf29c9bee8f04205b17d4b8333565b21/Items/23175
2019-02-24 19:43:51.336 Info HttpServer: HTTP POST http://media.caina.de:8096/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
2019-02-24 19:43:51.337 Info HttpServer: HTTP GET http://media.caina.de:8096/emby/Users/cf29c9bee8f04205b17d4b8333565b21/Items?SortBy=DatePlayed&SortOrder=Descending&IncludeItemTypes=Audio&Limit=24&Recursive=true&Fields=PrimaryImageAspectRatio%2CCanDelete&Filters=IsPlayed&ParentId=856f63504c187f820893a8f061515aaa&ImageTypeLimit=1&EnableImageTypes=Primary&EnableTotalRecordCount=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
2019-02-24 19:43:51.337 Info HttpServer: HTTP GET http://media.caina.de:8096/emby/Users/cf29c9bee8f04205b17d4b8333565b21/Items?SortBy=PlayCount&SortOrder=Descending&IncludeItemTypes=Audio&Limit=24&Recursive=true&Fields=PrimaryImageAspectRatio%2CCanDelete&Filters=IsPlayed&ParentId=856f63504c187f820893a8f061515aaa&ImageTypeLimit=1&EnableImageTypes=Primary&EnableTotalRecordCount=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:65.0) Gecko/20100101 Firefox/65.0
2019-02-24 19:43:51.341 Info HttpServer: HTTP Response 200 to 109.192.243.27. Time: 4ms. http://media.caina.de:8096/emby/Users/cf29c9bee8f04205b17d4b8333565b21/Items?SortBy=DatePlayed&SortOrder=Descending&IncludeItemTypes=Audio&Limit=24&Recursive=true&Fields=PrimaryImageAspectRatio%2CCanDelete&Filters=IsPlayed&ParentId=856f63504c187f820893a8f061515aaa&ImageTypeLimit=1&EnableImageTypes=Primary&EnableTotalRecordCount=false
2019-02-24 19:43:51.341 Info SessionManager: Playback stopped reported by app Emby Mobile 4.0.2.0 playing swr3. Stopped at 0 ms
2019-02-24 19:43:51.343 Info HttpServer: HTTP Response 200 to 109.192.243.27. Time: 5ms. http://media.caina.de:8096/emby/Users/cf29c9bee8f04205b17d4b8333565b21/Items?SortBy=PlayCount&SortOrder=Descending&IncludeItemTypes=Audio&Limit=24&Recursive=true&Fields=PrimaryImageAspectRatio%2CCanDelete&Filters=IsPlayed&ParentId=856f63504c187f820893a8f061515aaa&ImageTypeLimit=1&EnableImageTypes=Primary&EnableTotalRecordCount=false
2019-02-24 19:43:51.344 Info PlaybackReporting - EventMonitorEntryPoint: Playback stop tracker found, processing stop : TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1-cf29c9bee8f04205b17d4b8333565b21-42dd0266b463c559863140c384b26f51
2019-02-24 19:43:51.344 Info PlaybackReporting - EventMonitorEntryPoint: PlaybackTracker : Adding Stop Event : 2/24/2019 7:43:51 PM
2019-02-24 19:43:51.344 Info PlaybackReporting - EventMonitorEntryPoint: Playback stop but TrackedPlaybackInfo not found! not storing activity in DB
2019-02-24 19:43:51.344 Info HttpServer: HTTP Response 204 to 109.192.243.27. Time: 8ms. http://media.caina.de:8096/emby/Sessions/Playing/Stopped
2019-02-24 19:43:58.141 Info HttpServer: HTTP GET http://media.caina.de:8096/embywebsocket?deviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzcyLjAuMzYyNi45NiBTYWZhcmkvNTM3LjM2fDE1NDk5MjY1Mzk3MDQ1. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36
2019-02-24 19:43:58.141 Error HttpServer: Could not find handler for /embywebsocket
Edited by CChris
Link to comment
Share on other sites

  • 2 years later...

Came across this thread searching for a way to add my favorite web radio to Emby.  It's the RTBF Classic 21 (classic rock) radio.  The stream apparently only exist as an ACC stream: https://radios.rtbf.be/classic21-64.aac - at least I'm unable to find any other type. Anyway, it works in a browser and I was also able to add it as a stream to my Volumio player, but when I add it in a .strm file I get the same playback error someone reported with .pls files.   Is this more than just allowing an .aac extension in .strm files?

Edited by renecd
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...