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 … 389 390 391 392 393 … 433 Next »
custom tasks - can't specify working directory

custom tasks - can't specify working directory
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#1
2011-01-10, 04:28 AM (This post was last modified: 2011-01-10, 04:39 AM by johnsonx42.)
Sub, when you get back and have a moment, can you update the Custom Tasks feature so that a working directory can be specified? Some programs expect to find their 'stuff' relative to the current directory, and thus don't work when launched as a custom task.

edit: also, I just discovered that if I disable a custom task, npvr 'forgets' what it is; it's still in the plugin list, but it loses it's parameters and does nothing if re-enabled. I then have to manually fix it or delete it from config.xml. it'd also be nice to be able to edit an existing custom task.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#2
2011-01-10, 05:38 AM
I cant do it as a patch, but I've noted it down to add if possible for the next release.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2011-01-10, 09:25 AM
no problem, I've worked around it for the task I was setting up tonight - the app would accept it's config directory as a parameter, and then I hard-coded the absolute paths for everything else into the .ini file.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#4
2011-01-10, 10:08 AM
An easier option might be to just put everything you need into a batch file, and then call that from NPVR. That way you can specify whatever options you want, including getting the correct working directory.

If you're worried about the dos window appearing, then there are plenty of 3rd party tools around that can hide it (http://forums.nextpvr.com/showthread.php...md-windows). In that case, you just add the tool as the custom task, with the batch file you want to run as its parameter.

Iain
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,315 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  HDHomerun recording bizzarely not working Jean0987654321 3 1,957 2021-03-27, 03:23 PM
Last Post: Jean0987654321
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,447 2021-01-11, 04:37 PM
Last Post: Graham
  Channels/PIP popups not working 4.2.5 (191014) eastavin 7 2,699 2020-04-20, 03:20 AM
Last Post: eastavin
  Absolute Newbie OTA EPG not working as expected. n8lbv 4 2,536 2020-04-02, 06:03 PM
Last Post: mvallevand
  Live TV not working jresnick 21 9,879 2020-01-04, 06:26 PM
Last Post: BrettB
  Changed Recording Directory - Previous Recordings Not Showing Enzpol 2 2,088 2019-11-28, 05:06 AM
Last Post: Enzpol
  Some Channels not working jasonwilliams 7 2,084 2019-08-01, 06:31 PM
Last Post: sub
  NextPVR has Stopped Working rgc101 0 1,104 2019-05-27, 11:24 PM
Last Post: rgc101
  Cancel button not working in web interface antenna 0 938 2019-05-20, 04:45 PM
Last Post: antenna

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

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

Linear Mode
Threaded Mode