• Welcome to RadioDJ - Free Radio Automation Software Forum. Please log in or sign up.

Display image for track/show

Started by Paul E, August 20, 2021, 04:14:16 PM

Paul E

So ... I use RDJ with Icecast streaming at 128k mp3. The metatdata works fine over BUTT, Rocket Broadcaster, MB Recaster.

Most of the tracks I play are podcasts running anywhere from 1 to 4 hours. Whilst the show is running I would like to display the image for that show/track on the web page. I assume all the show images need to be on the website server (they are). So ... what is the best way to get the metadata to trigger the correct image and get it to display somewhere alongside the player and the metadata for that current track/show ?

RFU

Open the stream file in the tracks manager, go to the album art tab, and import the album art\

after that, the stream will always show the album art
Гордий бути українцем, Ми - Радіо Вільної України.

Paul E

I am familiar with adding the image to the tracks. But how do I get that image to display on the public facing player. ie not on RDJ but on the player on the webpage ?

Jhonny

Where are your images stored?
You can use the stream titles to point where the track image is.
Currently on
RDJ V 2.0.4.8
MariaDB V 10.6.21
WIN 11 PRO

Paul E

#4
They can be stored wherever is best. Right now I am running a wordpress site and they are stored there in the media folder.

Also, is there a player that would work best for this purpose ?

And what would the format of the stream titles need to be ?

RFU

I use the old now playing php script, which I am sure Jhonny can give you a link to

And I added it to the front page of my wordpress site in an iframe. I also use the radiodj wordpress plugin with some modifications. It doesn't show album art, but as mentioned previously, I found a work around

There are wordpress players available but none that will link to the radiodj database for album art.
Гордий бути українцем, Ми - Радіо Вільної України.

stevewa


plauri

Quote from: stevewa on August 21, 2021, 01:08:09 AM
Lol I'm drunk. MP3? It's 2021
What's wrong with streaming at 128 mp3? Many web radios use it and even Broadcast FM station use lower bitrates, I have seen 64 AAC+... Most important is the quality of your track source, they sound better if they are flac.
Funky Corner Radio
Radiodj v.2.0.4.5 (Windows 10)
http://www.funkycorner.radio
https://www.funkycorner.it
http://www.radiofunkycorner.com

Paul E

Quote from: Jhonny on August 20, 2021, 06:38:38 PM
Where are your images stored?
You can use the stream titles to point where the track image is.

I have the url's for the stored images - they sit on the icecast server. I use Rocket Broadcaster Pro to stream from RDJ to the Icecast server.

Would you have an example of the stream titles format you refer to ?


stevewa

which html5 audio player code are you using on your website?  each one is different, so you'd need to read the instructions on how to configure it to read the metadata, either sent inside the stream, or out-of-band metadata posted to your webserver scripting language, and then set the img.src property in the html 5 player.

and just because other stations still broadcast in mp3, doesn't mean you should continue in their lazy tradition. :)

Paul E

Hi -

So, the mp3 thing  :)

We do not stream out to listeners in mp3 - 48k AAC+ and 48k Opus are our listener streams. Audio from RDJ to Icecast was 128k mp3 as I was of the understanding that this was the most durable way to stream the audio plus the metadata. Since I saw your drunken comment (I am joking btw) re mp3 I have switched the RDJ to Icecast stream over to 128k AAC+ and all works well.

The icecast server comes as part of an Azuracast VPS which has its own player. We use it as when we tweek RDJ we stream from Azuracast to avoid dead air. Azuracast is also an easy install and includes https streaming output in Opus, AAC+, mp3.

I will look at/use any player that will work well with RDJ metadata and display the album art at the same time. The Azuracast player handles text metadata fine - I just need a way to simultaneously display the artwork during streaming.

If that means using another player* fine ... any suggestions on that score ?

Thx

* I guess it must have been suggested here on the forum, but a RadioDJ player working seamlessly with RDJ would be a neat thing to have. It would be worth paying for.

RFU

I've never seen a player that allows you to insert code for album art. You can try my original suggestion above.

Just have the "now playing" info sit on top of the player (as long as it's static on the page and not floating)
Гордий бути українцем, Ми - Радіо Вільної України.

Paul E

I have resolved it via the Azuracast player. Many thanks for the suggestions and pointers along the way.

The attached image shows it now working. The Live stream (Studio 1) is RDJ streaming that song, but the image is coming from Azuracast.

[attachment deleted by admin]

RFU

The problem with relying on someone else to provide the image is that they don't have every image you need
Гордий бути українцем, Ми - Радіо Вільної України.

Paul E

We create all our own images for the shows/tracks so that's not an issue for us at this stage.