Skip to content

Commit

Permalink
keep session alive after run
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Nov 12, 2018
1 parent f2c6fd6 commit 7d2aac6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions acestream_launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import os
import sys
import time
import argparse
import subprocess

Expand Down Expand Up @@ -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"""

Expand Down

0 comments on commit 7d2aac6

Please sign in to comment.