Intro file or fallback file does not play

Question:

I uploaded an intro file, but it does not play when listeners tune into the stream.

OR

I uploaded a fallback file, but it does not play when all sources are disconnected.

Why is this, and how do I fix it?

Answer:

Please make sure that your intro file's size does not exceed the UPLOAD_SIZE_LIMIT setting configured in /usr/local/centovacast/etc/centovacast.conf. The default value for this setting is 100MB.

If the size of your intro file is larger than this value, the intro file will be silently dropped by Centova Cast's web server before Centova Cast ever receives it. This is the most common reason for this problem.

You can confirm whether this is the problem by returning to the Files tab and checking whether an intro/fallback file is set. If an intro file has been set, you will see the words Currently: introfile.mp3 directly below the Intro File upload field, with an option to remove the intro file. If you do not see this, then Centova Cast has not received an intro file.

If you have confirmed that an intro file is indeed set, please check your SHOUTcast configuration file in /usr/local/centovacast/var/vhosts/USERNAME/etc/server.conf and see whether or not the IntroFile= line is set, and if so, verify that the intro file actually exists (/usr/local/centovacast/var/vhosts/USERNAME/var/spool/sounds/introfile.mp3). If they both exist, then there must be some problem with your SHOUTcast server, and/or you have not restarted the server since you uploaded the introduction file.

NOTE: This article is for Centova Cast v3 only; an alternate version exists for Centova Cast v2.