Index: channels/specbuttons.py ================================================================== --- channels/specbuttons.py +++ channels/specbuttons.py @@ -1,9 +1,9 @@ # encoding: utf-8 # title: Spec buttons for apps # description: Adds configurable mini toolbar buttons -# version: 0.8.2 +# version: 0.8.3 # depends: streamtuner2 >= 2.2.0 # type: feature # category: ui # config: # { name: specbutton_rows, value: 2, max: 4, type: int, description: "Number of rows to arrange buttons in." } @@ -128,8 +128,9 @@ # Button callback, allow for %url/%title placeholders def action(self, cmd): if re.search("[%$]", cmd): row = self.parent.channel().row() - cmd = action.run_fmt_url(cmd, row=row, add_default=False, cmd=cmd) - action.run(cmd) + action.run_fmt_url(row=row, add_default=False, cmd=cmd) + else: + action.run(cmd)