logo

Live Production Software Forums


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

Notification

Icon
Error

2 Pages<12
Options
Go to last post Go to first unread
cowan  
#21 Posted : Wednesday, December 14, 2022 6:59:40 PM(UTC)
cowan

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?
nikosman88  
#22 Posted : Thursday, December 15, 2022 9:52:48 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 508
Greece
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.
cowan  
#23 Posted : Tuesday, December 20, 2022 5:06:17 PM(UTC)
cowan

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!
nikosman88  
#24 Posted : Monday, March 27, 2023 11:48:21 PM(UTC)
nikosman88

Rank: Advanced Member

Groups: Registered
Joined: 12/24/2021(UTC)
Posts: 508
Greece
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.
shuizhiyu  
#25 Posted : Tuesday, June 13, 2023 8:01:11 PM(UTC)
shuizhiyu

Rank: Member

Groups: Registered
Joined: 5/27/2019(UTC)
Posts: 9
China
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.
nikosman88  
#26 Posted : Tuesday, June 13, 2023 9:40:03 PM(UTC)
nikosman88

Rank: Advanced Member

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

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
Originally Posted by: shuizhiyu Go to Quoted Post
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
thanks 1 user thanked nikosman88 for this useful post.
shuizhiyu on 6/14/2023(UTC)
shuizhiyu  
#27 Posted : Wednesday, June 14, 2023 10:08:03 PM(UTC)
shuizhiyu

Rank: Member

Groups: Registered
Joined: 5/27/2019(UTC)
Posts: 9
China
Location: ni

Thanks: 8 times
Originally Posted by: nikosman88 Go to Quoted Post
Originally Posted by: shuizhiyu Go to Quoted Post
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.
nikosman88  
#28 Posted : Thursday, June 15, 2023 12:11:37 AM(UTC)
nikosman88

Rank: Advanced Member

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

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
Originally Posted by: shuizhiyu Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post
Originally Posted by: shuizhiyu Go to Quoted Post
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?

thanks 1 user thanked nikosman88 for this useful post.
shuizhiyu on 6/15/2023(UTC)
shuizhiyu  
#29 Posted : Thursday, June 15, 2023 7:31:31 PM(UTC)
shuizhiyu

Rank: Member

Groups: Registered
Joined: 5/27/2019(UTC)
Posts: 9
China
Location: ni

Thanks: 8 times
nikosman88  
#30 Posted : Thursday, June 15, 2023 11:05:51 PM(UTC)
nikosman88

Rank: Advanced Member

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

Thanks: 123 times
Was thanked: 71 time(s) in 67 post(s)
Originally Posted by: shuizhiyu Go to Quoted Post
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
shuizhiyu  
#31 Posted : Tuesday, June 20, 2023 12:31:14 PM(UTC)
shuizhiyu

Rank: Member

Groups: Registered
Joined: 5/27/2019(UTC)
Posts: 9
China
Location: ni

Thanks: 8 times
Originally Posted by: shuizhiyu Go to Quoted Post
Originally Posted by: nikosman88 Go to Quoted Post
Originally Posted by: shuizhiyu Go to Quoted Post
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/vScheduler

The 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
Users browsing this topic
Guest (4)
2 Pages<12
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.