Rank: Member
Groups: Registered
Joined: 1/15/2016(UTC) Posts: 14 Location: Prague
Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
I did as you describe, but without success. Would it be convenient for you to send a working file so that I can find my mistakes?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 508 Location: athens Thanks: 123 times Was thanked: 71 time(s) in 67 post(s)
|
You have to give this software some time to see how it "thinks",how it works. If you have a spare pc install vmix trial and play with this software. Personally im using vscheduler for about 22-23 hours/per day and it never dissapoint me. Before i go in air i install vmix and vscheduler in my home pc and make many tries for some days to see what happens,if it is stable, to see it`s problems. i am very happy with the way it works It can even work perfect with vmix basic version for basic 24/7 programm as you can do your lists in vmanager programm (no need to do your lists in vmix if about video files for programm or ads). vscheduler needs to work 2 free inputs and some times 3 if you have very short clips at a trail. But basically 2 inputs are enough for normal workflow. So you can have in input1 your persisent logo for overlay 1 and you can play your whole progamm via the list from vscheduler.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 1/15/2016(UTC) Posts: 14 Location: Prague
Thanks: 2 times Was thanked: 1 time(s) in 1 post(s)
|
Oh yes, now I really love it! I will definitely support the author!
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 508 Location: athens Thanks: 123 times Was thanked: 71 time(s) in 67 post(s)
|
Hello guys. As I have mentioned before, I use vScheduler for a 24-hour workflow. One thing that was missing from the program was the ability to automatically change the XML lists it creates. So, I thought of creating a script that will run somewhere within vMix (for example, by running a clip in vMix that will trigger the script) and check the current date and time. If it matches, the script will take an XML list from another folder (which I will have already created and will exist in the new folder) and replace the one in the main folder with the XML lists. However, because I am not very experienced with scripting, I thought of giving the script from the vMix page that imports the last recorded file to ChatGPT, and to adjust it to do what I want. Code:
' Set the extension and path for the files to search for
Dim szExt As String = ".xml"
Dim szFolder As String = "E:\vscheduler"
' Set the path for the new folder
Dim currentDate As String = DateTime.Now.ToString("dd-MM")
Dim szNewFolder As String = "E:\vscheduler\" & currentDate
' Create the new folder if it doesn't exist
If (Not System.IO.Directory.Exists(szNewFolder)) Then
System.IO.Directory.CreateDirectory(szNewFolder)
End If
' Set the date and time to check for
Dim searchDate As New Date(2023, 2, 4) ' Set the desired date here
Dim searchTime As New TimeSpan(19, 20, 0) ' Set the desired time here
' Check if today's date is the same as the desired date and the current time is past the desired time
If (DateTime.Today = searchDate And DateTime.Now.TimeOfDay > searchTime) Then
' Loop through the files in the folder
For Each szFile As String In System.IO.Directory.GetFiles(szFolder)
Dim fi As New System.IO.FileInfo(szFile)
Dim fileDate As Date
' Check if the file extension is .xml
If (fi.Extension = szExt) Then
fileDate = fi.LastWriteTime
' Check if the file was modified on the desired date
If (fileDate.Date = searchDate.Date) Then
' Set the new path for the file
Dim szNewFilePath As String = System.IO.Path.Combine(szNewFolder, System.IO.Path.GetFileName(szFile))
' Copy the file to the new folder
System.IO.File.Copy(szFile, szNewFilePath, True)
' Delete the file from the initial folder
System.IO.File.Delete(szFile)
End If
End If
Next
' Set the path for the folder containing the new ads
Dim szAdFolder As String = "E:\vscheduler\newads"
' Loop through the files in the new ads folder
For Each szAdFile As String In System.IO.Directory.GetFiles(szAdFolder)
' Check if the file extension is .xml
If (System.IO.Path.GetExtension(szAdFile) = szExt) Then
' Set the new path for the file
Dim szNewAdFilePath As String = System.IO.Path.Combine(szFolder, System.IO.Path.GetFileName(szAdFile))
' Copy the file to the scheduler folder
System.IO.File.Copy(szAdFile, szNewAdFilePath, True)
End If
Next
End If
So the script created by ChatGPT searches inside the vscheduler/newads folder, and if the specific date matches and there is an xml file within that folder, it places it in the main vscheduler folder. Before doing so, it moves the original file from the vscheduler folder to a new folder created with the current date as its name. The next step I will try to achieve through this excellent tool is to learn the steps required, since vScheduler is open source and its source code is available, to create an improved version of the program that will fix some bugs that I have identified. Of course, this is a quite difficult task, but if I have any updates, I will inform the forum accordingly.
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/27/2019(UTC) Posts: 9 Location: ni Thanks: 8 times
|
I can't open the vManager program in W10 64 bits, can you indicate a cause?
VController program can be opened normally.However, the vManager program cannot be opened normally. After being opened as an administrator, an icon appears in the status bar in the lower right corner of the computer. However, the program cannot start properly. When the mouse moves to the status bar program icon, the icon disappears.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 508 Location: athens Thanks: 123 times Was thanked: 71 time(s) in 67 post(s)
|
Originally Posted by: shuizhiyu I can't open the vManager program in W10 64 bits, can you indicate a cause?
VController program can be opened normally.However, the vManager program cannot be opened normally. After being opened as an administrator, an icon appears in the status bar in the lower right corner of the computer. However, the program cannot start properly. When the mouse moves to the status bar program icon, the icon disappears. Hello. Maybe this happens cause to mediainfo.dll file. So if you want try this version https://forums.vmix.com/...mix-scripting#post108246 or mediainfo.dll only and see if it opens ok
|
1 user thanked nikosman88 for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 5/27/2019(UTC) Posts: 9 Location: ni Thanks: 8 times
|
Originally Posted by: nikosman88 Originally Posted by: shuizhiyu I can't open the vManager program in W10 64 bits, can you indicate a cause?
VController program can be opened normally.However, the vManager program cannot be opened normally. After being opened as an administrator, an icon appears in the status bar in the lower right corner of the computer. However, the program cannot start properly. When the mouse moves to the status bar program icon, the icon disappears. Hello. Maybe this happens cause to mediainfo.dll file. So if you want try this version https://forums.vmix.com/...mix-scripting#post108246 or mediainfo.dll only and see if it opens ok Thank you, nikosman88 About https://forums.vmix.com/...mix-scripting#post108246 Can you record a teaching video at your convenience. My friend also encountered the same problem. Running VController will flash back.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 508 Location: athens Thanks: 123 times Was thanked: 71 time(s) in 67 post(s)
|
Originally Posted by: shuizhiyu Originally Posted by: nikosman88 Originally Posted by: shuizhiyu I can't open the vManager program in W10 64 bits, can you indicate a cause?
VController program can be opened normally.However, the vManager program cannot be opened normally. After being opened as an administrator, an icon appears in the status bar in the lower right corner of the computer. However, the program cannot start properly. When the mouse moves to the status bar program icon, the icon disappears. Hello. Maybe this happens cause to mediainfo.dll file. So if you want try this version https://forums.vmix.com/...mix-scripting#post108246 or mediainfo.dll only and see if it opens ok Thank you, nikosman88 About https://forums.vmix.com/...mix-scripting#post108246 Can you record a teaching video at your convenience. My friend also encountered the same problem. Running VController will flash back. Hello. Did this version work for you? Also what do you mean by "flash back" vcontroller? Im not good to make videos,i prefer to write. But what do you need exactly to learn?
|
1 user thanked nikosman88 for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 5/27/2019(UTC) Posts: 9 Location: ni Thanks: 8 times
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/24/2021(UTC) Posts: 508 Location: athens Thanks: 123 times Was thanked: 71 time(s) in 67 post(s)
|
Originally Posted by: shuizhiyu https://github.com/237domingo/vScheduler/issues/16
vController crash #16 Your windows version is windows 10 LTSC? Because i have normal windows 10 version and i cant re-produce this bug
|
|
|
|
Rank: Member
Groups: Registered
Joined: 5/27/2019(UTC) Posts: 9 Location: ni Thanks: 8 times
|
Originally Posted by: shuizhiyu Originally Posted by: nikosman88 Originally Posted by: shuizhiyu https://github.com/237domingo/vScheduler/issues/16
vController crash #16 Your windows version is windows 10 LTSC? Because i have normal windows 10 version and i cant re-produce this bug Thank you https://github.com/Tim-R/vSchedulerThe version of this address can run normally on the computer My operating system is Win10 Professional Edition https://github.com/Tim-R...cheduler/releases/tag/v1
|
|
|
|
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.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close