1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tivo Proxy Server

Discussion in 'Developers Corner' started by Allanon, Jul 22, 2012.

  1. Jan 13, 2013 #21 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    I have an HD machine as well. And temper this with the knowlege that I am half a bottle down on a fantastic Cab tonight, but I am still not getting a result from the VLN player using:

    Code:
    http://192.168.1.114:10000/download/Grimm.TiVo?Container=%2FNowPlaying&id=2979432
    let me see what I get from the console.....

    Code:
    serving at port 10000
    /download/Gold%20Rush.TiVo?Container=%2FNowPlaying&id=1972195
    
    Video URL:  http://192.168.1.4/download/Gold%20Rush.TiVo?Container=%2FNowPlaying&id=1972195
    
    HOME_OFFICE.home - - [12/Jan/2013 23:50:04] "GET /download/Gold%20Rush.TiVo?Container=%2FNowPlaying&id=1972195 HTTP/1.1" 200 -
    
    Decoding video
    
    ----------------------------------------
    Exception happened during processing of request from ('192.168.1.6', 50601)
    Traceback (most recent call last):
      File "C:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock
        self.process_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 310, in process_request
        self.finish_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 323, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "C:\Python27\lib\SocketServer.py", line 638, in __init__
        self.handle()
      File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
        self.handle_one_request()
      File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
        method()
      File "C:\Program Files (x86)\TivoProxy\Tivo Proxy Server.py", line 125, in do_GET
        decode = subprocess.Popen('tivodecode -m {0:s} -- -'.format(Tivo_MAK),shell=False,bufsize=0,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
      File "C:\Python27\lib\subprocess.py", line 679, in __init__
        errread, errwrite)
      File "C:\Python27\lib\subprocess.py", line 896, in _execute_child
        startupinfo)
    WindowsError: [Error 2] The system cannot find the file specified
    ----------------------------------------
    
    
    Same result from my HD, definately something I am doing wrong.
     
  2. Jan 13, 2013 #22 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    In this line of code:
    Code:
    decode = subprocess.Popen('tivodecode -m {0:s} -- -'.format(Tivo_MAK),shell=False,bufsize=0,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
    
    Try putting in the path to tivodecode, for example if tivodecode is in c:\tivodecode then make the code look like this:
    Code:
    decode = subprocess.Popen('c:\\tivodecode\\tivodecode -m {0:s} -- -'.format(Tivo_MAK),shell=False,bufsize=0,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
    
    Also make sure you are running as administrator, maybe it's an authorization problem. I'm using Windows XP and run as administrator. I tried running without tivodecode and got a different error than the one you posted so I'm not sure what is causing that error.
     
  3. Jan 13, 2013 #23 of 133
    vanclute

    vanclute New Member

    154
    0
    Aug 3, 2003
    I've got a Premiere as well (actually two, but I wasn't going to broach the question of running two servers until I had at least one working!)

    I'm not sure what you meant there, as I don't have that in my URLs....?

    I would gladly post the XML Now Playing list but I have no idea how to get it. If you can clue me in, I'll contribute what I can.

    As for RSS feeds in VLC, I suspect that might be a Windows-only feature, I don't see anything relating to RSS feeds at all in VLC for Mac.

    I'll try the absolute path to tivodecode, I considered that but wasn't sure of the syntax. Will give it a shot and report back!
     
  4. Jan 13, 2013 #24 of 133
    vanclute

    vanclute New Member

    154
    0
    Aug 3, 2003
    No change by adding the absolute path to Tivodecode. I think that part is at least working, it looks like maybe something about my python build is the problem. Apple includes python on the OS but maybe I need to try downloading a binary or something. I'm going to investigate that.
     
  5. Jan 13, 2013 #25 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    You can probably run 2 or more servers at a time just use different port numbers. But your computer is probably not fast enough to decode 2 HD videos at the same time. Mine has trouble just decoding one HD video.

    The URL Bradleys posted had that at the end.

    To get the XML file just enter the following in to your internet browser. I used the Tivo URL from your error message but if that is not correct then change the URL to what it should be:
    Code:
    https://192.168.2.16/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes&AnchorOffset=0
    Then it should ask for a username and password, use the word tivo as the username and your Tivo MAK number as the password. Your browser should then display the Tivo XML file. Just save it to a file and post it here or send it as a private message.

    Go to your playlist and on the left side it should have a menu item that says internet. Click that and you should see a podcast option. Just add the RSS Feed URL as a new podcast. If you don't see that then maybe it is only Windows.
     
  6. Jan 13, 2013 #26 of 133
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    No, that part is NOT working. And there is nothing wrong with your Python.

    subprocess.Popen() expects a list, with the command and parameters separate, not a simple string:

    ['tivodecode', '-m', TiVo_MAK, '--', '-']

    not

    'tivodecode -m etc.'

    It only works as a string in Windows, due to a quirk in how Popen is implemented there.

    http://docs.python.org/2/library/subprocess.html#popen-constructor
     
  7. Jan 13, 2013 #27 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    Thanks wmcbrine for pointing that out, I would have never found that.

    Alright, here is an updated version. This version includes the modification wmcbrine posted and the program now uses XMLLib to parse the XML file which might work better if the Tivo HD and Premiere XML files are different. I also added more context headers, this seems to have made the video play on more devices such as within the Chrome browser and in the Serviio Media Server.
     

    Attached Files:

  8. Jan 13, 2013 #28 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    Running the RSS in Chrome I now get the error:

    This page contains the following errors:

    error on line 31 at column 49: xmlParseEntityRef: no name
    Below is a rendering of the page up to the first error.

    [​IMG]

    Trying to run in VLN and I get:

    Code:
    serving at port 10000
    /download/Gold%20Rush.TiVo?Container=%2FNowPlaying&id=1972195&Format=video/x-tivo-mpeg
    
    Video URL:  http://192.168.1.7/download/Gold%20Rush.TiVo?Container=%2FNowPlaying&id=1972195&Format=video/x-tivo-mpeg
    
    HOME_OFFICE.home - - [13/Jan/2013 09:27:58] "GET /download/Gold%20Rush.TiVo?Container=%2FNowPlaying&id=1972195&Format=video/x-tivo-mpeg HTTP/1.1" 200 -
    ----------------------------------------
    Exception happened during processing of request from ('192.168.1.6', 53074)
    Traceback (most recent call last):
      File "C:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock
        self.process_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 310, in process_request
        self.finish_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 323, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "C:\Python27\lib\SocketServer.py", line 638, in __init__
        self.handle()
      File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
        self.handle_one_request()
      File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
        method()
      File "C:\Program Files (x86)\TivoProxy\Tivo Proxy Server.py", line 155, in do_GET
        videoFile =  openUrl(link, 'tivo', Tivo_MAK)
      File "C:\Program Files (x86)\TivoProxy\Tivo Proxy Server.py", line 25, in openUrl
        return urllib2.urlopen(url)
      File "C:\Python27\lib\urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
      File "C:\Python27\lib\urllib2.py", line 406, in open
        response = meth(req, response)
      File "C:\Python27\lib\urllib2.py", line 519, in http_response
        'http', request, response, code, msg, hdrs)
      File "C:\Python27\lib\urllib2.py", line 444, in error
        return self._call_chain(*args)
      File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
        result = func(*args)
      File "C:\Python27\lib\urllib2.py", line 527, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 404: Not Found
    ----------------------------------------
     

    Attached Files:

  9. Jan 13, 2013 #29 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    Bradleys, what type of Tivo are you using to test this program? Also, can you send me the XML file from your Tivo so I can write code that reads it?

    Your Tivo video URL is different than the one from my Tivo HD. Plus the RSS Feed error doesn't happen on my Tivo. There is something different about your XML file. Do you live in the United States? Maybe non US boxes have different XML Files. I can't help until I see what your XML file looks like.
     
  10. Jan 13, 2013 #30 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    I have a Premier, an HD and an S3, I am testing against the Premier. Let me give it a try against the HD. I am in Dallas.

    The new file does not work against any of my TiVo's. Attached is the XML from my Premier box
     

    Attached Files:

  11. Jan 13, 2013 #31 of 133
    vanclute

    vanclute New Member

    154
    0
    Aug 3, 2003
    wow... my server REALLY did not like that. I added the port number to the URL and then got this:

    Code:
    192.168.2.16 - - [13/Jan/2013 12:42:33] code 400, message Bad request syntax ('\x16\x03\x01\x00\x8f\x01\x00\x00\x8b\x03\x01P\xf3\x1c9)\xa9\x84&\x86\x86\xd3\xb5\xd3\x13fn9s\xbcR\xbc\x05\xb3|\x12\x17\xd8\xdd\xbc\xaf\xe6\x02\x00\x00H\x00\xff\xc0')
    192.168.2.16 - - [13/Jan/2013 12:42:33] "??P?9)??&??ӵ?fn9s?R??|?ݼ??H??" 400 -
    192.168.2.16 - - [13/Jan/2013 12:42:33] code 400, message Bad request syntax ('\x16\x03\x01\x00\x8f\x01\x00\x00\x8b\x03\x01P\xf3\x1c9\xe5\x83t-\x7f\x1e"\xe9\x9dI\xf9;\xb2)\x8cwts(\x13#\xf0P\xb7\x83"6Y\x00\x00H\x00\xff\xc0')
    192.168.2.16 - - [13/Jan/2013 12:42:33] "??P?9?t-"?I?;?)?wts(#?P??"6YH??" 400 -
    The exact URL I used was:

    Code:
    https://192.168.2.16:10001/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes&AnchorOffset=0
    suggestions?
     
  12. Jan 13, 2013 #32 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    That URL has nothing to do with my program. It just retrieves the XML Now Playing List from your Tivo. Don't add a port number and use your Tivo URL not your computer's URL.
     
  13. Jan 13, 2013 #33 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    Thanks for the file, it looks almost identical to the Tivo HD XML. Not sure why it's not working. I'm going to try the code on Linux to see if I get different results. Will report back later tonight.

    BTW, what OS are you running?
     
  14. Jan 13, 2013 #34 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    Windows 7. As I said, the ealier file you created generates a readable RSS feed, but fails on the transcode. The last file you created fails on the RSS feed for me.

    I have both TiVo decode and your file extracted to the same directory. I have Python 2.7.3 installed.
     
  15. Jan 14, 2013 #35 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    Here is an updated version that should fix the RSS Feed. There was an & in the episode title and apparently browsers don't like the & character so it has to be replaced with &. I was doing that for the URL but not for any of the other data so an error was produced. This is now fixed.

    I also noticed that the program wasn't putting the port number in the Video URL so I placed port 80 in the URL. Maybe Windows 7 needs the port number.
     

    Attached Files:

  16. Jan 14, 2013 #36 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007

    Yes, those special characters! - I struggled with those when I developed my poster art lookup logic. The RSS is working but still failing with the '&' in Angels & Demons. If I delete that movie, it works fine.


    Unfortunately, it is still not working. I am sure you are getting a little tired of trouble shooting this. If you are still interested, I am attaching my code - this is the same output if I run it via firefox or input the url into VLN.

    Code:
    Video URL:  http://192.168.1.7:80/download/MuscleCar.TiVo?Container=%2FNowPlaying&id=4404019200&Format=video/x-tivo-mpeg
    
    HOME_OFFICE.home - - [14/Jan/2013 17:36:07] "GET /download/MuscleCar.TiVo?Container=%2FNowPlaying&id=4404019200&Format=video/x-tivo-mpeg HTTP/1.1" 200 -
    ----------------------------------------
    Exception happened during processing of request from ('192.168.1.6', 58127)
    Traceback (most recent call last):
      File "C:\Python27\lib\SocketServer.py", line 284, in _handle_request_noblock
        self.process_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 310, in process_request
        self.finish_request(request, client_address)
      File "C:\Python27\lib\SocketServer.py", line 323, in finish_request
        self.RequestHandlerClass(request, client_address, self)
      File "C:\Python27\lib\SocketServer.py", line 638, in __init__
        self.handle()
      File "C:\Python27\lib\BaseHTTPServer.py", line 340, in handle
        self.handle_one_request()
      File "C:\Python27\lib\BaseHTTPServer.py", line 328, in handle_one_request
        method()
      File "C:\Program Files (x86)\TivoProxy\Tivo Proxy Server.py", line 154, in do_GET
        videoFile =  openUrl(link, 'tivo', Tivo_MAK)
      File "C:\Program Files (x86)\TivoProxy\Tivo Proxy Server.py", line 25, in openUrl
        return urllib2.urlopen(url)
      File "C:\Python27\lib\urllib2.py", line 126, in urlopen
        return _opener.open(url, data, timeout)
      File "C:\Python27\lib\urllib2.py", line 406, in open
        response = meth(req, response)
      File "C:\Python27\lib\urllib2.py", line 519, in http_response
        'http', request, response, code, msg, hdrs)
      File "C:\Python27\lib\urllib2.py", line 444, in error
        return self._call_chain(*args)
      File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
        result = func(*args)
      File "C:\Python27\lib\urllib2.py", line 527, in http_error_default
        raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
    HTTPError: HTTP Error 404: Not Found
    ----------------------------------------
    
     

    If I get this working the next step is to try to feed this to my Plex Media Server using the feed me plugin. With that you can stream to Roku boxes, xbox... Heck, any number of devices.
     
  17. Jan 15, 2013 #37 of 133
    vanclute

    vanclute New Member

    154
    0
    Aug 3, 2003
    Ahh I see, my mistake. Here is the output:

    Code:
    <TiVoContainer><Details><ContentType>x-tivo-container/tivo-videos</ContentType><SourceFormat>x-tivo-container/tivo-dvr</SourceFormat><Title>Now Playing</Title><LastChangeDate>0x50F4F768</LastChangeDate><TotalItems>430</TotalItems><UniqueId>/NowPlaying</UniqueId></Details><SortOrder>Type,CaptureDate</SortOrder><GlobalSort>Yes</GlobalSort><ItemStart>0</ItemStart><ItemCount>16</ItemCount><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>The Owl and the Pussycat</Title><SourceSize>4404019200</SourceSize><Duration>7198000</Duration><CaptureDate>0x50F1C0BE</CaptureDate><ShowingDuration>7200000</ShowingDuration><ShowingStartTime>0x50F1C0C0</ShowingStartTime><Description>An uptight would-be writer shares a New York apartment with a part-time prostitute. Copyright Tribune Media Services, Inc.</Description><SourceChannel>186</SourceChannel><SourceStation>KNTVDT2</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000077810000</ProgramId><SeriesId>MV007781</SeriesId><StreamingPermission>Yes</StreamingPermission><TvRating>3</TvRating><MpaaRating>2</MpaaRating><ShowingBits>1</ShowingBits><SourceType>2</SourceType><IdGuideSource>36151</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/The%20Owl%20and%20the%20Pussycat.TiVo?Container=%2FNowPlaying&id=1337050</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1337050</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Pop Up Video</Title><SourceSize>2202009600</SourceSize><Duration>1799000</Duration><CaptureDate>0x50F14936</CaptureDate><ShowingDuration>1800000</ShowingDuration><ShowingStartTime>0x50F14938</ShowingStartTime><EpisodeTitle>Celeb Cameos</EpisodeTitle><SourceChannel>44</SourceChannel><SourceStation>VH1P</SourceStation><HighDefinition>No</HighDefinition><ProgramId>EP014764110078</ProgramId><SeriesId>SH01476411</SeriesId><EpisodeNumber>206</EpisodeNumber><StreamingPermission>Yes</StreamingPermission><TvRating>4</TvRating><ShowingBits>786946</ShowingBits><SourceType>2</SourceType><IdGuideSource>16376</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Pop%20Up%20Video.TiVo?Container=%2FNowPlaying&id=1337184</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:save-until-i-delete-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1337184</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Little Miss Marker</Title><SourceSize>2202009600</SourceSize><Duration>5400000</Duration><CaptureDate>0x50F0996E</CaptureDate><ShowingDuration>5400000</ShowingDuration><ShowingStartTime>0x50F09970</ShowingStartTime><Description>Bookie Sorrowful Jones receives a little girl as an IOU in the Damon Runyon tale. Copyright Tribune Media Services, Inc.</Description><SourceChannel>186</SourceChannel><SourceStation>KNTVDT2</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000031060000</ProgramId><SeriesId>MV003106</SeriesId><StreamingPermission>Yes</StreamingPermission><TvRating>4</TvRating><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>36151</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Little%20Miss%20Marker.TiVo?Container=%2FNowPlaying&id=1337049</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1337049</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>The Millionaire Matchmaker</Title><SourceSize>2202009600</SourceSize><Duration>3599000</Duration><CaptureDate>0x50EF9C4E</CaptureDate><ShowingDuration>3600000</ShowingDuration><ShowingStartTime>0x50EF9C50</ShowingStartTime><EpisodeTitle>Wounded Wally and the Mama's Boy</EpisodeTitle><Description>Daniel Negreanu is a 37-year-old professional poker player; Brian Holloway II is a divorced heir to his family's fortune. Copyright Tribune Media Services, Inc.</Description><SourceChannel>48</SourceChannel><SourceStation>BRAVOP</SourceStation><HighDefinition>No</HighDefinition><ProgramId>EP010175710066</ProgramId><SeriesId>SH01017571</SeriesId><EpisodeNumber>601</EpisodeNumber><StreamingPermission>Yes</StreamingPermission><TvRating>5</TvRating><ShowingBits>2</ShowingBits><SourceType>2</SourceType><IdGuideSource>31555</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/The%20Millionaire%20Matchmaker.TiVo?Container=%2FNowPlaying&id=1336029</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336029</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Highway to Heaven</Title><SourceSize>2202009600</SourceSize><Duration>3599000</Duration><CaptureDate>0x50EE128E</CaptureDate><ShowingDuration>3600000</ShowingDuration><ShowingStartTime>0x50EE1290</ShowingStartTime><EpisodeTitle>Popcorn, Peanuts and Cracker Jacks</EpisodeTitle><Description>When Jonathan is called away, Mark visits his former partner and uncovers a family secret; guest Shannen Doherty. Copyright Tribune Media Services, Inc.</Description><SourceChannel>186</SourceChannel><SourceStation>KNTVDT2</SourceStation><HighDefinition>No</HighDefinition><ProgramId>EP000020920031</ProgramId><SeriesId>SH002092</SeriesId><EpisodeNumber>7856</EpisodeNumber><StreamingPermission>Yes</StreamingPermission><TvRating>4</TvRating><ShowingBits>513</ShowingBits><SourceType>2</SourceType><IdGuideSource>36151</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Highway%20to%20Heaven.TiVo?Container=%2FNowPlaying&id=1337048</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1337048</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>The Brass Bottle</Title><SourceSize>4404019200</SourceSize><Duration>7198000</Duration><CaptureDate>0x50EDF66E</CaptureDate><ShowingDuration>7200000</ShowingDuration><ShowingStartTime>0x50EDF670</ShowingStartTime><Description>An architect finds an old bottle, out of which comes a genie eager to do his bidding. Copyright Tribune Media Services, Inc.</Description><SourceChannel>186</SourceChannel><SourceStation>KNTVDT2</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000051870000</ProgramId><SeriesId>MV005187</SeriesId><StreamingPermission>Yes</StreamingPermission><TvRating>4</TvRating><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>36151</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/The%20Brass%20Bottle.TiVo?Container=%2FNowPlaying&id=1337047</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1337047</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Madame X</Title><SourceSize>4404019200</SourceSize><Duration>7198000</Duration><CaptureDate>0x50EDDA4E</CaptureDate><ShowingDuration>7200000</ShowingDuration><ShowingStartTime>0x50EDDA50</ShowingStartTime><Description>A young lawyer defends an alcoholic woman accused of murder, unaware that she is his mother. Copyright Tribune Media Services, Inc.</Description><SourceChannel>186</SourceChannel><SourceStation>KNTVDT2</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000025610000</ProgramId><SeriesId>MV002561</SeriesId><StreamingPermission>Yes</StreamingPermission><TvRating>4</TvRating><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>36151</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Madame%20X.TiVo?Container=%2FNowPlaying&id=1337046</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1337046</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>The Millionaire Matchmaker</Title><SourceSize>2202009600</SourceSize><Duration>3598000</Duration><CaptureDate>0x50EDA20E</CaptureDate><ShowingDuration>3600000</ShowingDuration><ShowingStartTime>0x50EDA210</ShowingStartTime><EpisodeTitle>Dateapause</EpisodeTitle><Description>A globetrotting DJ and a mother of four search for matches. Copyright Tribune Media Services, Inc.</Description><SourceChannel>48</SourceChannel><SourceStation>BRAVOP</SourceStation><HighDefinition>No</HighDefinition><ProgramId>EP010175710037</ProgramId><SeriesId>SH01017571</SeriesId><EpisodeNumber>405</EpisodeNumber><StreamingPermission>Yes</StreamingPermission><TvRating>5</TvRating><ShowingBits>514</ShowingBits><SourceType>2</SourceType><IdGuideSource>31555</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/The%20Millionaire%20Matchmaker.TiVo?Container=%2FNowPlaying&id=1335933</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1335933</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Adventure in Baltimore</Title><SourceSize>3953131520</SourceSize><Duration>6300000</Duration><CaptureDate>0x50E69D92</CaptureDate><ShowingDuration>6300000</ShowingDuration><ShowingStartTime>0x50E69D94</ShowingStartTime><Description>A minister's teenage daughter grows up, gains a suitor and speaks out for women's rights. Copyright Tribune Media Services, Inc.</Description><SourceChannel>501</SourceChannel><SourceStation>TCM</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000087180000</ProgramId><SeriesId>MV008718</SeriesId><StreamingPermission>Yes</StreamingPermission><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>12852</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Adventure%20in%20Baltimore.TiVo?Container=%2FNowPlaying&id=1336373</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336373</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Upside.Down.2012.BRRIP.XVID-AC3-PULSAR</Title><CopyProtected>Yes</CopyProtected><SourceSize>4278190080</SourceSize><Duration>6466000</Duration><CaptureDate>0x50E68505</CaptureDate><ShowingDuration>6420000</ShowingDuration><ShowingStartTime>0x50E68504</ShowingStartTime><EpisodeTitle>Upside.Down.2012.BRRIP.XVID-AC3-PULSAR</EpisodeTitle><Description>Upside.Down.2012.BRRIP.XVID-AC3-PULSAR Copyright Tribune Media Services, Inc.</Description><HighDefinition>No</HighDefinition><ProgramId>BS15000171</ProgramId><SeriesId>BS1430576535</SeriesId><StreamingPermission>Yes</StreamingPermission><ShowingBits>0</ShowingBits></Details><Links><Content><Url>http://192.168.2.10:80/download/Upside.Down.2012.BRRIP.XVID-AC3-PULSAR.TiVo?Container=%2FNowPlaying&id=1336589</Url><ContentType>video/x-tivo-raw-tts</ContentType><Available>No</Available></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336589</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Step.Brothers[2008][Unrated.Edition]DvDrip-ColinWithaT</Title><CopyProtected>Yes</CopyProtected><SourceSize>1929379840</SourceSize><Duration>6335000</Duration><CaptureDate>0x50E682F1</CaptureDate><ShowingDuration>6300000</ShowingDuration><ShowingStartTime>0x50E682EF</ShowingStartTime><EpisodeTitle>Step.Brothers[2008][Unrated.Edition]DvDrip-ColinWithaT</EpisodeTitle><Description>Step.Brothers[2008][Unrated.Edition]DvDrip-ColinWithaT Copyright Tribune Media Services, Inc.</Description><HighDefinition>No</HighDefinition><ProgramId>BS15000161</ProgramId><SeriesId>BS988614116</SeriesId><StreamingPermission>Yes</StreamingPermission><ShowingBits>0</ShowingBits></Details><Links><Content><Url>http://192.168.2.10:80/download/Step.Brothers%5B2008%5D%5BUnrated.Edition%5DDvDrip-ColinWithaT.TiVo?Container=%2FNowPlaying&id=1336588</Url><ContentType>video/x-tivo-raw-tts</ContentType><Available>No</Available></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336588</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Little Girl Lost: The Delimar Vera Story</Title><SourceSize>2202009600</SourceSize><Duration>7199000</Duration><CaptureDate>0x50E67DEE</CaptureDate><ShowingDuration>7200000</ShowingDuration><ShowingStartTime>0x50E67DF0</ShowingStartTime><Description>A woman who lost her daughter in a fire tries to prove that a young girl is the same child. Copyright Tribune Media Services, Inc.</Description><SourceChannel>504</SourceChannel><SourceStation>LMN</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV002286640000</ProgramId><SeriesId>MV228664</SeriesId><StreamingPermission>Yes</StreamingPermission><TvRating>4</TvRating><MpaaRating>8</MpaaRating><ShowingBits>1</ShowingBits><SourceType>2</SourceType><IdGuideSource>18480</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Little%20Girl%20Lost%20The%20Delimar%20Vera%20Story.TiVo?Container=%2FNowPlaying&id=1336585</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336585</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>I'll Be Seeing You</Title><SourceSize>3282042880</SourceSize><Duration>5397000</Duration><CaptureDate>0x50E668DB</CaptureDate><ShowingDuration>5400000</ShowingDuration><ShowingStartTime>0x50E668D8</ShowingStartTime><Description>A woman on leave from prison meets a shellshocked veteran on furlough, and they fall in love at Christmas. Copyright Tribune Media Services, Inc.</Description><SourceChannel>501</SourceChannel><SourceStation>TCM</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000009860000</ProgramId><SeriesId>MV000986</SeriesId><StreamingPermission>Yes</StreamingPermission><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>12852</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/I'll%20Be%20Seeing%20You.TiVo?Container=%2FNowPlaying&id=1334494</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1334494</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Weekend for Three</Title><SourceSize>2202009600</SourceSize><Duration>4500000</Duration><CaptureDate>0x50E617FA</CaptureDate><ShowingDuration>4500000</ShowingDuration><ShowingStartTime>0x50E617FC</ShowingStartTime><Description>A loud friend gets too friendly and wears out his welcome in a couple's home. Copyright Tribune Media Services, Inc.</Description><SourceChannel>501</SourceChannel><SourceStation>TCM</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000166700000</ProgramId><SeriesId>MV016670</SeriesId><StreamingPermission>Yes</StreamingPermission><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>12852</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Weekend%20for%20Three.TiVo?Container=%2FNowPlaying&id=1336372</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336372</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>Chelsea Lately</Title><SourceSize>2202009600</SourceSize><Duration>1796000</Duration><CaptureDate>0x50E54186</CaptureDate><ShowingDuration>1800000</ShowingDuration><ShowingStartTime>0x50E54188</ShowingStartTime><Description>Christina Aguilera; Blake Shelton; Adam Levine. Copyright Tribune Media Services, Inc.</Description><SourceChannel>64</SourceChannel><SourceStation>EP</SourceStation><HighDefinition>No</HighDefinition><ProgramId>EP009387531133</ProgramId><SeriesId>SH938753</SeriesId><StreamingPermission>Yes</StreamingPermission><TvRating>5</TvRating><ShowingBits>852480</ShowingBits><SourceType>2</SourceType><IdGuideSource>17561</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/Chelsea%20Lately.TiVo?Container=%2FNowPlaying&id=1335625</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1335625</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item><Item><Details><ContentType>video/x-tivo-raw-tts</ContentType><SourceFormat>video/x-tivo-raw-tts</SourceFormat><Title>The Squall</Title><SourceSize>2202009600</SourceSize><Duration>7200000</Duration><CaptureDate>0x50E528EA</CaptureDate><ShowingDuration>7200000</ShowingDuration><ShowingStartTime>0x50E528EC</ShowingStartTime><Description>A gypsy woman applies her feminine charms to the male members of a farmhouse where she takes refuge during a storm. Copyright Tribune Media Services, Inc.</Description><SourceChannel>501</SourceChannel><SourceStation>TCM</SourceStation><HighDefinition>No</HighDefinition><ProgramId>MV000419870000</ProgramId><SeriesId>MV041987</SeriesId><StreamingPermission>Yes</StreamingPermission><MpaaRating>8</MpaaRating><ShowingBits>0</ShowingBits><SourceType>2</SourceType><IdGuideSource>12852</IdGuideSource></Details><Links><Content><Url>http://192.168.2.10:80/download/The%20Squall.TiVo?Container=%2FNowPlaying&id=1336371</Url><ContentType>video/x-tivo-raw-tts</ContentType></Content><CustomIcon><Url>urn:tivo:image:expired-recording</Url><ContentType>image/*</ContentType><AcceptsParams>No</AcceptsParams></CustomIcon><TiVoVideoDetails><Url>https://192.168.2.10:443/TiVoVideoDetails?id=1336371</Url><ContentType>text/xml</ContentType><AcceptsParams>No</AcceptsParams></TiVoVideoDetails></Links></Item></TiVoContainer>
    
    Hope it's helpful!
     
  18. Jan 15, 2013 #38 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    Vanclute, thanks for the data, it's always good to get more data to test. Did you try the latest version of the program? Are you still having problems?


    Bradleys, I have no idea why the "&Format=video/x-tivo-mpeg" is being added to the end of your URL. I tested the XML File you gave me and it doesn't append that to the end. That XML file doesn't even have "&Format=" located in it. Today I will have access to a Windows 7 computer and I will test to see if I can reproduce the error. You might try removing the "&Format" part of the URL and see if that works. If it does then I can just remove it before opening the URL.
     
  19. Jan 15, 2013 #39 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    From your first post:
    http://192.168.1.100:8000/download/...owPlaying&id=4707752&Format=video/x-tivo-mpeg


    I am sorry, that was based on the origional format from your first post. I have tried it with and without the "&Format="... Let me try it again tonight without. Sorry if I missed something.
     
  20. Jan 15, 2013 #40 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    You should be using the unmodified URLs from the RSS feed that you get when you enter:

    http://<Server_URL>:<Port>/rss

    Server_URL and Port should be the same as what you set in the code.

    I know Firefox doesn't show the urls in the RSS Feed but on my computer. I can click the listed .tivo link and have them play in Firefox. Or you can right click on the .tivo link and save the location and paste it in to VLC. View the page source to see the actual RSS Feed that was sent from my program. Chrome and IE show the actual RSS Feed code and you can just copy and paste.

    Also, hope I don't sound frustrated or angry in my posts because I'm not. I enjoy programming and I really want to find this error and help you get it working. I have other feature ideas for this program so I would really want this to work on everyone's computer before going forward.

    Edit:

    I just tested the program on a Windows 7 computer and it worked fine without modifications.
     

Share This Page