[mythtv-users] PATCH: enable mythweb streaming via .asx

catfish catfish at halfdone.com
Tue Nov 7 19:19:41 UTC 2006


>> I gave the patch a shot on my system but I'm still getting myth:// links 
>> in Firefox under windows

> After some digging I found the reason. video_url function in 
> mythweb/includes/utils.php (lines 317-344) has the Pseudocode:
>    if (mythweb global setting overide is set), then use that
>    if user_agent contains linux|macintosh|mac os x, then use handler.pl
>    if backend & remote_host are on different lans, then use handler.pl
>    else use myth:// url.
> 
> So in my case since it's not linux or mac and both computers are on my 
> lan it was using myth:// urls. As a quick edit I just commented out the 
> linux/mac check condition (lines 330) leaving just the return line 
> without condition.

Also something Rich West pointed out to me is that it's common for the 
backend to have 127.0.0.1 assigned in setup. Since mythweb is comparing 
that ip to remote_host it is on different networks and will not use the 
myth:// url. I changed my setup to be a lan ip instead of 127.0.0.1 (I 
was playing with a 2nd frontend at one point) so that was the cause.

Sorry to keep replying to myself.



More information about the mythtv-users mailing list