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.19.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.19-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tonie_sync-0.1.19.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tonie_sync-0.1.19.tar.gz
Algorithm Hash digest
SHA256 bbbff231515670659e910cebe577b7158b559b23efc840a2f539d15c11d7d2b7
MD5 e629b5c0aac62bb2c267812a1d8e842d
BLAKE2b-256 3ce598e98c751c4a70136b9f68a53b59a4e1fb844447442f407d1ac6e7b67a92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tonie_sync-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for tonie_sync-0.1.19-py3-none-any.whl
Algorithm Hash digest
SHA256 da5f0ec259848ae78028b2cd98d371694dd26e3a90b7e335787653aafd8ea2e0
MD5 a3f0faf03a6b521765ebc905b6e7b5cf
BLAKE2b-256 6d1a34faea39ec3268d7523b7800388bde84c6fa68f2995ffa5bd513bbc9517d

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