Skip to content

Instantly share code, notes, and snippets.

@musaprg
Created June 25, 2023 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musaprg/2af20b27f1270e8e0c57013477e55883 to your computer and use it in GitHub Desktop.
Save musaprg/2af20b27f1270e8e0c57013477e55883 to your computer and use it in GitHub Desktop.
AnnictとEPGStationの録画予約を同期するscript(cronにそのまま突っ込むためのやつ)
#!/bin/bash
set -eu
# You need to install annict-epgstation-connector first.
# $ brew tap musaprg/tap
# $ brew install annict-epgstation-connector
ANNICT_API_TOKEN=put-your-annict-token-here
/home/linuxbrew/.linuxbrew/bin/annict-epgstation-connector --annict-api-token $ANNICT_API_TOKEN --epgstation-endpoint http://localhost:8888/api sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment