Menu

#1 Tivo 7.1 patch (TivoToGo)

open
nobody
None
5
2005-01-28
2005-01-28
No

My byRequest stopped working when I got my TivoToGo
upgrade. There are some bugs in the byRequest code. I
fixed the occurances that were giving me problems, but
didn't search for similar bugs. Also byRequest
doesn't always (ever?) encode & in the xml. I had a
folder titled "Music & Playlists" which causes the new
tivo to reject my main page and it wouldn't show any
shares. I just renamed it in the config file & didn't
dig through the sources.

This patch is vs. CVS.

Discussion

  • Scott Heavner

    Scott Heavner - 2005-01-28

    Patch for utils.c & commands.c

     
  • Felipe Bertrand

    Felipe Bertrand - 2005-03-22

    Logged In: YES
    user_id=1135765

    hmmm... it doesn't work for me:

    $ patch <byrpatch
    patching file utils.c
    Hunk #1 succeeded at 234 (offset 6 lines).
    Hunk #2 succeeded at 249 (offset 6 lines).
    patching file commands.c
    Hunk #1 FAILED at 964.
    1 out of 1 hunk FAILED -- saving rejects to file commands.c.rej

    $cat commancs.c.rej
    ***************
    *** 964,970 ****
    itemsToSend = 0;

    cp = decodeString( findParameter( params, "Format" ) );
    - if( cp == NULL || strcasecmp( cp, "text/xml" ) == 0 )
    {
    sendContainerAsXML( fd, path, dirItem, itemArray,
    anchorItem, itemsToSend,
    itemCount, totalduration, fileType );
    --- 964,970 ----
    itemsToSend = 0;

    cp = decodeString( findParameter( params, "Format" ) );
    + if( cp == NULL || *cp == 0 || strcasecmp( cp,
    "text/xml" ) == 0 )
    {
    sendContainerAsXML( fd, path, dirItem, itemArray,
    anchorItem, itemsToSend,
    itemCount, totalduration, fileType );

     

Log in to post a comment.

MongoDB Logo MongoDB