Welcome Guest Search | Active Topics | Members | Log In | Register

Remote Event Handlers Options · View
binnerup
Posted: Wednesday, June 26, 2013 7:07:35 PM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
Hi all,

My Movies 4.06 contains a set of Event Handlers for handling remote control events from My Movies for iPhone, iPad, Android or Windows Phone and pass volume commands to a IP controlled receiver or TV.

There is currently remote event handlers for IP controllable receivers for the brands Onkyo, Denon and Sony included in the software.

The source code for these is attached to the post here, in case anyone is interested in developing a remote handler for their receiver or TV brand.

You are also welcome to post here for help.

If you end up developing a remote event handler, I am sure that others would appreciate sharing it, either as source code, or as a closed DLL file.

Best regards,

Brian Binnerup

File Attachment(s):
Onkyo Remote Handler.zip (65kb) downloaded 249 time(s).
Denon Remote Handler.zip (87kb) downloaded 215 time(s).
Sony Remote Handler.zip (88kb) downloaded 180 time(s).
Philips Remote Handler.zip (48kb) downloaded 181 time(s).




Having trouble installing or upgrading to My Movies 5? Click here for troubleshooting.

Having a problem? Searching our Knowledge Base is always the first step.

How can I produce a log file in My Movies for Windows?

How can I fully uninstall My Movies for Windows
gennoise
Posted: Thursday, June 27, 2013 11:03:34 PM
Groups: Member

Joined: 3/14/2010
Posts: 65

Rank:
Rank based on contribution points and purchased points. Click to see details. (3108)
I do apologize if this is a stupid question, but how do I add a reference to the library that provides the events? Even the example projects have a broken dependency for the "Event Handler Interface" when I open it in VS2012/VS2013 preview.

EDIT: found a copy of the DLL in the ./bin folder but that could've been made more obvious. Tongue out
binnerup
Posted: Friday, June 28, 2013 12:12:34 AM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
The Event Handler Interface is located where event handlers are:

C:\ProgramData\My Movies\FileStorage\User Customization\Event Handlers

This is also where to place your DLL.

Having trouble installing or upgrading to My Movies 5? Click here for troubleshooting.

Having a problem? Searching our Knowledge Base is always the first step.

How can I produce a log file in My Movies for Windows?

How can I fully uninstall My Movies for Windows
binnerup
Posted: Tuesday, July 02, 2013 4:41:52 PM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
gennoise
Posted: Friday, July 05, 2013 4:04:02 PM
Groups: Member

Joined: 3/14/2010
Posts: 65

Rank:
Rank based on contribution points and purchased points. Click to see details. (3108)
I don't have any inspiration for what I could use this for, but I'm keeping a close eye on this.
binnerup
Posted: Friday, July 05, 2013 4:40:12 PM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
binnerup
Posted: Friday, July 05, 2013 4:41:16 PM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
gennoise wrote:
I don't have any inspiration for what I could use this for, but I'm keeping a close eye on this.


The typical usage for ordinary users will be when using the remote control part of My Movies for iPhone, iPad or Android, to direct volume and mute commands to the TV or receiver, rather than to the Windows Media Center PC.

For advanced users, it can be used for light controls, curtain controls and similar.

Having trouble installing or upgrading to My Movies 5? Click here for troubleshooting.

Having a problem? Searching our Knowledge Base is always the first step.

How can I produce a log file in My Movies for Windows?

How can I fully uninstall My Movies for Windows
gkjonas
Posted: Thursday, July 11, 2013 12:52:32 AM
Groups: Member

Joined: 1/17/2011
Posts: 26
Location: Washington, USA

Rank:
Rank based on contribution points and purchased points. Click to see details. (2576)
gennoise wrote:
I don't have any inspiration for what I could use this for, but I'm keeping a close eye on this.


If I could get the my movies iPad remote to turn on my HTPC, my Denon reciever (with Volume control) and Mitsubishi projector I would be in heaven! Sounds like I just need to find a programmer that can do it for me...
binnerup
Posted: Thursday, July 11, 2013 11:04:08 AM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
gkjonas
Posted: Thursday, July 11, 2013 8:52:20 PM
Groups: Member

Joined: 1/17/2011
Posts: 26
Location: Washington, USA

Rank:
Rank based on contribution points and purchased points. Click to see details. (2576)
Wow! that is exactly what I need. I was looking at other solutions to automate my theater but event handlers can do everything plus some things I had not thought of like automatically turning up the lights as credits roll. This is really great stuff, thanks!
pavlov70
Posted: Tuesday, September 10, 2013 6:22:45 PM
Groups: Member

Joined: 11/9/2007
Posts: 19
Location: at home

Rank:
Rank based on contribution points and purchased points. Click to see details. (2500)
EDIT: Never mind, figured it out. Obviously I'm having a bit of a learning curve with vb.net....



Using the MiCasaVerde event handler as a starting point, I'm creating a handler for Universal Devices' ISY controller.

I'm not a programmer but I have it pretty much working. Now I'm trying to get it to a state where others can use it. My issue is the ISY requires authentication, which I have working when I hardcode the ID and PW in micasaverdeipcontrol.vb

