Quantcast
Channel: Squeezebox : Community : Forums
Viewing all articles
Browse latest Browse all 10706

HowTo: Get radio streams from TVHeadend server

$
0
0
Hi,

I've discovered the LMS two days ago and this is exactly what I was looking for the last months ... I'm more than happy with this perfect project and would like to contribute some experience back to the community.

There are some radio streams which have some drawbacks. One favorite station of my wife likes to have streaming issues, others might not have best quality. Many local radios are also on satellite here (Germany), so my idea was to grab these for the LMS server.

I'm running TVHeadend here for watching TV, make recordings etc. A SAT>IP converter with 4 tuners is the frontend to the satellite dish. TVH can also grab radio channels and it can transcode ... so I've spent some time tonight to get this running with my LMS server.

In TVH you need to add the radio stations as channels which have channel numbers assigned. You can then access the streams from TVH with this URL:

http://IP_of_TVH:9981/stream/channelnumber/220

(220 is the channel number of that particular stream in this example)

I've added a stream profile in TVH to convert the satellite radio stream into a format which can be used as input by the LMS. I found a conversion as raw audio stream with the libfdk_aac codec as the only working solution, please see the attached screenshot of the stream profile.

Finally I created a user ("radio") assigned to the created stream profile and with a password as I'm using authentication on my TVH server, so the stream URL changes like this:

http://radio:password@IP_of_TVH:9981...nnelnumber/220

Paste the URL into LMS, added it to the favorites - and the radio input in satellite quality is ready. Of course you can add as many radio stations as you want now.

Maybe this might help anyone looking for the same solution :cool:
Attached Images
 

Viewing all articles
Browse latest Browse all 10706

Trending Articles