Jump to content

How to add streaming radio URLs to music library?


jachin99

Recommended Posts

jachin99

I have some web sites, and IP addresses that I use to consume internet radio stations via Windows media center, and I'm wondering if there is a way to add these to the music section of Emby.  Radio is one area where there are plenty of free, legal sources around the internet so it would be a way to add quite a bit of content to emby.  

  • Like 1
Link to comment
Share on other sites

jachin99

Sammy if it makes you feel better I have been able to get URLs out of a few TuneIn stations but I don't have a 100 percent success rate. You basically sniff the urls with a browser. I think the dev for tune in hasn't updated it in a while.

Link to comment
Share on other sites

arrbee99

Does anyone know if you can create a separate library just containing radio stations ? I had one radio station working as a trial in a music library, but now that I've tried creating a separate Radio library, type music, with a few radio .strm files in it, it won't show up at all under My Media.

Link to comment
Share on other sites

Does anyone know if you can create a separate library just containing radio stations ? I had one radio station working as a trial in a music library, but now that I've tried creating a separate Radio library, type music, with a few radio .strm files in it, it won't show up at all under My Media.

Maybe a stupid question, but did you edit the user account in Emby to grant access to that new Music library and did you do a library scan ?

When radio strm's are added to a Music library, the should appear in the "Folders" section of a music library.

 

Radio strm files, I have mixed results with, on the different Emby clients I have available, from which the beta iOS client supports most types of stream types like *.pls

So that seems another project for Luke next year, to give that some TLC. Now other things have more priority, like the new Live TV Gracenote Guide provider and the automatic hardware acceleration detection.

  • Like 1
Link to comment
Share on other sites

jachin99

I'll want to add images to each station but I'm not aware of any .nfo generators for internet radio stations.  All I really need is a way to add stations logos.  Is there a way to point to a logo url either via the web or a  local file in these strm files?  If I have to generate a .nfo, which field inside of nfo would I use to create a logo?

Edited by jachin99
Link to comment
Share on other sites

arrbee99

Maybe a stupid question, but did you edit the user account in Emby to grant access to that new Music library and did you do a library scan ?

When radio strm's are added to a Music library, the should appear in the "Folders" section of a music library.

 

Radio strm files, I have mixed results with, on the different Emby clients I have available, from which the beta iOS client supports most types of stream types like *.pls

So that seems another project for Luke next year, to give that some TLC. Now other things have more priority, like the new Live TV Gracenote Guide provider and the automatic hardware acceleration detection.

 

Ha, obviously not a stupid question as no access wasn't granted at all. Never occurred to me as it was being created by, I guess, admin, and assumed it would be automatic unless access was specifically denied. Thanks for that  :)

Link to comment
Share on other sites

  • 4 weeks later...
jellelle

pls yes, but the links in the playlists need to point to existing library files.

 

Could you please explain this?

I can't stream *.pls files:

5c331257801f7_Capture.jpg

 

This works:

http://mediaserv38.live-streams.nl:8027/live
http://icecast.vrtcdn.be/radio1-high.mp3

This doesn't work:

http://www.rcgoldserver.eu:8253/listen.pls
Link to comment
Share on other sites

jachin99

Going off Luke's answer, it looks like your link that doesn't work is a .pls file streamed from the web. I'm guessing that if you were to create your own pls file pointing to existing music or streams that might work?

Link to comment
Share on other sites

Senna

 

This doesn't work:

http://www.rcgoldserver.eu:8253/listen.pls

This PLS URL works in Emby iOS 1.7.1 beta 3 client.

 

Like I said before:

 

Radio strm files, I have mixed results with, on the different Emby clients I have available, from which the beta iOS client supports most types of stream types like *.pls

  • Like 1
Link to comment
Share on other sites

jellelle

Going off Luke's answer, it looks like your link that doesn't work is a .pls file streamed from the web. I'm guessing that if you were to create your own pls file pointing to existing music or streams that might work?

 

Using link.strm containing the URL doesn't work for me, nor does the *.pls file inside a folder.

Using Chrome and Android.

 

I can live without it, I was just wondering if I did something wrong :)

Edited by jellelle
Link to comment
Share on other sites

  • 1 month later...

Hi,

I just wanted to add some of my favorite radios into emby.

I've tried to use the TuneIn Plugin, but have some issues with the setup of "latlon" ... the Link given in the description doesn't work anymore - and I don't know, how I should enter the lat / lon for my location into the input field.
Also, I would prefer any other method instead of using TuneIn... I don't care about much of their content... and I would like to administrate the radio channels by my own.

The Radio Station I want to add is providing an m3u file-link
http://mp3-live.swr3.de/swr3_m.m3u

is it possible to add such a link into emby for playing back?

Link to comment
Share on other sites

Hi, I have now put the stream-link (see my post above) into such a strm file.
It was recognized by emby, but I can't play back the stream.
It's just showing that there 'currently no compatible stream was found'

The URL itself is working, when I open the Link within VLC.

below the embyserver log:
 

2019-02-24 17:28:01.251 Info HttpServer: HTTP HEAD http://media.caina.de:8096/emby/Audio/23171/universal?UserId=cf29c9bee8f04205b17d4b8333565b21&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1&MaxStreamingBitrate=305454545&Container=opus,mp3|mp3,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1551025676700&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 17:28:01.256 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 17:28:01.256 Info MediaEncoder: Ffprobe -analyzeduration 3000000 -i "http://mp3-live.swr3.de/swr3_m.m3u" -threads 0 -v info -print_format json -show_streams -show_format
2019-02-24 17:28:01.279 Info MediaEncoder: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -analyzeduration 3000000 -i "http://mp3-live.swr3.de/swr3_m.m3u" -threads 0 -v info -print_format json -show_streams -show_format
2019-02-24 17:28:01.288 Info MediaEncoder: ProcessRun 'ffprobe' Started.
2019-02-24 17:28:01.405 Info MediaEncoder: ProcessRun 'ffprobe' Process exited with code 1
2019-02-24 17:28:01.407 Error App: Error in ffprobe
	*** 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.Exception: System.Exception: ffprobe failed for "http://mp3-live.swr3.de/swr3_m.m3u" - streams and format are both null: 
	{
	
	}
	
	
	ffprobe version 4.0.2-emby_2018_12_09-20190209T164910UTC Copyright (c) 2007-2018 the FFmpeg developers
	  built with gcc 7.3.0 (GCC)
	  configuration: --prefix=/var/packages/EmbyServer/target/ffmpeg --enable-cross-compile --cross-prefix=x86_64-syno-linux-gnu- --target-os=linux --disable-rpath --enable-pthreads --arch=x86_64 --enable-libzimg --enable-libmfx --enable-vaapi --enable-x86asm --enable-gpl --enable-shared --disable-static --disable-debug --disable-ffplay --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-gnutls --enable-libass --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfreetype --enable-fontconfig --enable-gray --enable-libfribidi --enable-libvidstab --enable-libzvbi --disable-indev=sndio --disable-outdev=sndio --extra-version=20190209T164910UTC --extra-libs='-luuid -lstdc++'
	  libavutil      56. 14.100 / 56. 14.100
	  libavcodec     58. 18.100 / 58. 18.100
	  libavformat    58. 12.100 / 58. 12.100
	  libavdevice    58.  3.100 / 58.  3.100
	  libavfilter     7. 16.100 /  7. 16.100
	  libswscale      5.  1.100 /  5.  1.100
	  libswresample   3.  1.100 /  3.  1.100
	  libpostproc    55.  1.100 / 55.  1.100
	http://mp3-live.swr3.de/swr3_m.m3u: Invalid data found when processing input
	
	
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal (System.String inputPath, System.String primaryPath, MediaBrowser.Model.MediaInfo.MediaProtocol protocol, System.Boolean extractChapters, System.String probeSizeArgument, System.Boolean isAudio, System.Boolean forceEnableLogging, System.Threading.CancellationToken cancellationToken) [0x001c9] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeAudioInfo.Probe[T] (T item, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, System.Threading.CancellationToken cancellationToken) [0x0025e] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2[TItemType,TIdType].RunCustomProvider (MediaBrowser.Controller.Providers.ICustomMetadataProvider`1[TItemType] provider, TItemType item, System.String logName, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, MediaBrowser.Providers.Manager.RefreshResult refreshResult, System.Threading.CancellationToken cancellationToken) [0x000d9] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal (System.String inputPath, System.String primaryPath, MediaBrowser.Model.MediaInfo.MediaProtocol protocol, System.Boolean extractChapters, System.String probeSizeArgument, System.Boolean isAudio, System.Boolean forceEnableLogging, System.Threading.CancellationToken cancellationToken) [0x001c9] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeAudioInfo.Probe[T] (T item, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, System.Threading.CancellationToken cancellationToken) [0x0025e] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2[TItemType,TIdType].RunCustomProvider (MediaBrowser.Controller.Providers.ICustomMetadataProvider`1[TItemType] provider, TItemType item, System.String logName, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, MediaBrowser.Providers.Manager.RefreshResult refreshResult, System.Threading.CancellationToken cancellationToken) [0x000d9] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	
2019-02-24 17:28:01.432 Info App: User policy for Christoph.Caina. EnableAudioPlaybackTranscoding: True
2019-02-24 17:28:01.433 Info HttpClient: HttpClientManager POST: https://mb3admin.com/admin/service/registration/validate
2019-02-24 17:28:01.434 Info HttpServer: HTTP Response 200 to 109.192.243.27. Time: 184ms. http://media.caina.de:8096/emby/Audio/23171/universal?UserId=cf29c9bee8f04205b17d4b8333565b21&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1&MaxStreamingBitrate=305454545&Container=opus,mp3|mp3,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1551025676700&StartTimeTicks=0&EnableRedirection=true&EnableRemoteMedia=false
2019-02-24 17:28:01.483 Info HttpServer: HTTP GET http://media.caina.de:8096/emby/Audio/23171/universal?UserId=cf29c9bee8f04205b17d4b8333565b21&DeviceId=TW96aWxsYS81LjAgKFdpbmRvd3MgTlQgMTAuMDsgV2luNjQ7IHg2NDsgcnY6NjUuMCkgR2Vja28vMjAxMDAxMDEgRmlyZWZveC82NS4wfDE1NTAwMTA5MzQ0Mjk1&MaxStreamingBitrate=305454545&Container=opus,mp3|mp3,aac|aac,m4a|aac,mp4|aac,flac,webma,webm,wav,ogg&TranscodingContainer=ts&TranscodingProtocol=hls&AudioCodec=aac&PlaySessionId=1551025676700&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 17:28:01.486 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 17:28:01.486 Info MediaEncoder: Ffprobe -analyzeduration 3000000 -i "http://mp3-live.swr3.de/swr3_m.m3u" -threads 0 -v info -print_format json -show_streams -show_format
2019-02-24 17:28:01.486 Info MediaEncoder: ProcessRun 'ffprobe' Execute: /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -analyzeduration 3000000 -i "http://mp3-live.swr3.de/swr3_m.m3u" -threads 0 -v info -print_format json -show_streams -show_format
2019-02-24 17:28:01.494 Info MediaEncoder: ProcessRun 'ffprobe' Started.
2019-02-24 17:28:01.606 Info MediaEncoder: ProcessRun 'ffprobe' Process exited with code 1
2019-02-24 17:28:01.608 Error App: Error in ffprobe
	*** 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.Exception: System.Exception: ffprobe failed for "http://mp3-live.swr3.de/swr3_m.m3u" - streams and format are both null: 
	{
	
	}
	
	
	ffprobe version 4.0.2-emby_2018_12_09-20190209T164910UTC Copyright (c) 2007-2018 the FFmpeg developers
	  built with gcc 7.3.0 (GCC)
	  configuration: --prefix=/var/packages/EmbyServer/target/ffmpeg --enable-cross-compile --cross-prefix=x86_64-syno-linux-gnu- --target-os=linux --disable-rpath --enable-pthreads --arch=x86_64 --enable-libzimg --enable-libmfx --enable-vaapi --enable-x86asm --enable-gpl --enable-shared --disable-static --disable-debug --disable-ffplay --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --enable-gnutls --enable-libass --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libfreetype --enable-fontconfig --enable-gray --enable-libfribidi --enable-libvidstab --enable-libzvbi --disable-indev=sndio --disable-outdev=sndio --extra-version=20190209T164910UTC --extra-libs='-luuid -lstdc++'
	  libavutil      56. 14.100 / 56. 14.100
	  libavcodec     58. 18.100 / 58. 18.100
	  libavformat    58. 12.100 / 58. 12.100
	  libavdevice    58.  3.100 / 58.  3.100
	  libavfilter     7. 16.100 /  7. 16.100
	  libswscale      5.  1.100 /  5.  1.100
	  libswresample   3.  1.100 /  3.  1.100
	  libpostproc    55.  1.100 / 55.  1.100
	http://mp3-live.swr3.de/swr3_m.m3u: Invalid data found when processing input
	
	
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal (System.String inputPath, System.String primaryPath, MediaBrowser.Model.MediaInfo.MediaProtocol protocol, System.Boolean extractChapters, System.String probeSizeArgument, System.Boolean isAudio, System.Boolean forceEnableLogging, System.Threading.CancellationToken cancellationToken) [0x001c9] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeAudioInfo.Probe[T] (T item, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, System.Threading.CancellationToken cancellationToken) [0x0025e] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2[TItemType,TIdType].RunCustomProvider (MediaBrowser.Controller.Providers.ICustomMetadataProvider`1[TItemType] provider, TItemType item, System.String logName, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, MediaBrowser.Providers.Manager.RefreshResult refreshResult, System.Threading.CancellationToken cancellationToken) [0x000d9] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	Source: mscorlib
	TargetSite: Void Throw()
	  at Emby.Server.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal (System.String inputPath, System.String primaryPath, MediaBrowser.Model.MediaInfo.MediaProtocol protocol, System.Boolean extractChapters, System.String probeSizeArgument, System.Boolean isAudio, System.Boolean forceEnableLogging, System.Threading.CancellationToken cancellationToken) [0x001c9] in <8d3c2eae278a44b89027f6e03c623f02>:0 
	  at MediaBrowser.Providers.MediaInfo.FFProbeAudioInfo.Probe[T] (T item, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, System.Threading.CancellationToken cancellationToken) [0x0025e] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	  at MediaBrowser.Providers.Manager.MetadataService`2[TItemType,TIdType].RunCustomProvider (MediaBrowser.Controller.Providers.ICustomMetadataProvider`1[TItemType] provider, TItemType item, System.String logName, MediaBrowser.Controller.Providers.MetadataRefreshOptions options, MediaBrowser.Providers.Manager.RefreshResult refreshResult, System.Threading.CancellationToken cancellationToken) [0x000d9] in <3dd6cb4e99294cca81d77ebb6c7c6114>:0 
	
2019-02-24 17:28:01.609 Info HttpClient: HttpClientManager POST: https://mb3admin.com/admin/service/registration/validate
2019-02-24 17:28:01.610 Info App: User policy for Christoph.Caina. EnableAudioPlaybackTranscoding: True
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...