NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 18 19 20 21 22 … 93 Next »
Client/server detection

 
  • 0 Vote(s) - 0 Average
Client/server detection
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#1
2010-08-08, 08:59 AM
Is there a recommended method for detecting whether nPVR is running in client or server mode, or is it ok to just look at Settings\Recording\ClientMode in the config file?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#2
2010-08-08, 04:23 PM
I just do this:

Code:
if (SettingsHelper.GetInstance().GetSetting("/Settings/Recording/ClientMode", "false")  == "true")
            {
                        ...
            }
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Developing Android TV client fred250 2 1,757 2020-11-16, 06:33 PM
Last Post: fred250
  Determine Server Tuner/Recorder Status from Console App 27InchSony 13 8,164 2016-12-21, 05:03 AM
Last Post: mvallevand
  Looking for C# UPnP Media Server code bgowland 5 7,556 2016-12-16, 08:25 PM
Last Post: mvallevand
  Web Client: Slow with separate thread and date not obscured cncb 32 15,695 2016-10-10, 02:01 PM
Last Post: mvallevand
  How to tell when video playback has finished in web client? cncb 6 4,200 2015-09-29, 08:07 PM
Last Post: cncb
  How to get edl information for videos in a web client? fred250 27 10,464 2014-12-10, 12:39 AM
Last Post: fred250
  Remote client logout timeout. mvallevand 2 2,504 2014-10-28, 12:55 AM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,040 2013-07-03, 01:39 AM
Last Post: mvallevand
  Client - Tuner plugins mvallevand 53 13,406 2011-09-17, 07:19 PM
Last Post: mvallevand
  Windows Media Connect - Storing stuff on a Home Server psycik 3 2,636 2009-09-29, 03:47 AM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode