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

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.1.tar.gz (9.9 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.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tonie_sync-0.1.1.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for tonie_sync-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2f5fd48c11171e9907cb4b603a419b43ca0bdb0da3c2a19671a4fdce50e8159e
MD5 f674749ceebfa267cd7e6b98fbf70d76
BLAKE2b-256 3800650f2082060c23d6887efdd25dbdb7ca35d7c21278776bba0c8b8d3c9042

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tonie_sync-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for tonie_sync-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 244684ef342ef06c16da54b344e8b1eb105ccd510bdeb7f8b2080bb4e6f85b36
MD5 e1627bbacf82a3a9cc5510e1c2d67e53
BLAKE2b-256 3ff255ecfa81d992fefc63469dadc825466a10cce1d04a918824d323b36dba58

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