Results 1 to 7 of 7

Thread: HowTo: TV_Listings of your Favorite Channels

  1. #1
    Join Date
    Nov 2006
    Location
    There and back again
    Beans
    1,097

    HowTo: TV Listings of your Favorite Channels

    This tutorial is useful for listing your favorite channels as an applet in your menu panel.

    Here's what mine looks like:



    Pretty simple. I like to use the terminal as it will make this a little bit faster. First we need to download xmltv which is our tv listings grabber.
    Code:
    sudo apt-get install xmltv
    Now find the appropiate tv_grab for your location:
    Code:
    tv_find_grabbers
    Mine was "tv_grab_na_dd"(north america). Now it has to be configured:
    Code:
    sudo tv_grab_na_dd --configure
    Several questions will be asked.
    First it will ask for your GMT skew.

    Next, it will need you to register:
    Free Data Direct registration required in advance.
    You can get an ID at http://labs.zap2it.com
    Control-clicking is in the terminal will open the link.

    Register a new user. Use the Certificate Code you see in the terminal. Zap2it will ask a few questions. Subscibe and add a lineup by selecting your area code, what tv service you have... blah blah.

    Now, grab the listings. Make sure you're in the home directory first:
    Code:
    cd ~
    sudo tv_grab_na_dd --output=.listings.xml
    This will save the TV listings as an invisible-file in your home directory.

    The listings need to be sorted now:
    Code:
    tv_sort --output=.listings.xml .listings.xml
    OnTV is the applet (the icon in the menu bar) that will tell us what programs there are.

    sudo apt-get install ontv

    right-click on menu panel and select "Add to Panel" and add OnTV to the menu bar. Immediately a dialog will pop up with the preferences. Put /home/(user)/.listings.xml (or whatever you chooose to name the xmltv file) in now.

    Right-click on the OnTV icon and hit "Reload XMLTV file" now goto the Channels Tab and choose your favorite stations!

    TV Listings are weekly so if putting a script in the cron.weekly directory this could automatically be updated every week.
    Code:
    sudo nano /etc/cron.weekly/tv_listings
    Paste this text into the terminal:
    Code:
    #! /bin/sh
    
    tv_grab_na_dd --output=/home/(user)/.listings.xml
    
    tv_sort --output=/home/(user)/.listings.xml /home/(user)/.listings.xml
    cntrl-x to save

    Thats it!
    Last edited by Gen2ly; February 27th, 2007 at 03:02 AM.

  2. #2
    Join Date
    Nov 2006
    Location
    Vienna, Austria
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: HowTo: TV Listings of your Favorite Channels

    HI, after I enter:

    Code:
    tv_grab_de_tvtoday --configure
    I get:

    Code:
    using config filename /home/me/.xmltv/tv_grab_de_tvtoday.conf
    getting list of channels
    Can't call method "content_list" on an undefined value at /usr/bin/tv_grab_de_tvtoday line 1277.
    Recommended Resources: Ubuntu Linux Resources

  3. #3
    Join Date
    Dec 2006
    Location
    Nova Scotia, Canada
    Beans
    348
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: HowTo: TV_Listings of your Favorite Channels

    This guide might be a little old, but I just want to let people know about the project I'm working on, called Yabby. It's still in early development, but check it out: http://yabby.sourceforge.net.
    My Baby: AMD Athlon 64 X2 5200+ 2.6 GHz Dual Core Processor, 2 GB RAM, ASUS M2N-MX Motherboard, Western Digital Caviar 80 GB HDD, Hauppauge WinTV-Go-Plus, Integrated NVidia 6100 GPU, Thermaltake Matrix Case, runs Ubuntu 7.10 Gutsy. I <3 it.

  4. #4
    Join Date
    May 2006
    Location
    Fayetteville, NC
    Beans
    142
    Distro
    Xubuntu 9.04 Jaunty Jackalope

    Re: HowTo: TV_Listings of your Favorite Channels

    I have a problem
    Code:
    tv_sort --output=.listings.xml .listings.xml
    cannot write to .listings.xml
    Last edited by k420; June 11th, 2007 at 03:13 AM.

  5. #5
    Join Date
    Nov 2006
    Location
    There and back again
    Beans
    1,097

    Re: HowTo: TV_Listings of your Favorite Channels

    k420,

    Perhaps you saved you .listing.xml file as root? If you won't have the necessary permissions to write to it.

    chamberlain2006

    That sounds pretty interesting.

    Yabby is a Gtk frontend to xmltv. It provides a simple way to view and sort TV Listings, as well as set reminders, and learn more about a specific listing.

    OnTV is OK, if you have like 5 channels you pretty much watch exclusive, otherwise... Could I ask you to post a screenshot? I'm curious now

  6. #6
    Join Date
    Aug 2008
    Beans
    100

    Re: HowTo: TV_Listings of your Favorite Channels

    After
    tv_find_grabbers
    i can't find the australian one

    help
    or post the xmltv needed for the screenlets whatsontv

  7. #7
    Join Date
    Aug 2007
    Beans
    11

    Re: HowTo: TV_Listings of your Favorite Channels

    Quote Originally Posted by davidw89 View Post
    After
    tv_find_grabbers
    i can't find the australian one

    help
    or post the xmltv needed for the screenlets whatsontv
    Using a screenlet called "WhatsonTV" (thread here). I was (kinda) able to do this for Australian programs.

    For Australian networks, use Shepherd.
    I did as you did (installed xmltv but couldn't find any grabbers). I then installed shepherd and followed the instructions on the site.

    Following that, I launched the screenlet, right-clicked, properties, options, WhatsonTVScreenlet, and used the output.xmltv (for me it was in ~/.shepherd/) as my xmltv file. I'd assume you could use the same file for this program.

    Good Luck!

    EDIT: you may want to type:

    ~/.shepherd/tv_grab_au --disable imdb_augment_data

    Shepherd gets additional movie info from IMDB. If you're only using it for time listings, you might aswell disable it with the above command, it takes awhile if you don't...
    Last edited by Mitch72; November 3rd, 2008 at 01:02 PM.

Bookmarks

Posting Permissions

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