Skip to content

Instantly share code, notes, and snippets.

@jrmoserbaltimore
Created February 22, 2013 17:49
Show Gist options
  • Save jrmoserbaltimore/5015278 to your computer and use it in GitHub Desktop.
Save jrmoserbaltimore/5015278 to your computer and use it in GitHub Desktop.
def stopRecording(callsign, daypart, url, user, password):
"""Ceases recording a stream"""
payload = {
'action': 'stopRecording',
'appName': 'livefull/_definst_',
'streamname': callsign + 'full_480p'
}
r = requests.post(
url,
auth=HTTPDigestAuth(user, password),
data=payload
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment