add owncast to event meta data

This commit is contained in:
allilengyi 2022-06-02 22:14:34 +02:00
parent 4e7284b486
commit 324cf3e5e2

View File

@ -136,6 +136,19 @@ export const eventMetaDataList: IEventMetadataDescription[] = [
/http(?:s?):\/\/(?:www\.)?youtu(?:be\.com\/watch\?v=|\.be\/)([\w\-_]*)(&(amp;)?[\w?=]*)?/,
category: EventMetadataCategories.LIVE,
},
{
icon: "mz:icon:owncast",
key: "mz:live:owncast:url",
label: i18n.t("Owncast live") as string,
description: i18n.t(
"The URL where the event can be watched live"
) as string,
value: "",
type: EventMetadataType.STRING,
keyType: EventMetadataKeyType.URL,
pattern: /^https?:\/\/(([^/.]+)\.)+([a-z]+)\/?/,
category: EventMetadataCategories.LIVE,
},
{
icon: "calendar-check",
key: "mz:poll:framadate:url",