Rank: Newbie
Groups: Registered
Joined: 4/23/2020(UTC) Posts: 6 Location: Maresme Thanks: 4 times
|
Hello.
If i have a folder and remotely i can send to video files to this folder. Can i PUT this files in a "VIDEOLIST" automatically ?
Because if i can't acces to view Pc Vmix, but i can send the files to one folder in the Pc with Vmix.
Thanks.
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/19/2013(UTC) Posts: 127 Location: Hobart Tasmania Australia
Thanks: 13 times Was thanked: 11 time(s) in 8 post(s)
|
Hi Srivelles
Not sure I totally understand, but you can try below to add a list of MP4 files in a Folder to a List
If you have vMix 4K or Pro add the below as a script
-------------DirFilesToList---------------------------------------------------------------- Dim di As New system.IO.DirectoryInfo("D:\YOURDIRECTORY") Dim fi as system.io.fileinfo() = di.getfiles("*.MP4") dim f as system.io.fileinfo
for each f in fi API.Function("ListAdd","List",f.name ) next f
So dump your files into a remote machine directory
Run the script on the remote machine with vMix
http://YOURWANIP:8088/api?Function=ScriptStart&Value=DirFilesToList
|
3 users thanked Ash for this useful post.
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,246 Location: Belgium Thanks: 294 times Was thanked: 961 time(s) in 795 post(s)
|
Originally Posted by: Ash was this not supposed to go to that other post ? ;-)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 11/19/2013(UTC) Posts: 127 Location: Hobart Tasmania Australia
Thanks: 13 times Was thanked: 11 time(s) in 8 post(s)
|
Hi Doggy
Yes my error
Will repost in the other Topic
Ash
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/1/2013(UTC) Posts: 30 Location: España
Thanks: 1 times Was thanked: 6 time(s) in 6 post(s)
|
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 2/2/2015(UTC) Posts: 166 Location: NL
Thanks: 164 times Was thanked: 19 time(s) in 16 post(s)
|
Many thanks Ash !
I think the f.name must be changed to: f.FullName
This would produce this script then:
Dim di As New system.IO.DirectoryInfo("D:\YOURDIRECTORY") Dim fi as system.io.fileinfo() = di.getfiles("*.MP4") dim f as system.io.fileinfo
for each f in fi API.Function("ListAdd","List",f.FullName ) next f
|
1 user thanked Ario for this useful post.
|
|
|
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