Member Alex Ramos Posted December 27, 2022 Member Report Share Posted December 27, 2022 Disclaimer: This project is in no way affiliated with Dataton. Is of my own creation, use at your own risk, and is delivered as is. Hello all, Here is my gift for the community for this holiday. This is something I'm waiting to see implemented in WO for a long time. I bodged a countdown for the media playback. Sometimes we need to give a countdown on a media to the rest of the team, especially if the media is long and everybody else is waiting for the next cue. The file is attached, clean no virus. 😊 Also a VIDEO showing it. THIS FILE IS OUTDATED SEE THE LAST POST FOR LATEST VERSION WO Countdown.rar Quote Link to comment Share on other sites More sharing options...
wiesemann Posted January 3 Report Share Posted January 3 Very cool. Please Dataton, buy this technology! Is it possivle to send this to another computer on the same network which has the tool installed? So that colleagues of the team can see it in the same moment. Up to now they keep asking like kids on vacation trips.. Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted January 3 Author Member Report Share Posted January 3 Sure, just create a new output with the remote IP port 1234 TCP, and run the app. Here is an improved version. Blennds better with WO and always keeps the time in 00:00 format. Always a 0 on the left. Quote Link to comment Share on other sites More sharing options...
Dataton Partner RBeddig Posted January 4 Dataton Partner Report Share Posted January 4 Muito obrigado! Looks nice. Couldn't the app work with UDP broadcast as well? Then the team colleagues could install the app and just listen to the broadcast instead of having multiple cues to the different team members in the timeline. Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted January 5 Author Member Report Share Posted January 5 Great idea, will work on it when I have some spare time. Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted January 6 Author Member Report Share Posted January 6 On 1/4/2023 at 9:49 AM, RBeddig said: Muito obrigado! Looks nice. Couldn't the app work with UDP broadcast as well? Then the team colleagues could install the app and just listen to the broadcast instead of having multiple cues to the different team members in the timeline. While waiting for a building video mapping do run, I had some spare time so here it goes. Well I have version working on UDP. But... I'm not a professional coder so I have some limitations. Always learning. The downtown UDP can receive messages from any IP on the network on port 1234. Is my understanding that. To use only one cue, WO needs to multicast, to all of the network, so the 224.0.0.1 should be used on the UDP string output!? Is this how it works? I'm missing something here. I can make it work over the network but I need to specify the address on the out string UDP cue, much like TCP. All comes down to, how do I broadcast to all clients at the same time using une cue only on WO? Attached is the UDP version, it can now be resized by dragging the corner. Help appreciated. Alex THIS IS THE LATEST VERSION AT THE MOMENT Quote Link to comment Share on other sites More sharing options...
Dataton Partner RBeddig Posted January 7 Dataton Partner Report Share Posted January 7 Hi Alex, Thanks for the efforts. Unfortunately I'm at the gate waiting for a flight and won't be able to test before the end of the month. An alternative would maybe be a broadcast address but I've not used this myself yet. The broadcast address would be 192.168.0.255 in a 192.168.0.xxx network. This would surely stay inside the local network which adds security. Kind regards, Rainer Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted January 8 Author Member Report Share Posted January 8 Thats it working fine. Thanks Quote Link to comment Share on other sites More sharing options...
Member Eddy Yanto Posted January 8 Member Report Share Posted January 8 I would concur with what RBeddig has suggested and I think the broadcast address will also depend on how your network was/is setup. In a private local network, some will use class A IP addresses eg: 10.0.0.x while others will use class C IP addresses eg: 192.168.1.x. So I think it's not ideal if you were to hardcode a fixed broadcast address into your utility. Even in the same class, some may use different segment eg: 192.168.0.x vs 192.168.1.x. And to be able to broadcast from one machine in one segment to another machine in another segment, you'll also need to do the routing which is the function of router anyway. In one of my software where I broadcast a small UDP payload to discover available nodes/machines, what I did was the following: Loop through available network interfaces (as some machines may have multiple network interface eg: Ethernet, Wifi) Discard loopback addresses like localhost or 127.0.0.1 Get the broadcast addresses from those detected or active interfaces Add the broadcast addresses to the combo box so that user can select Below the UI and the implementation in Python (you'll need to find similar function in your language): # broadcast discovery for iface in netifaces.interfaces(): iface_details = netifaces.ifaddresses(iface) if netifaces.AF_INET in iface_details: det = iface_details[netifaces.AF_INET] if(det[0].get('addr') != "127.0.0.1"): #do not include loopback address self.broadcastCombo.addItem(det[0].get('broadcast')) Hope this suggestion helps. Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted January 10 Author Member Report Share Posted January 10 @Eddy Yanto thanks for the input, for now I will leave it as is. This is a very simple codeto serve my needs. I share it as it may help other, not as a "produt". Also as a teaser for Dataton to incorporate something similar. Its not realy hardcoded a fixed broadcast adress Dim endPoint As IPEndPoint = New IPEndPoint(IPAddress.Any, 1234) The way I have my network setup is mask 255.255.0.0 and use IP 192.168.x.x This shuld work with any Class, A or C as long as the router passes the packets. Again Im not an expert on this mater, just a hobbyist. Always learning Alex Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted January 24 Author Member Report Share Posted January 24 Latest version with bugs revision now with hh:mm:ss Resizable window and no 24 minutes limit. Github Countdown Alpha UDP.exe Quote Link to comment Share on other sites More sharing options...
MISTERK Posted February 15 Report Share Posted February 15 man that is great !!! muito obrigado ! Quote Link to comment Share on other sites More sharing options...
KevinLin Posted March 6 Report Share Posted March 6 在 2023/1/24 在 PM7 点 25 分,Alex Ramos 说: 现在有 hh:mm:ss 的错误修改的最新版本 可调整大小的窗口,没有24分钟的限制。 Github 倒计时Alpha UDP.exe 356.5 KB · 21次下载 Hello Alex Ramos, why do I use UDP countdown but he only shows that time does not count the countdown? Did I make an error in writing? 2023-03-06 21-35-00.mp4 Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted March 7 Author Member Report Share Posted March 7 @KevinLin your time format is not corrrect. You must always used hh:mm:ss 00:02:32 for 2 minutes and 32 seconds 01:02:32 for 1 hour, 2 minutes ans 32 seconds. Hope this helps Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted May 9 Author Member Report Share Posted May 9 Here is it in action, running synced on multiple computers. Video The app is available on my GitHub, enjoy. GitHub UPDATE : The date format on the PC must be 24h or you will have the AM/PM bug. Quote Link to comment Share on other sites More sharing options...
Fucci Posted July 31 Report Share Posted July 31 I also had a similar issue as KevinLin with the latest version, sometimes it would show the total time without counting down, sometimes it would change the clock to "12:04:55 AM"and count down when I sent UDP string "00:04:55" on the latest version from the GIT. When I DL'd the jan 6th version posted here, it worked sending "04:55" Quote Link to comment Share on other sites More sharing options...
Member Alex Ramos Posted September 18 Author Member Report Share Posted September 18 @Fucci it only workes on a 24h format. You PC must be on 24h, not am/pm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.