This commit is contained in:
PM Kuipers 2023-01-23 19:12:58 +01:00
parent 0e4c15b084
commit e7e2ae529e
3 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,7 @@ import gi
from .resources import Resources from .resources import Resources
gi.require_version('Gst', '1.0') gi.require_version('Gst', '1.0')
gi.require_version('Gdk', '3.0')
gi.require_version('Gtk', '3.0') gi.require_version('Gtk', '3.0')
gi.require_version('GstGL', '1.0') gi.require_version('GstGL', '1.0')
gi.require_version('GstVideo', '1.0') gi.require_version('GstVideo', '1.0')

View File

@ -50,7 +50,8 @@ class MonitoredPlayer(BasicPlayer):
self.looping=False self.looping=False
def __del__(self): def __del__(self):
self.monitor.stop() if hasattr(self,'monitor'):
self.monitor.stop()
def playfor(self,duration,loop=False): def playfor(self,duration,loop=False):
loop = False loop = False

View File

@ -19,7 +19,7 @@ if version < '2.2.3':
if __name__ == '__main__': if __name__ == '__main__':
setup( setup(
name = 'mediaserver', name = 'mediaserver',
version = "4.1.1", version = "4.1.2",
description = 'Mediacore mediaserver', description = 'Mediacore mediaserver',
long_description = __doc__, long_description = __doc__,
author = 'Miqra Engineering', author = 'Miqra Engineering',