ELDonation Tracker (Call for Features & Coders) - Extra Life JSON Code Discussion & Sharing - Extra Life Community Hub Jump to content
djotaku

ELDonation Tracker (Call for Features & Coders)

Recommended Posts

I'd announced this last year (http://community.extra-life.org/forums/topic/2755-donation-tracker-for-linux-streamers/), but realized that it should work just fine with Mac and Windows as it does with Linux.

 

A few days ago I got my first feature request on github:

 

https://github.com/djotaku/ELDonationTracker

 

(Aw! I've got big-boy project now!)

 

Planed for this year:

  • I'll be closing out that issue by adding in Team support.
  • Fixing the formatting so that money has 2 decimal places instead of just one.
  • I'll be switching to functional programming (vs the current script-like) to prepare for a GUI
  • I don't know if I'll get to a GUI this year, but I'm willing to merge code to do so. Why a GUI? I'd like to model it after @bfinleyui's utility where he has a main window that shows what's in the text files so that you don't need to open them all up to do a sanity check that it's pulling the correct data. He also has a second window he can spawn that's all black (for chroma key) that will update with a "DONATION Person's name - AMOUNT" that can be used in OBS or XSplit to let people know there are donations as they come in.He also allows you to use a JPEG or PNG along with it a la SteamAlerts. If I make a GUI it'll most likely be QTQuick for Linux as I have experience with that. I know both QT and GTK+ can also work on Windows, but if someone wanted to write a native WIndows client, that would work as well. It'd be nice if it worked with Python bindings so that the user doesn't have to compile anything to use the GUI. I know I can do that in Linux. Not sure about Windows.

 

Anything else you'd like to see? Feel free to file issues. Able to code GUIs? Feel free to join the project!

Share this post


Link to post
Share on other sites

OK, finished all those goals and am now working on the GUI.

 

Nice thing about the fact that I converted to functions is that it can now be imported as a library if you want to focus on GUIs or incorporating it into some other Python code you've got going on.

Share this post


Link to post
Share on other sites

OK, I've fixed it up to work with the new API! With @bfinleyui ending support on his Adobe Air app, I'll be actively working on my Python API so that I can use it on Windows as well. 

  • Like 1

Share this post


Link to post
Share on other sites

Been using it successfully for the past week. So far it's working well. I started work in a branch for a tkinter GUI:https://github.com/djotaku/ELDonationTracker/tree/tkinterGUI

 

For now I'm stuck on how to update the text. So I've moved to another approach where I create an HTML file. For the sanity check you can just load it into a browser and it'll update every 30 seconds. For the Steamalerts functionality - you can add that webpage as a source in OBS and it'll work OK. Once I get it working relatively well, I'll add that into Github for others to test and potentially contribute to.

Share this post


Link to post
Share on other sites

I've updated the commandline interface to be Python3! Hurray! I've also implemented unit tests which ended up catching an error in one of my functions. Software testing, ftw! Now that I'm in Python3 I hope to be able to support emojis and non-ascii characters. This is in the main git branch: https://github.com/djotaku/ELDonationTracker

Share this post


Link to post
Share on other sites

I've just added a video on Youtube on how to use it!

 

Share this post


Link to post
Share on other sites

And now a video for how to use it on Windows:

 

 

Share this post


Link to post
Share on other sites

New version released! It's all object-oriented now in preparation for finally getting a GUI working. At this time the important user-facing change is moving the user options out into another file rather than having them edit the main file. So, videos to go along with the new procedures!

 

https://youtu.be/sKaFQPoQeJw

 

https://youtu.be/hN94aPcEFng

Share this post


Link to post
Share on other sites

Finally got the GUI working. Here are videos for that!

 

Linux: 

 

and Windows video coming a little later tonight.

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...