logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
VideoE  
#1 Posted : Friday, July 14, 2023 6:09:39 AM(UTC)
VideoE

Rank: Advanced Member

Groups: Registered
Joined: 5/31/2020(UTC)
Posts: 49
United States
Location: California

Unless I'm missing something, I would love to be able to drag and drop an item in the list up and down to re-order the list instead of selecting and using those buttons on the side. (One of the few things I miss from Playback Pro). Maybe even shift-click items and drag multiple items at the same time. Currently I gather the items in a folder in Explorer and append a number at the beginning to get the order I need. Kind of clunky.
nikosman88  
#2 Posted : Friday, July 14, 2023 7:07:07 AM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 343
Greece
Location: athens

Thanks: 113 times
Was thanked: 52 time(s) in 49 post(s)
+1
You dont miss something.This way it works and i also hope vmix guys to do something better. Until then because it is also something i need a way to re-arrange items in vmix lists i made a patent.
See here if you want https://forums.vmix.com/...e-way-for-vmix-scripting
vscheduler for vmix is a better way to do lists. It doesnt have drag n` drop unfortunatelly but it has insert-copy-paste,multiselect with shift or mouse drag and copy-cut-paste. It saves in xml format. Then this xml file you can do with a simple python script a re-format in m3u list. This is the way im using to do re-arrangement in vmix list in a better way than vmix offers until now
This is the python script im using
Code:

import os
import glob
import xml.etree.ElementTree as ET

xml_folder = "c:\\m3u"
m3u_folder = "m3ulists"

if not os.path.exists(m3u_folder):
    os.makedirs(m3u_folder)

for xml_file in glob.glob(os.path.join(xml_folder, "*.xml")):
    print(f"Processing XML file: {xml_file}")
    tree = ET.parse(xml_file)
    root = tree.getroot()

    video_files = []

    for event in root.findall(".//Event"):
        event_type = event.get("Type")
        if event_type == "video":
            video_path = event.get("Path")
            video_files.append(video_path)
            print(f"Added video file: {video_path}")

    m3u_filename = os.path.splitext(os.path.basename(xml_file))[0] + ".m3u"
    m3u_filepath = os.path.join(m3u_folder, m3u_filename)

    with open(m3u_filepath, "w", encoding="utf-8") as m3u_file:
        for video_file in video_files:
            m3u_file.write(video_file + "\n")
            print(f"Wrote video file to m3u: {video_file}")

    print(f"Finished processing XML file: {xml_file}")

we put the xml file that we make from vmanager in c:\m3u, we run the script and we have in the folder m3ulists the vmix list we need
VideoE  
#3 Posted : Saturday, July 15, 2023 7:26:32 AM(UTC)
VideoE

Rank: Advanced Member

Groups: Registered
Joined: 5/31/2020(UTC)
Posts: 49
United States
Location: California

Thanks.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.