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
StreakyBoneHead
Offline

Junior Member

Posts: 19
Threads: 0
Joined: Feb 2010
#181
2010-02-04, 08:08 PM
DH,

Here you go - it crashed on my new Dell Win7 laptop - running IE8 - on a different network.

Mebbe something new on the Netflix end flung a spanner in the works.

[ATTACHMENT NOT FOUND]

Cheers
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#182
2010-02-04, 08:31 PM
StreakyBoneHead Wrote:DH,

Here you go - it crashed on my new Dell Win7 laptop - running IE8 - on a different network.

Mebbe something new on the Netflix end flung a spanner in the works.

[ATTACHMENT NOT FOUND]

Cheers

Wow! I can't believe I didn't see this sooner. I think I know exactly what the problem is, I'll send you a fix later tonight. My auto retry feature is causing problems because I am using a variable that I erase in the code. Whoops! :o
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
StreakyBoneHead
Offline

Junior Member

Posts: 19
Threads: 0
Joined: Feb 2010
#183
2010-02-04, 08:45 PM
Ha - yeah, I know the deal. Cut my .net teeth on C#, but moved to VB due to work - then back to C# where variable scope was a whole different beastie.

Cheers
HTPC: Athenatech mATX 400W, Asus M4A785-M, AMD Phenom X3 8750 (2.4), GSkill 4GB, WD 1TB SATA, WD 500GB SATA, Seagate 500GB IDE (System), ATI X1300->Component, HDHomerun, ATI Remote Wonder, XP SP3, BeyondTV 4.9, Boxee. Hitachi 53" 1080i 'ye olde projector' TV
Preferred Retailer: NewEgg.com by far - great service.
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#184
2010-02-05, 12:28 AM (This post was last modified: 2011-02-09, 04:53 PM by dhgb256.)
StreakyBoneHead Wrote:Ha - yeah, I know the deal. Cut my .net teeth on C#, but moved to VB due to work - then back to C# where variable scope was a whole different beastie.

Cheers

OK I think I fixed the problem. Give this a whirl please. If it works, then I'll post an official update.

Thanks,
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
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#185
2010-02-05, 04:00 AM
jmontana Wrote:This thing is great! Any chance it could support a second monitor?

Hey j,

Apparently this isn't as easy as I thought it would be, because I need to add code for every form. I am working on it but it will take a while. Any chance you can just flip your primary and secondary monitors for now?

-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
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#186
2010-02-05, 04:27 AM
dhgb256 Wrote:Hey j,

Apparently this isn't as easy as I thought it would be, because I need to add code for every form. I am working on it but it will take a while. Any chance you can just flip your primary and secondary monitors for now?

-DH

You can always just have it open in the last position it was in when it closed. This C# example would save the window position to the registry when the form is closing and the next time it opened it would open in the same spot. You can use different values for different forms if you want to save the positions independently.

Code:
public Form1()
{
    InitializeComponent();

    try
    {
        int locX = (int)Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWARE\\Netflix Viewer").GetValue("WindowLocX");
        int locY = (int)Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWARE\\Netflix Viewer").GetValue("WindowLocY");
        this.Location = new System.Drawing.Point(locX, locY);
    }
    catch (Exception e)
    {
        // Couldn't read the registry. Possibly the first time the form is opened so the position hasn't been saved.
    }
}

private void Form1_FormClosing(object sender, FormClosingEventArgs e)
{
    Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWARE\\Netflix Viewer").SetValue("WindowLocX", this.Location.X);
    Microsoft.Win32.Registry.CurrentUser.OpenSubKey("SOFTWARE\\Netflix Viewer").GetValue("WindowLocY", this.Location.Y);
}

It's a lot easier than calculating the desktop area.
jmontana
Offline

Member

Posts: 104
Threads: 18
Joined: Nov 2006
#187
2010-02-05, 01:32 PM
dhgb256 Wrote:Hey j,

Apparently this isn't as easy as I thought it would be, because I need to add code for every form. I am working on it but it will take a while. Any chance you can just flip your primary and secondary monitors for now?

-DH

No biggie, I can wait. I don't want to flip 'em, because then I get all kinds of sliding notifications and balloons showing up on the TV.
Hauppauge PVR-150MCE / ATI All-in-Wonder 9000 Radeon Pro / 2.4 GHz P4 / 512 MB RAM
dhgb256
Offline

Senior Member

Posts: 717
Threads: 4
Joined: Jun 2009
#188
2010-02-05, 03:46 PM
jmontana Wrote:No biggie, I can wait. I don't want to flip 'em, because then I get all kinds of sliding notifications and balloons showing up on the TV.

Do you mind if I use you as my tester? I don't have a dual monitor setup, so I'll need to send you a couple of betas to try out.
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
jmontana
Offline

Member

Posts: 104
Threads: 18
Joined: Nov 2006
#189
2010-02-05, 04:10 PM
dhgb256 Wrote:Do you mind if I use you as my tester? I don't have a dual monitor setup, so I'll need to send you a couple of betas to try out.

Not at all. Send away!
Hauppauge PVR-150MCE / ATI All-in-Wonder 9000 Radeon Pro / 2.4 GHz P4 / 512 MB RAM
StreakyBoneHead
Offline

Junior Member

Posts: 19
Threads: 0
Joined: Feb 2010
#190
2010-02-05, 08:30 PM
DH

Running the beast now - it passed the crash point and has 1hr 44 mins to go - so looking good.

I get backatcha in 1.50

BTW I also have double monitors (triple actually but one is the debug monitor for the htpc right now - stupid ATI drivers......)
HTPC: Athenatech mATX 400W, Asus M4A785-M, AMD Phenom X3 8750 (2.4), GSkill 4GB, WD 1TB SATA, WD 500GB SATA, Seagate 500GB IDE (System), ATI X1300->Component, HDHomerun, ATI Remote Wonder, XP SP3, BeyondTV 4.9, Boxee. Hitachi 53" 1080i 'ye olde projector' TV
Preferred Retailer: NewEgg.com by far - great service.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (132): « Previous 1 … 17 18 19 20 21 … 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,432 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,514 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,420 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