Compare commits

...

2 Commits

Author SHA1 Message Date
MathieuG-P 127a538509 Merge pull request #679 from beatmaps-io/signed-playlists
Pass query parameters to playlist downloader
2024-12-02 19:57:52 +01:00
Thomas Cheyney 043e300f42 Pass query parameters to playlist downloader 2024-12-02 18:17:56 +00:00
@@ -69,8 +69,8 @@ export class LocalPlaylistsManagerService {
this.deepLink.addLinkOpenedListener(this.DEEP_LINKS.BeatSaver, link => {
log.info("DEEP-LINK RECEIVED FROM", this.DEEP_LINKS.BeatSaver, link);
const url = new URL(link);
const bplistUrl = url.host === "playlist" ? url.pathname.replace("/", "") : "";
this.windows.openWindow(`oneclick-download-playlist.html?playlistUrl=${bplistUrl}`);
const bplistUrl = url.host === "playlist" ? url.pathname.replace("/", "") + url.search : "";
this.windows.openWindow(`oneclick-download-playlist.html?playlistUrl=${encodeURIComponent(bplistUrl)}`);
});
this.fileAssociation.registerFileAssociation(".bplist", filePath => {