Stream Of Conscious Youtube

From Kyle's Wiki
Jump to: navigation, search

To watch youtube videos in a stream of conciousness way:

#!/bin/bash
while [ 1 ]; 
do 
   for EACHVIDEO in `wget -O - -q "http://search.twitter.com/search.atom?q=youtube.com" | grep http://www.youtube.com | grep "<content" | sed 's/quot;/\n/g' | grep "http://www.youtube.com" | cut -f 1 -d "&" `
   do
      totem --enqueue `./youtube-dl -g -b "$EACHVIDEO" ` &
      sleep  2s
   done
   sleep 30s
done

You need the youtube-dl script.

Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta