NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 2 3 4 5 … 56 Next »
New External App: Netflix Viewer

 
  • 0 Vote(s) - 0 Average
New External App: Netflix Viewer
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#361
2010-07-25, 03:25 AM (This post was last modified: 2010-07-25, 03:39 AM by whurlston.)
dhgb256 Wrote:Unfortunately when I call to get the foreground window it just finds my program, which doesn't handle the keys, the IE window does. I would need to figure out how to talk to silverlight directly.

Snooze Wrote:i would like this too, then I can clean up the hauppauge remote! I really dont like as I have it right now, and I like the way stream-it has its own window controls. I am breathing heavy now! lol

The latest build of the plugin doesn't have it's own window controls. I had issues with control when the Netflix fullscreen mode is launched from a webbrowser control. I had to forget my custom player and actually launch IE in kiosk mode and then the controls worked.

Yancym posted an the hauppauge ini entries for Netflix in IE at http://forums.gbpvr.com//showthread.php?...ton-remote which he built from this post: http://forums.gbpvr.com//showthread.php?...post382154

Edit: Just got home and I snuck on the computer while she's not looking. I'll send you the code when she goes to bed.
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#362
2010-07-26, 04:02 AM (This post was last modified: 2010-07-26, 05:45 AM by whurlston.)
I didn't get to post this last night but I found a more complete code for window functions than I have (like checking the state of the window, etc). You may not use them all but I figured, show them to you anyway. Basically you want the Window.cs file from http://www.codeproject.com/KB/cs/windowhider.aspx (You don't need to download it, just copy the code shown on the page. There is a "copy code" link that you can use.)

Change Window.cs line 17 to make SetForegroundWindow() accessible:

Code:
[DllImport("user32.dll")] [color=red]public[/color] static extern bool SetForegroundWindow(IntPtr hWnd);

Set a timer after launching IE or Firefox:
Code:
// Code to launch IE/Firefox here

            // Set up the timer, you can adjust the interval to your liking.
            System.Timers.Timer fullscreenTimer = new System.Timers.Timer(2500);
            fullscreenTimer.Elapsed += new System.Timers.ElapsedEventHandler(fullscreenTimer_Elapsed);
            fullscreenTimer.Enabled = true;

Then create your timer elapsed event handler:
Code:
void fullscreenTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
        {
            bool fullscreenWindowFound = false;
            
            // We'll use this later.
            WindowHider.Window ieWindow = null;

            // Get a list of all current windows.
            WindowHider.Windows windows = new WindowHider.Windows(false, false);

            // Iterate through the windows to find the player
            foreach (WindowHider.Window wnd in windows)
            {
                // Find the normal browser window and reference it for later. This should work with Firefox or IE but I only tested with IE.
                if (wnd.Title.Contains("Netflix: Netflix Movie Viewer"))
                    ieWindow = wnd;

                // Check to see if there is a fullscreen Silverlight window active.
                if (wnd.Title == "Microsoft Silverlight")
                {
                    fullscreenWindowFound = true;

                    // Kill the timer so it doesn't fire again since we no longer need it.
                    ((System.Timers.Timer)sender).Enabled = false;

                    // break the foreach loop, we found what we needed
                    break;
                }
            }

            // Force fullscreen if we didn't find it.
            if (!fullscreenWindowFound && ieWindow != null)
            {
                // Force the viewer window to the foreground. ieWindow.Activate() does not seem to work so we'll use SetForegroundWindow
                WindowHider.Window.SetForegroundWindow(ieWindow.hWnd);

                // Send the f key to enter fullscreen mode.
                SendKeys.SendWait("f");
            }
        }

This will keep attempting a non blocking check for the player windows and and once it successfully activates fullscreen mode it will stop trying.
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#363
2010-07-26, 03:23 PM
whurlston Wrote:I didn't get to post this last night but I found a more complete code for window functions than I have (like checking the state of the window, etc). You may not use them all but I figured, show them to you anyway. Basically you want the Window.cs file from http://www.codeproject.com/KB/cs/windowhider.aspx (You don't need to download it, just copy the code shown on the page. There is a "copy code" link that you can use.)

