From c79980c477c81ddfd666bef74f7ccb2957ed1ca3 Mon Sep 17 00:00:00 2001 From: venomousZealot Date: Wed, 5 May 2021 14:08:48 +0200 Subject: [PATCH] Make sonarcloud happy --- jellyfin_kodi/helper/playutils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jellyfin_kodi/helper/playutils.py b/jellyfin_kodi/helper/playutils.py index 12d69fcb..fd834c80 100644 --- a/jellyfin_kodi/helper/playutils.py +++ b/jellyfin_kodi/helper/playutils.py @@ -596,8 +596,8 @@ class PlayUtils(object): skip_dialog = int(settings('skipDialogTranscode') or 0) audio_selected = None - def get_track_title(trackIndex): - return streams[trackIndex]['DisplayTitle'] or ("Track %s" % trackIndex) + def get_track_title(track_index): + return streams[track_index]['DisplayTitle'] or ("Track %s" % track_index) if audio: audio_selected = audio