NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 358 359 360 361 362 … 433 Next »
Single instance check not working in 1.5.36

Single instance check not working in 1.5.36
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,189
Threads: 958
Joined: May 2006
#11
2010-12-28, 07:45 PM
I got multiple with that but the log has

2010-12-28 14:34:12.642 [DEBUG][1] Created mutex. Must be only instance.
2010-12-28 14:34:12.759 [DEBUG][1] Version: 1.5.36
2010-12-28 14:34:12.761 [DEBUG][1] SingleInstance()

FWIW I was testing some code and this works but Global doesn't

Code:
Mutex mutex = new Mutex(true, "Local\\NPVR_INSTANCE");
            if (!mutex.WaitOne(0, false))
            {
                MessageBox.Show("Instance already running");
                return;
            }

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#12
2010-12-28, 07:58 PM
That patched changed from ""Global\\NPVR-instance-mutex" to "NPVR-instance-mutex", which is the way GBPVR did it.

I also realised the logs wont help, since the first instance will get access to npvr.log. The second instance wont create logs, since the first one already has the file open.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#13
2010-12-28, 08:00 PM
Didn't work here.

"I'd rather have a bottle in front of me than a frontal lobotomy"
thawk
Offline

Member

Posts: 73
Threads: 17
Joined: Mar 2005
#14
2011-05-30, 08:59 AM
Hi

Im also getting this same problem with version 2.0.3 Im on windows XP. Has any solution been identified yet? Many thanks

Tim
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#15
2011-05-30, 01:49 PM
thawk Wrote:Hi

Im also getting this same problem with version 2.0.3 Im on windows XP. Has any solution been identified yet? Many thanks

Tim

I think Sub just gave it up, it doesn't work here in 2.0.3.

"I'd rather have a bottle in front of me than a frontal lobotomy"
thawk
Offline

Member

Posts: 73
Threads: 17
Joined: Mar 2005
#16
2011-05-30, 04:48 PM
Oh dear - i just changed over from gbpvr which almost everything was working great on for me to get quicker channel changes and avoid out of sync jumps on the timeline. Npvr is certainly better from those repsects, but i like to use itunes for music and program the remote to switch to itunes with the 'music' button and back to npvr with the most of the other buttons (videos, guide, TV, pictures), but now with those buttons i open a new instance of nPVR and its gets itself into a real tangle!

Any ideas if this seems to be an unfixable problem with npvr? Eg a script i can put in the irremote.ini file against those command that does a switch somehow instead of TV={run(c:\npvr.lnk)}?

Thanks

Tim
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#17
2011-05-30, 05:03 PM
It works fine here, and it's doing the same thing as GBPVR did, so should work for you if it used to work in GBPVR.

If someone bumps the thread after the next release (when I'll be in a position to provide patches again), then I can provide a patch which collects logs for the second instance of nextpvr.exe so we can see why its not working for some of you.
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#18
2011-06-03, 10:49 AM
thawk Wrote:Any ideas if this seems to be an unfixable problem with npvr? Eg a script i can put in the irremote.ini file against those command that does a switch somehow instead of TV={run(c:\npvr.lnk)}?

Single instance check is working fine for me, (W7 Ult x64), but to answer your question, I believe you can use the 'FindWnd' and 'fgnwnd' commands to bring a specific window into focus.

See here: http://www.hazeveld.demon.nl/Docs/irremo...v22180.txt.
thawk
Offline

Member

Posts: 73
Threads: 17
Joined: Mar 2005
#19
2011-06-05, 09:31 PM
Great

Many thanks

Tim
b00sfuk
Offline

Senior Member

Posts: 319
Threads: 26
Joined: Mar 2005
#20
2011-06-06, 07:16 AM
Don't know if this is relevant but I found that my choice of remote hardware/software made a difference. Using an MCE remote with the Microsoft USB IR receiver/blaster (and IRSS) gave me this problem. When I switched (back) to my iMON remote/receiver (& software) the problem went away.
Silverstone LC10M with iMON
Gigabyte 780G+4850e, AMD 6570
Blackgold BGT3620, Harmony 555 Remote
Win7 32-bit, SAF
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  HDHomerun recording bizzarely not working Jean0987654321 3 2,146 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 2,995 2020-04-20, 03:20 AM
Last Post: eastavin
  Absolute Newbie OTA EPG not working as expected. n8lbv 4 2,716 2020-04-02, 06:03 PM
Last Post: mvallevand
  Live TV not working jresnick 21 10,682 2020-01-04, 06:26 PM
Last Post: BrettB
  Some Channels not working jasonwilliams 7 2,284 2019-08-01, 06:31 PM
Last Post: sub
  NextPVR has Stopped Working rgc101 0 1,170 2019-05-27, 11:24 PM
Last Post: rgc101
  Cancel button not working in web interface antenna 0 1,021 2019-05-20, 04:45 PM
Last Post: antenna
  Help Pls - Working fine on Server PC but not on other devices furball 14 3,744 2019-05-02, 09:44 AM
Last Post: sub
  Not Working Rickidi 1 1,208 2019-04-11, 05:46 PM
Last Post: sub
  UK EPG stopped working wolvesphil 9 2,903 2019-03-14, 11:08 AM
Last Post: wolvesphil

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

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

Linear Mode
Threaded Mode