Thanks whurston,

I started down this route with my original program release, but because of my info screen, episode changer, and screen resolution functions, I can't load a separate IE window. I need to communicate back and forth between the movie and my program, so I am using a webbrowser function in the .NET platform to accomplish this, but the native netflix functions are disabled in fullscreen mode. I think I will report the issue to netflix and see if they have a resolution.
HTPC: Foxxconn -case w/ 300W PSU, 2 x 80 mm case fans, Foxxconn A74MX-K, ATI Radeon 4550 1GB PCIE x16, AMD X2 4850e 45W, 4GB OCZ DDR800, Windows XP Home/SP3, Hauppauge HVR-2250 dual tuner, K-lite 5.75 FFDShow video & audio, ATIdvcr Decoder, VMR9
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#364
2010-08-06, 02:26 PM
OK, I have found a way to make my program skinable. I am working on the code right now, so if anyone has some suggestions for images, please let me know. i am open to suggestions.

-DH
HTPC: Foxxconn -case w/ 300W PSU, 2 x 80 mm case fans, Foxxconn A74MX-K, ATI Radeon 4550 1GB PCIE x16, AMD X2 4850e 45W, 4GB OCZ DDR800, Windows XP Home/SP3, Hauppauge HVR-2250 dual tuner, K-lite 5.75 FFDShow video & audio, ATIdvcr Decoder, VMR9
dljones8053
Offline

Senior Member

USA
Posts: 267
Threads: 2
Joined: Jul 2006
#365
2010-08-09, 12:32 PM
Hey All

I was catching up on all the posts I've missed the last couple of weeks, I saw that users have delay opening Netflix when picking a show or movies. Quick fix it to make sure you have no proxy setting in IE. If you have it set to auto disable it and you will find IE and Firefox both will perform much faster since it is no longer checking to see if you have any proxy's you have to go through. I have never enable this due to the delay unless I'm behind a fire wall that requires it then I only set up the proxy info itself. Hope this helps.

DJ
dljones8053
Offline

Senior Member

USA
Posts: 267
Threads: 2
Joined: Jul 2006
#366
2010-08-12, 08:07 PM
DH

I have tried to run the update and the last 5 times it has failed at the same place, please view the log file and see why this happens every time. I did a complete DB rebuild we I upgraded to 2.3.2.1 and not one update has worked since then. I have 3 log files at 3k each saying teh same thing I posted below.

DJ

oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
OK
Doc OK
Trying Web Browser
Webbrowser OK
Doc OK
Webbrowser failed: Object reference not set to an instance of an object.
oHTTP.open(GET,http://www.netflix.com/WiMovie/The_Lonel...kid=814418, False)
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#367
2010-08-13, 04:11 AM
dljones8053 Wrote:DH

I have tried to run the update and the last 5 times it has failed at the same place, please view the log file and see why this happens every time. I did a complete DB rebuild we I upgraded to 2.3.2.1 and not one update has worked since then. I have 3 log files at 3k each saying teh same thing I posted below.

DJ

Hey DJ,

My computer ran an update this morning and it worked fine, so a couple of things I need:

1) were there any other log files created? If so, can you zip them and post them here. Should be in the ".\MovieInfo\logs" directory.
2) using IE go to netflix.com and make sure your cookie didn't get deleted. This happens sometimes when microsoft puts out security updates. (This is a very common problem).

-DH
HTPC: Foxxconn -case w/ 300W PSU, 2 x 80 mm case fans, Foxxconn A74MX-K, ATI Radeon 4550 1GB PCIE x16, AMD X2 4850e 45W, 4GB OCZ DDR800, Windows XP Home/SP3, Hauppauge HVR-2250 dual tuner, K-lite 5.75 FFDShow video & audio, ATIdvcr Decoder, VMR9
Satori
Offline

Member

