Skip to content

Commit 9781ada

Browse files
committed
sound_gstreamer pylint fixes
1 parent abf13d8 commit 9781ada

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/plugins/sound_gstreamer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# -*- coding: utf-8 -*-
2-
2+
"""
3+
src/plugins/sound_gstreamer.py
4+
===================================
5+
"""
36
import gi
47
gi.require_version('Gst', '1.0')
58
from gi.repository import Gst # noqa: E402
@@ -9,6 +12,7 @@
912

1013

1114
def connect_plugin(sound_file):
15+
"""Entry point for sound file"""
1216
_player.set_state(Gst.State.NULL)
1317
_player.set_property("uri", "file://" + sound_file)
1418
_player.set_state(Gst.State.PLAYING)

0 commit comments

Comments
 (0)