2011-09-14, 19:12
UPDATE 01/03/12: I have decided to pick the project back up after finding a library for C# JSON-RPC services. That should give me the Remote/Inter-Process Communication I was looking for and allow for more updates. Also Development has a new blog: xbmcbtv.wordpress.com, Downloads are still at the Google Code project though.
This is a combination of Python and .NET that took about 5 days to code and debug (even then, still a little buggy.).
How it works:
-Python Script starts LiveTVProvider.exe (which has a connection to the BeyondTV WSDL)
-Python Script writes file called LiveTVProvider.rpc.in with contents "beginSession"
-Then, LiveTVProvider.exe reads file after Python closes it, Begins the MMS session and then creates a file called LiveTVProvider.rpc.out which the python script sees exists then starts playing the stream in XBMC.
When the Player is stopped, XBMC tells LiveTVProvider to quit. Ending the current session with it.
LiveTVProvider takes care of the ASP.NET Web Service Logon and KeepAlive requests.
Source Included.
Known Bugs:
- Sometimes LiveTVProvider.exe doesn't close after stopping the player
- If you aren't comfortable with LiveTVProvider running as an invisible application, open the source in VS2010 and Change the Project Type to Console Application and build in Debug mode. (Do not use the Debug Folder's version as it's older than the Release)
I'll be trying to debug the application, Hopefully this can be a good starting point to a XBMC PVR Addon.
If you decide you wish to contribute to the program's source, send me your modifications and I'll see how I can add them to the project's main source
Download Link:
http://code.google.com/p/xbmc-live-tv-cl...loads/list
For those who just want a peek at my messy source code:
Update: The Source code is now available in the Source Tab of the Google Code Project. Remember to give credit to the original creators (BeyondTVLibrary is from a user in SnapStream's forums.)
Enjoy and tell me what you guys think
EDIT: I forgot to mention in the original post and the Google Code page that you need VS 11 Developer Preview to open the Solution (At least I think I used VS 11 Dev Preview to create it.)
This is a combination of Python and .NET that took about 5 days to code and debug (even then, still a little buggy.).
How it works:
-Python Script starts LiveTVProvider.exe (which has a connection to the BeyondTV WSDL)
-Python Script writes file called LiveTVProvider.rpc.in with contents "beginSession"
-Then, LiveTVProvider.exe reads file after Python closes it, Begins the MMS session and then creates a file called LiveTVProvider.rpc.out which the python script sees exists then starts playing the stream in XBMC.
When the Player is stopped, XBMC tells LiveTVProvider to quit. Ending the current session with it.
LiveTVProvider takes care of the ASP.NET Web Service Logon and KeepAlive requests.
Source Included.
Known Bugs:
- Sometimes LiveTVProvider.exe doesn't close after stopping the player
- If you aren't comfortable with LiveTVProvider running as an invisible application, open the source in VS2010 and Change the Project Type to Console Application and build in Debug mode. (Do not use the Debug Folder's version as it's older than the Release)
I'll be trying to debug the application, Hopefully this can be a good starting point to a XBMC PVR Addon.
If you decide you wish to contribute to the program's source, send me your modifications and I'll see how I can add them to the project's main source
Download Link:
http://code.google.com/p/xbmc-live-tv-cl...loads/list
For those who just want a peek at my messy source code:
Update: The Source code is now available in the Source Tab of the Google Code Project. Remember to give credit to the original creators (BeyondTVLibrary is from a user in SnapStream's forums.)
Enjoy and tell me what you guys think
EDIT: I forgot to mention in the original post and the Google Code page that you need VS 11 Developer Preview to open the Solution (At least I think I used VS 11 Dev Preview to create it.)