From: Michael D. Lowis Date: Fri, 22 Dec 2023 04:36:51 +0000 (-0500) Subject: first pass at websocket based stream X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=e43cad08b85f24556d78bebc2d58e4487d3631eb;p=proto%2Fatv.git first pass at websocket based stream --- diff --git a/.gitignore b/.gitignore index 94a2dd1..80976e1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ -*.json \ No newline at end of file +*.json +Christmas/ +Pictures/ +Movies/ +Shorts/ +Shows/ diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..00b5d12 --- /dev/null +++ b/TODO.md @@ -0,0 +1,15 @@ +# Commands + +* skip +* play +* pause +* channel next/prev +* play next +* play now + +# Features + +* Show the play queue +* list connected clients +* show photos +* algorithm for picking movies \ No newline at end of file diff --git a/index.html b/index.html index dfc85f9..18b8354 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,7 @@ - \ No newline at end of file + diff --git a/serve-videos b/serve-videos index f05f097..9e01951 100755 --- a/serve-videos +++ b/serve-videos @@ -9,12 +9,12 @@ $db = JSON.parse(File.read("index.json")) $now_playing = nil $channel = 0 $channels = [ - { include: ["Christmas"] }, { include: ["Movies", "Shorts", "Shows"] }, { include: ["Movies"] }, { include: ["Shorts"] }, { include: ["Shows"] }, { include: ["Pictures"] }, + { include: ["Christmas"] }, ] def secs_since_midnight()