centload – command line tool to load playlists to Centova

centload is a command line tool for loading a playlist from your PC (which should consist of a basic list of mp3 filenames with no quotation marks or directory/folder names) to your Centova server playlist, which should already exist on your Centova account.

A version is provided for Windows (it’s a 32-bit executable which should run on most platorms), and for Mac OSX (it’s a zip file, you need to unpack it). In both cases it’s a single executable file, and you should place it somewhere appropriate (for example, in a directory in your Windows PATH).

The first time you run is a first-time setup which prompts for your userid, password, and Centova server. The userid and server are stored in a local file “centova.txt”. (if you have multiple Centova accounts, just run it from different directories and each directory will end up with its own centova.txt file).

The password will be stored in your operating system vault. This means it will never be stored in plain text on your system. If you make a mistake, just delete the centova.txt file and start again.

For people who like to look at source code and compile themselves, the python (3.6) source code is provided. You can get that running by installing python 3 for your system, then using pip to install the other packages used (requests and keyring). You can then run it by “python centload.py” (or, if you are on a Mac, use “python3 centload.py” because Mac’s come with their own python which is 2.x).

(creating your own executable is a bit more work – but if you want to do that, look for the development version of pyinstaller because the release version does not yet work with the latest Python 3.6)

See below for an exmaple session of first time setup, then a second time where it already has the centova.txt present.

A brief comment about the Centova API: it uses any match against your supplied filename (from your local playlist file). If there are multiple matches, it will load multiple items to the target playlist. In other words, if you have two mp3 files like this:
If you specify the second name, it will act as you expect and load just that name. But if you specify the first name, it will load BOTH to the playlist. Please consider this and rename files in your library to avoid this.

In this example, I am runnning the un-compiled python source. If you download an executable, you should type something like: centload filename.txt XYZ

For a copy of centload please use the Contact form here, specifying whether you want Windows or MAC, and/or the source code