Skip to content

Commit

Permalink
Added check
Browse files Browse the repository at this point in the history
  • Loading branch information
devos50 committed Jul 27, 2016
1 parent 38356ac commit 161708b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TriblerGUI/widgets/videoplayerpage.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ def __init__(self):
self.is_full_screen = False

def initialize_player(self):
os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path
if vlc.plugin_path:
os.environ['VLC_PLUGIN_PATH'] = vlc.plugin_path

self.instance = vlc.Instance()
self.mediaplayer = self.instance.media_player_new()
self.window().video_player_position_slider.should_change_video_position.connect(self.on_should_change_video_time)
Expand Down

0 comments on commit 161708b

Please sign in to comment.