Mythtv 0.25

Ask for new features here.

Moderator: Pablo

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Mythtv 0.25

Post by Pablo » Sun Apr 22, 2012 2:43 pm

It could be that MiniMyth lacks the user 'avahi' and the group 'netdev'. However, it is more likely that MiniMyth is not running the avahi daemon.

0.25.0-81b2 has the user 'avahi' and the group 'netdev' and includes avahi-daemon (but does not start it). Could you test whether or not just having the user and group fixes the problem? If it does not, then could you start the avahi-daemon by telnetting in and running the command

Code: Select all

avahi-daemon --daemonize
If the avahi daemon is needed, then I will start it during init when needed.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

m_theredhead
Contributor
Posts: 170
Joined: Thu Apr 27, 2006 7:00 pm
Location: Arizona

Re: Mythtv 0.25

Post by m_theredhead » Sun Apr 22, 2012 3:53 pm

Having the user and group does not appear to be enough.

Starting the avahi-daemon does allow the host to be seen from another linux box:

- em1 IPv4 mythliv [38:60:77:9c:6b:1d] Workstation

but there is not airplay service as I would expect:

+ em1 IPv4 Apple TV _airplay._tcp

Starting it after mythfrontend doesn't seem to work though. I have been unsuccessful in adding it to my minimyth.pm file as:

rename "/usr/bin/mythfrontend","/usr/bin/mythfrontend.real";
open (MF, ">/usr/bin/mythfrontend");
print MF << 'NEWMF';
#!/bin/bash
avahi-daemon --daemonize < /dev/null
exec /usr/bin/mythfrontend.real
NEWMF
close MF;
chmod (0755,"/usr/bin/mythfrontend");

or
# Start Avahi for airplay
system(qq(avahi-daemon --daemonize));

Either way, avahi isn't running when I can finally telnet into the box.

Is there a way to restart the frontend from the cli once minimyth is up and running so I can start avahi-daemon first?

Michael

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Mythtv 0.25

Post by Pablo » Sun Apr 22, 2012 6:13 pm

You might telnet in and do the following

Code: Select all

mm_service x stop
avahi-daemon --daemonize
mm_service x start
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

m_theredhead
Contributor
Posts: 170
Joined: Thu Apr 27, 2006 7:00 pm
Location: Arizona

Re: Mythtv 0.25

Post by m_theredhead » Sun Apr 22, 2012 8:12 pm

Awesome!

Once I did that, Airplay shows up

+ em1 IPv4 MythTV on mythliv _airplay._tcp local
+ em1 IPv4 Mythfrontend on mythliv _mythfrontend._tcp local
+ em1 IPv4 f0:cb:a1:7d:2d:2b@fe80::f2cb:a1ff:fe7d:2d2b _apple-mobdev._tcp local
- em1 IPv4 f0:cb:a1:7d:2d:2b@fe80::f2cb:a1ff:fe7d:2d2b _apple-mobdev._tcp local
+ em1 IPv4 10:40:f3:bf:02:c5@fe80::1240:f3ff:febf:2c5 _apple-mobdev._tcp local


I have streamed a video from my ipad to mythtv successfully as well.

Great job!

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Mythtv 0.25

Post by Pablo » Sun Apr 22, 2012 10:12 pm

Thank you for testing it. I will add it to MiniMyth's init.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

benjsc
New Member
Posts: 4
Joined: Mon May 21, 2012 1:10 pm

Re: Mythtv 0.25

Post by benjsc » Fri Jun 08, 2012 5:12 pm

One request now 0.25 has dropped xvmc support, can you build libva with --enable-i965-driver my intel chip has nice opengl support but the laptop is too slow to decode HD in software. Without this option /usr/lib/va/i965_drv_video.so isn't built and hence the hardware sits unused. This will affect anyone using a few generations of intel chips. Dropping back to xvideo mode as the render works but the OSD has artefacts

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: Mythtv 0.25

Post by Pablo » Sun Jul 29, 2012 4:19 pm

benjsc wrote:One request now 0.25 has dropped xvmc support, can you build libva with --enable-i965-driver my intel chip has nice opengl support but the laptop is too slow to decode HD in software. Without this option /usr/lib/va/i965_drv_video.so isn't built and hence the hardware sits unused. This will affect anyone using a few generations of intel chips. Dropping back to xvideo mode as the render works but the OSD has artefacts
The current version of of libva does not have the (--enable-i965-driver) flag. Could you check whether or not the current MiniMyth (81) has libva support for your hardware?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply