I wrote a TiVo Space Viewer App for the Series 3

Discussion in 'TiVo Coffee House - TiVo Discussion' started by pkellner, Jan 21, 2008.

  1. pkellner

    pkellner New Member

    9
    0
    Jan 21, 2008

    Advertisements

    Not sure where to post it, but as a learning project for Microsoft's LINQ (XML processing) I decided to write an app that would show me my TiVo recording by space. I did two graphs, by content type and HD verses SD. Feel free to download it and run it. I promise there is no bad juju in it. I pushed the source up also so you can compile it yourself.

    It runs on XP and Vista as far as I know. One trick I noticed is that you don't have to put in your TiVo service number, just your IP address in that field, so all you need is your TiVo IP address and your Media Key Number and the app will work.

    Feel free to post feedback on the blog comments.

    http://peterkellner.net/2008/01/18/tivospaceviewerwithlinq/


    Peter Kellner
    http://peterkellner.net

    [​IMG]
     
  2. greg_burns

    greg_burns Now in HD

    6,392
    2
    May 21, 2004
    Slower...
    This looks really cool and I definately plan to check it deeper later. :up:

    I noticed right away your FSI isn't agreeing with mine nor TivoPlayList.

    I suspect it is because you are not using ItemCount and AnchorOffset. I believe the first call is limited to 128 items. You have to do multiple calls to get all the shows on your Tivo.

    // your C# version...
    string urlName =
    string.Format(@"https://{0}/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes", Properties.Settings1.Default.TivoService);

    ' my VB vesrion...
    Dim url As String = "https://" & m_DVR.IP & "/TiVoConnect?Command=QueryContainer&Container=%2FNowPlaying&Recurse=Yes&ItemCount=" & itemcount & "&AnchorOffset=" & items

    I have VS2008 source code on my site if you won't to poke around. There are some older threads on this site where I got my ideas from. I'll see if I can't link to them.
     
  3. windracer

    windracer joined the 10k club

    12,321
    241
    Jan 3, 2003
    St. Pete, FL
    Some people are more paranoid about this than others, but your TSN is shown in one of your screenshots.
     
  4. mikeyts

    mikeyts Stream Warrior

    2,422
    5
    Jul 10, 2004
    San Diego,...
    This looks very interesting, but how about a pre-built version for people who'd just like to use it :)? I've got an old release of VS somewhere (probably circa 2004), but I haven't used it in years. I imagine that many people would enjoy using this who aren't programmers at all :D.
     
  5. greg_burns

    greg_burns Now in HD

    6,392
    2
    May 21, 2004
    Slower...

    Advertisements

    Anybody else having problems modifying their hosts file on Vista? I had to hardcode my IP in the sourcecode to try it out.

     
  6. shane_pcs

    shane_pcs New Member

    16
    0
    Jan 2, 2008
    Frisco, TX
    yeah, those executables are not very executable. :) Looks like a nice program though.
     
  7. shane_pcs

    shane_pcs New Member

    16
    0
    Jan 2, 2008
    Frisco, TX
    As for the hosts file, follow the instructions from Mikes Gadget (nice addition as well)

    "In Vista, click the Windows Start menu, then navigate to All Programs, Accessories, then right-click on Command Prompt and choose Run as administrator. From the command prompt, type:

    notepad %SystemRoot%\system32\drivers\etc\hosts

    You need to add a new line at the bottom of the HOSTS file that associates your TiVo IP address with its service number (you can find the service number on your TiVo by navigating to Messages & Settings, then Account & System Information, then System Information). For example:

    192.168.1.104 123-0000-4567-7f7f

    Choose File/Save in Notepad. Then, File/Exit. Then close the command prompt window.
    "
     
  8. greg_burns

    greg_burns Now in HD

    6,392
    2
    May 21, 2004
    Slower...
    Thanks. Always forget about that in Vista.
     
  9. sushikitten

    sushikitten LivingLippy.com

    33,373
    1,524
    Jan 27, 2005
    Chicago-ish...
    Another vote for "click and install" please. ;)
     
  10. visionary

    visionary HAVE BRAIN WILL USE!

    5,065
    0
    May 31, 2006
    Norfolk Va.
    This is an excellent idea I have proposed for years, programmers and hackers write stuff to improve existing products! They would get far more fame and praise than doing bad things. Yes, add some stuff to Tivo that ought to be there. If it can't be sold due to some copyright stupidity, just release it to all free for the fame.

    Go look at Windows, lots could be improved, like a way to set IE to NOT SAVE your web pages to disk, and for an escape key that WOULD WORK when IE gets hung to exit that page, and so on. Keep up your great work and improve things!! Good job guy!!
     
  11. mattack

    mattack Well-Known Member

    25,706
    680
    Apr 9, 2001
    sunnyvale
    I'm on a Mac so can't run it anyway, but where is the size of the deleted shows and any remaining *unused* space on the Tivo? (e.g. I have a 1 hour suggestion, a new half hour show records, deleting the suggestion... now there is still 1/2 hour of completely unallocated space.)
     
  12. morac

    morac Cat God TCF Club

    15,149
    2,615
    Mar 14, 2003
    NJ
    Here's a link to a guide I wrote up about this in 2005. This was for the S2 so the 128 limit might have been expanded for the S3/HD, but the rest of the post is still valid.
     
  13. h0mi

    h0mi Member

    48
    0
    Dec 28, 2007
    An executable or turning this into a vista widget or gadget (whatever its called) would be very very very appreciaed.
     
  14. greg_burns

    greg_burns Now in HD

    6,392
    2
    May 21, 2004
    Slower...
    Perhaps I will compile it for you if we don't hear back from the OP. But until then, there is TivoPlayList. In fact, mine works ok as a FSI if nothing else (it doesn't do transfers yet). It is a little rough around the edges, but works. :)
     
  15. greg_burns

    greg_burns Now in HD

    6,392
    2
    May 21, 2004
    Slower...
    Here is a complied version of the OP's app (unmodified). It requires MS .NET 3.5 framework be installed.

    http://greg_burns.home.comcast.net/TivoSummaries/TivoSummaries.zip

    I will remove it if Peter decides to host the binary himself. (Or if he tells me to. ;))



    http://peterkellner.net/2008/01/18/tivospaceviewerwithlinq/
     
  16. pkellner

    pkellner New Member

    9
    0
    Jan 21, 2008
    I did actually post the binary on my blog but did not come back here. Someone else compiled it to which is fine with me. Personally, I like to compile things myself so I don't worry about bad hidden things. Here is my link:

    http://peterkellner.net/2008/04/07/tivosummariesexe/

    someday, I should make this a click once app.
     

Share This Page

spam firewall

Advertisements