Tivo Now Playing RSS Feed

Discussion in 'TiVo Underground' started by BOfH, Nov 16, 2005.

  1. twynne

    twynne New Member

    15
    0
    Apr 17, 2002
    London

    Advertisements

    Doh - nevermind my last post. I had assumed because clicking the link to the new version in TW was doing nothing (where the old version would actually display within IE) that it wasn't working. Not only is it working but appears to have resolved the time issue... hurrah! :)
     
  2. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Excellent.

    The version I posted follows the RSS 2.0 spec religiously, except for the fact that it is sent out using the incorrect Mime Type, but I don't think TWP has the ability to send out other MIME types.

    I will edit the version posted to include the "remove whitespace" changes that were suggested for the title tag. Look for a repost.

    Bushman
     
  3. thepicman

    thepicman Motivated Sluggard

    156
    0
    May 5, 2004
    Bottom of a...
    We use this plugin (Bushman's version) to send the Now Playing list to my wife's WordPress blog. As we did not want to have dead links for the descriptions and did not want the links back to our TiVo to actually work :eek: We made two small changes. (Obviously if you have TivoWeb rather than TivoWebPlus you would need to change the top entrylink value)

    if {$tivowebplus == 0} {
    set entrylink "http://$tivourl/showing/$fsid/11"
    } else {
    set entrylink "http://search.tv.yahoo.com/tvtitlesearch?p={$title}&fsid=$fsid"


    to send the link to the Yahoo tv listing and

    puts $chan "<link>http://www.tivocommunity.com/tivo-vb/</link>"
    puts $chan "<description>Visit the TiVo Community Forums</description>"


    to send the main Now Playing link to the TiVo forums.

    Now we have to wonder why anybody would care whats on our TiVo and why we would want to tell them :cool:.

    We have the WordPress TiVo Status plugin working on a 2 tuner DTiVo as well

    http://www.tivocommunity.com/tivo-vb/showthread.php?t=268780

    TPM
     
  4. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Glad it works out for you...

    Bushman
     
  5. Markman07

    Markman07 Well-Known Member TCF Club

    2,279
    31
    Jul 18, 2001
    Minnesota

    Advertisements

    So what am I doing wrong here.

    I see the feed (actually using IE 7 beta preview 2)... and Sage also in Firefox


    I see a clickable link on the top called "Tivo Now playing list" that when clicked brings me to the TWP now playing list where I can click View and play the video using TYSHOW.

    Below that link are all my shows with a brief description under it. I can click any of the shows in the list and it brings me to a screen again in TWP

    (like http://192.168.1.150/showing/85395/12)

    I do see a -view- right under each show's description but I can't click on it. I also never see any READ MORE links like I see in the OP.

    I am using the Bushman's file found later in this thread. Any ideas?

    UPDATE: Installed the VLC media player on my PC now. The View links open the player but nothing shows. ALSO using the VIEW (mplayer) in the TWP Now Playing List does work (using Vserver).
     
  6. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Did you install TyShow as well? That is the codec used to decode the stream...

    Bushman
     
  7. Markman07

    Markman07 Well-Known Member TCF Club

    2,279
    31
    Jul 18, 2001
    Minnesota
    Yes as stated in the prior post - "I see a clickable link on the top called "Tivo Now playing list" that when clicked brings me to the TWP now playing list where I can click View and play the video using TYSHOW."

    In other words I can click the VIEW link when viewing the Now Playing List in TWP (per activating this feature in tivoweb.cfg" and having Vserver running along with the Tyshow installed) This worked before I even found out about this RSS feature...

    In my Firefox Sage RSS reader I can click the View button and it launches the VLC media player yet nothing ever happens after that. If I go into the TWP Now Playing List I can click the View link and it launches the TyShow enhanced Windows Media Player and plays the show fine.
     
  8. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Sorry... missed that.

    Right click on each of the "view" links (the one in Sage and the one in TWP), copy the shortcut, and paste them into a new post... I'll debug from there.

    Bushman
     
  9. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Another question: I guess I misunderstood before. Are you saying that the individual -view- links are not "clickable"?

    Sounds like you need to enable hotlinks in messages, but I don't use either reader that you mention.

    A feed can have a URL... that is what is taking you to the TWP Now Playing List when you click on the feed title. But items can also have links, which is how the "view" links work.

    For debugging, would you try a reader that we know has the ability to have clickable article text, like FeedDemon or something like that?

    LMK,

    Bushman
     
  10. Markman07

    Markman07 Well-Known Member TCF Club

    2,279
    31
    Jul 18, 2001
    Minnesota
    Now with SAGE yes I can click the View links but the VLC application launches but nothing happens.

    From SAGE - The link properties are tivo://192.168.1.150/80291 for one example.

    I will install FeedDemon and try that out.

    UPDATE: I got the View link to launch the VLC player now and it works. The VLC was version 8.4 and the Binaries plugins from http://www.XXA@#OD@KIDK@.com now match.
     
  11. Leddy

    Leddy Guest

    35
    0
    Dec 8, 2002
    Great script. Here's a few things that I would like to suggest:

    1.) Strip out windows EOL (^M)
    2.) Take a look at zNowShowing.itcl on how they decode episode links.
    i.e. you use /12 for everything on the "View Article" and most of the time it is wrong. Mine bounce back and forth between 12/13 and on occasion some weird random number. This makes it very difficult to always get information on an episode.

    FYI Wizz rss doesn't show any information on feed, but you can click on it and get (in my case) a broken /showing page. However it works beautifully in Outlook 12
     
  12. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Here is a new version with some fixes.

    Changes:
    • Trim whitespace on the Title and Description tags - as requested by KM, these will all be on one line, with no line feeds between the <title> and </title> tags (and the description tags too)
    • UNIX format - Don't know how that happened before, but it's fixed now.
    • More Info links - I took Leddy's advice and looked at the ui.itcl (where I get MY Now Playing list from...) for how they constructed their episode links. Because of this, it eliminated the need for the TiVoWebPlus variable to be set, since that was only changing the More Info URLs from /11 to /12.

    I'd be interested to see if it works in RSS Agravators that it didn't work in before...

    TIA,

    Bushman
     

    Attached Files:

  13. Leddy

    Leddy Guest

    35
    0
    Dec 8, 2002
    Well it looks like it is doing something different at least. I am seeing 12's and 13's :)

    However it gives this error before finishing the page load in FF

    INTERNAL SERVER ERROR
    --cut here--
    action_nowplayingrss '/' ''
    can't open object (0x30007)

    while executing
    "db $db openid $fsid"
    ("uplevel" body line 2)
    invoked from within
    "uplevel $body"
    invoked from within
    "ForeachMfsFileTrans fsid name type $nowshowingdir "" 15 {
    set rec [db $db openid $fsid]
    print_nsrow $chan $rec
    }"
    (procedure "::action_nowplayingrss" line 43)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--

    I think FF may be re-writing the text and adding ^M. The new version still had them. However I just downloaded through lynx and ftp'd it over to the tivo.
     
  14. Luv2DrvFst

    Luv2DrvFst New Member

    186
    0
    Nov 7, 2005
    I know I'm missing something obvious but I just can't figure this out. I've reached this same point and can't seem to get VLC to play. The RSS feed works just fine, and when I click on 'View' VLC opens but does nothing. If I click 'play' then I get this error in VLC:

    main: no suitable access module for `tivo://192.168.1.201/2734868'

    And the debug log has this:

    main debug: adding playlist item `2769369' ( tivo://192.168.1.201/2769369 )
    main debug: creating new input thread
    main debug: waiting for thread completion
    main debug: thread 43228160 (input) created at priority 37 (src/input/input.c:230)
    main debug: `tivo://192.168.1.201/2769369' gives access `tivo' demux `' path `192.168.1.201/2769369'
    main debug: creating demux: access='tivo' demux='' path='192.168.1.201/2769369'
    main debug: looking for access_demux module: 0 candidates
    main warning: no access_demux module matched "tivo"
    main debug: creating access 'tivo' path='192.168.1.201/2769369'
    main debug: looking for access2 module: 4 candidates
    access_file warning: 192.168.1.201/2769369: No such file or directory
    macosx debug: input has changed, refreshing interface
    cdda warning: could not open 192.168.1.201/2769369
    main warning: no access2 module matching "tivo" could be loaded
    main error: no suitable access module for `tivo://192.168.1.201/2769369'
    main debug: thread 43228160 joined (src/input/input.c:386)
    main: nothing to play

    This is the same thing that happens if I try to click 'View' in the ui screen in TWP. So there must be something wrong with my VLC setup. I am running VLC 0.8.4a but I can't find any other plug-in modules than 0.8.2 (from vlc-082-ty-mac-r45.tar.bz2). My vserver has a date of 8-4-05 (can't find a version number anywhere). Help!

    Jim
     
  15. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Leddy,

    What version of TW (or TWP) are you running?

    I only have TWP to test on... I should install the old TW to see how it reacts as well.

    Bushman
     
  16. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    Mr. Speeding Ticket,

    Do you have tyshow installed? I assume so, since VLC actually opens, so the tivo:// URI is obviously working...

    I can't check my settings until I get home...

    Bushman
     
  17. Markman07

    Markman07 Well-Known Member TCF Club

    2,279
    31
    Jul 18, 2001
    Minnesota
    "This is the same thing that happens if I try to click 'View' in the ui screen in TWP. So there must be something wrong with my VLC setup. I am running VLC 0.8.4a but I can't find any other plug-in modules than 0.8.2 (from vlc-082-ty-mac-r45.tar.bz2). My vserver has a date of 8-4-05 (can't find a version number anywhere). Help!"

    Yes I had the same problem until I found the two DLL (version .84) on the site we can't talk about. If you can find the .84 files then copy them over the two on your computer (located in the c:\program files\VideoLAN\VLC\plugins"

    HINT - Post 15 when you find the thread
     
  18. Leddy

    Leddy Guest

    35
    0
    Dec 8, 2002

    TW+ 1.2.1 on an HDVR2 DTivo
     
  19. bushman4

    bushman4 New Member

    108
    0
    Jun 6, 2005
    Massachusett...
    And that message is consistant? Or was it a case of the TiVo having that particular program locked for mainenance of something?

    Slightly stumped...

    Bushman
     
  20. Leddy

    Leddy Guest

    35
    0
    Dec 8, 2002

    Well it was consistent. Now it's working. Musta been a locked program.

    On the plus side. Wizz reader for Firefox now displays the show titles and descriptions. I also get no broken links when clicking on show titles.

    GOOD WORK!

    Now if I can figure out how to get outlook to open my password protected feed :(

    Rock on I tried the old http://user:password@host/nowplayingrss
     

Share This Page

spam firewall

Advertisements