TiVoCommunity Forum Recent Threads

Subscribe to TiVoCommunity Forum Recent Threads feed TiVoCommunity Forum Recent Threads
Your #1 dedicated resource center to buy, discuss, and chat on the use of TiVo powered products and services such as Series 1, Series 2, and Series 3.
Updated: 1 hour 37 min ago

tivo proxy server

Sat, 11/17/2012 - 15:03
i made some progress on the proxy server

http://www.tivocommunity.com/tivo-vb...d.php?t=490198

it turns there are some command changes in python 3.x that Allanon's post will not run.

i made the changes after much google work

unfortunately it looks like a windows thing because of the references to curl.exe so me on a mac it will not work.

i had to change the 192.168 to a 10.0 number since apple's time capsule is a network router too

however it seems to run and respond since i am getting

/download/U.S.%20Drug%20Wars.TiVo?Container=%2FNowPlaying&id=25139&For mat=video/x-tivo-mpeg
http://10.0.1.5/download/U.S.%20Drug...eo/x-tivo-mpeg
127.0.0.1 - - [17/Nov/2012 15:43:46] "GET /download/U.S.%20Drug%20Wars.TiVo?Container=%2FNowPlaying&id=25139&For mat=video/x-tivo-mpeg HTTP/1.1" 200 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 57436)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/socketserver.py", line 306, in _handle_request_noblock
self.process_request(request, client_address)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/socketserver.py", line 332, in process_request
self.finish_request(request, client_address)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/socketserver.py", line 345, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/socketserver.py", line 666, in __init__
self.handle()
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/server.py", line 400, in handle
self.handle_one_request()
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/server.py", line 388, in handle_one_request
method()
File "/Users/<your user name goes here>/Downloads/Tivo Proxy Server.py", line 102, in do_GET
processID = findPID('curl.exe')
File "/Users/<your user name goes here>/Downloads/Tivo Proxy Server.py", line 15, in findPID
a = os.popen4('tasklist /FI "IMAGENAME eq '+exename+'"')
AttributeError: 'module' object has no attribute 'popen4'












import cgi, os, socketserver, sys, time, subprocess, urllib.request
from http.server import SimpleHTTPRequestHandler
from io import StringIO

# Modify these variables so the values reflect
# your computer's and TiVo's IP and MAK address
Tivo_MAK = 'xxxxxxxxxx'
Server_URL = '127.0.0.1'
Tivo_URL = '10.0.1.5'
Port = 10000


# Find the ProcessID of a running application
def findPID(exename):
a = os.popen4('tasklist /FI "IMAGENAME eq '+exename+'"')
a[0].flush()
try:
info=a[1].readlines()[3].split()
except:
info=[exename,"NotFound"]
return info[1]


# Get XML Now Playing List from TiVo and write a simple RSS feed
# This probably should have used XMLLib but I made a quick hack to
# get the data from the Tivo XML file
def writeRSS(wfile):
global Server_URL
global Tivo_MAK
global Tivo_URL
global Port

#Get the XML Now Playing list from TiVo
link = 'curl --insecure --digest --user tivo:{0:s} "http://{1:s}/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&R ecurse=Yes&AnchorOffset=0"'.format(Tivo_MAK,Tivo_URL)
print( link)
XML = subprocess.Popen(link,shell=True,stdout=subprocess.PIPE)

# Write the RSS feed
wfile.write('<?xml version="1.0"?>\n')
wfile.write('<rss version="2.0">\n')
wfile.write('<channel>\n')
wfile.write('\t<title>Now Playing List</title>\n')

#parse data from TiVo XML
data = XML.stdout.read()
b = 0
while True:
a = data.find('<Item>',b)
if a == -1:
break
b = data.find('</Item>',a)
b = b + 7
item = data[a:b]
wfile.write('\t<item>\n')
if item.find('<Title>') != -1:
wfile.write('\t\t<title>' + item[item.find('<Title>')+7:item.find('</Title>')] + '</title>\n')
if item.find('<EpisodeTitle>') != -1:
wfile.write('\t\t<episodetitle>' + item[item.find('<EpisodeTitle>')+14:item.find('</EpisodeTitle>')] + '</episodetitle>\n')
if item.find('<Description>') != -1:
wfile.write('\t\t<description>' + item[item.find('<Description>')+12:item.find('</Description>')] + '</description>\n')
if item.find(Tivo_URL) != -1:
wfile.write('\t\t<enclosure url="http://'+ Server_URL + ':' + str(Port) + item[item.find('/download/'):item.find('</Url>')]+ '"' + ' length="' + item[item.find('<SourceSize>')+12:item.find('</SourceSize>')] + '" type="video/mpeg" />\n')
wfile.write('\t</item>\n')
wfile.write('</channel>\n')
wfile.write('</rss>')
wfile.flush()



class Handler(SimpleHTTPRequestHandler):

def do_GET(self):
global Tivo_MAK
global Tivo_URL
global Port

print (self.path)

if self.path =='/rss':
# Send RSS feed
self.send_response(200)
self.send_header("Content-type", "text/xml")
self.end_headers()
writeRSS(self.wfile)
print( 'RSS Feed Send\n')
else:
# Check if the self.path is a TiVo URL
if self.path.find('/download/') != -1:

# Create TiVo URL
link = 'http://' + Tivo_URL + self.path
link = link.replace(';amp','')
print( link)

# Send header
self.send_response(200)
self.send_header("Content-type", "video/mpeg")
self.end_headers()

# Get and decode the Tivo file
decode = subprocess.Popen('curl.exe --digest -k -c cookies.txt -u tivo:{0:s} "{1:s}" | tivodecode -m {0:s} -- -'.format(Tivo_MAK,link),shell=True,bufsize=0,stdout=subproce ss.PIPE)
processID = findPID('curl.exe')

# Send decoded data to the client
while True:
chunk = decode.stdout.read(4096)
if not chunk:
break
try:
self.wfile.write(chunk)
except:
os.popen('TASKKILL /PID '+ processID +' /F')
time.sleep(1)
break



# Start Proxy Server
httpd = socketserver.TCPServer(("", Port), Handler)
print( "serving at port", Port)
httpd.serve_forever()



maybe someone on a mac can get it to work

note:

1. you need to change tivo url to what ever your tivo uses it will be based on your router most routers use 192.168 based numbers

2. the mak is a 10 digit number used for accessing the media

3. it seems to work by using 127.0.0.1 for the server address

How to format external drive?

Sat, 11/17/2012 - 15:02
Hi,
I replaced the internal drive in my S3 with a 1TB new drive. I had an external Toshiba 1TB drive connected to this Tivo before the upgrade. I tried reconnecting it but the S3 does not see the external drive. What can I do to get it to work? I am assuming the external drive needs to be wiped clean to work with the S3??? I have checked the esata cable, tried 2 of them and the drive powers up as normal.

Thank you.

Multiple DSR704's Rebooting at Same Time?

Sat, 11/17/2012 - 14:51
I have 2 Phillips DSR704's - both have replacement hard drives in them, and both are plugged into an APC UPS. At first I thought the HD on one might be failing due to the reboots until I noticed the second unit was also rebooting at basically the exact same times. Technically, there is about a 1/2 a second delay between them rebooting actually (one will reboot followed very quickly by the second). That kind of leads me to rule out the hard drive going bad in the one.

Also, this is not isolated - they ALWAYS reboot at the same time... And it's happening on a daily basis now, sometimes a few times a day.

Since they haven't been plugged in to a phone line I am trying to force a call on them both right now to see if things improve after doing so. I did notice though that when I went to do so, one reported the last attempt was a day ago and the last status was: Succeeded. Not sure how it succeeded since the phone line hasn't been plugged in for over a month - that seemed weird to me.

There has been no pixelization on either unit and both units are reporting about 43 degrees C (Normal). Both are running the 6.4a software. One has a 150G HD and the other is a 300G HD.

Any ideas?

Stuck on Clear and Delete

Sat, 11/17/2012 - 12:16
I've got a Series 3 HD. It was working perfectly fine, however we replaced it with a Premiere and I was prepping to sell it.

Following the instructions I've done before I went into the Settings and did a Clear and Delete Everything.

It sat there for about 20 hours. It eventually changed from "deleting everytihng, this may take an hour" or whatever it says. Then it changed to "almost there, just a few minutes more." It sat there for about 10 hours. Being an IT guy (and a Windows guy), "reboot" is always my first response, so I tried that.

It's still stuck on "almost there, just a few minutes more" and has been for a few hours.

Any ideas? Is it bricked now? How do I get it back? We just purchased Lifetime for it so that we could sell it.

Re-Name Transfered Show?

Sat, 11/17/2012 - 11:18
There's a weekly show I record that provides no description. (John McLaughlin's one on one, an interview show).

Is there any way to edit the data of a transferred show, using the TiVo Transfer app or other, which would let me add something that would appear when I transfer the show back? All I'd like is to add the guest name to the show description or title. Even if it only appears on my computer, but visible before transfer to TiVo, that would be great.

streaming tivo to computer

Sat, 11/17/2012 - 10:48
i found a script that looks like it should be able to let me stream the tivo to any streaming app or device without the tivo stream unit


http://www.tivocommunity.com/tivo-vb...d.php?t=490198

i downloaded the mac version of python 3.0 and got syntax error after configuring the script.

i suspect that the print is not valid was that script made on an older version of python.

or does anyone know any better way to stream the tivo to any device without the tivo stream box?

Are the new Premieres Comaptible with U-Verse?

Sat, 11/17/2012 - 10:30
I was helping a friend hook up a new Premiere 4 yesterday and when the setup got to the point where you select your cable company AT&T U-Verse was one of the selections.

I don't recall seeing that as a selection when I set up my Premieres a couple of years ago. If Tivo is not compatible with U-Verse I wonder why they would even list it on the selection menu.

Has something changed I'm not aware of?

Parental Controls Questions

Sat, 11/17/2012 - 10:19
I just switched to a Tivo Premiere from DirecTV. I'm on version 20.2 and using the HD GUIs for now, and had some questions on parental controls.

First here is what I am used to from DirecTV: On the DirecTV DVRs when I start playback I would have to enter my parental control PIN and it would unlock ONLY that show. Alternatively, I could go to a quick menu and unlock everything on the DVR for 4 hours, or turn off control completely. Additionally, by turning off the DVR (like standby really, but easily accessible by the simple off button on the remote) it would automatically relock parental controls if I was in that 4 hour window.

From my time with the Tivo it looks like I can only unlock everything for 4 hours (no option per show) or turn off controls completely through the menus. And the only way to relock during the 4 hours is to goto the menu and turn it back on manually. Any shortcuts that I am missing? This makes me more nervous cause it relies on me to remember to relock. Seems like the DirecTV approach is more foolproof.

issues with movie downloading

Sat, 11/17/2012 - 10:15
Hi folks,

I've been downloading movies using TiVo Desktop for several years, but just recently started having issues. Basically, the movie downloads ok, but when I'm playing it using Windows Media Player, at some point it just stops and shows me that screen Play Again / Go to Library / Play previous List. So it looks like the recording has ended, but in fact it's not. And if I skip that point, it would play till real end just fine.

Now, when I'm trying to play that file in VideoReDo, at this exactly point I get this error: "Video Thread: Invalid file format from external reader".

I have several TiVo boxes and I see that behavior in all of them.

Any advice would be greatly appreciated.

Whitney: Season Two Thread *Spoilers*

Sat, 11/17/2012 - 08:51
Quote: Originally Posted by pmyers (Post 9381444) Just watched the season premier.....was disappointed that it was just more of the same with them possibly breaking up....yet again.

Are we ever going to get past that plot line? Quote: Originally Posted by DevdogAZ (Post 9381518) I didn't think it was the possibly breaking up. I thought it was just them dealing with the realities of relationships: Men and women are different and there will always be problems. How you deal with those problems is the key. And Whitney learned in this episode that she can't always just run away to her friends when there are problems.

Having said that, I'm sure they'll have Whitney doing the same thing again in the future, since that's how sitcoms set up their "situations." Quote: Originally Posted by pmyers (Post 9381542) It's just that it is the same thing almost every episode with her and their relationship.

The episodes I enjoyed the most had nothing to do with that. Quote: Originally Posted by madscientist (Post 9382242) I thought the entire first half of this episode was really stiff and weird. A lot like a pilot, where the actors aren't quite comfortable with each other or their character. But, I did like the second half a lot more. Hopefully Ep 2 picks up there and goes forward. Quote: Originally Posted by That Don Guy (Post 9382266) The one thing that threw me off was, the episode takes place just after the non-wedding, so it's still mid-May in the Whitneyverse, yet there's a reference to Honey Boo Boo, whose series didn't start until August. Quote: Originally Posted by bareyb (Post 9382298) I'm gonna give it a go. SP Set. :) Quote: Originally Posted by YCantAngieRead (Post 9382490) That was disappointing. Quote: Originally Posted by bareyb (Post 9382495) Uh-oh... You're usually my arbiter of good taste when it comes to guilty pleasures... If you don't like it... It's gotta be bad. :D I usually stay neutral in the "Season Long" vs "Episode" Thread discussions, but is there any objection to at least starting a new season thread when it's a new season?

:)

Fringe - Five-Twenty-Ten OAD 11/16/12

Sat, 11/17/2012 - 08:11
Remind me why John Noble doesn't have an Emmy?

As we thought, old megalomaniac Walter is starting to come to the surface, Nina (yay Nina!!!) saw it, we saw it, but more importantly Walter saw it. Noble does a great job turning it on and off with very few words, the opening the safe scene you could see "evil Walter" go away mid-shot.
We got gobs of Walter and William Bell backstory.

