Git Product home page Git Product logo

mystreamtimer's Introduction

My Stream Timer

My Stream Timer is an easy to use countdown and count-up timer for streamers. Multiple timers are available that write a file to disk to use with OBS, SLOBS, or your favorite streaming application. Have it auto start so it works with Stream Deck!

Download today on Windows or macOS:

Unable to download from the Microsoft Store on Windows? Download from App Center

Integrating into OBS/SLOBS

Open My Stream Timer and tap the copy icon to copy the location on disk where My Stream Timer saves output files.

Next, Open OBS/SLOBS and add a Text source. Check "Read from file" and click browse and navigate location that was copied to the clipboard. Select on of the text files for count down, up, or giveaway. That's it! When you start the countdown it will show up!

If you are on macOS when you set click "Browse" in OBS/SLOBS the file picker will come up. To browse to a folder use the following command on your keyboard: (CMD + SHIFT + G) and then paste the directory from My Stream Timer

Integrating into Stream Deck

You can integrate a Website command under System to launch My Stream Timer and start a countdown from a specific amount of time. You don't need to browse for a file location at all as you can input a protocol url:

  • Count down from X minutes: mystreamtimer://countdown/?mins=6
  • Count down to specific time (24 hour clock): mystreamtimer://countdown/?to=15:30
  • Count down to top of the hour: mystreamtimer://countdown/?topofhour

Integrating into Command Line

My Stream Timer uses standard protocals to work via the command line. For example you can call the following on the Windows command line:

start mystreamtimer://countdown/?mins=6

Here are the list of commands:

  • mystreamtimer://countdown/?mins=6
  • mystreamtimer://countdown/?secs=90
  • mystreamtimer://countdown/?topofhour
  • mystreamtimer://countdown/?to=15:30

countdown can be replaced with: countdown2, countdown3, countdown4 depending on which one you would like to start

Integrating into Deckboard (using an Extension App for Windows)

If you do not own a Stream Deck but use other apps to control your stream, Dara Oladapo created an extension app for Windows that he uses for Deckboard. You can check out the project here and web link here.

In Action

View the walkthrough on YouTube

Troubleshooting

My Stream Timer should work out of the box, but if it doesn't here are some tips and tricks.

macOS: Files can't be saved

In some instances My Stream Timer may need full file accessed based on your setup (This is rare). Head to Preferences > Security & Privacy > Full Disk Access Unlock to add My Stream Timer from your application folder.

Adding my stream timer to full disk access

macOS: I dont' hear any "beeps"

My Stream Timer uses the native device sound effects. This means you can make the beeps whatever you would like, but you have to turn them on. Head to Preferences > Sound > Sound Effects. Ensure that Play user interface sound effects is turned on and that it is set to playback through the speaker you would like to use.

mystreamtimer's People

Contributors

azureadvocatebit avatar daraoladapo avatar jamesmontemagno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mystreamtimer's Issues

How to change MacOS App Name

I can see that you were able to set the MacOS App Name (as installed) via:

 <AssemblyName>My Stream Timer</AssemblyName>

Which sounds like what I want to do as my app is getting rejected by Apple because the Assembly name is the same as the project name: MyApp.Mac. I would like the app name to be "My App With Spaces" (just like yours).

However, when I modify the to have spaces(<AssemblyName>My App Name With Spaces</AssemblyName>), I get the following compilation errors:

clang : error : no such file or directory: 'App'
clang : error : no such file or directory: 'Name'
clang : error : no such file or directory: 'With'
clang : error : no such file or directory: 'Spaces.exe.dylib'
MMP : error MM3001: Could not AOT the assembly '/Users/benjaminaskren/Development/Xamarin/AssetBuilder/AssetBuilder.Mac/bin/Release/My App Name With Spaces.app/Contents/MonoBundle/My App Name With Spaces.exe'
    6 Warning(s)
    5 Error(s)

I've been digging through your project and I can't see how you did it. So, how did you pull it off?

Port to UWP

  • Create base project
  • Implement Protocol
  • Implement Dark Theme
  • Test upgrade cycle

Output formatting

I would like to know if there are some advanced output formatting options. For example, how can I make a line break?
"Starting in /cr {0:mm:ss}"

Pause

Ability to pause instead of just stop/restart.

Allow count up to start from negative time

In the count up option to allow starting from a negative time (countdown). This is interesting for movie nights stream or any other stream that you want to facilitate a '0 time'.

Stream Deck not launching My Timer

I have tested all 3 methods you suggest in the My Timer document, and none of the website links are working with Stream Deck. If I run the same commands from the run menu of Windows it works fine. I realize this is an issue with the Stream Deck and not an issue with your code, but when was the last time you tested on stream deck? I'd just like to see if there is a version that is working with My Tiimer.

In the meantime I've just used the My Stream Timer Extension to give me command line access to the application.

More string formatting

Allow custom fields or pre-defined:

  • custom (today)
  • hours:minutes:seconds
  • total minutes: seconds

[Request] Apple Silicon compatible

Please make an Apple Silicon native build or a Universal macOS build.
The current build needs Rosetta 2 to work.

Thank for your work!

app crashing

On the latest build of windows, MyStreamTimer is constantly crashing.

I've pasted what I could find for logs on pastebin, let me know if I can test in any way.

Thanks.

https://pastebin.com/fCeVyKXV

Choose Text Alignment

Currently when the timer finishes, the text is aligned left. So if you have it positioned on the right side of the stream scene, the finish text is cut off as more characters are added.

Allowing the test to align right would mean the text gets 'pushed' left, rather then right when there is more characters.

image

image

Edit: Ignore this I legit forgot how OBS text works!

Edit: OBS's text align didn't actually do anything for this. So maybe not as dumb as I thought!

Countdown timer skips few numbers.

When using a countdown to a specific time some timecodes are skipped.
On a 2-minute countdown numbers (1:44 01:04, 00:07, 00:03, 00:02) where skipped. Another time numbers (1:44, 00:53, 00:02) were skipped. Sometimes it straight goes like from 00:04 to 00:02 in time of 1 second. Sometimes it freezes for 2 seconds like from 00:04 to 00:02.

I am using macOS Big Sur 11.6 on Mac Pro 5.1.

Feature Request: Close when timer finishes

I'm using two timers. One to countdown when I'm going to go live, and a second for when I take a 5 minute break during stream. I've noticed that if I don't close the timer after my go live timer, I can't start my 5 minute timer when I go on a break. Is there a way to either close the timer at the end, or allow the new passed command to supersede the previous command (IE a 5 minute command would start a 5 minute timer even if you started with a top of hour timer).

Let me know if that doesn't make sense, I realize this might be an edge case, but wanted to submit it as a feature request.

Thanks.

Website/Command Line Option to Add Time

Hi there! I was wondering if it is possible to use the website or command-line options to add time to an existing timer? I'm looking to use this awesome utility for a challenge idea for my streams where it starts at a certain time and every time I forget to do something, I have to add a minute. I know this can be done with a button but not on a command I could tie to a Stream Deck button. Is this possible or something that could be added?

Thanks for your great work!

"Top of the hour" command is out by 1 minute

Just downloaded it from MS Store - great software! Love it!

But... I am in Central European timezone, and when I use mystreamtimer://countdown/?topofhour it is out by one minute.

I have tried it several times and waited until I went past one hour to test again, and it is consistent.

2021-01-29_18h59_33
2021-01-29_19h03_55

Glitchy and laggy stream with timer running

Just wondering if there are fixes or reasons for the glitchy and laggy stream with MyStreamTimer running? I have 0 frames dropped while streaming with OBS yet it lags for that millisecond everytime MyStreamTimer writes a file (I suspect).

Stream Deck can't access mystreamtimer:// as of recent windows updates

Stream Deck launch strings like mystreamtimer://countdown/?mins=6 no longer work with the latest version of windows. Instead a yellow triangle with an exclamation point appears and the application claims that it can't access that location.

It could have been a stream deck update, but I'm fairly certain this issue happened a little over a week ago with the new Windows 10 update.
mystrtimerror

remote launching

@jamesmontemagno

I wanted to know if it would be possible to launch
mystreamtimer://countdown/?mins=10 on a remote machine? I have a 2 pc stream setup and i use TouchPortal. I wanted to run touchportal from my gaming pc but i cant run MyST from my gaming pc because it will interfere with fullscreen. When i press BRB button in TouchPortal, i have it switch to my brb screen in obs and then launch mystreamtimer://countdown/?mins=10. This works fine when im running it off the streaming pc but i want to move TouchPortal to my gaming pc so that i can control other stuff. My only issue is MyST.

I have tried scripting in python using a url launcher but it didnt work. I also tried using powershell to launch the MyST app but it cant launch mystreamtimer://countdown/?mins=10

Maybe you have an idea?

Feature request: add more commands

I would love to interact with the app exclusively via streamdeck.

Would be then nice to have the following commands:

Add X minutes to the running countdown
mystreamtimer://countdown/?add=x
mystreamtimer://countdown/?remove=x
This will allow to create custom buttons in streamdeck to add and remove x amount of minutes

Start/Stop/Reset
mystreamtimer://countdown/?start
mystreamtimer://countdown/?stop
mystreamtimer://countdown/?reset

Feature requests: Allow Seconds and Read Time From MP3

For those of us streamers that have a startup tune, it would be great to also allow seconds to be defined for the length of the timer.

Also, another option would be to pass it the path to an MP3 file, have the app determine the duration of the MP3 from the metadata, set the timer to that length, and have the timer start.

Choose where to save the txt file on Mac

I just went to try this out with OBS on Mac. The location of the txt file is buried in ~/Library/Containers.. which is hard to find from OBS as Library is hidden.
Is it possible to either default to an easier location or allow the user to choose a location easier to get to?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.