How do I use or upload an M3U file?

With having a centova cast account, you will have the ability to be able to upload m3u playlists.
With an m3u playlist, you can setup an actual playlist of specific songs (of your choice of course!), and have your playlist setup how you want it. The information below will give you an ideal setup of how to accomplish this in uploading to your media folder..
(IMPORTANT!!!!!!!!) Specifying file paths
When you build your M3U files, you would normally construct them using the paths to the MP3s on your local computer. In order for Centova Cast to use the same M3U file, however, the MP3s must be on the server, and the paths in the M3U file must refer to the paths on the server.> For example, say you have an MP3 on your computer named C:\MP3\Rock\rock_music.mp3, and you wish to create an M3U playlist file containing this single MP3. The steps would be as follows:

  1. Using FTP, upload the contents of the C:\MP3 folder to the media directory on the Centova Cast server, maintaining the complete directory structure. So in your FTP client, you should see a "Rock" directory inside your "media" directory, and the "rock_music.mp3" file should appear within the "Rock" directory, just as it would on your local computer. In the Centova Cast web interface, use the "Update media library" feature to import the tracks into the media library. Tracks which are not in the media library will not be recognized by the M3U import feature, even if they exist on the server.
  2. Create an M3U file which uses paths relative to the C:\MP3 folder for each MP3. So the relative paths in the M3U file should look like "Rock\rock_music.mp3". If the M3u file specifies absolute paths instead (such as "C:\MP3\Rock\rock_music.mp3") this will NOT work because there is no such file as C:\MP3\Rock\rock_music.mp3 on the server. Once these conditions are met, you can upload your M3U file. Your m3u file would look like this:
#EXTM3U#EXTINF:123,Rock Artist - Rock SongRock\rock_music.mp3

And if you have more than 1 song:

#EXTM3U#EXTINF:123,Rock Artist - Rock SongRock\rock_music.mp3
Rock\rock_music2.mp3
Rock\rock_music3.mp3
Rock\rock_music4.mp3
Rock\rock_music5.mp3
Rock\rock_music6.mp3
Rock\rock_music7.mp3

Keep in mind If you setup a folder inside the media folder, that is what needs to be listed on the m3u file

if (like in the example above) you create a Rock folder (it is case sensitive rock is not the same as Rock).
You must have Rock a the beginning. If you create a folder called "MyDJShow" you would need that at the beginning.

#EXTM3U#EXTINF:Title,Artist - SongMyDJShow\rock_music.mp3
MyDJShow\rock_music2.mp3

So what you would have is
media\Rock\rock_music.mp3
or
media\MyDJShow\filename.mp3
I can't figure out the correct relative paths!
If you are having trouble constructing your relative paths, simply open the M3U file and look at the paths it contains.(read above about the relative paths)

If you receive the error "M3U Playlist Not Received"
This indicates that PHP did not receive a file upload from the web browser. This is commonly either because:

the server's temporary path is missing or out of disk space the M3U file exceeds the file upload size limits

You receive the error "x track(s) were not found or could not be imported"
This indicates that the paths specified in your M3U file did not correspond to tracks in Centova Cast's media library.

Barring any potential database problems, there are no other possible reasons for this error. If you receive the above error, consult the section above entitled "Specifying file paths", and, if necessary, the "I can't figure out the correct relative paths" section above.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I change the start page?

The Centova Cast start page is just a basic "This is what you get" type of page. It's not...

Can I connect anonymously via FTP?

Unfortunately, connecting to FTP Anonymously is not possible due to Security reasons.

Can I have my stream upgraded or changed to another type?

You can upgrade anytime but you cannot downgrade your account. In order to downgrade please...

Do you allow SFTP access?

Due to security reasons, SFTP access is not available on shared hosting servers.

When trying to connect, I get an error 10061

When trying to connect to your server, you receive a 10061 error and the server won't start. This...