Skip to content

CLI tool to get metadata and prepare media files for streaming.

Notifications You must be signed in to change notification settings

Mathieu-R/metadatapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Command-line tool to get metadata from music files and prepare the files for streaming by creating multiple quality versions and necessary playlist using shaka-packager.

Useful tool for the streamwave app: https://github.com/Mathieu-R/streamwave

Installation

python3 -m venv .env 
source .env/bin/activate
pip install -r requirements.txt 

chmod +x lib/encoder.sh

Usage

$ python3 index.py --help
Usage: index.py [OPTIONS]

Options:
  -d, --directory TEXT  Absolute path directory where the media files are
                        stored  [required]
  --help                Show this message and exit.

Bundle the app

pyinstaller --onefile --add-data lib:lib --name metadatapp index.py

Caveats

  • Ensure the input path does not contain any spaces.
  • This only works on Mac OS with Apple Silicon CPU. If you are on another configuration, download the correct prebuilt-binary from the shaka-packager repo, rename it to packager and place it in the lib lib.

About

CLI tool to get metadata and prepare media files for streaming.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published