Hi Jim,
> > Hmmm, no on closer inspection that doesn't look like it will work. get_tuner_streaminfo() returns all programs on the mux no matter what you have set for PID filtering (I think), but do try it anyway if I am wrong.
>
> Right, that's why I took sort of a backwards/indirect approach. I iterate through each program returned by get_tuner_streaminfo(), tune to it using set_tuner_program(), then call get_tuner_filter() to see if the PID matches, which means I've found the right one. That's kind of strange and possibly inefficient, but it's the only way I could figure out so far.
You may have missed a posting there - but simply use this instead ofgettuner_streaminfo():
hdhomerun_device_get_tuner_program()
It returns the program that is tuned now, so you can use that directly in set_tuner_program()