I run this on my laptop.
ngrep '' udp port 6948|osd_cat -p middle -c yellow -f -adobe-helvetica-bold-*-*-*-34-*-*-*-*-*-*-*
Whoo hoo it works.
The only thing left to do is fire up sed and strip out all the xml stuff.
On 11/3/05, David Won <[EMAIL PROTECTED]
> wrote:
Ick. It's a windows program.
I'm on a new track now.
Using netcat I can do this.
netcat listen for UDP on port 6948.
nc -l -u -p 6948
<?xml version="1.0"?>
<mythnotify version="1"><container name="notify_cid_info"><textarea name="notify_cid_line"><value>LINE #1</value></textarea><textarea name="notify_cid_name"><value>NAME: JOE SCHMOE</value></textarea><textarea name="notify_cid_num"><value>NUM : (301) 555-1212</value></textarea><textarea name="notify_cid_dt"><value>DATE: 11/3 TIME: 10:8</value></textarea></container></mythnotify>
Spits out the XML that is broadcast. Now all I have to do is strip out the name and number and send it to osd right. Nope..... It only works for the first connection. I have to restart netcat after each time.
>From the man page
"-u Use UDP instead of TCP. On most platforms, nc will behave as ifa connection is established until it receives an ICMP packetNow I have to figure out a way for netcat to start listening again.
indicating that there is no program listening to what it sends."
getting there slowly but surely.
DaveOn 11/3/05, Dennis Hand <[EMAIL PROTECTED]> wrote:>I'm currently using caller ID, cidbcast and mythudprelay to put the phone_______________________________________________
>caller onto myth's OSD. It works great. What I would like to figure out is
>if anybody knows how to grab this broadcasted info and put it onto my laptop
>or other desktops . I know cidbcast get's the caller ID info and broadcasts
>it on port 6948. mythudprelay then recieves this info and translates it's
>XML to an output XML that myth requires. mythtvosd then recieves this and
>put's it on the screen for myth.
>Since the info is being broadcast there should be a way to grab it and
>display it with xosd on a desktop not currently running myth.
>Any ideas?
Try this out and see if it's what your looking for.
http://thomas.lea.com/cidsystray.html
Dennis
mythtv-users mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
