Fix(?) music starting with volume=0
This commit is contained in:
parent
fe338aaf4a
commit
028c6cd43c
@ -123,8 +123,8 @@ class Music:
|
|||||||
media = self.VLC.media_new_path(path)
|
media = self.VLC.media_new_path(path)
|
||||||
self.player = media.player_new_from_media()
|
self.player = media.player_new_from_media()
|
||||||
if self.player:
|
if self.player:
|
||||||
self.player.audio_set_volume(self.max_volume)
|
|
||||||
status = self.player.play()
|
status = self.player.play()
|
||||||
|
self.set_volume(self.max_volume)
|
||||||
if position:
|
if position:
|
||||||
self.player.set_position(position)
|
self.player.set_position(position)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user