Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Nov 2017
    Posts
    20

    HowTo: Get radio streams from TVHeadend server

    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
    Attached Images Attached Images  

  2. #2
    Junior Member
    Join Date
    Dec 2017
    Posts
    2
    What version of TVHeadend where you using when doing this? i am on version "4.2.4-22~gceaf330cb~xenial" and can't seem to find the same settings under Stream Profiles

  3. #3
    Junior Member
    Join Date
    Dec 2017
    Posts
    2
    Found it, when creating a new Stream profile, select the Transcode/av-lib

  4. #4
    Junior Member
    Join Date
    Nov 2017
    Posts
    20
    Great, so it works for you?

    How's the current master build? I've tried that 2 months ago and had a terrible mess with my recordings, so I went back to 4.2.3 stable ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •