Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Spotify Renderer
#16
To use the flac feed with Radio Paradise you need to fetch some some JSON from Radio Paradise pretending you are an Alexa.

This json has the url for the flac file with the metadata for the tracks in the file. The control point needs to queue the flac files but also keep track of the playing times to then update the display as there is no metadata in the file. Its this management that is the tricky bit and whether you support the next track feature or keep the previously played flac blocks and meta data or just consume like upmpdcli does.

I managed to prove the viability with some python butchery saving the meta data to a file, the dev for UPMPDCLI also used python, in a more professional manner, to do this managing of the playlist metadata and fetching of the next flac file (song block), I think he did for the intellectual challenge after he told me it was too much work for one radio station.
(no I did not share my script with him to spare his eyes and sanity)

To display the metadata including the album artwork could be done by modifying the Webpage to use upnpexplorer to get the current playing metadata from UPMPDCLI like is done for other sources. I have previously butchered the web page to use upnpexlorer all the time which kept the now playing page up to date, but would need a bit more thought about how to work out which is normal radio and which is this special stream.
Reply


Messages In This Thread
Spotify Renderer - by Tim Curtis - 09-03-2018, 10:45 PM
RE: Spotify Renderer - by FizzyTea - 09-04-2018, 09:14 AM
RE: Spotify Renderer - by TheOldPresbyope - 09-04-2018, 03:43 PM
RE: Spotify Renderer - by Tim Curtis - 09-04-2018, 05:05 PM
RE: Spotify Renderer - by Tim Curtis - 09-04-2018, 05:11 PM
RE: Spotify Renderer - by TheOldPresbyope - 09-04-2018, 05:41 PM
RE: Spotify Renderer - by MikeyFresh - 09-04-2018, 07:25 PM
RE: Spotify Renderer - by ferdzb - 09-04-2018, 05:52 PM
RE: Spotify Renderer - by ksone - 09-10-2018, 02:10 PM
RE: Spotify Renderer - by Tim Curtis - 09-04-2018, 07:10 PM
RE: Spotify Renderer - by Tim Curtis - 09-04-2018, 07:49 PM
RE: Spotify Renderer - by RafaPolit - 09-04-2018, 08:49 PM
RE: Spotify Renderer - by Tim Curtis - 09-04-2018, 10:22 PM
RE: Spotify Renderer - by Man in a van - 09-05-2018, 03:43 PM
RE: Spotify Renderer - by TheOldPresbyope - 09-05-2018, 05:42 PM
RE: Spotify Renderer - by serverbaboon - 09-09-2018, 03:46 PM
RE: Spotify Renderer - by Man in a van - 09-05-2018, 08:29 PM
RE: Spotify Renderer - by Tim Curtis - 09-10-2018, 02:27 PM
RE: Spotify Renderer - by boxfirm - 09-14-2018, 08:23 AM
RE: Spotify Renderer - by cereyanlimusiki - 04-05-2019, 08:33 AM
RE: Spotify Renderer - by TheOldPresbyope - 04-05-2019, 11:27 AM
RE: Spotify Renderer - by cereyanlimusiki - 04-05-2019, 11:45 AM
RE: Spotify Renderer - by Jempie - 05-06-2019, 10:06 AM

Forum Jump: