NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
« Previous 1 2 3 4 Next »
Extras Pause

 
  • 0 Vote(s) - 0 Average
Extras Pause
buntay20
Offline

Member

usa
Posts: 94
Threads: 16
Joined: Dec 2021
#1
2021-12-20, 08:45 PM
I was wondering if there is a way to use a pause in an extra file.

The flow I am looking to accomplish is 

<command> run a py script <command>
wait for script to finish -- about 3 seconds
<command> run a .bat file <command>
play stream

is this possible, and if so what is the syntax for the "pause"

Thanks in advance
Francis
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2021-12-20, 08:48 PM
To do this, you'd wrap your couple of commands and pause into a batch file, and have the single command run that
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,127
Threads: 957
Joined: May 2006
#3
2021-12-20, 08:55 PM
Python scripts should be synchronous anyway but you could always use python sleep() at the end of your script.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NRSC5 as Extras tuner Siftingice 1 395 2025-02-11, 05:27 PM
Last Post: mvallevand
  extras.xml device using VLC? davy 1 565 2024-11-20, 02:33 PM
Last Post: mvallevand
  Capture Card Extras help needed lamb0985 20 4,479 2023-02-18, 10:34 PM
Last Post: mvallevand
  UpdateEPG not working with Extras loveridgem 4 1,509 2021-10-14, 02:23 AM
Last Post: loveridgem

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

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

Linear Mode
Threaded Mode