Jump to content

How do I add online radios?


bigeyez
Go to solution Solved by Luke,

Recommended Posts

hispeed

@@Luke

 

In Switzerland we have often streams like this:

http://stream.srg-ssr.ch/drs1/mp3_128.m3u

http://broadcast.infomaniak.ch/energy00s-high.mp3.m3u

 

I can use a .strm file like this: "http://pool.radiopaloma.de/RP-Kuschelschlager.mp3"<- this works fine.

UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509079&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-07 21:25:54.348 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i "http://stream.srg-ssr.ch/drs1/mp3_128.m3u" -threads 0 -v info -print_format json -show_streams -show_format
2020-01-07 21:25:54.605 Info MediaProbeManager: ProcessRun 'ffprobe' Process exited with code 1
2020-01-07 21:25:54.614 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.3.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
	Operating system: Unix 3.10.0.957
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Exception: System.Exception: ffprobe failed for "http://stream.srg-ssr.ch/drs1/mp3_128.m3u" - streams and format are both null: 
	{
	
	}
	
	
	ffprobe version 4.3.0-emby_2019_11_09 Copyright (c) 2007-2019 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 8.3.0 (crosstool-NG 1.24.0)
	http://stream.srg-ssr.ch/drs1/mp3_128.m3u: Invalid data found when processing input
	
	
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean forceEnableLogging, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.MediaInfo.FFProbeAudioInfo.Probe[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken)
	   at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()
Link to comment
Share on other sites

hispeed

Yes a .m3u Stream file is not working. 

 

if you put: "http://stream.srg-ssr.ch/drs1/mp3_128.m3u"in a .strm file you can't play it in Emby.

2020-01-08 20:23:58.734 Info HttpClient: GET http://stream.srg-ssr.ch/drs1/mp3_128.m3u
2020-01-08 20:23:58.779 Info HttpServer: HTTP Response 200 to 10.10.13.13. Time: 60ms. https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509082&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2020-01-08 20:23:58.785 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509082&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:23:58.794 Info App: User policy for Admin. EnableAudioPlaybackTranscoding: True
2020-01-08 20:23:58.801 Info HttpClient: GET http://stream.srg-ssr.ch/drs1/mp3_128.m3u
2020-01-08 20:23:58.869 Info HttpServer: HTTP Response 206 to 10.10.13.13. Time: 84ms. https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509082&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2020-01-08 20:23:58.879 Info HttpServer: HTTP POST https://10.10.13.15:6024/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:23:58.883 Info HttpServer: HTTP POST https://10.10.13.15:6024/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:23:58.887 Info SessionManager: Playback start reported by app Emby Web 4.3.1.0 playing Energy - Zürich. Started at 0 ms
2020-01-08 20:23:58.889 Info HttpServer: HTTP Response 204 to 10.10.13.13. Time: 10ms. https://10.10.13.15:6024/emby/Sessions/Playing
2020-01-08 20:23:58.894 Info HttpServer: HTTP Response 204 to 10.10.13.13. Time: 11ms. https://10.10.13.15:6024/emby/Sessions/Playing/Progress
2020-01-08 20:23:58.983 Info HttpServer: HTTP POST https://10.10.13.15:6024/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:23:58.985 Info SessionManager: Playback stopped reported by app Emby Web 4.3.1.0 playing Energy - Zürich. Stopped at 0 ms
2020-01-08 20:23:58.986 Info HttpServer: HTTP Response 204 to 10.10.13.13. Time: 3ms. https://10.10.13.15:6024/emby/Sessions/Playing/Stopped
2020-01-08 20:24:30.102 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/Users/771f88969261412589e785b5ca35e4c3/Items/365493. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:24:30.113 Info HttpServer: HTTP Response 200 to 10.10.13.13. Time: 11ms. https://10.10.13.15:6024/emby/Users/771f88969261412589e785b5ca35e4c3/Items/365493
2020-01-08 20:24:30.121 Info HttpServer: HTTP HEAD https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509083&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:24:30.129 Info App: User policy for Admin. EnableAudioPlaybackTranscoding: True
2020-01-08 20:24:30.135 Info HttpClient: GET http://stream.srg-ssr.ch/drs1/mp3_128.m3u
2020-01-08 20:24:30.234 Info HttpServer: HTTP Response 200 to 10.10.13.13. Time: 114ms. https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509083&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2020-01-08 20:24:30.240 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509083&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:24:30.248 Info App: User policy for Admin. EnableAudioPlaybackTranscoding: True
2020-01-08 20:24:30.254 Info HttpClient: GET http://stream.srg-ssr.ch/drs1/mp3_128.m3u
2020-01-08 20:24:30.324 Info HttpServer: HTTP Response 206 to 10.10.13.13. Time: 85ms. https://10.10.13.15:6024/emby/Audio/365493/universal?UserId=771f88969261412589e785b5ca35e4c3&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NCkgQXBwbGVXZWJLaXQvNTM3LjM2IChLSFRNTCwgbGlrZSBHZWNrbykgQ2hyb21lLzc5LjAuMzk0NS44OCBTYWZhcmkvNTM3LjM2fDE1Nzc5NTYxNTgwMzQ1&MaxStreamingBitrate=140000000&Container=opus,mp3|mp3,mp2,mp3|mp2,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=aac&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1578427509083&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2020-01-08 20:24:30.332 Info HttpServer: HTTP POST https://10.10.13.15:6024/emby/Sessions/Playing. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:24:30.336 Info HttpServer: HTTP POST https://10.10.13.15:6024/emby/Sessions/Playing/Progress. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:24:31.880 Error HttpServer: Error in ProcessAccept
	*** Error Report ***
	Version: 4.3.1.0
	Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-rpm_{version}_x86_64.rpm
	Operating system: Unix 3.10.0.957
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll
	Processor count: 2
	Program data path: /var/lib/emby
	Application directory: /opt/emby-server/system
	System.Security.Authentication.AuthenticationException: System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. ---> Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL. ---> Interop+Crypto+OpenSslCryptographicException: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
	   --- End of inner exception stack trace ---
	   at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
	   at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, SslAuthenticationOptions sslAuthenticationOptions)
	   --- End of inner exception stack trace ---
	   at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)
	   at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)
	   at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)
	--- End of stack trace from previous location where exception was thrown ---
	   at System.Net.Security.SslState.ThrowIfExceptional()
	   at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)
	   at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)
	   at System.Net.Security.SslStream.EndAuthenticateAsServer(IAsyncResult asyncResult)
	   at System.Net.Security.SslStream.<>c.<AuthenticateAsServerAsync>b__50_2(IAsyncResult iar)
	   at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
	--- End of stack trace from previous location where exception was thrown ---
	   at SocketHttpListener.Net.HttpConnection.Init()
	   at SocketHttpListener.Net.HttpEndPointListener.ProcessAccept(SocketAsyncEventArgs args)
	Source: System.Private.CoreLib
	TargetSite: Void Throw()
	InnerException: Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error - SSL_ERROR_SSL.
	Source: System.Net.Security
	TargetSite: Boolean DoSslHandshake(Microsoft.Win32.SafeHandles.SafeSslHandle, Byte[], Int32, Int32, Byte[] ByRef, Int32 ByRef)
	   at Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte[] recvBuf, Int32 recvOffset, Int32 recvCount, Byte[]& sendBuf, Int32& sendCount)
	   at System.Net.Security.SslStreamPal.HandshakeInternal(SafeFreeCredentials credential, SafeDeleteContext& context, SecurityBuffer inputBuffer, SecurityBuffer outputBuffer, SslAuthenticationOptions sslAuthenticationOptions)
	InnerException: Interop+Crypto+OpenSslCryptographicException: error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown
	Source: 
	TargetSite: 
	
