Skip to content

Commit

Permalink
fix lastfm url
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiko2k committed Jan 30, 2025
1 parent 34bb6a4 commit e76c4e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tauon/t_modules/t_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3344,6 +3344,8 @@ def auth1(self) -> None:

self.sg = pylast.SessionKeyGenerator(self.network)
self.url = self.sg.get_web_auth_url()
logging.info(str(self.url))
copy_to_clipboard(self.url)
show_message(_("Web auth page opened"), _("Once authorised click the 'done' button."), mode="arrow")
webbrowser.open(self.url, new=2, autoraise=True)

Expand Down Expand Up @@ -11955,7 +11957,7 @@ def last_fm_box(self, x0, y0, w0, h0):
y += 25 * gui.scale
ddt.text(
(x + 2 * gui.scale, y, 4, 270 * gui.scale, 300 * gui.scale),
_("Click login to open the last.fm web authorisation page and follow prompt. Then return here and click \"Done\"."),
_("Click login to open the last.fm web authorisation page (paste from clipboard if it didn't open) and follow prompt. Then return here and click \"Done\"."),
colours.box_text_label, 11, max_w=270 * gui.scale)

else:
Expand Down

0 comments on commit e76c4e9

Please sign in to comment.