Skip to main content

A package to sync Spotify playlists to creative tonies.

Project description

Tonie Sync

A package to sync Spotify playlists to creative tonies.

This package is not affiliated with Spotify or Tonies. It uses the Spotify and Tonie APIs to sync playlists to creative tonies. The package is intended for personal use only. Use at your own risk.

The package is heavily inspired by spoonie.

Installation

pip install tonie-sync

This package requires these additional dependencies:

  • ffmpeg

Usage

from tonie_sync import SyncService

query = "https://youtu.be/Zd7jSXbsDVE?si=Fo5sOzyPhsQxEQPz"
creative_tonie_name = "My Creative Tonie"

sync_service = SyncService()  # Create a new SyncService instance with settings from environment variables
sync_service.sync(query=query, creative_tonie_name=creative_tonie_name)  # Sync the Spotify playlists to the creative tonies

Environment Variables

Environment Variable Description Example Value
SPOTIFY_CLIENT_ID Spotify account username 123456789
SPOTIFY_CLIENT_SECRET Spotify account password this_is_very_secret
TONIE_USERNAME Tonie account email my_email@provider.com
TONIE_PASSWORD Tonie account password another_secret
TONIE_HOUSEHOLD Name of the Tonie household My Household
TARGET_DIRECTORY Path to the local data directory ./.local

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tonie_sync-0.1.12.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tonie_sync-0.1.12-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file tonie_sync-0.1.12.tar.gz.

File metadata

  • Download URL: tonie_sync-0.1.12.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for tonie_sync-0.1.12.tar.gz
Algorithm Hash digest
SHA256 5722edc6561f71d4af08114ddd3458dbd74f649a466da05d9a6924ba11bec5e3
MD5 678447aa7b0b3c9be0a37654b8976851
BLAKE2b-256 b9e5d2bc280fca085cf9dae555f49698c773ac7ebe7a8325d07515cf855a7841

See more details on using hashes here.

File details

Details for the file tonie_sync-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for tonie_sync-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f53646eb5777fbadd3c26d908ea1b4c648a8854243409896ae4b6caa0972e4d1
MD5 c45fa3caacd240158476d1a5be2b8a12
BLAKE2b-256 d4e1260170f1295f997f47e290bf47d60832d0e6dd8798a8493b199d00cafdf2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page