[mythtv] [mythtv-commits] mythtv branch master updated by pbennett. v29-pre-305-gef7e594

Piotr Oniszczuk piotr.oniszczuk at gmail.com
Fri Feb 10 17:57:11 UTC 2017


> Wiadomość napisana przez Peter Bennett <pgbennett at comcast.net> w dniu 10.02.2017, o godz. 18:18:
>    

>> If you delete the config.xml then try to start the frontend does it work?
> 
> That should create a config.xml with the correct port.
> 
> If port is set to 0 or blank the startup screen will be confused. Does that normally work? I can make a change to the startup screen to default it to 3306 if it is 0 or not set.
> 
> Peter
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org

Peter,
I think empty field in setup screen should mean standard port. This is IIRC stated in help text on setup screen (leave blank is standard port is used).
It looks like new setup screen don’t touches port if port=0.
I suspect old setup screen puts port=0 when field is blank.
For new setup screen it is logical to not touch port if config.xml has it non-empty - but for smooth migrations from old to new I would add condition like:
if port=0 then port=3306
 
I do test with deleting config.xml and restarting FE.
Result: when there is no config.xml - FE starts with country/language screen. 
Selecting country/language and pressing save gives country/language screen again.

FE low after such cycle is following:
2017-02-10 18:50:19.701656 I Setup Interrupt handler
2017-02-10 18:50:19.701810 I Setup Terminated handler
2017-02-10 18:50:19.701835 I Setup Segmentation fault handler
2017-02-10 18:50:19.701860 I Setup Aborted handler
2017-02-10 18:50:19.701884 I Setup Bus error handler
2017-02-10 18:50:19.701908 I Setup Floating point exception handler
2017-02-10 18:50:19.701931 I Setup Illegal instruction handler
2017-02-10 18:50:19.701959 I Setup Real-time signal 0 handler
2017-02-10 18:50:19.701992 I Setup User defined signal 1 handler
2017-02-10 18:50:19.702016 I Setup User defined signal 2 handler
2017-02-10 18:50:19.702038 I Setup Hangup handler
2017-02-10 18:50:19.702441 C mythfrontend version: master [v29-pre-307-g0a46103] www.mythtv.org
2017-02-10 18:50:19.702477 C Qt version: compile: 5.4.1, runtime: 5.4.1
2017-02-10 18:50:19.702489 N Enabled verbose msgs: general
2017-02-10 18:50:19.702562 N Setting Log Level to LOG_INFO
2017-02-10 18:50:19.714214 I Added logging to the console
2017-02-10 18:50:19.714313 N Using runtime prefix = /usr
2017-02-10 18:50:19.714333 N Using configuration directory = /home/minimyth/.mythtv
2017-02-10 18:50:19.714579 I Assumed character encoding: en_US.UTF-8
2017-02-10 18:50:19.716690 N Empty LocalHostName.
2017-02-10 18:50:19.716727 I Using localhost value of FE-Livingroom
2017-02-10 18:50:19.716958 I Start up testing connections. host 192.168.1.254, attempt 0, status dbAwake
2017-02-10 18:50:21.306380 N Setting QT default locale to pl_US
2017-02-10 18:50:21.306440 I Current locale pl_US
2017-02-10 18:50:21.306639 E No locale defaults file for pl_US, skipping
2017-02-10 18:50:21.307094 I Loading en_us translation for module mythfrontend
2017-02-10 18:50:21.307932 I Starting process manager
2017-02-10 18:50:21.308105 I Starting process signal handler
2017-02-10 18:50:21.308202 I Starting IO manager (read)
2017-02-10 18:50:21.308308 I Starting IO manager (write)
2017-02-10 18:50:21.358734 I ScreenSaverX11Private: XScreenSaver support enabled
2017-02-10 18:50:21.359872 I ScreenSaverX11Private: DPMS is disabled.
2017-02-10 18:50:21.391526 N Desktop video mode: 1920x1080 50.000 Hz
2017-02-10 18:50:21.470310 E SG() Error: Could not create builtinStorage Group directory \'/home/minimyth/.mythtv/tmp/hls\' for \'Streaming\'
2017-02-10 18:50:21.585897 I Listening on TCP 127.0.0.1:6547
2017-02-10 18:50:21.586014 I Listening on TCP 192.168.1.129:6547
2017-02-10 18:50:21.870618 I Loading en_us translation for module mythfrontend
2017-02-10 18:50:21.872076 N Desktop video mode: 1920x1080 50.000 Hz
2017-02-10 18:50:21.872355 I Using 1920x1080 50.000 Hz
2017-02-10 18:50:21.872377 I SwitchToGUI: Switched to 1920x1080 50.000 Hz
2017-02-10 18:50:21.883897 I LIRC: Successfully initialized \'/dev/lircd\' using \'/home/minimyth/.mythtv/lircrc\' config
2017-02-10 18:50:21.884010 I UDPListener: Enabling
2017-02-10 18:50:21.884451 I Binding to UDP 127.0.0.1:6948
2017-02-10 18:50:21.884557 I Binding to UDP 192.168.1.129:6948
2017-02-10 18:50:21.884636 I Binding to UDP 192.168.1.255:6948
2017-02-10 18:50:21.901900 I Using Frameless Window
2017-02-10 18:50:21.901912 I Using Full Screen Window
2017-02-10 18:50:21.934451 I UI Screen Resolution: 1920 x 1080
2017-02-10 18:50:22.296602 I OpenGL: Sync to VBlank is enabled (good!)
2017-02-10 18:50:22.371755 I Trying the OpenGL 2.0 render
2017-02-10 18:50:22.372227 I OpenGL painter using existing OpenGL context.
2017-02-10 18:50:22.419073 I OpenGL2: GLSL supported
2017-02-10 18:50:22.419221 I OpenGL: OpenGL vendor : NVIDIA Corporation
2017-02-10 18:50:22.419233 I OpenGL: OpenGL renderer: ION/PCIe/SSE2
2017-02-10 18:50:22.419245 I OpenGL: OpenGL version : 3.3.0 NVIDIA 340.101
2017-02-10 18:50:22.419262 I OpenGL: Max texture size: 8192 x 8192
2017-02-10 18:50:22.419274 I OpenGL: Max texture units: 4
2017-02-10 18:50:22.419285 I OpenGL: Direct rendering: Yes
2017-02-10 18:50:22.419326 I OpenGL: Extensions Supported: 1e3b
2017-02-10 18:50:22.419336 I OpenGL: PixelBufferObject support available
2017-02-10 18:50:22.422848 I OpenGL: Initialised MythRenderOpenGL
2017-02-10 18:50:27.566658 I MythUIWebBrowser: Loading css from - file:///usr/share/mythtv/themes/default/htmls/mythbrowser.css
2017-02-10 18:50:27.569276 I MythUIWebBrowser: enabling plugins
2017-02-10 18:50:27.608592 I MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 192.168.1.254:6543 (try 1 of 1)
2017-02-10 18:50:27.611439 I MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
2017-02-10 18:50:27.959976 I System Locale (pl_US), Country (US), Language (pl)
2017-02-10 18:50:27.994590 I Bonjour: Service registration complete: name \'Mythfrontend on FE-Livingroom\' type \'_mythfrontend._tcp.\' domain: \'local.\’

created by FE config.xml is following:

<Configuration>
  <LocalHostName>my-unique-identifier-goes-here</LocalHostName>
  <Database>
    <PingHost>1</PingHost>
    <Host>192.168.1.254</Host>
    <UserName>mythtv</UserName>
    <Password>mythtv</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>bdd5e2ae-e7a7-4240-a24b-5033399087f9</MediaRenderer>
    </UDN>
  </UPnP>
</Configuration>






More information about the mythtv-dev mailing list