2014-01-08, 00:22
I was happily surprised to see wmc.pvr released for android a few days ago.
I had to change some configs both on my firewall and the ServerWMC config to make it work and ready to test it out on my Galaxy S4.
But just when I expected the video to start after I selected a channel, XBMC crashed and I was back in the launcher.
A half an hour later I logged in to my server and saw a lot of disk activity. Further investigation revealed ServerWMC never "noticed" XBMC stopped working on my phone and was happily "streaming" (or better said, never closed the channel on my tuner).
Could it be somehow be possible to communitate some sort of "alive" check every minute or so, between wmc.pvr and ServerWMC to make sure the channel will be closed as soon as XBMC somehow crashed. I mean, even my OpenELEC HTPC crashed once. I think this is a scenario that might actually happen quite often.
An other approach might be to periodically check it the "share" to the videofile created for streaming is still opened.
I noticed that in CMD-> compmgmt.msc under "Shared Folders"->"Open Files" I could see the file was open and as soon as I pulled the plug from my OpenELEC htpc the share was no longer in that list (Even though ServerWMC still indicated it as an active stream). I guess there must be a way to check this with some coding, and close the channel as soon as the share it no longer open.
I had to change some configs both on my firewall and the ServerWMC config to make it work and ready to test it out on my Galaxy S4.
But just when I expected the video to start after I selected a channel, XBMC crashed and I was back in the launcher.
A half an hour later I logged in to my server and saw a lot of disk activity. Further investigation revealed ServerWMC never "noticed" XBMC stopped working on my phone and was happily "streaming" (or better said, never closed the channel on my tuner).
Could it be somehow be possible to communitate some sort of "alive" check every minute or so, between wmc.pvr and ServerWMC to make sure the channel will be closed as soon as XBMC somehow crashed. I mean, even my OpenELEC HTPC crashed once. I think this is a scenario that might actually happen quite often.
An other approach might be to periodically check it the "share" to the videofile created for streaming is still opened.
I noticed that in CMD-> compmgmt.msc under "Shared Folders"->"Open Files" I could see the file was open and as soon as I pulled the plug from my OpenELEC htpc the share was no longer in that list (Even though ServerWMC still indicated it as an active stream). I guess there must be a way to check this with some coding, and close the channel as soon as the share it no longer open.