Free Stream Notifications (Twitch, Paypal, Patreon)

Free Free Stream Notifications (Twitch, Paypal, Patreon)

BobDev

Member
Hi BobDev

Looks like Patreon has updated their site in how their cookies work. AWSELB doesnt look like its an object any more in the cookie list. I just attached a screenshot of all of the available cookies when you click download for the CSV. Figured I'd give you a heads up on the change. Thanks for all your work!
You dont need AWSELB, use group and session, also Patreon has now API so I probably should check it out and see if it allows to do what we need
 

BobDev

Member
Minor bug, can replicate if needed.

Donations, real or tests, have the dollar amount followed by these symbols: #=X=# in the childPref section.

Not sure what's causing this, but only started after updating to 1.11. Occurs locally and on openshift.
BTW do you have the checkbox selected in wizard about customizing your own notification "Enable css/html prefix in nt list"

Because it is probably why.
I don't know if you use that prefix element or not so let me know, it might be a bug after I added resize instead of cropping.
 

BobDev

Member
FSN v1.12
  • [Fix] Paypal notification had #=x=# in the list
  • [Fix] Font resize issue fix
  • [Fix] List direction buttons fix
 
BTW do you have the checkbox selected in wizard about customizing your own notification "Enable css/html prefix in nt list"

Because it is probably why.
I don't know if you use that prefix element or not so let me know, it might be a bug after I added resize instead of cropping.
Yes, I have it enabled in the wizard. I'm using my own css configuration for the notification.

I have noticed that the dropdown menus in the sound config don't display any of the sound files I added to FSN.jar, even the default patreon.mp3 and sound.mp3 don't show up. The same goes for the transition page dropdown. Currently using Chrome Version 47.0.2526.106 m (64-bit).

FSN v1.12
  • [Fix] Paypal notification had #=x=# in the list
  • [Fix] Font resize issue fix
  • [Fix] List direction buttons fix
Thanks for fixing this up, I'll let you know if there are any additional problems. Also, the VoiceTron clip is pretty cool, reminds me of Astra.
 
Last edited:

BobDev

Member
Yes, I have it enabled in the wizard. I'm using my own css configuration for the notification.

I have noticed that the dropdown menus in the sound config don't display any of the sound files I added to FSN.jar, even the default patreon.mp3 and sound.mp3 don't show up. The same goes for the transition page dropdown. Currently using Chrome Version 47.0.2526.106 m (64-bit).


Thanks for fixing this up, I'll let you know if there are any additional problems. Also, the VoiceTron clip is pretty cool, reminds me of Astra.
Yes, the drop down boxes for sound are broken - need to check it.
 

Zelakto

New Member
Hey Bob! Would you ever want to make this a repo on Github? That way we can see the changes and it's easier for me to figure out what you changed when upgrading for my CSS and custom stuff like that. Thanks! :D
 

BobDev

Member
Hey Bob! Would you ever want to make this a repo on Github? That way we can see the changes and it's easier for me to figure out what you changed when upgrading for my CSS and custom stuff like that. Thanks! :D
I don't really have time or want to do that :)

Looking how other notification tools started to use notification lists (and also copying the look from Dans notification in about 90%), makes me feel that we did something good but in other hand i don't want to make for them easier to copy paste my code - you still can see every line but it require some know how.

As for the css, I will stop obfuscating the css (I should say minimizing, it is not really obfuscated) and you will be able to set it from text box (as suggested by some of you here) so you will be able to compare it on your own (tools like beyond compare or total commander compare tool comes to mind).

I have little of free time so I will try to squeeze those changes as soon as possible
 

Zelakto

New Member
Oh, that makes sense, thanks. (Yeah it bothers me how people have these shitty notifications). Anyway, That CSS box would be great, also - When someone donates with a blank field, can it say anonymous? This is what happens.
qJFOZS5ntduBPpOYae0phx8Vh.png
WiN4e4YLsR6NacMjgFwI1YFYe.png


Thanks!
 

BobDev

Member
Oh, that makes sense, thanks. (Yeah it bothers me how people have these shitty notifications). Anyway, That CSS box would be great, also - When someone donates with a blank field, can it say anonymous? This is what happens.
qJFOZS5ntduBPpOYae0phx8Vh.png
WiN4e4YLsR6NacMjgFwI1YFYe.png


Thanks!
Anonymous is filled by default in paypal form but if people erase it then it is empty.
 
Is it possible to make it set so undefined also comes up as Anonymous?
I will see what I can do, I remember I had some problems with it, I will get back to you on that
I modified the paypal form to include an onBlur/onFocus script so that if the field is empty it automatically sends an "Anonymous" value. That way the dashboard never gets an undefined entry.

Since we're on this topic, is it possible to hide the message box on donations if people leave that part empty? It looks odd when that happens and a blank box appears under the donation notification.
 

Zelakto

New Member
I modified the paypal form to include an onBlur/onFocus script so that if the field is empty it automatically sends an "Anonymous" value. That way the dashboard never gets an undefined entry.

Since we're on this topic, is it possible to hide the message box on donations if people leave that part empty? It looks odd when that happens and a blank box appears under the donation notification.

That would be pretty neat.


I have three things i'd really like to see added to this (not in any particular order),

1. Host Alerts

2. TTS? (You already have it in your other program, so would it be that hard to do?)

3. What we just discussed about the donation input/messages.

Thanks. :)
 

BobDev

Member
I modified the paypal form to include an onBlur/onFocus script so that if the field is empty it automatically sends an "Anonymous" value. That way the dashboard never gets an undefined entry.

Since we're on this topic, is it possible to hide the message box on donations if people leave that part empty? It looks odd when that happens and a blank box appears under the donation notification.
Post the code fragment I will add it
 

BobDev

Member
That would be pretty neat.


I have three things i'd really like to see added to this (not in any particular order),

1. Host Alerts

2. TTS? (You already have it in your other program, so would it be that hard to do?)

3. What we just discussed about the donation input/messages.

Thanks. :)
What is TTS again, what program has it?
 

Zelakto

New Member
What is TTS again, what program has it?
TTS stands for text to speech, were if you donate, it reads the message out loud. Twitch Alerts has an example of this. Didn't your other program that you just made read things off? So I don't think it would be that hard for you to implement.
 

BobDev

Member
TTS stands for text to speech, were if you donate, it reads the message out loud. Twitch Alerts has an example of this. Didn't your other program that you just made read things off? So I don't think it would be that hard for you to implement.
Ah yes text to speech - I have it in overwolf apps, but it is native windows speech recognition engine, it cant be used here, but there are javascript tts libraries out there
 
Post the code fragment I will add it
In the header section I added this inside the <script> tags:
Code:
    function onBlur(el) {
        if (el.value == '') {
            el.value = el.defaultValue;
        }
    }
    function onFocus(el) {
        if (el.value == el.defaultValue) {
            el.value = '';
        }
    }
Then I changed the username input:
Code:
<input type="text" id="username" class="form-control" name="os1" placeholder="Your Twitch Username" value="Anonymous" onblur="onBlur(this)" onFocus="onFocus(this)">
 
Top