Page 5 of 5 FirstFirst ... 345
Results 41 to 46 of 46

Thread: Totem is now a front-end for mythtv?

  1. #41
    Join Date
    Oct 2007
    Location
    Vermont
    Beans
    100
    Distro
    Ubuntu

    Re: Totem is now a front-end for mythtv?

    Hey all -

    I was getting pretty frustrated, so I rolled up my sleeves. What did I learn? Trust your gut. My hunch was that simply the database connection was timing out. IT WAS.

    From Synaptic I installed libgmyth0-dev (and all the dependencies it wanted), then I went to sourceforge, and downloaded the source code for gmyth. I waded through the code trying to find a #define for the timeout value. I couldn't seem to find it, so went with a little brute force, and in gmyth_query_connect_with_timeout (gmyth/gmyth_query.c) I overrode the "guint timeout" parameter by setting a higher timeout (30 seconds instead of somewhere in the world where I thought I saw a default of 10).

    Code:
    gmyth_query_connect_with_timeout(GMythQuery * gmyth_query,
                                     GMythBackendInfo * backend_info,
                                     guint timeout)
    {
        timeout = 30;
    ...
    }
    I rebuilt gmyth with "./configure --enable-debug --prefix=/usr" and while it initially still wasn't working, that was because I was getting "access denied" DB errors (as it turns out, in all my mucking with the gconf-editor settings, I set the wrong password. I can now officially confirm that YES, it's looking for the DATABASE user name and password, found in your "general settings" from your mythtv frontend).

    SO...

    I guess at least MY solution to the connection timeout error is to increase the timeout. (1) is it possible to make the default timeout longer? (2) is it possible to add another gconf-editor option to allow a user to specify the db timeout?

    Is this outside of the realm of these developers? I'm lost at where to go next with this info, so I'm hoping someone else in the forum can take it from here or provide me with the know-how to move this forward.
    Last edited by sceo; May 18th, 2008 at 04:25 PM.

  2. #42
    Join Date
    Apr 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Totem is now a front-end for mythtv?

    I finally got the plugin working.

    When I try and play something back though I don't get any sound.

    I've installed all the gstreamer plugins.

    Any ideas?

  3. #43
    Join Date
    Jun 2007
    Beans
    303

    Re: Totem is now a front-end for mythtv?

    Has someone found a solution to the 20 s buffering problem?

  4. #44
    Join Date
    Apr 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Totem is now a front-end for mythtv?

    Quote Originally Posted by smbm View Post
    I finally got the plugin working.

    When I try and play something back though I don't get any sound.

    I've installed all the gstreamer plugins.

    Any ideas?
    Anyone?

    Any help at all?

    Does it work for you?

  5. #45
    Join Date
    Mar 2007
    Location
    Christchurch, NZ
    Beans
    3,239

    Re: Totem is now a front-end for mythtv?

    Quote Originally Posted by axelsvag View Post
    Has someone found a solution to the 20 s buffering problem?
    I got this working last night, but I too have this buffering problem. I had put it down to my dodgy wireless network, so will try it wired tonight.

    And for the record, it is clearly the database user and password that the config wants. Those can be found in a working front end from ~user/.mythtv/mysql.txt (where user is the user that runs mythfrontend).

    And if you want to watch mythtv in a window there are other ways besides this. mythtfrontend will run in a window. You can also access recorded TV via uPnP so you could run djmount and then play the files from there.

  6. #46
    Join Date
    Oct 2007
    Location
    Vermont
    Beans
    100
    Distro
    Ubuntu

    Re: Totem is now a front-end for mythtv?

    Quote Originally Posted by nickrout View Post
    And if you want to watch mythtv in a window there are other ways besides this.
    Also, the illustrious MythWeb!

Page 5 of 5 FirstFirst ... 345

Bookmarks

Posting Permissions

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