fnxweb / gnome-shell-mythtv

GNOME Shell extension for reporting MythTV status
4 stars 1 forks source link

config.xml tags for mythtv 0.27 #1

Open stephanritscher opened 10 years ago

stephanritscher commented 10 years ago

Hi,

this is a nice extension! However, I had to modify the code to get it working with gnome shell 3.10 and mythtv 0.27.

I do not have a user config. The file ~/.mythtv/config.xml exists, but the tag DBHostName seems to be renamed to host now. Thus parsing config.xml fails. My config file is completely autogenerated:

<Configuration>
  <LocalHostName>my-unique-identifier-goes-here</LocalHostName>
  <Database>
    <PingHost>1</PingHost>
    <Host>192.xxx.xxx.xxx</Host>
    <UserName>yyy</UserName>
    <Password>zzz</Password>
    <DatabaseName>mythconverg</DatabaseName>
    <Port>3306</Port>
  </Database>
  <WakeOnLAN>
    <Enabled>0</Enabled>
    <SQLReconnectWaitTime>0</SQLReconnectWaitTime>
    <SQLConnectRetry>5</SQLConnectRetry>
    <Command>echo 'WOLsqlServerCommand not set'</Command>
  </WakeOnLAN>
  <UPnP>
    <UDN>
      <MediaRenderer>xzy</MediaRenderer>
    </UDN>
  </UPnP>
</Configuration>

Could you add support for mythtv 0.27 by adding a check for the new tag?

Best regards, Stephan Ritscher

fnxweb commented 10 years ago

Shouldn't be a problem; I'm on Gnome 3.10 myself, but still on Myth 0.26. Won't be for a couple of weeks, though, but I'll do it as soon as I can.

Glad someone else finds it useful!

stephanritscher commented 10 years ago

Hi,

thanks. The extension also works with Gnome 3.12 after adding it in the Manifest without further changes.

Best regards, Stephan

On 08/07/2014 09:30 AM, Neil Bird wrote:

Shouldn't be a problem; I'm on Gnome 3.10 myself, but still on Myth 0.26. Won't be for a couple of weeks, though, but I'll do it as soon as I can.

Glad someone else finds it useful!

— Reply to this email directly or view it on GitHub https://github.com/fnxweb/gnome-shell-mythtv/issues/1#issuecomment-51439895.