Skip to content

Commit

Permalink
shoutcast: Remove duplicate methods, thx Stan
Browse files Browse the repository at this point in the history
  • Loading branch information
Hains authored and WanWizard committed Aug 24, 2023
1 parent 142914e commit 74ca098
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions shoutcast/src/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -1329,31 +1329,3 @@ def updateTarget(self):
self["target"].setText(currFolder)
else:
self["target"].setText(_("Invalid Location"))

def up(self):
self["filelist"].up()
self.updateTarget()

def down(self):
self["filelist"].down()
self.updateTarget()

def left(self):
self["filelist"].pageUp()
self.updateTarget()

def right(self):
self["filelist"].pageDown()
self.updateTarget()

def ok(self):
if self["filelist"].canDescent():
self["filelist"].descent()
self.updateTarget()

def updateTarget(self):
currFolder = self["filelist"].getSelection()[0]
if currFolder is not None:
self["target"].setText(currFolder)
else:
self["target"].setText(_("Invalid Location"))

0 comments on commit 74ca098

Please sign in to comment.