bsmg / ModAssistant

Simple Beat Saber Mod Installer
MIT License
2.49k stars 419 forks source link

Playlist OneClick #407

Open GianniKoch opened 3 years ago

GianniKoch commented 3 years ago

Hi,

I'm trying to implement oneclick to my playlist tool but I'm having some issues with it... When entering this link (bsplaylist://playlist/https://giannikoch.com/playlisthub/api/download.php?id=1&oneclick=test) in my browser URL I get this error from mod assistant. image does this mean my JSON object is incorrect? I don't know since playlistmanager has no problem with my current returning json object (from https://giannikoch.com/playlisthub/api/download?id=1)

Thank you in advance!

Parapass commented 3 years ago

I think the cause of this is because ModAssistant is trying to download the file and look for the songs in the .bplist/json file. Instead, your download.php link gets downloaded, which it then tries to serialize with no success.

I could be wrong though.

GianniKoch commented 3 years ago

I think the cause of this is because ModAssistant is trying to download the file and look for the songs in the .bplist/json file. Instead, your download.php link gets downloaded, which it then tries to serialize with no success.

I could be wrong though.

Yea but BSL also has an oneclick and they also use a download thingy.