SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations > SageMC Custom Interface
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV.

Reply
 
Thread Tools Search this Thread Display Modes
  #1121  
Old 07-21-2009, 06:38 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Quote:
Would you mind giving me a hand?

Is the silverlight control designed to be used with a client machine?
The silverlight control was designed to be used on a client (that's all I used it with), however since the netflix plugin had stopped working back when I was swamped with work (and I still am swamped, just a little less), I have not been able to test silverlight control recently.

I'm working on getting morgan's plugin running on my client again... assuming I can accomplish that (sounds like it should be possible since you say it launches the silverlight player) I'll see what's up with netflix control.
Reply With Quote
  #1122  
Old 07-21-2009, 07:52 PM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
I have an idea of where to start. I sent you a PM.
Reply With Quote
  #1123  
Old 07-21-2009, 08:38 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Morgan's 2.1b seems to have watch now working again... I haven't tested anything else yet.

Netflix Silverlight Control packaged with 2.1b also seems to still be working for the most part, but I've updated it to now exit when not in use since this caused troubles for some users. (sorry for the extremely long delay on this, mkanet).

If you would like to try it, unzip the attached (netflix_silverlight_control_v2_test7.zip) to your SageTV folder, replacing what you currently have.
Attached Files
File Type: zip netflix_silverlight_control_v2_test7.zip (207.7 KB, 160 views)
Reply With Quote
  #1124  
Old 07-21-2009, 08:50 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Quote:
Originally Posted by Peter_h View Post
I have an idea of where to start. I sent you a PM.
Thanks Peter. I was able to get things up and running just using the default distribution from Morgan. Just hadn't had time to test the update until now, and was a little put off from trying in the past based off some of the noise I was reading in this thread.


Lets see what we can do about your issues;
Since you say the silverlight player is going full screen, it sounds like netflix silverlight control is working, at least partially.

Give v2 test7 from my previous post a try. If it doesn't work, please open the "settings.ini" file and set debug to "true". Try it again, and then post the "debuglog.txt" file created.
Reply With Quote
  #1125  
Old 07-22-2009, 04:10 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Netflix Silverlight Control v2 test8.

Changes:
Button locations were not always detected with Silverlight v3. Made image search less sensitive to compensate (thanks to xelfer for the idea).

Note, this is an update to Netflix Silverlight Control distributed with the Netflix Import, and will not stand on its own.
Attached Files
File Type: zip netflix_silverlight_control_v2_test8.zip (207.7 KB, 188 views)
Reply With Quote
  #1126  
Old 07-22-2009, 08:31 PM
robbc robbc is offline
Sage User
 
Join Date: Jan 2007
Posts: 23
Quote:
Originally Posted by brainbone View Post
Netflix Silverlight Control v2 test8.

Changes:
Button locations were not always detected with Silverlight v3. Made image search less sensitive to compensate (thanks to xelfer for the idea).

Note, this is an update to Netflix Silverlight Control distributed with the Netflix Import, and will not stand on its own.
Thank you, that seems to have given me back my controls! Windows XP SP3 32 Bit, IE8, Silverlight.

Now to go research why the Instant Queue is not deleting or adding items properly...
Reply With Quote
  #1127  
Old 07-22-2009, 09:59 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Hi Brainbone, would be possible to change the settings.ini file name to something a bit more descriptive; considering it's going in sageTV's main program directory? ie, netflix_silverlight_control.ini
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #1128  
Old 07-23-2009, 04:15 AM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
Quote:
Originally Posted by brainbone View Post
Thanks Peter. I was able to get things up and running just using the default distribution from Morgan. Just hadn't had time to test the update until now, and was a little put off from trying in the past based off some of the noise I was reading in this thread.


Lets see what we can do about your issues;
Since you say the silverlight player is going full screen, it sounds like netflix silverlight control is working, at least partially.

Give v2 test7 from my previous post a try. If it doesn't work, please open the "settings.ini" file and set debug to "true". Try it again, and then post the "debuglog.txt" file created.
The V2 test8 fixed the controls for me. Thanks.
Reply With Quote
  #1129  
Old 07-23-2009, 08:25 AM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Quote:
Originally Posted by mkanet View Post
Hi Brainbone, would be possible to change the settings.ini file name to something a bit more descriptive; considering it's going in sageTV's main program directory? ie, netflix_silverlight_control.ini
Yeah. Netflix Silverlight Control was intended to be run from its own folder, but even in that case the "settings.ini" name is too ambiguous. I'll rename it in the next version.

There's a couple of focusing bugs (sage doesn't always regain focus when closing the silverlight player) that I'm trying to sort out. I'll push out a new version after I do.

Please give v2 test8 a good workout and let me know of any other problems you may be having.

Last edited by brainbone; 07-23-2009 at 08:30 AM.
Reply With Quote
  #1130  
Old 07-23-2009, 02:57 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Quote:
Originally Posted by robbc View Post
Now to go research why the Instant Queue is not deleting or adding items properly...
I've have yet to do any STV development, but if someone points me in the right direction, like setting up a build environment for this import, I'd be happy to look into it.
Reply With Quote
  #1131  
Old 07-23-2009, 05:03 PM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
Quote:
Originally Posted by brainbone View Post
I've have yet to do any STV development, but if someone points me in the right direction, like setting up a build environment for this import, I'd be happy to look into it.
If you are willing to take a look, that would be great!

Do you have a client machine you can play with? Studio can be launched by hitting ctrl+shift+F12. It comes packaged with all server and client licenses. Just launch it and you can see all the code and everything that is going on.

I'm just starting with studio so that is about the extent of my knowledge.

Check out this post by Andy to get you up and running.

Getting Started with Studio
Reply With Quote
  #1132  
Old 07-23-2009, 05:45 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
I didn't think that studio allowed you to modify jar files, like netflix.jar.

Edit: found this. I'll see were it takes me.

Last edited by brainbone; 07-23-2009 at 05:55 PM.
Reply With Quote
  #1133  
Old 07-23-2009, 11:01 PM
robbc robbc is offline
Sage User
 
Join Date: Jan 2007
Posts: 23
more details on v2test8; volume control no longer works (from remote) and had one case where the silverlight player stopped, and was left on the blue netflix player active screen.
Reply With Quote
  #1134  
Old 07-24-2009, 07:30 AM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Quote:
Originally Posted by robbc View Post
more details on v2test8; volume control no longer works (from remote) and had one case where the silverlight player stopped, and was left on the blue netflix player active screen.
Not sure on the stopping issue. Does it look like internet explorer is still open (running in task manager)?

For the volume, try moving the slider manually with the mouse, and then let me know if remote volume works. Also, when the remote volume is not working, does the mouse cursor at least hover over the mute button in the silverlight player?
Reply With Quote
  #1135  
Old 07-24-2009, 11:26 AM
robbc robbc is offline
Sage User
 
Join Date: Jan 2007
Posts: 23
RE: Stopping

IE8 is shown in the task list as is another unknown task (Silverlight controller?). Nothing responds and I have to kill SageTV. I recall it self-recovered when I just left it on the "Netflix player active" screen overnight.

I watched the same stream via FireFox no problems, multiple times so far.

RE: Volume control

I will test that in a bit, not at home right now.
Reply With Quote
  #1136  
Old 07-25-2009, 01:50 PM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
The "stopping" issues sounds like it may be related to the focus issue I'm struggling with. It seems that from time to time the silverlight player looses focus and falls behind one of the other items. In my case, it seems to be the taskbar, in your case it sounds like the black mask window I use to cover the background when stretching/cropping the IE window.
Reply With Quote
  #1137  
Old 07-25-2009, 08:37 PM
mkanet's Avatar
mkanet mkanet is offline
SageTVaholic
 
Join Date: Feb 2004
Posts: 3,359
Thanks so much! Working good so far. Honestly, I never had a problem with it other than it not autoclosing in the past.

Quote:
Originally Posted by brainbone View Post
Yeah. Netflix Silverlight Control was intended to be run from its own folder, but even in that case the "settings.ini" name is too ambiguous. I'll rename it in the next version.

There's a couple of focusing bugs (sage doesn't always regain focus when closing the silverlight player) that I'm trying to sort out. I'll push out a new version after I do.

Please give v2 test8 a good workout and let me know of any other problems you may be having.
__________________
Upgraded to Comcast X1 + Netflix/Amazon Video streaming

***RIP SageTV***
Reply With Quote
  #1138  
Old 07-29-2009, 12:24 AM
brainbone brainbone is offline
Sage Expert
 
Join Date: Oct 2006
Posts: 624
Happy to help. Glad that its working for some of you.

Just an update:

I've taken a break from tracking down the focus issue, and have started poking around the way Vista Media Center works with Netflix to see if there is any way to have more seamless integration into Sage. I've learned quite a bit about the player, like a custom skin is added to the player giving it a full screen look right off the bat, and document.getElementById("SLPlayer")["HostedPlayerControlScriptInterface_1"] in javascript will return a player object that I may be able to control without the need for emulating a mouse -- or not. The code to interact with the player is hosted on netflix servers, and secured by a developer key only usable from VMC. I can capture and examine the code, but I need to figure out a graceful way to inject it after the fact.

Perhaps registering as a netflix developer will open more doors...
Reply With Quote
  #1139  
Old 07-29-2009, 12:29 AM
Peter_h Peter_h is offline
Sage Fanatic
 
Join Date: May 2008
Location: Kailua, HI
Posts: 798
Sounds exciting. Keep us posted.
Reply With Quote
  #1140  
Old 07-29-2009, 04:25 AM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
Quote:
Originally Posted by brainbone View Post
Happy to help. Glad that its working for some of you.

Just an update:

I've taken a break from tracking down the focus issue, and have started poking around the way Vista Media Center works with Netflix to see if there is any way to have more seamless integration into Sage. I've learned quite a bit about the player, like a custom skin is added to the player giving it a full screen look right off the bat, and document.getElementById("SLPlayer")["HostedPlayerControlScriptInterface_1"] in javascript will return a player object that I may be able to control without the need for emulating a mouse -- or not. The code to interact with the player is hosted on netflix servers, and secured by a developer key only usable from VMC. I can capture and examine the code, but I need to figure out a graceful way to inject it after the fact.

Perhaps registering as a netflix developer will open more doors...
Registering as a developer WILL get you your own developer key for your application. It sounds like you're on the right track for a nice player integration.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
STV Import: NetFlix DwarF SageTV Customizations 125 12-11-2011 02:16 PM
STV Import: Fan Art for Default STV by TiKi (v2.2 Feb 22, 2009) Tiki SageTV Customizations 102 01-05-2010 05:16 PM
STV Import: SageMC Enhancements (incuding Import Folder Fix in 6.2.x) twieder SageMC Custom Interface 59 05-06-2008 01:42 PM
STV Import: Intelligent Suggestions (v1.0 07/Feb/2006) nielm SageTV Customizations 15 01-09-2007 06:17 AM


All times are GMT -6. The time now is 06:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.