[mythtv-users] MythExpress, a browser based mythtv client

Robert Longbottom rongblor at googlemail.com
Fri Oct 12 21:51:18 UTC 2012


On 12/10/2012 13:23, George Nassas wrote:
> Hello everyone,
>
> With the first generation of services-based clients now trickling out I’d like to join the party and share a little project I have been working on the past while: it’s a web based interface to myth’s http streaming feature. I originally wrote it as an exercise to learn the nodejs/expressjs platform but over time I have come to find it quite useful and I’m thinking perhaps a few folks in the community might as well.
>
> The project files are at https://github.com/MythTV-Clients/MythExpress and it’s not too hard to set up.
>
> There is a catch however: you have to patch & build your own myth. Node’s bonjour package doesn’t get along with the service type myth uses so you have to apply the patch for ticket #10773. Sorry about that, package users. From my limited testing it looks like Apple Safari is the only browser guaranteed to work although other WebKit products might function and FireFox seems to do OK too. Internet Explorer is a total non-starter.
>
> If you do make use of the app I’d be curious to know if you find it intuitive. The main design goal is to suit my whims but I’m still interested if my decisions are on the right track. Also, I welcome constructive criticism from any node/jquery/html5 experts out there. I’m aware of a number of shortcomings but fresh eyes might see things I haven’t.
>
> - George
>

Sounds interesting, so I thought I'd give it a try, but when I start it, 
it just bombs out straight away.  I'm running Mythtv 0.25 on Gentoo and 
I've applied the mythtv patches mentioned.  I'm running this all on the 
same box.

Where do I start debugging? :-)

robert at quad ~/dev/mythexpress/MythExpress $ node app.js
WARNING: don't use IOWatcher, it'll be removed in v0.9
*** WARNING *** The program 'node' uses the Apple Bonjour compatibility 
layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see 
<http://0pointer.de/avahi-compat?s=libdns_sd&e=node>
     Boot frontends.js
     Boot manifest.js
     Boot watch.js
     Boot recordings.js
     Boot videos.js
     Boot about.js
     Boot streams.js
     Boot index.js
     Boot ui.js
create a socket server on:
{ address: '0.0.0.0', family: 'IPv4', port: 6565 }
MythTV Express server listening on port 6565 in development mode
WARNING: don't use IOWatcher, it'll be removed in v0.9
WARNING: don't use IOWatcher, it'll be removed in v0.9
WARNING: don't use IOWatcher, it'll be removed in v0.9
WARNING: don't use IOWatcher, it'll be removed in v0.9

events.js:68
         throw arguments[1]; // Unhandled 'error' event
                        ^
Error: dns service error: unknown
     at MDNSService.on_resolver_done 
(/home/robert/dev/mythexpress/MythExpress/node_modules/mdns/lib/resolver_sequence_tasks.js:19:30)
     at IOWatcher.MDNSService.self.watcher.callback 
(/home/robert/dev/mythexpress/MythExpress/node_modules/mdns/lib/mdns_service.js:17:38)



More information about the mythtv-users mailing list