' Create a resolver and specify the necessary credentials.
Dim resolver As New XmlUrlResolver()
Dim myCred As System.Net.NetworkCredential
myCred = New System.Net.NetworkCredential("pavlov70", "mypassword, "")
resolver.Credentials = myCred


I updated the configuration app with ID (txtISYID) and PW (txtISYPW) fields and it seems to be saving the values just fine.

My question is how to retrieve those values and set as variables in micasaverdeipcontrol.vb? I'm sure it's a very basic question but little programming experience I'm happy to be at the point where I am.

Any help appreciated.

rob


sirmadman
Posted: Tuesday, December 31, 2013 10:30:16 PM
Groups: Member

Joined: 4/19/2008
Posts: 227

Rank:
Rank based on contribution points and purchased points. Click to see details. (13570)
I'm developing an event handler to control lights, but I have noticed that the application doesn't send all events?
Checking the logfiles for the already available event handlers shows that I only get "Launched" and "PlayStarted".
No "Pause", no "PlayStopped" and no "PlayStateChanged". It is possible that other events are ok, but these are what I'm interested in.

I have checked this on several clients which show the same problem with "ending" events.

I normally have DVDs stored as images instead of VIDEO_TS folders, but I guess that shouldn't matter?

I'm running the latest release v4.06.

/Thomas
binnerup
Posted: Wednesday, January 01, 2014 11:41:09 AM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
This is because the event handling functionality is not by default available for image files, as image files are mounted, and then autoplay in Media Center takes over - the My Movies system is not in control.

There is a guide coming on how to disable autoplay for the discs in Windows Media Center in general, but it is for advanced users only, as it will be intended for our professionals when supplying systems.

Having trouble installing or upgrading to My Movies 5? Click here for troubleshooting.

Having a problem? Searching our Knowledge Base is always the first step.

How can I produce a log file in My Movies for Windows?

How can I fully uninstall My Movies for Windows
sirmadman
Posted: Wednesday, January 01, 2014 2:07:20 PM
Groups: Member

Joined: 4/19/2008
Posts: 227

Rank:
Rank based on contribution points and purchased points. Click to see details. (13570)
Then I'll try with a movie that is VIDEO_TS stored instead.

Will the guide be available for normal users as well, even though it's intended for professional system builders?

It's a great task converting 1500+ images to folders... ;-)

/Thomas
binnerup
Posted: Wednesday, January 01, 2014 2:18:20 PM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
wseaton
Posted: Monday, February 10, 2014 7:45:57 PM
Groups: Member

Joined: 11/8/2008
Posts: 2

Rank:
Rank based on contribution points and purchased points. Click to see details. (2628)
I am trying to create an event handler using the example in the user customization folder, there is some discrepancies between the methods in the supplied example and the one in the Event Handler Interface.DLL, (signature are different). That not a big issue since I overcame that hurdle by manually updating the ones in my event Handler.

The issue is that the only event I seem to be getting is MainMovieStarted when playing DVD files. ISOs (Total Media Theater 6) or wmv files does not produce any events at all. I am trying to send commands to a Homeseer server when a MyMovie event is triggered.
binnerup
Posted: Monday, February 10, 2014 8:26:47 PM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
wseaton wrote:
I am trying to create an event handler using the example in the user customization folder, there is some discrepancies between the methods in the supplied example and the one in the Event Handler Interface.DLL, (signature are different). That not a big issue since I overcame that hurdle by manually updating the ones in my event Handler.

The issue is that the only event I seem to be getting is MainMovieStarted when playing DVD files. ISOs (Total Media Theater 6) or wmv files does not produce any events at all. I am trying to send commands to a Homeseer server when a MyMovie event is triggered.


The system are unable to keep track of image files, as it is not "in the loop" of playback - it occurs all between WMC and TMT.

It should however be able to keep track of WMV.

Having trouble installing or upgrading to My Movies 5? Click here for troubleshooting.

Having a problem? Searching our Knowledge Base is always the first step.

How can I produce a log file in My Movies for Windows?

How can I fully uninstall My Movies for Windows
wseaton
Posted: Tuesday, February 11, 2014 3:08:37 PM
Groups: Member

Joined: 11/8/2008
Posts: 2

Rank:
Rank based on contribution points and purchased points. Click to see details. (2628)
Thanks for you reply, do you know of any way to capture events from Total Media Theater 6?
binnerup
Posted: Thursday, March 20, 2014 6:44:53 AM

Groups: Administration , Windows RT/8 Discussion Group

Joined: 2/1/2005
Posts: 46,682
Location: Aarhus, Denmark

Rank:
Rank based on contribution points and purchased points. Click to see details. (130665)
dmaustin
Posted: Wednesday, April 09, 2014 8:44:06 PM
Groups: Member

Joined: 1/17/2012
Posts: 24

Rank:
Rank based on contribution points and purchased points. Click to see details. (34)
So... I'm very interested in the lighting control that was demonstrated in that video. I currently build custom PCs for My Movies. But I'm also looking to integrate My Movies with the RTI Control Systems I sell. So it looks like I'll have to buy Vidabox products instead of custom building since no one else seems to be making an RTI driver. And Vidabox's RTI Driver does not have variables to trigger lighting control.

I'd like to know what it'd take to have that functionality to send a command when the movie starts to dim the lights... when the credits roll the lights raise back up. I currently rip the movies as ISOs because my client wants to get the full quality, menus, and extra features of his blurays. We're using PowerDVD as a player, but I'm open to suggestions that can improve the experience. I'll be using a Lutron RadioRa 2 Lighting Control Sytem and an RTI automation system. The entire system should be controlled via an iPad with RTiPanel. Programming the Lutron and RTI is no problem for me. There has to be a way for me to set up this functionality shown in the video. I don't really know how to get started with it, but I don't see any information how to actually make that happen either. Can you give me a push in the right direction here? Are my requests even possible? I'm trying to offer a solution as close to Kaleidescape as possible. These lighting controls would really make the experience of a high end theater room.

I appreciate any responses you can give!
Users browsing this topic
guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.0 (NET v4.0) - 10/10/2006
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.