去除wmv

This commit is contained in:
ljqing 2022-05-29 09:40:14 +08:00
parent 460d2d8f29
commit 5fc90ad0bf
3 changed files with 8 additions and 12 deletions

View File

@ -159,7 +159,7 @@
? showClockDialog()
: item_data.window_type == 'EwindowType::Weather'
? showWeatherDialog()
: showPlaylistDialog('.mp4;.avi;.ts;.webm;.flv;.mkv;.wmv')
: showPlaylistDialog('.mp4;.avi;.ts;.webm;.flv;.mkv')
"
v-model="item_data.media_url"
:readonly="

View File

@ -994,7 +994,7 @@ export default defineComponent({
if (old_signal_source) {
const obj = await file_manage_dialog.value.showDialogAsync(
"select",
".mp4;.avi;.ts;.webm;.flv;.mkv;.wmv;.jpg;.png;"
".mp4;.avi;.ts;.webm;.flv;.mkv;.jpg;.png;"
);
if (obj) {
interface __I {
@ -1011,8 +1011,7 @@ export default defineComponent({
file.name.endsWith("ts") ||
file.name.endsWith("webm") ||
file.name.endsWith("flv") ||
file.name.endsWith("mkv") ||
file.name.endsWith("wmv")
file.name.endsWith("mkv")
) {
entity.window_type = "EwindowType::Multimedia";
entity.media_url = JSON.stringify([full_path]);
@ -1120,8 +1119,7 @@ export default defineComponent({
file.name.endsWith("ts") ||
file.name.endsWith("webm") ||
file.name.endsWith("flv") ||
file.name.endsWith("mkv") ||
file.name.endsWith("wmv")
file.name.endsWith("mkv")
) {
entity.window_type = "EwindowType::Multimedia";
entity.media_url = JSON.stringify([full_path]);

View File

@ -1102,7 +1102,7 @@ export default defineComponent({
const obj = await file_manage_dialog.value.showDialogAsync(
"select",
".mp4;.avi;.ts;.webm;.flv;.mkv;.wmv;.jpg;.png;"
".mp4;.avi;.ts;.webm;.flv;.mkv;.jpg;.png;"
);
if (obj) {
interface __I {
@ -1119,8 +1119,7 @@ export default defineComponent({
file.name.endsWith("ts") ||
file.name.endsWith("webm") ||
file.name.endsWith("flv") ||
file.name.endsWith("mkv") ||
file.name.endsWith("wmv")
file.name.endsWith("mkv")
) {
entity.window_type = "EwindowType::Multimedia";
entity.media_url = JSON.stringify([full_path]);
@ -1188,7 +1187,7 @@ export default defineComponent({
if (old_signal_source) {
const obj = await file_manage_dialog.value.showDialogAsync(
"select",
".mp4;.avi;.ts;.webm;.flv;.mkv;.wmv;.jpg;.png;"
".mp4;.avi;.ts;.webm;.flv;.mkv;.jpg;.png;"
);
if (obj) {
interface __I {
@ -1205,8 +1204,7 @@ export default defineComponent({
file.name.endsWith("ts") ||
file.name.endsWith("webm") ||
file.name.endsWith("flv") ||
file.name.endsWith("mkv") ||
file.name.endsWith("wmv")
file.name.endsWith("mkv")
) {
entity.window_type = "EwindowType::Multimedia";
entity.media_url = JSON.stringify([full_path]);