This program is in development toward becoming a simple webapp based media player that can be used to play common digital audio coding formats such as mp3 using the Rust programming language.
A more midterm goal might include the implementation and use file formats such as M3U, for providing use of playlists and the eventual goal of HTTP Live Streaming of different radio stations from custom playlists.
Long term project ideas currently consider the implementation and use of media hotkeys such as Play/Pause, Stop, Next and previous.
The current end state goal of this project is for it to be a simple media player (or radio simulator) that can be ran in the background while a computer is in use by another application (like a video game) at full screen. The webb app in turn could be controlled and viewed by another media device, such as a tablet or smart phone, giving the user a higher level of immersion and control with an external device that is functional to the computer.
This program utilizes gstreamer libraries that must be installed on linux in order for it to run. To install, please run the following...
sudo apt-get install libgstreamer-plugins-base1.0-dev
sudo apt-get install libsdl2-dev
sudo apt-get install libasound2-dev
sudo apt-get install libgstreamer-plugins-bad1.0-dev
sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
This program uses Rocket, which requires Rust nightly. To
build rustadio, first enable nightly if not already enabled
and build the library with cargo build
. You can
run the program with cargo run
.
rustup default nightly
cargo build
cargo run
To build or run an optimized version, use cargo --release
.
Run cargo test
to do some simple testing.
Run cargo run
from the main rustadio folder to run the
program. The program will not function properly if you
run it from any of its sub-directories.
This program is licensed under the "MIT License". Please
see the file LICENSE
in the source distribution of this
software for license terms.