Skip to content

bfayers/pytivo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pytivo

A Python Library to control TiVo set top boxes

Code Examples:

The following code will print out the current channel:

from pytivo import tivo_client

host = "xxx.xxx.xxx.xxx"
#The port is usually 31339, if it's something else for some reason change it.
port = 31339

tc = tivo_client.TivoClient(host, port)

print(tc.getStatus())

The following code will take an input and set the channel to that:

from pytivo import tivo_client

host = "xxx.xxx.xxx.xxx"
#The port is usually 31339, if it's something else for some reason change it.
port = 31339

tc = tivo_client.TivoClient(host, port)

channel_number = input("Enter a channel number: ")

print(tc.setChannel(channel_number))

About

Python Library To Control TiVo Devices

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages