Welp I guess it depends on which p2p tv technology you are referring to...
coolstreaming, peercast, and onion networks(swarm cast) are a few of them...and each uses a different mechanism to do the actual streaming...
I have used the peercast winamp plugin and had that output its own internal stream, and created a .pls for it to play on the xbox...
guess it really depends on what you are going for...i wouldnt expect support to be built into xbmc for any of these protocols...and i don't think any python script is gonna cut it...
a python script may be able to access an interface on a host computer that maybe pushed the video to you...sorta like a client running on your computer that has a webpage, and a link that would start the p2p stream and a client like vlc to push the forwarded stream to the xbmc script...
if it sounds like its over your head...its because it probably is. (IMG:
style_emoticons/default/love.gif)