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.0.tar.gz (10.1 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.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tonie_sync-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.5 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for tonie_sync-0.1.0.tar.gz
Algorithm Hash digest
SHA256 672127d238e7d6a7184c8c110fc313fdfbca2c53dc3bbbf52e7f4c7084a3a2d1
MD5 60d7c8f03f46ca85aae1e150a8ffcf12
BLAKE2b-256 f2f3627a26085b362fc63d09503120121a96b376173de444a9abb01e7c469410

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tonie_sync-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.5 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for tonie_sync-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24df7729ab9fc3c5096e17a4f2fe4be5aa6e7afacb58702e6dee626e18b55ee5
MD5 352cf7ef5db11dd6b7d95b7d64acbd3b
BLAKE2b-256 ad852a56cfabcacd964de8d7af95d64d32087290cde6a325abcc90f7d7218cba

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