Remove obsolete comments

This commit is contained in:
croneter 2021-12-21 15:15:29 +01:00
parent a36f32990f
commit f3ef6bdfe6

View file

@ -442,8 +442,6 @@ def get_current_subtitle_stream_index(playerid):
""" """
Returns the currently active subtitle stream index [int] or None if there Returns the currently active subtitle stream index [int] or None if there
are no subs are no subs
PICKING UP CHANGES ON SUBTITLES IS CURRENTLY BROKEN ON THE KODI SIDE! The
JSON reply won't change even though subtitles are changed :-(
""" """
try: try:
return JsonRPC('Player.GetProperties').execute({ return JsonRPC('Player.GetProperties').execute({
@ -456,8 +454,6 @@ def get_current_subtitle_stream_index(playerid):
def get_subtitle_enabled(playerid): def get_subtitle_enabled(playerid):
""" """
Returns True if a subtitle is currently enabled, False otherwise. Returns True if a subtitle is currently enabled, False otherwise.
PICKING UP CHANGES ON SUBTITLES IS CURRENTLY BROKEN ON THE KODI SIDE! The
JSON reply won't change even though subtitles are changed :-(
""" """
return JsonRPC('Player.GetProperties').execute({ return JsonRPC('Player.GetProperties').execute({
'playerid': playerid, 'playerid': playerid,