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.10.tar.gz (13.2 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.10-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tonie_sync-0.1.10.tar.gz
Algorithm Hash digest
SHA256 9a31e779d3817e1cc62495a005776df2933a98aef1cc3776531a5728b53a611d
MD5 8dc3c4a86cdccc9845ec37c2e59fdc75
BLAKE2b-256 6b7543bdab008d7f1e50afb2f4d39f209ba553eaa0bb584609cd16ed792c7ae7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tonie_sync-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 3e4661ce54a09b79212424873148148b1d68f7d5654aba6ab2bac8c134c17059
MD5 25723444070afdece37d66ce3c22e88f
BLAKE2b-256 6d1f0d6ee2e3b46fba1384e0601affad03f501a7b70958aeeb4920a47105be14

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