Peter is still not 100% getting how "observer power" works, which is nice, but Olivia has to notice soon (as should Anil). Loved the dissolving observers! I'm also still ok with this season's "quest of the week" format.

I'm not sure I can wait 3 weeks without a fix, I'll need to start rewatching some of the previous season episodes with commentaries.

Tivo Desktop & Subtitle's

Sat, 11/17/2012 - 08:02
Just got the 20.2.2 update and noticed that it now will use (.srt) subtitle files if they are there. Is this a new feature or have I missed it all this time? Using Tivo Desktop Pro to transfer shows.


*****Reason found*****************

Looks like I have a program (no idea where it came from) installed called DirectVobSub.
It's grabbing the subtitle file and transcoding it.

Any good standalone dvrs out there?

Fri, 11/16/2012 - 22:58
Hello,

I realize that I probably shouldn't post this on here, since this is a Tivo discussion forum, but if you could point me in the right direction, I will be on my way and out of your hair!

I was wondering if anyone knows of any good stand alone DVR brands? My only problem with Tivo is that I cannot transfer all of my recordings to my computer. Since there is really no way around this, I've decided to see if there are any DVRs out there that do not have this restriction?

I've heard about a DVR company called Moxi, but after looking at their web page, it seems as if their devices do not connect to the computer in the same way that Tivo does. Of course, please correct me if I misunderstood.

So that does seem like a good option. I've googled stand alone DVRs and what I mostly found where DVR systems for security camera systems.

There has got to be a HD stand alone DVR out there that allows you to transfer all of your recordings to the computer. Does anyone know what the name of the brand is?

Many Thanks, and once again sorry for posting this question on there, I really don't know where else to post.

Malibu Country - Season 1

Fri, 11/16/2012 - 20:36
Reba is great in this as expected but I really love Lily Tomlin. I hope it gets picked up for another season. Anyone else see it?

I'm not a big fan of the kids. I could do without them but apparently every sitcom MUST have teenagers in it. It's the law.

Netflix needs to stop changing resolution

Fri, 11/16/2012 - 18:56
If it needs to pause to buffer or whatever fine. But this constant resolution changing needs to stop.

Last Resort and 666 Park Ave Cancelled

Fri, 11/16/2012 - 18:09
Both will air their 13 episode orders.

http://insidetv.ew.com/2012/11/16/la...666-cancelled/

Increase storage

Fri, 11/16/2012 - 17:26
I want to either increase the storage on my TIVO HD or find a way to transfer them to my computer and burn to a blue ray burner. I have two choices for increasing storage on the TIVO, add the external drive or increase the size of the internal hard drive. I dont know if a second drive can be added internally or not on a TIVO HD. The other way is to transfer the program to my computer and then find a program that will burn the show to a blue Ray burner in HD. My wife says she needs to get me something for Christmas and is willing to by either a blue Ray burner for the computer or buy an external drive for the TIVO. I need pro's and con's from those of you have increased your storage size.

TiVo AND Comcast?

Fri, 11/16/2012 - 17:11
I currently have a Series3 HD and Comcast. We are only watching in one room. The unit is faulty, will not show any HD.
But I have a Premier unit (new) coming, and my wife wants a tv in her room set up. We previously had a Comcast HD DVR and 3 "satellite" mini boxes.
Will I have to get a main Comcast receiver for her, or will the TiVo with Comcast cablecards in it allow the small satellite receivers to work?
Thanks for any help.

Christof

GLEE 11/15/12---Spoilers

Fri, 11/16/2012 - 14:13
After watching this show I cancelled my season pass. I never liked the mean Sue and the way they keep bringing the older grads back into the show has been a real dstraction and I feel has made the show go down hill. I would have preferred to see the two high school students doing the full Grease song and not do a fantasy replacement with Fenn and Rachael doing the singing. I feel that was an insult to the two actors who started singing the song. Once again we havea teacher sleeping with a student. Which is not a good plot line to follow. I realise why it was done but feel it was still in bad taste. Lets get back to what the show was about, A group of HIGH SCHOOL students in a glee club. Every one else leave the set.

Tivo PROM Modification Question

Fri, 11/16/2012 - 13:59
Hello everyone,

I'm new to the DVR community so if you could bare with me, I'd really appreciate it. I've been from a number of people that it is not possible to do a PROM modification on a Tivo Series 4, but then again, I've also heard from some that it is possible. I really dont know what to believe! Anyone know which is true?

Many Thanks,

Robert

Pages