Results 1 to 1 of 1

Thread: watch tv on your PC? use this script.

  1. #1
    Join Date
    Feb 2006

    Try my video playlist randomizer.

    I don't have cable TV at home, so my computer is my main source of entertainment. i use TV-Out on my laptop to keep something playing on the TV most of the evening. the most annoying thing about this kind of set up is having to choose what to watch every time a show is over. so, as an experiment in ruby programming, I've come up with randomShow.rb.
    this program manages an sqlite3 database of videos on your computer and will choose random ones to play. it tracks the last time the show was played, and whether or not it was skipped.

    the package can be downloaded here: randomshow-0.9.tar.bz2
    the dependencies are:

    all of which are installable through the ubuntu repositories.

    install instructions are included in README.txt, but here's a run down:

    -extract files.
    -run to create the db
    -configure the script (open randomShow.rb in your fav editor and change the 4 config values at the top)
    -copy to /usr/local/bin
    -add media to the library:
    (randomShow.rb scan /path/to/media)

    if you are using this script, please let me know, and if you have modified it in any way, your contributions would be appreciated.
    Last edited by Andre_44; April 8th, 2007 at 07:32 PM.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts