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

Tivo plugin for Plex

Discussion in 'TiVo Home Media Features & TiVoToGo' started by dadrepus, Mar 9, 2013.

  1. Mar 9, 2013 #1 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    I don't know how many of you are Plex fans but I love the media server. There was a Tivo plugin developed that allowed us to watch all our Tivo recordings without downloading, within the Plex environment. I don't understand the specifics of how it worked but the plugin is broken and the author seems to have abandoned it. I have a copy of the latest, that still does not work although it can see the recordings in each Tivo, just not begin to play them.

    Is there anybody talented enough and willing to step up and fix this? I believe it is currently Mac only but it would be great to see cross development. Plex has media servers for Mac, PC, Linux and DLNA. Clients for mac, Windows, GoogleTV, Roku, Samsung, LG, Android, IOS, and more.

    The Plugins go in the Server application, currently 3 Mac, PC, Linux.

    Any takers? https://github.com/plexinc-plugins/TiVo.bundle
     
  2. Mar 9, 2013 #2 of 271
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    It's busted for the same reason as everything else, the expired cookies being sent out by the TiVo.

    [Browsing source...] Well, this is interesting. It's in Python, and there's code in there to download from the TiVo in essentially the way pyTivo does it, but it's commented out, in favor of a call to curl. I dunno why everybody thinks curl is the way to go for this... Anyway, that means that you can adapt the curl workaround that's been posted in other threads.
     
  3. Mar 9, 2013 #3 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    The only thing I could find so far in looking is to use java instead of curl. At least that was for a kmttg thread I was following. I am no coder but I can surely cut and paste.
    Is there someplace else I should look?
     
  4. Mar 9, 2013 #4 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    I have posted this on the Plex forum, hopefully someone will pick this up and run with it. Thanks for the help.
     
  5. Mar 9, 2013 #5 of 271
    wmcbrine

    wmcbrine Ziphead

    10,369
    22
    Aug 2, 2003
    http://www.tivocommunity.com/tivo-vb/showthread.php?p=9527463#post9527463

    although obviously that's not quite right, either. You'll have to figure out the right location for the curl.conf file. Or, you can modify the command line used to call curl (in TiVo.bundle/Contents/Code/__init__.py).
     
  6. Mar 12, 2013 #6 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    I found where the curl config file was and added the lines necessary but I still get the same strange behavior. The access key for the mbr tivo causes Plex to just spin the magic wheel and go nowhere. The two tivos that i have not given the access key, show their recordings in a following page but Plex cannot play the recordings. Plex says "cannot read the input stream" which means it doesn't know what to do with a .tivo file, I would think. Somewhere it would need to transcode but I'm not sure Plex's transcoder know about .tivo files.
     
  7. Mar 17, 2013 #7 of 271
    muerte33

    muerte33 New Member

    87
    0
    Jul 4, 2008
    Try setting the date on your PC to 3 months ago to see if that fixes it.
    This program runasdate
    http://www.nirsoft.net/utils/run_as_date.html
    will run that specific program with the date you select.
    If it works, then you know you have the expired cookie problem.
    Oops, sorry!
    This is a Mac problem, I am out!
     
  8. Mar 17, 2013 #8 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    No, your suggestion actually worked, sorta. I have 3 tivo's, the plugin asks for a MAK initially, before going to any recordings. After changing the date back, as you suggested, I added 1 MAC of the 3. The next screen brought me to the list of Tivos.
    If I choose the one with the MAK, next sceeen doesnt load. If I go to the other two, my shows show up in the next screen. When clicking on the show to play it, it NOW works and I can watch the show, where before the date change I got the "can't play stream message".
    So, yes, my Mac suffers from the expired cookie problem but also the Plex plugin seems to have an error in configuration. I also tried with no MAK key and a fictitious key, neither one allows me access to the next page.
     
  9. Mar 18, 2013 #9 of 271
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    So I understand, why does plex need the cookie? What exactly does it do with it?

    Do you think this is the curl line in question? If so, how do you suggest it be modified.

    Code:
    curlp = Popen(["/usr/bin/curl", url, "--digest", "-s", "-u", "tivo:"+Prefs.Get("MAC"), "-c", "/tmp/cookies.txt"], stdout=PIPE)
    Above mcbrine linked to it says to add cookie = "sid=abc" to the config file. I don't see a config file in plex so is there a way to add something to the curl config file?

    Code:
    /usr/bin/curl-config
    PS to add...

    For those of us with hacked Tivo's, is there anyway to change the date in Tivoapp?

    Code:
    Set-Cookie: sid=%s; path=/; expires="Saturday, 16-Feb-2013 00:00:00 GMT";
     
  10. Mar 30, 2013 #10 of 271
    Beryl

    Beryl Well-Known Member

    5,049
    40
    Feb 22, 2009
    Texas
    Has there been any progress on this? I recently got into Plex/Roku and dread having to convert the many ".TiVo" files created and saved (used Tivo Desktop with the fix) to something Plex can interpret.

    Since Windows Media can read the files, it seems that it would be easy for Plex to handle them.
     
  11. Mar 30, 2013 #11 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    No, not really. I have been the last to post on the Plex forum on this, no-one has stepped up with the required knowledge to fix it. I, have noticed with my experiments, that the plugin indeed suffers from the cookie/date problem that plague so many other tivo apps. If you move the date of your computer back prior to Feb 16th I think, then you can get the Plex plugin to see and play the tivo recordings. Also, I have 3 tivos and the one I give the plugin the tivo media access key does not work at all but the other two, everything show up and works. So, even if they fix the issue with the time, it still has a problem working exactly right but it is so close.
     
  12. Mar 30, 2013 #12 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    [QUPTE]
    Above mcbrine linked to it says to add cookie = "sid=abc" to the config file. I don't see a config file in plex so is there a way to add something to the curl config file?

    [/QUOTE]

    The config file for curl for the tivo plugin is found under Library/Application support/Plex Media Server/plug-in Support/Data/com.plexapp.plugins.tivo.

    It has this in it for me:

    # Netscape HTTP Cookie File
    # http://curl.haxx.se/rfc/cookie_spec.html
    # This file was generated by libcurl! Edit at your own risk.


    192.168.1.5 FALSE / FALSE 1360972800 sid B63AD0EE114BF095

    I have tried removing this and adding the fixes many have talked about but cannot get things to work out, as well as many different combinations.

    Many of my tries would not allow the plugin to load at all.
     
  13. Apr 7, 2013 #13 of 271
    BankZ

    BankZ New Member

    188
    0
    Aug 16, 2007
    yeah, this would be awesome if we could get this to work!
     
  14. Jul 24, 2013 #14 of 271
    sangahm

    sangahm New Member

    24
    0
    Nov 28, 2010
    It looks like the cookie problem is a dead end at this point.
     
  15. Jul 24, 2013 #15 of 271
    philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Not necessarily.

    Tivo is sending out a new sw version with the cookie problem fixed, 11.0m

    I have it on both my TivoHD units.

    Note, if you have a hacked Tivo, if you let it install, you will lose your hacks.

    If you DO have a hacked Tivo, you are probably disabling the update with the 'NOTHANKS' tivoapp patch or your system has been rebooting every night to try to install the update.
     
  16. Jul 24, 2013 #16 of 271
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Or you haven't received the update at this time. I check daily and haven't received it yet.
     
  17. Sep 5, 2013 #17 of 271
    jeepguy_1980

    jeepguy_1980 Unregistered User

    250
    0
    Mar 1, 2008
    Newport...
    Does this work with the Premiere TiVos? When I click the app in my Plex, it doesn't show any TiVo data on the screen.
     
  18. Sep 6, 2013 #18 of 271
    dadrepus

    dadrepus Member

    113
    0
    Jan 4, 2012
    Columbia, MD
    yes, I have a Premiere and it just started working all on its own which probably means that Tivo fixed the problem. Make sure you put in you MAC from your Tivo in the plugins preferences. This plugin only seems to work with the regular Plex client and not the "Plex Home Theater" client that those with a Plex Pass use. The Plex developers did something to break this plugin in that release and since this is "abandoned ware" unless someone else picks it up it will stay broke.
     
  19. Sep 6, 2013 #19 of 271
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Do you have the instructions how to install this? Where are the plugins preferences? I haven't seen them.
     
  20. Sep 6, 2013 #20 of 271
    Beryl

    Beryl Well-Known Member

    5,049
    40
    Feb 22, 2009
    Texas
    I wanted to ask the same thing. I found a couple of plug-ins months ago but neither showed up in the list of installable channels.
     

Share This Page