[mythtv-users] Select Country and Language in every boot

Mark Perkins perkins1724 at hotmail.com
Thu Jul 31 23:10:46 UTC 2014



> On 1 Aug 2014, at 6:53 am, "Mike Carron" <jmcarron at starstream.net> wrote:
> 
> 
>> On 07/31/2014 01:00 PM, Josu Lazkano wrote:
>> Thanks,
>> 
>> My box is a frontend with Debian Wheezy and XFCE, this is the start script:
>> 
>> $ cat .config/autostart/mythfrontend.desktop
>> [Desktop Entry]
>> Encoding=UTF-8
>> Version=0.9.4
>> Type=Application
>> Name=mythfrontend
>> Comment=
>> Exec=/usr/bin/mythfrontend --loglevel info --syslog local6
>> StartupNotify=false
>> Terminal=false
>> Hidden=false
>> 
>> It is connected with ethernet, and the backend is always running.
>> 
>> May I try a delay?
>> 
>> Regards.
> ***
> If the backend is running then the only situation where a delay will help is if Mythfrontend looks for the BE before the FE machine starts the network. One easy way to see if that is the case is to temporarily disable the Mythfrontend autostart, wait a few seconds and then start Mythfrontend manually. If it starts without putting the country and language screen up then a delay will probably work. Whether you use a simple delay of n seconds or a more involved script that checks to see if the network is running is up to you.
> 
> mike
> 
> _______________________________________________
If I read the original posts correctly the OP indicated that it would work after the country / language screen and it appears (from above) that mythfrontend is auto started on boot up.

So +1 from me for adding delay to allow network to be established before starting mythfrontend. Both my Mythbuntu remote FE's have this issue but I rarely reboot them. For Mythbuntu a simple "sleep 5" in the mythfrontend script (which then calls mythfrontend.real in Mythbuntu) solved the problem, although it needs to be re-added after every update.


More information about the mythtv-users mailing list