mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Hide VLC log info
This commit is contained in:
parent
fabca1207d
commit
b6dd539dc6
@ -111,7 +111,8 @@ class URLStream(object):
|
|||||||
self.prepared = False
|
self.prepared = False
|
||||||
log.debug("URL Player initialized")
|
log.debug("URL Player initialized")
|
||||||
# LibVLC controls.
|
# LibVLC controls.
|
||||||
self.instance = vlc.Instance()
|
self.instance = vlc.Instance("--quiet")
|
||||||
|
self.instance.log_unset()
|
||||||
self.player = self.instance.media_player_new()
|
self.player = self.instance.media_player_new()
|
||||||
self.event_manager = self.player.event_manager()
|
self.event_manager = self.player.event_manager()
|
||||||
self.event_manager.event_attach(vlc.EventType.MediaPlayerEndReached, self.end_callback)
|
self.event_manager.event_attach(vlc.EventType.MediaPlayerEndReached, self.end_callback)
|
||||||
|
Loading…
Reference in New Issue
Block a user