Page 2 of 2

Re: Looking for something to report recording status

Posted: Tue Oct 18, 2016 8:36 pm
by clemon79
mikinho wrote:Yep. Just let me know and I can either include which is recording or just a simple yes it is recording type thing. I probably won't have time to do it today but I can knock it out tomorrow. Its not much at all.
"Which" might be useful if it's not a ton of extra effort....it sounds like it could be used in the same manner as "if" except the extra info could be parsed if that is found to be useful.

Is it a hassle to be able to customize which port it's sending on? We wouldn't want it to step on other Web interfaces like RemotePotato et. al.

Man, thanks for this! It's way more effort than I was asking for but I appreciate it! I can totally be patient. :)

Re: Looking for something to report recording status

Posted: Tue Oct 18, 2016 8:39 pm
by mikinho
Sure, I'll make the port a command line parameter. For tomorrow it will just be an executable that you can set to autostart with a Scheduled Task.

Re: Looking for something to report recording status

Posted: Tue Oct 18, 2016 11:16 pm
by clemon79
I eagerly look forward to trying it all out! :)

Re: Looking for something to report recording status

Posted: Tue Oct 18, 2016 11:28 pm
by STC
Hey, wb mikinho!

Re: Looking for something to report recording status

Posted: Tue Oct 18, 2016 11:32 pm
by Space
Looks like you are getting a better solution, but you can also use the "powercfg -requests" command as a quick and dirty way of determining if WMC is recording (or about to record) something.

Here is a post that also links to another thread with more detailed info on using the powercfg command for this purpose:
http://www.thegreenbutton.tv/forums/vie ... 2&p=105761

Re: Looking for something to report recording status

Posted: Tue Oct 18, 2016 11:56 pm
by clemon79
Space wrote:Looks like you are getting a better solution, but you can also use the "powercfg -requests" command as a quick and dirty way of determining if WMC is recording (or about to record) something.

Here is a post that also links to another thread with more detailed info on using the powercfg command for this purpose:
http://www.thegreenbutton.tv/forums/vie ... 2&p=105761
That's very interesting reading (and makes me think about picking up an LCD display)...thanks much! :)

Re: Looking for something to report recording status

Posted: Wed Oct 19, 2016 12:04 am
by mikinho
STC wrote:Hey, wb mikinho!
Ha thanks, @Sammy2 pointed me at a thread and couldn't help read a few others :)

This one in particular isn't much code so glad to help.

Re: Looking for something to report recording status

Posted: Wed Oct 19, 2016 12:08 am
by clemon79
mikinho wrote:
STC wrote:Hey, wb mikinho!
This one in particular isn't much code so glad to help.
The help is much appreciated. It may not be much code, but to someone who doesn't know what code to write or how to write it, it might as well be a complete OS. :)

(That's not quite true. I know just enough coding to be minorly dangerous, but something like this is well outside of my safe zone. :))

Looking for something to report recording status

Posted: Wed Oct 19, 2016 12:11 am
by mikinho
I spent many hours debugging and doing trial & error so definitely not something you can do by looking at the SDK alone :)

And from the other thread...MSAS has been broken since Vista sadly. You can get working by using C++ interfaces vs the C# ones but over not all information is populated and has some quirks that can interfere with WMC stability.

Re: Looking for something to report recording status

Posted: Wed Oct 19, 2016 10:05 pm
by volfan6415
this is really cool. subscribing so i can get notification when the solution is posted.

Re: Looking for something to report recording status

Posted: Thu Nov 10, 2016 4:16 am
by clemon79
Just checking in to see if anything ever happened here :)