Verdigris

Description

A simple controller for multiple MPD instances and SnapCast servers, controlled via a web page. Includes built in web server and web-socket server.

Features To Add

Play
Stop
Pause
Previous
Next
Seek
Queue Clear

Temp files stored in /tmp/
State, etc. files stored in /var/verdigris/*
Config stored in ~/.verdigris/verdigris.ini, /etc/verdigris/verdigris.ini
Generated smart playlists saved in /var/verdigris/
Stickers used to store: Like (0-100), Skipped Count (32bit uint), Play Count (32bit uint), Last Played Date (Unix date)

Add –> adds the desired file(s) at the end of the existing queue
Enqueue –> adds the desired file(s) just right after the track is currently played
Clear and Add –> clears queue and adds the new file(s)
Clear, add and Play –> clears queue, adds the new file(s) and plays (this is what I always use)
Add to stored playlist –> I have never tested it as I don't use MPD playlists, but I assume it does what it says

v0-0-004

Redo to try out using the IDLE command to cut down on polling; use linked lists for data storage internally.

Implemented:

/var/verdigris stores volatile data (state, lists, etc)
/tmp/ for temporary files
/etc/verdigris/verdigris.ini then ~/.verdigris/verdigris.ini stores configuration
As root:

mkdir /var/verdigris/
chmod 0755 /var/verdigris/
chown root:username /var/verdigris/

v0-0-003

Basic functionality done. Using polling every second to keep details up to date, causing unnecessary network traffic.

v0-0-002

Basic functionality done. Added loading configuration file.

v0-0-001

Added basic functionality for playback of multiple MPD instances.

  • verdigris.txt
  • Last modified: 2019/10/07 10:37
  • by voxx