andyrooger / totem-get-iplayer

Totem plugin to act as a front-end to get_iplayer. Allows streaming and recording iPlayer and other content.
GNU General Public License v3.0
1 stars 0 forks source link

Don't open a new window to play #2

Closed andyrooger closed 11 years ago

andyrooger commented 11 years ago

When we try to play a programme, a new window is opened up and input is piped to its stdin. Ideally we should play in the current window. It's just silly otherwise...

andyrooger commented 11 years ago

Possible that we could open fd://0 and write to our own stdin. Can we do this directly in Python from sys.stdin (or sys.stdin if it has been overridden)? Otherwise /proc//fd/0 might do it but I think we have to be root to write to that.