Main Page

Welcome to the ARAS archive, the place to read the archived documentation of ARAS. A list of frequently asked questions is available. Also, if you want to use ARAS to manage an internet radio station, you may read the article about streaming with ARAS and JACK.

Contents

Installation

This section presents some ways ARAS can be installed in your system.

Compiling from source code

Be sure you have installed these libraries before compiling ARAS:

In Ubuntu or another Debian derivative you can use Synaptic or run this in console:

sudo apt-get install libgstreamer0.10-dev libgtk-2-dev

Compilation instructions are in files INSTALL and src/main.c.

Go to src/ directory in each ARAS application directory:

gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) main.c read_data.c free_data.c aras.c player.c -o ../bin/aras-daemon
gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10 gtk+-2.0) main.c read_data.c free_data.c aras.c player.c gui.c -o ../bin/aras-player
gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10 gtk+-2.0) main.c read_data.c free_data.c aras.c recorder.c gui.c -o ../bin/aras-recorder

If linker does not work, which may occur in some systems, you can compile ARAS applications as follows:

gcc -Wall main.c read_data.c free_data.c aras.c player.c -o ../bin/aras-daemon $(pkg-config --cflags --libs gstreamer-0.10)
gcc -Wall main.c read_data.c free_data.c aras.c player.c gui.c -o ../bin/aras-player $(pkg-config --cflags --libs gstreamer-0.10 gtk+-2.0) 
gcc -Wall main.c read_data.c free_data.c aras.c recorder.c gui.c -o ../bin/aras-recorder $(pkg-config --cflags --libs gstreamer-0.10 gtk+-2.0)

Running precompiled binaries from tarball

The tarball is available in the downloads section. It includes precompiled binaries you can run directly:

Download this tarball and use your desktop decompression tool to decompress it in the directory of your choice, or uncompress it from the console:

Installing precompiled deb packages

Deb packages are available in downloads section:

Download these deb packages and use your desktop package manager tool to install them, or install them from the console:

Radio stations using ARAS

A list of radio stations using ARAS is available.

Bugs and limitations

ARAS works by default with strings whose maximum length is 256 bytes, both in the configuration files and in the filenames. Obviously, you can recompile the application allowing the operation with longer strings, this is done by modifying the following lines in aras.h:

#define CONFIGURATION_LINE_MAX_SIZE 256
#define CONFIGURATION_VARIABLE_MAX_SIZE 256
#define CONFIGURATION_VALUE_MAX_SIZE 256

#define SCHEDULE_LINE_MAX_SIZE 256
#define SCHEDULE_DAY_MAX_SIZE 256
#define SCHEDULE_TIME_MAX_SIZE 256
#define SCHEDULE_BLOCK_MAX_SIZE 256

#define BLOCK_LINE_MAX_SIZE 256
#define BLOCK_NAME_MAX_SIZE 256
#define BLOCK_TYPE_MAX_SIZE 256
#define BLOCK_DATA_MAX_SIZE 256

#define PLAYLIST_LINE_MAX_SIZE 256
#define PLAYLIST_DATA_MAX_SIZE 256