2020-01-08 20:24:31.885 Info HttpServer: HTTP POST https://10.10.13.15:6024/emby/Sessions/Playing/Stopped. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:24:31.885 Info SessionManager: Playback start reported by app Emby Web 4.3.1.0 playing Energy - Zürich. Started at 0 ms
2020-01-08 20:24:31.886 Info SessionManager: Playback stopped reported by app Emby Web 4.3.1.0 playing Energy - Zürich. Stopped at 0 ms
2020-01-08 20:24:31.887 Info HttpServer: HTTP Response 204 to 10.10.13.13. Time: 1554ms. https://10.10.13.15:6024/emby/Sessions/Playing
2020-01-08 20:24:31.888 Info HttpServer: HTTP Response 204 to 10.10.13.13. Time: 3ms. https://10.10.13.15:6024/emby/Sessions/Playing/Stopped
2020-01-08 20:24:31.891 Info HttpServer: HTTP Response 204 to 10.10.13.13. Time: 1555ms. https://10.10.13.15:6024/emby/Sessions/Playing/Progress
2020-01-08 20:25:18.599 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/Users/771f88969261412589e785b5ca35e4c3. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:25:18.604 Info HttpServer: HTTP Response 200 to 10.10.13.13. Time: 5ms. https://10.10.13.15:6024/emby/Users/771f88969261412589e785b5ca35e4c3
2020-01-08 20:25:18.658 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/Sessions?ActiveWithinSeconds=900. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:25:18.660 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/ScheduledTasks. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
2020-01-08 20:25:18.661 Info HttpServer: HTTP Response 200 to 10.10.13.13. Time: 3ms. https://10.10.13.15:6024/emby/Sessions?ActiveWithinSeconds=900
2020-01-08 20:25:18.662 Info HttpServer: HTTP GET https://10.10.13.15:6024/emby/System/Info. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
Link to comment
Share on other sites

Those are internetradio streams from radio stations. I don't know why .m3u is the ending.

 

There's nothing standard about this, so I'm afraid it's not supported. It's an m3u, and then you download that, it contains two urls inside.

  • Like 1
Link to comment
Share on other sites

Happy2Play

You can take the url from the m3u and create a IPTV channel with that url.

  • Like 1
Link to comment
Share on other sites

Just to make this complete: 

 

This is probably again a swiss Idea which makes no sense at all maybe security issues.

Thank you Happy2Play I can also add the link from the m3u file into a .strm file and it works also.

 

This is for me solved.

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...