Skip to content

henhuy/raspberry_musicbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Musicbox

MusicBox for raspberry pi, music is controlled by rfid chip reader

Musicbox uses vlc-player and spotify to play music. Player is controlled by RFID chip card.

Configuration

Music files, folders and urls are read in from config file (defaults to "./music.cfg"). ConfigParser is used to read in configuration. Structure of music configuration must look as follows:

[<RFID of card reader>]
    name = <Custom name>
    type = <file/folder/url/spotify>
    items = <url or comma-separated-list-of-files-or-folders>
    track_mode = <optional, "single" or "album", defaults to "single">

Config must hold section with RFID "DEFAULT", which played at startup.

Environment Variables

You can set following variables:

  • MUSIC_LIST: Path to file to read in music items (defaults to "./music.cfg")
  • MUSIC_DATA_PATH_: Path where music folders are located (defaults to "./data")

Requirements

You must install VLC player

sudo apt-get install vlc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages