PDA

View Full Version : Need help patching vstream-client



stealthdave
10-02-2007, 03:57 AM
I need a little help from a C developer patching vstream-client from http://armory.nicewarrior.org/projects/vstream-client/ to support sending the ty stream to stdout instead of to a file. The attached patch does this, but it's supposed to only send it to stdout if the file name is set to "-". As it is currently modified, it always sends the output to stdout, regardless of filename settings. I'm using this for my tystreamer app. Any help from a real C developer would be greatly appreciated.

Thanks,
- Stealth Dave

stealthdave
10-06-2007, 12:24 AM
I think that I fixed it. I've tested this updated patch with OS X 10.4 x86. Can someone test it compiled for Windows and/or Linux? These commands should save it to file:

vstream-client tivo://tivo/12345
vstream-client tivo://tivo/12345 -o test.ty
and this should output to stdout:

vstream-client tivo://tivo/12345 -o -

Thanks,
- Stealth Dave