Bugfixes
This commit is contained in:
parent
0e4c15b084
commit
e7e2ae529e
|
@ -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')
|
||||||
|
|
|
@ -50,6 +50,7 @@ class MonitoredPlayer(BasicPlayer):
|
||||||
self.looping=False
|
self.looping=False
|
||||||
|
|
||||||
def __del__(self):
|
def __del__(self):
|
||||||
|
if hasattr(self,'monitor'):
|
||||||
self.monitor.stop()
|
self.monitor.stop()
|
||||||
|
|
||||||
def playfor(self,duration,loop=False):
|
def playfor(self,duration,loop=False):
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user