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 22, 2013 #61 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    What we need now is a decent video server that can take a custom RSS feed and be served in the home (maybe externally). I have tried plugins for both plex and Windows Media server and haven't found anything that works perfectly yet.

    Most of what I am looking at are designed around video podcasts...
     
  2. Jan 22, 2013 #62 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    I got it to work with both Serviio Media Server and PS3 Media Server. I use these to stream to my Sony TV and Xbox 360.
     
  3. Jan 22, 2013 #63 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    I want to say that this new version has fixed all of my issues! The rss is properly formatted and I can play and stream video's.

    Allanon, when you have a chance - can you take a quick screen print to show me how you have the rss feed configured on the Serviio counsole?

    I am not seeing the feed and I am sure it is just me being dense.
     
  4. Jan 23, 2013 #64 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    [​IMG]

    1. Open the Serviio console
    2. Click on "Library"
    3. Click on "Online sources"
    4. Click on "Add"
    5. Enter RSS feed and name then click "Add"
    6. Click on "Save"

    Serviio should read the RSS feed and launch ffmpeg to check each video in the feed. You should probably turn on transcoding so the video is converted in to the proper format for your devices. It might take a while before the program actually reads the RSS feed. You won't be able to see the videos on your device until the RSS feed and ffmpeg process has been preformed.
     

    Attached Files:

  5. Jan 23, 2013 #65 of 133
    bradleys

    bradleys It'll be fine....

    3,687
    4
    Oct 31, 2007
    OK, that is how I set it up - but I wasn't very patient! :)

    I want to say again that this is now working perfectly. I am wondering if the number of shows on my TiVo was giving us an invalid xml file at the break. Anyway, thanks a lot for the work.
     
  6. Jan 23, 2013 #66 of 133
    tatergator1

    tatergator1 Active Member

    1,523
    6
    Mar 27, 2008
    Columbus, Ohio
    Out of curiosity, using Serviio and serving to your Sony TV or Xbox, do you have FF/REW capabilities of the video?
     
  7. Jan 23, 2013 #67 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    No, FF/REW, just pause.
     
  8. Jan 24, 2013 #68 of 133
    csell

    csell Member

    278
    0
    Apr 16, 2007
    Quick question - I finally was able to get this working (for the most part). Anyway, is it true that this does not work on copyrighted video? It seems to not play any copyrighted material but will play all of the ones that are not. Is this true or am I missing something?
     
  9. Jan 24, 2013 #69 of 133
    tatergator1

    tatergator1 Active Member

    1,523
    6
    Mar 27, 2008
    Columbus, Ohio
    Yes. It will not play anything that you would not be able to transfer to your computer. This is using the capabilities of the TIVO HME system. The only way to watch copy-protected videos is via true streaming between Tivo Premieres or in your home network with the Tivo Stream.

    The set-up acts like a video "stream", but this is really just transferring and displaying the video on to non-Tivo peripherals, and transfers aren't permitted with copy-protected shows.
     
  10. Jan 24, 2013 #70 of 133
    jlobello

    jlobello New Member

    24
    0
    Jan 16, 2005
    I found this thread & tried out the software last night. It seems to be working perfectly from VLC. I was able to have VLC view the RSS feed, then click on an entry & the video starts up right away! This seems like a great idea, rather than waiting for the whole video to transfer -- you can start viewing it right away. Trick play is obviously not working, as is to be expected.

    I also tried viewing a show on my iphone. Mobile safari doesn't know how to deal with RSS feeds, so that didn't work. Instead I sent an e-mail to myself with the direct URL to a show. I was then able to use the app, oplayer lite, to view a show!! But, sound was not working, which I think is due to an oplayer bug.
     
  11. Jan 24, 2013 #71 of 133
    csell

    csell Member

    278
    0
    Apr 16, 2007
    I just found it yesterday as well and spent a few hours to get it up and running. Very cool and great work was done on it. Unfortunately it seems like 80% of my shows are copyrighted and thus can't be transferred. So I probably won't spend anymore time on it cause of that fact. But again, great work by all involved.
     
  12. Jan 24, 2013 #72 of 133
    tatergator1

    tatergator1 Active Member

    1,523
    6
    Mar 27, 2008
    Columbus, Ohio
    Let me guess, Time Warner Cable? I feel you pain. Only broadcast stations (CBS, NBC, etc.) are viewable for me.

    I think a lot of people would find this useful, but it's been flying under the radar for a while. I see two drawbacks to the method: copy-protection, and lack of FF/REW. Perhaps a solution to FF/REW could be developed, but copy-protection circumvention is a non-starter. Still, Allanon has developed a relatively easy to implement MRV method that doesn't require another Tivo box.
     
  13. Jan 24, 2013 #73 of 133
    csell

    csell Member

    278
    0
    Apr 16, 2007
    Tell me more!
     
  14. Jan 24, 2013 #74 of 133
    tatergator1

    tatergator1 Active Member

    1,523
    6
    Mar 27, 2008
    Columbus, Ohio
    I was speaking some what generally, but I believe he's had success using Serviio Media Server in conjunction with the python script. Serviio can deliver the video to a number of Smart TV's as well as PS3's, Xbox 360's, etc. See here: http://www.serviio.org/features.

    There is some discussion of how to set that up within this thread as well.
     
  15. Jan 24, 2013 #75 of 133
    csell

    csell Member

    278
    0
    Apr 16, 2007
    But the copy protection issue still applies?
     
  16. Jan 24, 2013 #76 of 133
    tatergator1

    tatergator1 Active Member

    1,523
    6
    Mar 27, 2008
    Columbus, Ohio
    Yes, as I mentioned above, getting around the copy-protection is not possible. We just have to wait for the Tivo Mini (which will do true streaming) and hope the pricing is reasonable, or have multiple Premiere boxes to stream the copy-protected stuff.
     
  17. Jan 24, 2013 #77 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    I first developed this program so I could instantly watch TiVo videos on my Sony smart TV. I knew FF/REW and copy protected files was not going to be possible. But after thinking about the FF/REW problem there is probably a solution, it would require decoding the TiVo file to a file on disk then feeding that file to the media server. The downside is you will need a few GB of free space on your hard drive. I could probably add this feature as an option.

    I also would like to add a HTML webpage that will have links to the videos. This will make it easier to play in a browser. And I've also thought about adding my own UPNP server which would eliminate the need for a separate media server. But these are just things I'd like to do and I'm making no promises on them ever being added.

    If you have any ideas for this program please post them.

    Also, I will probably start a new thread on this forum for this program. It will have a description and documentation as the first post and I can just keep updating that post with changes opposed to a new version in each post I make.
     
  18. Jan 26, 2013 #78 of 133
    vanclute

    vanclute Member

    157
    0
    Aug 3, 2003
    Been absent a bit and I see that much has happened with this! I can now see the entire Now Playing list. Unfortunately, playback still fails completely. :(

    Code:
    Video URL:  http://192.168.2.10:80/download/The%20Asphalt%20Jungle.TiVo?Container=%2FNowPlaying&id=1336368
    
    192.168.2.16 - - [26/Jan/2013 01:42:05] "GET /download/The%20Asphalt%20Jungle.TiVo?Container=%2FNowPlaying&id=1336368 HTTP/1.1" 200 -
    
    Decoding video
    
    ----------------------------------------
    Exception happened during processing of request from ('192.168.2.16', 50181)
    Traceback (most recent call last):
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 284, in _handle_request_noblock
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 310, in process_request
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 323, in finish_request
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 639, in __init__
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 337, in handle
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 325, in handle_one_request
      File "/Applications/Tivo Proxy Server 5.py", line 172, in do_GET
        decode = subprocess.Popen(['tivodecode', '-n','-m', Tivo_MAK, '--', '-'],shell=False,bufsize=0,stdin=subprocess.PIPE,stdout=subprocess.PIPE)
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in __init__
      File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
    OSError: [Errno 2] No such file or directory
    ----------------------------------------
    
    Any idea why?
     
  19. Jan 26, 2013 #79 of 133
    Allanon

    Allanon Member

    581
    0
    Nov 2, 2005
    That error happens when tivodecode can't be found. Do you have tivodecode in the same directory as the program? Are you running the program directly out of the program's directory?
     
  20. Jan 26, 2013 #80 of 133
    vanclute

    vanclute Member

    157
    0
    Aug 3, 2003
    As a matter of fact I was not running it where tivodecode was, so thanks for pointing that out.

    However, even when running it within the tivodecode directory, I get the identical error.
     

Share This Page