Skip to content

This Python script is designed to play music files using MPV player.

Notifications You must be signed in to change notification settings

otisdave/pi-melody

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Music Player Script

This Python script is designed to play music files using MPV player.

Requirements

  • Python 3.x
  • MPV player
  • Config.json file containing configuration options

Installation

  1. Clone or download this repository to your local machine.
  2. Install Python 3.x if not already installed.
  3. Install MPV player.
  4. Create a config.json file based on the provided template and configure the options according to your requirements.
  5. Add your music files inside melodies folder

Configuration

The config.json file contains the following options:

  • total_duration_minutes: Total duration of music playback in minutes.
  • custom_command: Custom command to execute after the total duration.

Usage

  1. Run the script by executing the following command: python player.py

About

This Python script is designed to play music files using MPV player.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages