Ashmanix Countdown Timer

Ashmanix Countdown Timer 2.0.3

ETK

New Member
No worries at all @Ashmanix. I was able to get to the bottom of the issue. It turns out that the Flatpak version of OBS, which I was using, is quite restrictive with plugins. I have since uninstalled that and followed this brilliant guide to install directly from the OBS repository. This has enabled me to run your plugin with no issues. Thanks for the great job.
 

VixThine

New Member
Would "blank zeros" be a thing worth looking into? So instead of a timer saying 5:00, it could say 05:00?
I'm mostly asking for visual consistency since it doesn't seem possible to center align the text despite what I put into the text's properties before making it the timer source.
 

rez1coder

New Member
Would "blank zeros" be a thing worth looking into? So instead of a timer saying 5:00, it could say 05:00?
I'm mostly asking for visual consistency since it doesn't seem possible to center align the text despite what I put into the text's properties before making it the timer source.
If you're using OBS, you can easily right-click > Edit transform on that timer text source and center it.
 

Ashmanix

Member
Would "blank zeros" be a thing worth looking into? So instead of a timer saying 5:00, it could say 05:00?
I'm mostly asking for visual consistency since it doesn't seem possible to center align the text despite what I put into the text's properties before making it the timer source.
Check the latest update I've made as well. I've made leading zeros an option.
 

fabianlujan

New Member
Thank you for adding the count-up feature!

One detail you may have missed:
Let’s say we want a count-up timer for 25 minutes and 0 seconds.
I set it, and it starts counting up. Great!

However, sometimes the timer gets out of sync with the scoreboard by a few seconds. To fix this in countdown mode, we usually pause, enter the scoreboard time, press reset, and both the timer and scoreboard are synced. This can happen multiple times during a match.

In count-up mode, the value entered represents "up to this time." For example, if I want to count up to 25:00 and we are currently at 12:37 but it should be 12:31, there’s no way to adjust it directly.

If I enter a new value and press reset, the timer will start counting up to the new value instead.

Thanks again!
 

emre03

New Member
Hello,

I want to use the plugin very well but I had problems adding time.


Code:
{
  "requestType": "CallVendorRequest",
  "requestData": {
    "vendorName": "ashmanix-countdown-timer",
    "requestType": "add_time",
    "time_to_add": "00:00:01:01",

  }
}

Conclusion:
raw32.jpg

"requestType": "to_time_play", "requestType": "to_time_stop",

It works fine, but it doesn't work to add time. I would be glad if you could help.

I tried it on version 1.4.3.
Thanks.

Sorry, I'm using translation.
 

Ashmanix

Member
Hello,

I want to use the plugin very well but I had problems adding time.


Code:
{
  "requestType": "CallVendorRequest",
  "requestData": {
    "vendorName": "ashmanix-countdown-timer",
    "requestType": "add_time",
    "time_to_add": "00:00:01:01",

  }
}

Conclusion:
View attachment 109742
"requestType": "to_time_play", "requestType": "to_time_stop",

It works fine, but it doesn't work to add time. I would be glad if you could help.

I tried it on version 1.4.3.
Thanks.

Sorry, I'm using translation.
From the screenshot it looks like the data object you're sending is missing the "time_to_add" field. Are you able to show me the raw data your are sending in your request?
 

emre03

New Member
Ekran görüntüsünden, gönderdiğiniz veri nesnesinde "time_to_add" kayıtlı eksik olarak gösteriliyor. İsteğinizde gönderdiğiniz ham verileri bana gösterebilir misiniz?
Code:
{
  "requestType": "CallVendorRequest",
  "requestData": {
    "vendorName": "ashmanix-countdown-timer",
    "requestType": "add_time",
    "time_to_add": "00:00:01:01",

  }
}

I think you wanted this.
 

emre03

New Member
I want to point out that when I try to send the command with Streamer.bot raw, the Obs connection is lost and the code does not work.
Code:
{
    "op": 6,
    "d": {
        "requestType": "CallVendorRequest",
        "requestId": "{{customId}}",
        "requestData": {
            "vendorName": "ashmanix-countdown-timer",
            "requestType": "add_time",
            "requestData": {
                "time_to_add": "00:01:01:01"
            }
        }
    }
}

Operations like stop play work this way.
Code:
{
  "requestType": "CallVendorRequest",
  "requestData": {
    "vendorName": "ashmanix-countdown-timer",
    "requestType": "to_time_stop",
  }
}

I'm sure I'm doing something wrong :(
 

Ashmanix

Member
I tried using the streamer.bot website (https://obs-raw.streamer.bot/ which I've never used before). See the screenshot below of what I used:
Screenshot 2024-12-08 at 10.12.50.png


The OBS Raw data looks like this:
JSON:
{
  "requestType": "CallVendorRequest",
  "requestData": {
    "vendorName": "ashmanix-countdown-timer",
    "requestType": "add_time",
    "requestData": {
      "time_to_add": "00:01:01:01"
    }
  }
}

I believe streamer bot automatically adds the "op" and "d" fields and does all the rest. The examples on the wiki show the full JSON data that needs to be sent. What app are you using exactly to send the commands?
 

emre03

New Member
Hi, I added this code and it worked. Thank you. I wish you good work.


Code:
{
  "requestType": "CallVendorRequest",
  "requestData": {
    "vendorName": "ashmanix-countdown-timer",
    "requestType": "add_time",
    "requestData": {
      "time_to_add": "00:01:01:01"
    }
  }
}
 

Ashmanix

Member
Just in case ya dont know... OBS31 remooved icons for your boottons...
Thanks for the heads up! Yeah I've just noticed while working on an update. I'm working on a big update that will take into account the old and new way of using icons.
 

Ashmanix

Member
Ashmanix updated Ashmanix Countdown Timer with a new update entry:

v2.0.0 Major Update

Note: Saved settings from version 1.x of the plugin will not be carried over

This update has involved a major overhaul of the code and the way the plugin works. The biggest changes is that you can now have multiple timers.

Because I've refactored and changed all the code I expect there to be some bugs. If there are any issues please either post on the forum here or you can raise an issue on the plugins repo page.

This update has the following changes:
- You can now have multiple...

Read the rest of this update entry...
 

rez1coder

New Member
I dunno why. The Countdown timer is running but not showing up on the text source.

Display format: Min, Sec
Source: Text (GDI+)

Device: Windows 10
Version: OBS 31.0.0

PS: Thank you for the huge update. I was eyeing the `start on stream start` feature
 
Last edited:

Ashmanix

Member
Hi, I've just ran a test on my Windows 11 PC using OBS 31.0.0 and a Text (GDI+) source and I see it updating. Are you able to show me what you have set for the settings (a screenshot of the settings?).
 
Top