Skip to main content

Gets matching timestamps for multiple streamers from a single twitch clip or timestamp.

Project description

StreamSync

Syncs twitch clips with other streamers.

Input a twitch clip url, slug, or vod timestamp with a list of streamers, and the program will output a list of timestamped urls for the same moment in each streamer's vod.

$ python -m streamsync https://www.twitch.tv/thebigmeech/clip/AgreeableNurturingFishPanicVis-g_-jghN2s5rElLpo sgtapollo lisajfc thebigmeech
sgtapollo: https://www.twitch.tv/videos/2448466929?t=2h20m44s
lisajfc: https://www.twitch.tv/videos/2448318187?t=6h0m38s
thebigmeech: https://www.twitch.tv/videos/2448294467?t=6h42m42s

Installation

pip install streamsync Requires a twitch developer application code. To get one log into the twitch developer with your twitch account https://dev.twitch.tv/console Then regester a new application, with category Application Integration and Confidential client type. Then once it is created click Manage -> New Secret and generate a new secret. Save this secret and the Client ID in a text file somewhere you will find them.

Before your first run, set the environment variables: STREAMSYNC_ID=your client id STREAMSYNC_SECRET=your client secret

The environment variables do not need to be persistent, the credentials will be saved automatically and managed as necessary from now on.

Now it can be run like this python -m streamsync <clip url> streamer1 streamer2 streamer3

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

twitchsync-2.0.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

twitchsync-2.0.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file twitchsync-2.0.0.tar.gz.

File metadata

  • Download URL: twitchsync-2.0.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for twitchsync-2.0.0.tar.gz
Algorithm Hash digest
SHA256 d378794d226c7ef0b1c74263a96cb4a0ace56e29f2b99c06f7b6fbb43cb66ead
MD5 a1a3d2a89ce6d69ce98dbc8dc65a12bd
BLAKE2b-256 c795b391efa4ebff3e8f8ab38a364533c232d6b937e483679b7836cffa385e3d

See more details on using hashes here.

File details

Details for the file twitchsync-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: twitchsync-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for twitchsync-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 41be1ea9f8e1c8b3b1ccaf18966d7e7839b2b61cd34e5ff91ae3c673d2e1fb77
MD5 1455bde1aa670b5bca50fc14789f3a6b
BLAKE2b-256 00cef2f867d5384e16c89fa85bed38667d9beef93470a350c7c4e1dc20470379

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