Browse Source

Error messages.

master
jvs 2 years ago
parent
commit
65f2abfa2d
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      striemtrien.py

+ 2
- 4
striemtrien.py View File

@@ -33,9 +33,8 @@ class StriemTrien(object):
mpv_command.insert(1, '--no-video')
mpv_command.insert(2, '--force-window')
mpv_command.insert(3, '--window-scale=0.5')
self.process = subprocess.Popen(mpv_command, stdout=subprocess.PIPE) #start_new_session=True
#
#def check(self):
self.process = subprocess.Popen(mpv_command, stdout=subprocess.PIPE)

begintime = time.time()
while (time.time() - begintime) < 3:
returncode = self.process.poll()
@@ -82,7 +81,6 @@ class StriemTrienWindow(Gtk.Window):
page_url = self.entry.get_text()
striemtrien = StriemTrien(page_url, video)
striemtrien.start_mpv()
#striemtrien.check()
def show_message(self, message):
print(message)

Loading…
Cancel
Save