Skip to content

Instantly share code, notes, and snippets.

{
"input": "generated.txt",
"output": "output.mp3",
"delimiters": {
"dialog": "\n\n",
"speaker": ":\n"
},
"voices": {
"JOE ROGAN": {
"type": "en-US-Wavenet-A",
@thesanjeetc
thesanjeetc / panopto2playlist.py
Last active December 30, 2024 00:00
Generate a VLC playlist from Panopto lectures for a better watching experience.
import re
import json
import requests
HOSTNAME = "https://imperial.cloud.panopto.eu"
HOME_FOLDER = "{HOME_FOLDER_ID}"
PLAYLIST_FILE = "panopto.xspf"
COOKIE_FILE = "cookie.txt"
OUTPUT_FILE = "videos.json"