/creative-tonie-cli

A cli to put content on your tonie

Primary LanguagePythonMIT LicenseMIT

creative-tonie-cli

A cli to put custom content on your creative tonie

Prerequesites

  • toniebox
  • user and password for toniecloud
  • python3.10 or higher
  • or use provided docker file to build and run...

build

docker

  • docker build -t creativetonie .

python3

  • pip3 install -r requirements-all.txt

regenerate dependencies with

pip-compile requirements.txt --output-file requirements-all.txt

run

  • export TONIECLOUD_USERNAME=...
  • export TONIECLOUD_PASSWORD=...

docker

  • docker run -ti --rm -e TONIECLOUD_USERNAME=$TONIECLOUD_USERNAME -e TONIECLOUD_PASSWORD=$TONIECLOUD_PASSWORD selamanse/creativetonie print-tonies

direct examples

  • python3 ./creative-tonie.py print-tonies
  • python3 ./creative-tonie.py copy-path My-Creative-Tonie ~/Music/MyTonieContent/FolderWithMP3s

commands:

to get a current list of commands run program with --help

  • copy-path
  • print-tonie-chapters
  • print-tonies
  • wipe-tonie

thx to