By: Tim Curtis (c) 2022 Updated: 2022-06-12
This document describes the function of directories and files in the moode Git repository.
File | Description |
---|---|
/boot | Text goes here |
/etc | Text goes here |
/home | Text goes here |
/lib | Text goes here |
/sdcard | Text goes here |
/var | Text goes here |
/var/lib | Text goes here |
/var/local/php | Directory containing the PHP session file. |
sess_ho7vk67sqrjua8sme0pqhsjgdq | PHP session file. The format of the filename is "sess_sessionid". The sessionid is stored in cfg_system param named 'sessionid'. |
/var/local/www/commandw | Directory containing Scripts that support system options and the renderers. |
lcd-updater.py | Script stub executed by the LCD updater /var/www/util/lcd-updater.sh . |
restart.sh | Script that is executed by clicking the Restart or Shutdown buttons on the UI. |
slpower.sh | Script that is executed for LMS/Squeezelite power on/off actions. |
spotevent.sh | Script that is executed for librespot events |
spspost.sh | Script that is executed for shairport-sync event hook run_this_after_exiting_active_state |
spspre.sh | Script that is executed for shairport-sync event hook run_this_before_entering_active_state |
/var/local/www/db | Directory containing sqlite3 database files |
moode-sqlite3.db | sqlite3 database containing the configuration tables including cfg_system, cfg_radio, etc. |
moode-sqlite3.db.sql | sqlite3 database export. This file is used in the moode-player package build to create the .db file |
/var/local/www/imagesw | Directory containing images created via the cover/logo import options in Playlist and Radio views and the thumbnail generator /var/www/util/thumb-gen.php for album covers. |
/imagesw/playlist-covers | Thumbnail covers for playlists. |
/radio-logos | Full size logos and thumbnails for radio stations. |
/thmcache | Thumbnail covers for albums. These JPG files are created by the Thumbnail Generator /var/www/util/thumb-gen.php |
/toggle | This directory contains 2 icon png files but does not appear to be used. |
/var/local/www/currentsong.txt | This file contains metadata associated with the currently playing song or station. It corresponds to the "Metadata file" option in System Config. It's updated within 3 seconds of UI metadata changes by the updExtMetaFile() function in /var/www/daemon/worker.php . |
/var/www/command | This directory contains the PHP scripts that receive and process commands sent by the front-end UI. |
/var/www/css | This directory contains the Content Style Sheets for the front-end UI. |
/var/www/daemon | This directory contains PHP, Python, and BASH scripts that run in the background. |
/var/www/fonts | This directory contains the Open Source Lato font that serves as the application default font. This directory also contains a set of Flat-UI-Icon files that don't appear to be used. |
/var/www/images | This directory contains the Now Playing icon in both dark and white variants as well as the gray Off solid circle used in the Config template toggle buttons. |
/var/www/inc | This directory contains the PHP require_once function libraries. |
/var/www/js | Text goes here |
/var/www/templates | Text goes here |
/var/www/util | Text goes here |
/var/www/webfonts | This directory contains the Font Awesome icons. |