[mythtv-users] Channel switching with pvr-350/dc50x

Don Brett dlbrett at zoominternet.net
Sun Jul 27 18:23:41 UTC 2014


On 7/20/2014 6:15 PM, Jean-Yves Avenard wrote:
> Hi
>
> On Monday, July 21, 2014, Mike Perkins <mikep at randomtraveller.org.uk 
> <mailto:mikep at randomtraveller.org.uk>> wrote:
>
>     After you kill X, does a 'ps -ef' show any instances of
>     mythfrontend still running?
>
>     I'm wondering if the audio is in a separate thread which is why it
>     remains after the other threads - that use X - have died.
>
>
> A thread in Linux *is* a process. They are fundamentally one and the 
> same.
>
> Having  said that, alt-tab is managed by the window manager. And it 
> would only show the application that started after it was launched.
>
> Mythfrontend doesn't need X, it isn't killed when X is killed. Maybe 
> it should monitor the X server if it was started with one. And 
> automatically quit if X is killed.
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums:https://forum.mythtv.org

Finally got around to trying this.

-From a reboot, here's the output of "sudo ps -ef | grep mythfrontend"

don at nick:~$ sudo ps -ef | grep mythfrontend
don       2270     1  0 14:04 ?        00:00:00 /bin/sh 
/usr/bin/mythfrontend --service
don       2635  2270  3 14:04 ?        00:00:06 
/usr/bin/mythfrontend.real --syslog local7
don       3000  2892  0 14:07 pts/2    00:00:00 grep --color=auto 
mythfrontend
don at nick:~$




-I reproduced failure (tune channel, change channel, kill X, screen 
black, but audio not playing this time)
-Logged into X
-Run "sudo ps -ef | grep mythfrontend"; here's the output

don at nick:~$ sudo ps -ef | grep mythfrontend
don       2270     1  0 14:04 ?        00:00:00 /bin/sh 
/usr/bin/mythfrontend --service
don       2635  2270 12 14:04 ?        00:01:43 
/usr/bin/mythfrontend.real --syslog local7
don       3553     1  0 14:18 ?        00:00:00 /bin/sh 
/usr/bin/mythfrontend --service
don       3609  3553 17 14:18 ?        00:00:01 
/usr/bin/mythfrontend.real --syslog local7
don       3760  2892  0 14:18 pts/2    00:00:00 grep --color=auto 
mythfrontend
don at nick:~$

...kinda looks like two instances of mythfrontend are running.

Tried playing LiveTv...got audio error.  Tried switching 
source...pvr-150 not shown in the list.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140727/4776a1c4/attachment.html>


More information about the mythtv-users mailing list