Pictogram not visible on stream?


Question, i pick up streams from my dj’s but i want to use a pictogram on the stream like with the normal automation when the website is showing a picto of the song an artist.

I put a pictogram in the in stream but it does not show on the website.

someone a idea?

Intended picto

Actual picto on the website.

How do you regularly show Album Arts / Covers in your stream?

Is it done by your stream / hosting company by using their own API for finding covers automatically matching the metadata?

Hi Stefan,

Nice try but i’m not using a hosting company, i’m using own servers 2 of them :slight_smile:

sofar i know i don’t use an API

Okay, but

In other words: Where do your stream get the images from?

And what kind of self hosted streaming server are you using (shoutcast, icecast) ?

Hi! Exporting covers with mairlist isn’s that easy… I wrote a script and a php-file which handle the job. Every time the song changes, mairlist sends the saved cover of the soundfile to the server where the php-file receives it and it can be displayed. Btw this is not the same as the “Pictogram” you mentioned in your thread…


Hi ,

Would you like to share the script and php file ?


I have to correct my statement, exporting covers with mairlist is easy, if you know how to do it. But until you find someone who help or explanations of functions in mairlist you can use, it’s a pain in the a…

The way I used is the logging function of mairlist in which you can export the albumart by http-post.

Settings in mairlist:

  • in system settings → logging → add HTTP POST (multipart/form-data)
  • Base-URL is set to the server where the php-script (see below) is deposited. Looks like http(s)://yourserver.com/scriptname.php
  • parameter is named “albumart”, Value is “%ALBUMART” (all without the quotation marks)
  • optional you can un-check the field “deactivate when off air” in the options tab

The script for receiving the data form mairlist and store it as a jpeg-file in the directory given in the script:

$uploads_dir = '/cover';
$tmp_name = $_FILES["albumart"]["tmp_name"];
$name = basename($_FILES["albumart"]["name"]);
move_uploaded_file($tmp_name, "albumart.jpg");

And finaly a small html file which shows the “albumart.jpg” at 400 x 400 px.

 	<meta http-equiv="refresh" content="10">
 <img src="albumart.jpg" width="400px" height="400px"></img>

Tested on mairlist 6.3.19 Build 4476

That’s it, easy to do if you know how…



Works like a charm


Little change

<!DOCTYPE html>
<title>Radio BLA  BLA</title>
  <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  <meta http-equiv="Pragma" content="no-cache" />
  <meta http-equiv="Expires" content="0" />
<style>body {background-color: #E6E6FA;}</style>
<img id="idOfImageToReload" alt="AlbumArt" style="border-radius: 2%" width="500" onload="javascript:(function(){setTimeout(function(){document.getElementById('idOfImageToReload').src=document.getElementById('idOfImageToReload').src.split('?')[0]+'?time='+new Date().getTime();},5000);}())" src="/art/albumart.jpg" />

1 Like