Looking for something to report recording status

clemon79

Posts: 63
Joined: Wed Nov 13, 2013 6:59 am
Location:

HTPC Specs: Show details

Re: Looking for something to report recording status

#21

Post by clemon79 » Tue Oct 18, 2016 8:36 pm

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. :)

mikinho

Posts: 248
Joined: Thu Jun 16, 2011 5:23 am
Location:

HTPC Specs: Show details

#22

Post by mikinho » Tue Oct 18, 2016 8:39 pm

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.

clemon79

Posts: 63
Joined: Wed Nov 13, 2013 6:59 am
Location:

HTPC Specs: Show details

#23

Post by clemon79 » Tue Oct 18, 2016 11:16 pm

I eagerly look forward to trying it all out! :)

User avatar
STC

Posts: 6808
Joined: Mon Jun 06, 2011 4:58 pm
Location:

HTPC Specs: Show details

#24

Post by STC » Tue Oct 18, 2016 11:28 pm

Hey, wb mikinho!
By the Community, for the Community. 100% Commercial Free.

Want decent guide data back? Check out EPG123

Space

Posts: 2106
Joined: Sun Jun 02, 2013 9:44 pm
Location:

HTPC Specs: Show details

#25

Post by Space » Tue Oct 18, 2016 11:32 pm

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

clemon79

Posts: 63
Joined: Wed Nov 13, 2013 6:59 am
Location:

HTPC Specs: Show details

#26

Post by clemon79 » Tue Oct 18, 2016 11:56 pm

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! :)

mikinho

Posts: 248
Joined: Thu Jun 16, 2011 5:23 am
Location:

HTPC Specs: Show details

#27

Post by mikinho » Wed Oct 19, 2016 12:04 am

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.

clemon79

Posts: 63
Joined: Wed Nov 13, 2013 6:59 am
Location:

HTPC Specs: Show details

#28

Post by clemon79 » Wed Oct 19, 2016 12:08 am

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. :))

mikinho

Posts: 248
Joined: Thu Jun 16, 2011 5:23 am
Location:

HTPC Specs: Show details

#29

Post by mikinho » Wed Oct 19, 2016 12:11 am

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.

volfan6415

Posts: 179
Joined: Thu Jun 16, 2011 8:26 pm
Location:

HTPC Specs: Show details

#30

Post by volfan6415 » Wed Oct 19, 2016 10:05 pm

this is really cool. subscribing so i can get notification when the solution is posted.

clemon79

Posts: 63
Joined: Wed Nov 13, 2013 6:59 am
Location:

HTPC Specs: Show details

#31

Post by clemon79 » Thu Nov 10, 2016 4:16 am

Just checking in to see if anything ever happened here :)

Post Reply