Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Senior Member tfec's Avatar
    Join Date
    Oct 2005
    Location
    Germany
    Posts
    276

    Website - Icecast - LMS

    The situation:
    a) LMS runs on a QNAP NAS in a Docker container
    b) the music is not available online as a stream, it is only available via the website
    c) the sound is rendered on a Mac using blackhole 2ch, redirected to
    d) App 'butt', which then forwards to an Icecast server, which in turn runs on QNAP
    e) the Icecast2 then delivers the music as QGG Vorbis to the server address xxx.xxx.x.xx:48000/stream, which is then streamed from the LMS to my end devices.

    The question:
    Is there an easier way to play the music on the LMS?
    Last edited by tfec; 2022-01-17 at 16:37.
    LMS 8.3 on Raspberry Pi 4B running openHABIAN | 1x Raspberry Pi Zero 2 W + moOde 7 UPnP as USB-Player + TEAC UD-501 USB-DAC + Phonitor Mini Headphone Amplifier + AKG K812 headphones | 4x Squeezbox Radio | 1x Raspbery Pi4 + Allo Boss 2 + Marantz PM 8000 + B&W Nautilus 805 | 1x Squeezelite on MacBook Pro Monterey

  2. #2
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,480
    Try to play this as a stream URL
    https://mediandr-a.akamaihd.net/prog...-1647-3100.mp3

    If that works then you might be able to predict the URL for other shows, otherwise maybe someone could make a plugin that parses their data.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  3. #3
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,480
    The ARD Mediatek plugin might be a good starting point.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  4. #4
    Senior Member tfec's Avatar
    Join Date
    Oct 2005
    Location
    Germany
    Posts
    276
    Quote Originally Posted by Paul Webster View Post
    Try to play this as a stream URL
    https://mediandr-a.akamaihd.net/prog...-1647-3100.mp3

    If that works then you might be able to predict the URL for other shows, otherwise maybe someone could make a plugin that parses their data.

    ...

    The ARD Mediatek plugin might be a good starting point.
    Ok, thanks. Searching the ARD Mediathek but have not found this special broadcast.

    How did you find the URL?

    The first part is self-explanatory but the last digits change with every episode. I got my DEV-tools with the show from 2022-01-08 and found for example the following:


    Name:  Screenshot at Jan 18 12-22-28.png
Views: 90
Size:  32.7 KB

    Code:
    <audio preload="auto" title="Musik vom Kronos Quartet, Ralph Heidel oder Loyle Carner - mit Charlotte Oelschl" poster="/kultur/programm/oelschlegel110_v-podcast.jpg" x-webkit-airplay="allow"><source src="https://mediandr-a.akamaihd.net/progressive/2022/0108/AU-20220108-1548-0500.mp3" type="audio/mpeg"></audio>
    Last edited by tfec; 2022-01-18 at 04:29.
    LMS 8.3 on Raspberry Pi 4B running openHABIAN | 1x Raspberry Pi Zero 2 W + moOde 7 UPnP as USB-Player + TEAC UD-501 USB-DAC + Phonitor Mini Headphone Amplifier + AKG K812 headphones | 4x Squeezbox Radio | 1x Raspbery Pi4 + Allo Boss 2 + Marantz PM 8000 + B&W Nautilus 805 | 1x Squeezelite on MacBook Pro Monterey

  5. #5
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,480
    It looks like they build the page with back-end server code and do not pass json/XML/similar through to the browser - so unless you can find an API somewhere there (I could not) then it would require "screen scraping" - and it looks like the audio link is not predictable from the data the higher up page so it would mean fetching the linked page and then parsing it etc etc

    Starting from their EPG (for example https://www.ndr.de/kultur/programm/e...022-01-16.html ) might be a good way in since it would get you to all of their programmes ... and if done in a LMS plugin then it would make it possible to navigate by day etc.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

Posting Permissions

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