diff --git a/acestream_launcher.py b/acestream_launcher.py index 26aa383..eac5076 100755 --- a/acestream_launcher.py +++ b/acestream_launcher.py @@ -5,6 +5,7 @@ import os import sys +import time import argparse import subprocess @@ -192,6 +193,9 @@ def run(self): self.engine.start_engine(command=self.args.engine, kwargs=self.stdo) + while self.engine or self.player: + time.sleep(1) + def quit(self): """Stop acestream and media player"""