NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 45 46 47 48 49 … 193 Next »
PVRX2 command line switch for config.xml

 
  • 0 Vote(s) - 0 Average
PVRX2 command line switch for config.xml
Scifidude
Offline

Junior Member

Posts: 19
Threads: 9
Joined: Dec 2005
#1
2009-10-09, 08:18 PM
I'm using a laptop as a client. (1.4.7)

Occasionally, if I'm going out of town for a few days, I file transfer several shows I may want to watch from my PVR server to the laptop's Video Library folder so I can play them locally, without being connected to the server.

In order to do this I need to redo the configuration by unchecking "Configure this machine to act as a client", otherwise PVRX2 crashes when it starts up because the server doesn't exist. When I return home and want to use the laptop as a client again I have to redo the configuration again.

I looked at the command line options in the wiki and didn't see any that appeared to be able to set the path to the config.xml file.

I believe it would be worthwhile to have a "-config path\to\config.xml" command line switch. That way we could create shortcuts to start PVRX2 using different config settings.

This would also be of benefit if you're trying to solve a problem by changing the config. You could have your good config in the C:\Progr...\GBPVR\GOOD folder and make modifications to the one in C:\Progr...\GBPVR and always have a shortcut that points back to the "good" config.

Scifidude
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#2
2009-10-09, 08:24 PM
I made a batch file that copies a "server.xml" or "client.xml" to config.xml and then runs pvrx2 with shortcuts on the desktop to cover situations where my normal client PC has to act like a server for an hour or so.
stustunz
Offline

Posting Freak

Posts: 5,111
Threads: 112
Joined: Oct 2006
#3
2009-10-09, 08:38 PM (This post was last modified: 2009-10-09, 08:51 PM by stustunz.)
i was just playing with this last night
if you copy the whole gbpvr folder to another location and start it from that folder you can run 2 config files
short cut to the pvrx2.exe
i have only been doing this on a client machine it dont think it would work on a server as it wouldnt adjust the correct database

to change directories for second short cut you need to set directories in config then copy that config file over to the new folder as it will always only adjust the main config file(C:\Program Files\Devnz\GBPVR)

you could also use vidimport to add the files to recordings then copy over the database also
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2009-10-10, 01:38 AM
that's not safe, some plugins use the registry to get gbpvr install dir..
HKEY_LOCAL_MACHINE\SOFTWARE\devnz\GBPVR InstallDir
but you can just modify that in batch too with reg.exe...Smile
tho probably easier to just swap config.xml
or edit that client line in config.xml, only the enabling line needs changing..
and don't forget to restart rec. service after...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Add the date/timestamp to the EPG Update Complete line.. BigBillSD 3 724 2024-10-10, 09:32 PM
Last Post: mvallevand
  Execute command to specific device when stream is exited boukmandutty 6 1,342 2023-06-09, 12:09 PM
Last Post: mvallevand
  Automatic backup of Config.xml and NPVR.db3 p37307 2 2,837 2017-12-10, 01:01 AM
Last Post: jksmurf
  NScriptHelper.exe command to return # of active recordings BrettB 1 2,036 2017-02-27, 05:35 PM
Last Post: HarryH3
  Switch off "Newish" On Screen Controls Lao Pan 13 5,931 2016-11-26, 11:52 AM
Last Post: Lao Pan
  Command Line Operations jcole998 0 1,882 2016-09-27, 01:51 PM
Last Post: jcole998
  Config to control what Channel Group is presented to Kodi JavaWiz 1 2,530 2015-11-04, 02:15 AM
Last Post: sub
  Additional transcode options in config.xml trummel 0 1,610 2015-09-28, 02:18 PM
Last Post: trummel
  client side WOL & DB off-line message handling 2leftfeet 2 1,855 2015-08-06, 07:00 PM
Last Post: 2leftfeet
  Keep sound alive switch ScaryBox 1 1,800 2014-11-02, 11:20 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode