Fixes #6936 -- Fix WebDJ URL.

This commit is contained in:
Buster Neece 2024-03-02 14:56:41 -06:00
parent 60beb3d6c5
commit b83d54bf50
No known key found for this signature in database
3 changed files with 5 additions and 13 deletions

View File

@ -7,7 +7,7 @@
<div class="container pt-5">
<div class="row g-3">
<div class="col-md-4 mb-sm-4">
<settings-panel :station-name="stationName" />
<settings-panel />
</div>
<div class="col-md-8">
@ -47,11 +47,7 @@ import {useProvideMixer} from "~/components/Public/WebDJ/useMixerValue";
import {useProvidePassthroughSync} from "~/components/Public/WebDJ/usePassthroughSync";
const props = defineProps({
...webcasterProps,
stationName: {
type: String,
required: true
},
...webcasterProps
});
const webcaster = useProvideWebcaster(props);

View File

@ -260,13 +260,9 @@ import {useTranslate} from "~/vendor/gettext";
import {useInjectWebDjNode} from "~/components/Public/WebDJ/useWebDjNode";
import {usePassthroughSync} from "~/components/Public/WebDJ/usePassthroughSync";
import {useInjectWebcaster} from "~/components/Public/WebDJ/useWebcaster";
import {useAzuraCastStation} from "~/vendor/azuracast.ts";
const props = defineProps({
stationName: {
type: String,
required: true
}
});
const {name: stationName} = useAzuraCastStation();
const djUsername = ref(null);
const djPassword = ref(null);

View File

@ -66,7 +66,7 @@ final class WebDjAction implements SingleActionInterface
'hide_footer' => true,
],
props: [
'wss_url' => $wssUrl,
'baseUri' => $wssUrl,
],
);
}