Posts: 238
Threads: 42
Joined: Dec 2006
#368
2010-08-15, 04:04 PM (This post was last modified: 2010-08-15, 05:24 PM by Satori.)
same issue logs attached IGNORE THIS Cookie issue (DUH).
Gateway GM5664 with Vista Premium SP1 Transferred to Antec Fusion HTPC case
AMD Phenom 9600 Quad Core 2.3GHZ, 3GB PC5300 667MHZ Memory
3 Tuners: Avermedia Duet PCIe, HVR-1250 PCIe
LG GGC-H20N Blu-ray / HDDVD ROM Drive, Visiontek HD 3650 512 MB Graphics (Cat 9.6)
Sound Blaster X-Fi XtremeGamer, Gyration Media Center Remote Control
HDD: 30GB OCZ Vertex SSD - OS, 1TB (2x500GB) - Recordings
GBPVR: 1.4.7, Plugins - SuperSimpleArchiver, GBPVRCLi/LCD Smartie for VFD, Music Plugin
Satori
Offline

Member

Posts: 238
Threads: 42
Joined: Dec 2006
#369
2010-08-15, 06:30 PM
Actually a different issue. The download only ever works to this point?
Gateway GM5664 with Vista Premium SP1 Transferred to Antec Fusion HTPC case
AMD Phenom 9600 Quad Core 2.3GHZ, 3GB PC5300 667MHZ Memory
3 Tuners: Avermedia Duet PCIe, HVR-1250 PCIe
LG GGC-H20N Blu-ray / HDDVD ROM Drive, Visiontek HD 3650 512 MB Graphics (Cat 9.6)
Sound Blaster X-Fi XtremeGamer, Gyration Media Center Remote Control
HDD: 30GB OCZ Vertex SSD - OS, 1TB (2x500GB) - Recordings
GBPVR: 1.4.7, Plugins - SuperSimpleArchiver, GBPVRCLi/LCD Smartie for VFD, Music Plugin
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#370
2010-08-16, 01:00 PM (This post was last modified: 2010-08-16, 03:36 PM by dhgb256.)
Satori Wrote:Actually a different issue. The download only ever works to this point?

I'll check this out tonight and let you know what I find out.

Whoops, let me ask a few questions:

1 - How many times have you tried this?
2 - Have you rebooted or deleted your cache any time before trying this again?
3 - Is it always after the sgid=0 that it gives the error (e.g. does the DownloadSGID log always end with 371)?
4 - When you follow this link in IE do you get an error? - http://www.netflix.com/WiGenre?sgid=371&vt=tg&ftr=false

-DH
HTPC: Foxxconn -case w/ 300W PSU, 2 x 80 mm case fans, Foxxconn A74MX-K, ATI Radeon 4550 1GB PCIE x16, AMD X2 4850e 45W, 4GB OCZ DDR800, Windows XP Home/SP3, Hauppauge HVR-2250 dual tuner, K-lite 5.75 FFDShow video & audio, ATIdvcr Decoder, VMR9
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (132): « Previous 1 … 35 36 37 38 39 … 132 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  New External App: Netflix Browser dhgb256 6 4,213 2015-01-07, 10:47 PM
Last Post: dhgb256
  External tool: Transfer Season Record schedules from GBPVR to NPVR kendrak24 37 21,431 2013-04-11, 05:58 AM
Last Post: kendrak24
  New External App : Channel Logo Tools For NPVR (Beta) systemshark 0 1,733 2011-09-03, 08:15 AM
Last Post: systemshark
  Recordings2 - New Recordings Viewer psycik 25 7,670 2006-10-20, 12:11 AM
Last Post: psycik
  Recordings Viewer - version 2 psycik 18 5,130 2006-08-15, 07:48 AM
Last Post: mila06
  Web Viewer Plugin jorm 53 18,513 2006-06-22, 06:14 PM
Last Post: ccsnet
  External Recorder plugin now works with 97.7 release ubu 0 1,286 2006-05-23, 09:37 PM
Last Post: ubu
  Comskip 0.77 has an integrated mpeg viewer erik 3 2,550 2005-09-27, 02:12 PM
Last Post: erik
  CDK Scheduler (External Recordings Manager) KingArgyle 7 3,454 2005-02-14, 12:59 AM
Last Post: KingArgyle
  External Recording Manager KingArgyle 9 4,417 2005-01-20, 03:42 AM
Last Post: KingArgyle

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode