1
0
mirror of https://github.com/gordielachance/plugin.audio.subsonic synced 2025-01-23 13:40:18 +01:00

Do not touch internals of Python.

This commit is contained in:
Bas Stottelaar 2015-09-12 12:51:37 +02:00
parent fe27001e90
commit 6122515bd3

View File

@ -54,7 +54,9 @@ class Plugin(object):
"""
mode = self.addon_args.get("mode", ["main_page"])[0]
getattr(self, mode)()
if not mode.startswith("_"):
getattr(self, mode)()
def add_track(self, track, show_artist=False):
"""