mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Derive name from passed preset URL
This commit is contained in:
parent
3d0278688d
commit
73f5f90e45
1 changed files with 4 additions and 2 deletions
|
|
@ -160,8 +160,10 @@ Raven.context(async () => {
|
|||
const initialPresets = [];
|
||||
if (butterchurnPresetUrlParam) {
|
||||
initialPresets.push({
|
||||
// TODO: Get name
|
||||
name: "foo",
|
||||
name: butterchurnPresetUrlParam.slice(
|
||||
0,
|
||||
butterchurnPresetUrlParam.length - ".json".length
|
||||
),
|
||||
butterchurnPresetUrl: butterchurnPresetUrlParam
|
||||
});
|
||||
} else if (milkdropPresetUrl) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue