CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
1.06k stars 49 forks source link

Functionality with Azuracast #54

Closed gradation0746 closed 1 year ago

gradation0746 commented 1 year ago

Tempo is quickly becoming my go-to music app.

I self-host several radio stations using Azuracast. I pull those stations into navidrome after which I can access the streams in the Tempo app.

I'd like to be able to see track metadata in the app: track name, artist name, album cover, track duration, etc. Is there a way to do this? Would Azuracast need to provide more information to the stream?

CappielloAntonio commented 1 year ago

I'm sorry, but I don't think it is possible. The Subsonic API allows you to stream an audio stream given a source url.

Specifically, this is the result of the getInternetRadioStations call:

<subsonic-response xmlns="http://subsonic.org/restapi" status="ok" version="1.9.0">
    <internetRadioStations>
        <internetRadioStation id="0" name="NRK P1" streamUrl="http://lyd.nrk.no/nrk_radio_p1_ostlandssendingen_mp3_m" homePageUrl="http://www.nrk.no/p1"/>
        <internetRadioStation id="1" name="NRK P2" streamUrl="http://lyd.nrk.no/nrk_radio_p2_mp3_m" homePageUrl="http://p3.no"/>
    </internetRadioStations>
</subsonic-response>

As you can see I have no other information to work with, other than the stream url.

However, I will keep an eye on the thread on r/navidrome, in case a solution to the problem comes out.