Page 1 of 3 123 LastLast
Results 1 to 15 of 38

Thread: MythTivo now available

  1. #1
    Join Date
    Jul 2001
    Posts
    275

    MythTivo now available

    MythTivo is essentially a plugin for the MythTV architecture that is
    capable of playback of TiVo streams located on a remote TiVo.
    A TiVo ethernet card is required.

    mythtivo-1.2.tar.gz
    Is the plugin that retrieves and displays the Now Showing list. Please
    check mythtivo-settings.txt for the various options.

    I also have modified mplayer to playback TiVo streams natively both
    stored locally and on a remote TiVo.

    MPlayer-20030408-tivo-0.1.tar.gz

    Note : I plan on submitting these patches to mainstream mplayer next week.

    Download at :
    http://tivo-mplayer.sf.net

    ScreenShots :
    http://tivo-mplayer.sourceforge.net/...o-mainmenu.png
    http://tivo-mplayer.sourceforge.net/...tivoselect.png
    http://tivo-mplayer.sourceforge.net/...o-showlist.png
    Last edited by cwingert; 04-09-2003 at 03:51 PM.

  2. #2
    Join Date
    Jul 2001
    Posts
    275
    NA
    Last edited by cwingert; 04-09-2003 at 02:27 PM.

  3. #3
    Join Date
    Oct 2002
    Posts
    126

    WOW

    I just compiled and ran it on my PIII 600 laptop with your sample Freshgear TY (I'm at work). It worked well. I has to use the -ao switch for my audio to come up. I CAN'T wait to go home and try this out!!!! Thanks a ton. I'd love to see a Windows version.
    HR10-250 (50 Hours HD)
    SAT-T60 (105 Hours), Turbonet

  4. #4
    Join Date
    Jul 2001
    Posts
    275

    Re: WOW

    Windows works fairly well. See the Cygwin Build.


    Originally posted by A.C.
    I just compiled and ran it on my PIII 600 laptop with your sample Freshgear TY (I'm at work). It worked well. I has to use the -ao switch for my audio to come up. I CAN'T wait to go home and try this out!!!! Thanks a ton. I'd love to see a Windows version.

  5. #5
    Join Date
    Jul 2001
    Posts
    275

    Re: MythTivo now available

    -

  6. #6
    Join Date
    Jan 2002
    Location
    New York
    Posts
    2,406
    Anyone have pre-compiled Windows executables for Mplayer?

  7. #7
    Join Date
    Sep 2002
    Posts
    231
    Edit! I finally just went w/ the source install of mythtv and mythtivo compiled just fine.
    Last edited by sirfergy; 04-24-2003 at 07:12 PM.

  8. #8
    Join Date
    Jul 2003
    Posts
    1
    I've just tried compiling mythtivo on a Hush PC, (Via C3 cpu, epia mother board) on Redhat 9 with all the updates and Mythtv 0.10 and I am having trouble. Could anybody help start me off debugging this. I have changed pentiumpro to i586 in the make file. Here is the final error, I have included a complete output as an attachment.

    Thank you in advance for any help

    Scott

    g++ -c -pipe -Wall -W -O3 -march=i586 -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -finline-functions -D_REENTRANT -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include -I/usr/lib/qt-3.1/include -o main.o main.cpp
    In file included from main.cpp:19:
    databasebox.h:17: parse error before `{' token
    databasebox.h:18: virtual outside class declaration
    databasebox.h:18: non-member function `const char* className()' cannot have `
    const' method qualifier
    databasebox.h:18: virtual outside class declaration
    databasebox.h:18: virtual outside class declaration
    databasebox.h:18: virtual outside class declaration
    databasebox.h:18: virtual outside class declaration
    databasebox.h: In function `QObject* qObject()':
    databasebox.h:18: invalid use of `this' in non-member function
    databasebox.h: At global scope:
    databasebox.h:18: parse error before `private'
    databasebox.h:27: parse error before `private'
    databasebox.h:40: parse error before `}' token
    main.cpp: In function `void startDatabaseTree(QSqlDatabase*,
    QValueList<Metadata>*)':
    main.cpp:36: variable `DatabaseBox dbbox' has initializer but incomplete type
    main.cpp: In function `int main(int, char**)':
    main.cpp:63: no matching function for call to `MythContext::MythContext()'
    /usr/local/include/mythtv/mythcontext.h:61: candidates are:
    MythContext::MythContext(const MythContext&)
    /usr/local/include/mythtv/mythcontext.h:64:
    MythContext::MythContext(const QString&, bool = true)
    showlist.h: At top level:
    databasebox.h:18: warning: `bool qt_static_property(QObject*, int, int,
    QVariant*)' declared `static' but never defined
    databasebox.h:18: warning: `QMetaObject* staticMetaObject()' declared `static'
    but never defined
    databasebox.h:18: warning: `QString tr(const char*, const char*)' declared
    `static' but never defined
    databasebox.h:18: warning: `QString trUtf8(const char*, const char*)' declared
    `static' but never defined
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/home/Software/Linux/Downloads/mythtv/Mythtv-0.10/mythtivo/mythtivo'
    make: *** [sub-mythtivo] Error 2

  9. #9
    Join Date
    Jul 2001
    Posts
    275
    I updated MythTiVo for the new plugin architecture.

    http://tivo-mplayer.sourceforge.net/mythtivo.html

  10. #10
    Join Date
    Dec 2002
    Posts
    45

    Im having the exact same problem

    Epia 9000m C3 Red hat 9. MythTV latest (as of 1/7/04) up and running.

    Anyone have any ideas?

    When I try to make Mythtivo I get the same errors:

    make[1]: Entering directory `/home/jason/dloads/mythtivo/mythtivo'
    g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRANT -fPIC -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN -I/usr/lib/qt-3.1/mkspecs/default -I. -I/usr/local/include -I/usr/lib/qt-3.1/include -o main.o main.cpp
    In file included from main.cpp:18:
    databasebox.h:9:32: mythtv/mythwidgets.h: No such file or directory
    databasebox.h:10:32: mythtv/mythdialogs.h: No such file or directory
    In file included from main.cpp:18:
    databasebox.h:19: parse error before `{' token
    databasebox.h:20: virtual outside class declaration
    databasebox.h:20: non-member function `const char* className()' cannot have `
    const' method qualifier
    databasebox.h:20: virtual outside class declaration
    databasebox.h:20: virtual outside class declaration
    databasebox.h:20: virtual outside class declaration
    databasebox.h:20: virtual outside class declaration
    databasebox.h: In function `QObject* qObject()':
    databasebox.h:20: invalid use of `this' in non-member function
    databasebox.h: At global scope:
    databasebox.h:20: parse error before `private'
    databasebox.h:32: parse error before `{' token
    databasebox.h:33: virtual outside class declaration
    databasebox.h:33: non-member function `const char* className()' cannot have `
    const' method qualifier
    databasebox.h:33: virtual outside class declaration
    databasebox.h:33: virtual outside class declaration
    databasebox.h:33: virtual outside class declaration
    databasebox.h:33: virtual outside class declaration
    databasebox.h: In function `QObject* qObject()':
    databasebox.h:33: redefinition of `QObject* qObject()'
    databasebox.h:20: `QObject* qObject()' previously defined here
    databasebox.h:33: redefinition of `QObject* qObject()'
    databasebox.h:20: `QObject* qObject()' previously defined here
    databasebox.h:33: invalid use of `this' in non-member function
    databasebox.h: At global scope:
    databasebox.h:33: default argument given for parameter 2 of `QString tr(const
    char*, const char* = 0)'
    databasebox.h:20: after previous specification in `QString tr(const char*,
    const char* = 0)'
    databasebox.h:33: default argument given for parameter 2 of `QString
    trUtf8(const char*, const char* = 0)'
    databasebox.h:20: after previous specification in `QString trUtf8(const char*,
    const char* = 0)'
    databasebox.h:33: parse error before `private'
    databasebox.h:42: parse error before `protected'
    databasebox.h:58: parse error before `}' token
    main.cpp:20:31: mythtv/themedmenu.h: No such file or directory
    main.cpp:21:32: mythtv/mythcontext.h: No such file or directory
    main.cpp:22:32: mythtv/mythdialogs.h: No such file or directory
    main.cpp:23:31: mythtv/mythplugin.h: No such file or directory
    main.cpp: In function `int mythplugin_init(const char*)':
    main.cpp:34: `gContext' undeclared (first use this function)
    main.cpp:34: (Each undeclared identifier is reported only once for each
    function it appears in.)
    main.cpp:35: `MYTH_BINARY_VERSION' undeclared (first use this function)
    main.cpp: At global scope:
    main.cpp:40: type specifier omitted for parameter `MythMainWindow'
    main.cpp:40: parse error before `*' token
    main.cpp: In function `void startDatabaseTree(QSqlDatabase*,
    QValueList<Metadata>*)':
    main.cpp:88: variable `DatabaseBox dbbox' has initializer but incomplete type
    main.cpp: At global scope:
    main.cpp:96: type specifier omitted for parameter `MythMainWindow'
    main.cpp:96: parse error before `*' token
    databasebox.h:33: warning: `bool qt_static_property(QObject*, int, int,
    QVariant*)' declared `static' but never defined
    databasebox.h:33: warning: `QMetaObject* staticMetaObject()' declared `static'
    but never defined
    databasebox.h:33: warning: `QString tr(const char*, const char*)' declared
    `static' but never defined
    databasebox.h:33: warning: `QString trUtf8(const char*, const char*)' declared
    `static' but never defined
    make[1]: *** [main.o] Error 1
    make[1]: Leaving directory `/home/jason/dloads/mythtivo/mythtivo'
    make: *** [sub-mythtivo] Error 2

  11. #11
    Join Date
    May 2002
    Posts
    44

  12. #12
    Join Date
    May 2003
    Location
    Chicago Burbs
    Posts
    160

    Mythtivo Success!!!

    Finally got this to build and run with my Mythtv box and Tivo's. Heres how I got it going.

    First a little backround about my systems.
    Mythtv box: Celeron 2.6Ghz 512 ram 540 gig drive space, running Fedora Core 3 and Mythtv ver .17
    Tivos: 3 HDVR2's running 4.01 and 6.2

    ********************************
    Mythtivo compile and install

    Download mythtivo-1.5.tar.gz to some dir then
    cd /some/dir
    tar xzvf mythtivo-1.5.tar.gz

    This will unpack the source into mythtivo. Now per the readme all you should have to do is cd into the mythtivo dir and type make. However when I do this all it does is create an empty dir called mythvideo and give the following error:

    Error processing project file: /home/mythtv/mythtivo/mythvideo/mythvideo.pro
    make: *** [mythvideo/Makefile] Error 2

    So, here is how I got this to build and install.

    1. In the mythtivo dir delete Makefile and mythtivo.pro. These two files are not needed. There is another mythtivo.pro in the mythtivo/mythtivo dir, we will be using that one for the build and it will create a new Makefile.

    2. We need to make some edits to the file /mythtivo/settings.pro.
    Near the top find the line:
    PREFIX = /usr/local
    This needs to point to your installation of mythtv. If yours is in /usr/local/share/mythtv and /usr/local/lib/mythtv then leave this line as is.
    My installation is in /usr/share/mythtv and /usr/lib/mythtv so I had to change this line to:
    PREFIX = /usr

    3. Also update march on these two lines. (This may not be necessary, mine compiled ok with pentiumpro) but I changed it to i586 anyway.

    Code:
    release {
     QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer
     QMAKE_CFLAGS_RELEASE = -O3 -march=pentiumpro -fomit-frame-pointer
    }
    After the changes you should have:

    Code:
    release {
     QMAKE_CXXFLAGS_RELEASE = -O3 -march=i586 -fomit-frame-pointer
     QMAKE_CFLAGS_RELEASE = -O3 -march=i586 -fomit-frame-pointer
    }
    4. cd into the mythtivo/mythtivo dir and open showlist.cpp in your favorite editor.
    Your going to need to change the path to tivo's nowshowing list. I don't remember at what software version this changed but I'm running 4.01 and 6.2 and mythtivo could not get the list.
    Go to lines 63 and 65 you should find the following:

    Code:
    if ( mfs_resolve( "/Recording/NowShowingByTitle" ) != 0 )
     {
     path = "/Recording/NowShowingByTitle";
     }
    Change these lines to:

    Code:
    if ( mfs_resolve( "/Recording/NowShowingByClassic" ) != 0 )
     {
     path = "/Recording/NowShowingByClassic";
     }
    5. Edit mythtivo/mythtivo/mythtivo-settings.txt per the readme to set the names and ip addresses of your tivos.
    I also commented out the following line:
    Code:
    #default_helper=mplayer -vm -quiet -fs -sb 393216 -aop list=volnorm %s
    and replaced it with:

    Code:
    default_helper=vlc --intf=lirc -f -vstream-cache=16384 %s vlc:quit
    because I am using vlc in place of mplayer to stream from the tivos.

    Save the file and your ready to build.

    6. cd to mythtivo/mythtivo

    Type:

    qmake mythtivo.pro
    make

    su
    (enter password)

    make install


    mythtivo should compile and install.

    7. You have to add some code to your mythtv theme and mainmenu files. The details are in the readme. After that just restart mythfrontend and Tivo should appear in the main menu.

    Mythtv/Mythtivo combined with vlc has replaced my need for MRV. I've been running this for a couple of days and have had no problems. Looks like I'll be updating all my Tivos to 6.2
    (For more info on Tivo enabled vlc see this thread: http://www.dealdatabase.com/forum/sh...ad.php?t=42332 )

    Hope this helps someone

    Vegas
    Last edited by Vegas; 04-20-2005 at 07:47 PM.

  13. #13
    Join Date
    Aug 2005
    Posts
    2

    almost there....

    Vegas,

    great detail on how to compile this interesting plug-in for MythTV. I'm still a noob on this - installing KnoppMyth 2 days ago with no real probs but really struggled with this feature.

    Following your instructions, I was able to compile, install and see the Tivo icon in Myth. However when I go there, and hit return to get the listing from my Tivo - Myth hangs and then finally the front end crashes. I'm using the right IP address and I've confirmed I'm able to see tivo listings via a web browser. My Tivo is running 7.1 and when I use the browser set for https, I have to use "tivo" as a username and my MAK for the password.

    Is there something more that needs to be done to access the tivo via this plug-in? I don't see where to provide my MAK key anywhere.

    BTW - thanks for taking the time to document what you did - I was about to give up on this.

    thanks!

  14. #14
    Join Date
    May 2003
    Location
    Chicago Burbs
    Posts
    160
    Quote Originally Posted by loafy
    Vegas,

    Following your instructions, I was able to compile, install and see the Tivo icon in Myth. However when I go there, and hit return to get the listing from my Tivo - Myth hangs and then finally the front end crashes. I'm using the right IP address and I've confirmed I'm able to see tivo listings via a web browser. My Tivo is running 7.1 and when I use the browser set for https, I have to use "tivo" as a username and my MAK for the password.

    Is there something more that needs to be done to access the tivo via this plug-in? I don't see where to provide my MAK key anywhere.
    Did you make the change shown in step 4 of my post? Also check for typos.
    You don't mention what hacks you have running but vserver is required on the tivo side.
    For the streaming to work you will also need to have encryption turned off.
    There should be no need to supply your MAK key.

    Vegas

  15. #15
    Join Date
    Aug 2005
    Posts
    2
    Vegas -

    thanks for the response. I did make the modification as directed in step 4 however I didn't realize that I need to run vserver on my tivo. My tivo is currently still vanilla and not hacked in any way.

    I'll look into doing a vserver hack and disable encryption and see what comes up.

    thanks again!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •