Free Stream Notifications (Twitch, Paypal, Patreon)

Free Free Stream Notifications (Twitch, Paypal, Patreon)

Zellidon

New Member
Well I just rebooted my PC and now startup.bat is working o.O I guess maybe that is required for the environment variable to take effect or something. I'm still curious though what all is required to be open in order for the notifications to work?
 

BobDev

Member
I kinda worked around the start.bat and used the python webserver to set everything up. It seems to be working fine. I'm confused on how it's working exactly though. Do I have to leave the dashboard open in order for this to keep notifying me? Or will this automatically keep working on its own somehow? I'm just curious how the information is getting from Twitch to my source in OBS exactly and what I need to keep running to ensure that it does.

In FSN 1.02 dashboard is for your convenience, you dont need it for notification to work.
Only thing you need to do, if you are not using dashboard, is open AllInOne.html in browser and login to twitch. Then copy new url (that now have twitch log-in token embedded into url) - it cant be done in obs and thats why dashboard is normally doing this for you, but if you not want to run dashboard, do what I described above and it should work.
 
Last edited:

Zellidon

New Member
In FSN 1.02 dashboard is for your convenience, you dont need it to run for notification to work.
Only thing you need to do if you are not using dashboard is you need to open AllInOne.html in browser and login to twitch and then copy the whole new url (that now have twitch login token embedded into url) - it cant be done in obs and thats why dashboard is normally doing this for you, but if you not want to run dashboard, do what I described above and it should work.

Okay so in order to get the notifier working all I need to do is run dashboard? I'm sorry if I'm not understanding completely. Lets say I just reboot my computer and want to stream right away after a reboot. I just open your dashboard, then open OBS, run the game and start streaming?

I think you should explain what is required to run for everything to work after a cold boot in your tutorials somewhere. I probably won't be the last person to ask these questions.
 
Last edited:

BobDev

Member
First time setup:

1. Run start.bat
2 Open http://localhost:8000/dashboard.html in browser and configure the app, after that if you want you can close dashboard
3. AllInOne
- If you closed dashboard then open http://localhost:8000/allInOne.html in browser.
Log-in to twitch, twitch will redirect you back to allInOne page and it will add log-in information to url.
If you are already logged in to twitch in some other tab it will only add log-in info to url.
After that copy new url and add it as obs source.

- if you opened dashboard, just add allInOne link as obs source
4. That's it

After reboot:
1. Run start.bat
2. If you want to have dashboard open http://localhost:8000/dashboard.html in browser
3. AllInOne
- If you didnt open dashboard then open http://localhost:8000/allInOne.html in browser.
Log-in to twitch, twitch will redirect you back to allInOne page and it will add log-in information to url.
If you are already logged in to twitch in some other tab it will only add log-in info to url.
After that copy new url and add it as obs source.

- if you opened dashboard, just enable allInOne source in obs
4. That's it

Dashboard is there, because it is convenient to monitor all notifications, and you can activate transition effects.
You can also change settings, but it is not required for notifications to work.

Dashboard also updates property file with twitch log-in information, so if twitch token will expire then allInOne html page will get new token via property file (saved there by dashboard).

Maybe you will not be last to ask but you are first:)
If this all is still to confusing for you then I suggest to wait for server(online) version, which is suppose to be easier to use than offline(localhost) version.

Remember that current version is a week old and I'm working to improve it.
I'm currently fixing all the issues reported by current users. It probably wont be 100% error free, because it is getting big, but I'm on a good path to make it better and stable.

I'm planning to release it maybe tomorrow, if I wont find time to prepare everything (tutorials, videos, last fixes I still need to implement) then on Friday.
 

Zellidon

New Member
xD I like you BobDev, thank you.

I'm still wondering if I can close every window after I log in with Twitch. My main question is this: How can I use this notifier most efficiently? I don't want to leave anything running if I don't have to. Can you tell me how to run this in the most efficient manner? I feel like I'm leaving some processes open that are not doing anything after some points.

I just want to know how I can use this with the least amount of system resources. Tell me what I can cut out and where :D
 
Last edited:

BobDev

Member
xD I like you BobDev, thank you.

I'm still wondering if I can close every window after I log in with Twitch. My main question is this: How can I use this notifier most efficiently? I don't want to leave anything running if I don't have to. Can you tell me how to run this in the most efficient manner? I feel like I'm leaving some programs open that are not doing anything after some points.

If you use python SimpleHTTPServer then you dont need to run tomcat.
If you wont use paypal notifications then you dont need to run ipnListener.jar
If you only want to have notifications then after first configuration you dont even need to have dashboard open.

Basically minimum setup is this (after first time configuration with dashboard):
- http server running, python(SimpleHTTPServer command) or tomcat (you can remove ipnListener part from start.bat)
- obs source with allInOne (but remember to open it in browser first, log-in to twitch, copy the url into obs every time before you start streaming)
 
Last edited:

Zellidon

New Member
If you use python SimpleHTTPServer then you dont need to run tomcat.
If you dont use paypal then you dont need to run ipnListener.jar
If you only want to have notifications then after first configuration you dont even need to have dashboard open.

Basically minimum setup is this (after first time configuration with dashboard):
- http server running, python(SimpleHTTPServer command) or tomcat (you can remove ipnListener part from start.bat)
- obs source with allInOne (but remember to open it in browser first, log-in to twitch, copy the url into obs every time before you start streaming)

You the man thanks so much :D
 

BullHorn7

Member
Lots of issues with this, still..

When it does work, it usually works great but it'll often notify a wrong nickname: it'll post the same nickname twice, while TeeBoard in the background gets the right nick... So I have to apologize to the viewer for the script being wrong :P

Also, still, it sometimes doesn't load at all and 'fixing' it requires restarting everything including OBS (Which is not possible/advisable while the stream is already running..)

I know you know these issues, I just wonder if there's any progress? I really love your plugin in it's current state it's not usable. :(
 

BobDev

Member
Lots of issues with this, still..

When it does work, it usually works great but it'll often notify a wrong nickname: it'll post the same nickname twice, while TeeBoard in the background gets the right nick... So I have to apologize to the viewer for the script being wrong :P

Also, still, it sometimes doesn't load at all and 'fixing' it requires restarting everything including OBS (Which is not possible/advisable while the stream is already running..)

I know you know these issues, I just wonder if there's any progress? I really love your plugin in it's current state it's not usable. :(
Well I'm aware of those issues, like you wrote.
I'm little late with new release because you know I work for a living and I dont have much free time:)
I already fixed the double notification issue - I hope

Status:
- online implementation is done
- I still need to do some code cleanup
- I need to prepare documentation
- I need record a video
- I still need to fix that follower bug you asking me to fix

Hopefully tomorrow you will be able to try it out.
 

Zellidon

New Member
Yeah I really wish there were some indication that it's working. It seems like your token can expire even while the Tomcat is still running and you stop getting notifications. I don't really want to keep the dashboard open in a browser window and have to test it all the time. The whole point is to be able to get these notifications without having to capture a browser window or keep the browser open I think right? I'm using it along side TeeBoard right now too. I wish there a way to combine this with TeeBoard :P
 

BobDev

Member
Yeah I really wish there were some indication that it's working. It seems like your token can expire even while the Tomcat is still running and you stop getting notifications. I don't really want to keep the dashboard open in a browser window and have to test it all the time. The whole point is to be able to get these notifications without having to capture a browser window or keep the browser open I think right? I'm using it along side TeeBoard right now too. I wish there a way to combine this with TeeBoard :P

The token is not mine its a twitch token, it expires. Right now you need to re log-in to dashboard and notifications should work again in allInOne, the indication it expired comes from dashboard - that is how current version behaves

I changed the allInOne code so that it will try to keep the token alive even if dashboard is closed, but you will need to use dashboard at least once for configurations.
After new release If the issue with disconnecting will still be there then I will switch from twitch js API to REST API and use web service to auto log in to twitch but lets leave it for later and see if my fix in new release works.

Tomcat is a web server, only purpose to have it is to render those html pages using localhost address, without it twitch is not working from local file system (twitch requires domain name so http:\\localhost is needed). New online version will no longer use tomcat, the whole app will be single jar application with web server included, one window, one app.

You cant combine it with TeeBoard, its a flash application and developer of TeeBoard implements its own notifications in action script.

I know you are eager to use FSN and I appreciate the feedback and help finding the bugs, I will provide the update today be patient, after release I no longer will be focused on development and I if there are any issues then I will fix those asap but remember its very young peace of software and it will tend to have bugs - I will try to fix them all
 

Zellidon

New Member
I know it's hard work and I am very thankful that you're doing it. It still is the best I've ever seen :) I'm glad there will be a whole app with web server included that sounds awesome. Thank you for everything :)
 

BobDev

Member
I think I finally fixed the issues with double and incorrect notifications.
Now I'm going to briefly test each functionality online and offline.
After that I'm going to create some documentation - if that take to long I will skip it.
After that I will make video and release the app.
 

BobDev

Member
FSN v1.04 is here
I have still some work to do but a promise is a promise :)


A lot of time and work went into this, I hope I've fixed every bug you guys found if not let me know I will work on it.
App works online and offline, the video is brief, first time I recorded it I didnt hit record button and I was talking for 20 minutes explaining everything in detail - oh well:)
 

BobDev

Member
For those of you that want to change the css file manually and not from obs, or if you want to add sound files you can still do that.

jar is basically a zip file that is also executable, you can open it with some kind of zip/7zip/winrar or something else and copy the files, change or do whatever you want, html files are located in public folder.

Have fun
 

BullHorn7

Member
Thanks man, I will test it tomorrow and let you know how it goes!

-EDIT: Btw, the path in the .bat file can't be correct for everyone. For example, my Java folder is actually in: C:\Program Files (x86)\Java\jre1.8.0_25

-EDIT2: Might just be me, but I can't get it to work at all. :P
Installed mongodb, created the \data\db\journal\ folder and loaded mongod.exe correctly, loaded the modified .bat with my java path and saw that mongod accepted the connection.
When I load the Dashboard, the Configuration Wizard is empty and pushing the Log In to Twitch does nothing. Tips? :p
 
Last edited:

BobDev

Member
Thanks man, I will test it tomorrow and let you know how it goes!

-EDIT: Btw, the path in the .bat file can't be correct for everyone. For example, my Java folder is actually in: C:\Program Files (x86)\Java\jre1.8.0_25

-EDIT2: Might just be me, but I can't get it to work at all. :P
Installed mongodb, created the \data\db\journal\ folder and loaded mongod.exe correctly, loaded the modified .bat with my java path and saw that mongod accepted the connection.
When I load the Dashboard, the Configuration Wizard is empty and pushing the Log In to Twitch does nothing. Tips? :p
hmm, Ctrl+Shoft+J or K and send me the log to my e-mail, i'll check it out
Also send me mongo log and FSN.jar log
[EDIT] I just tested it with IE, firefox and chrome - fresh download from my page->mongod running->hit start->bam works:)

BTW, in start.bat the "rem" means it is not taken into execution, it is like a comment, its there to show people how to set JRE environment variable
 
Last edited:

BobDev

Member
hmm, Ctrl+Shoft+J or K and send me the log to my e-mail, i'll check it out
Also send me mongo log and FSN.jar log
[EDIT] I just tested it with IE, firefox and chrome - fresh download from my page->mongod running->hit start->bam works:)

BTW, in start.bat the "rem" means it is not taken into execution, it is like a comment, its there to show people how to set JRE environment variable

BullHorn7's Problem was solved - he forget to hit save in the login screen (during first time launch)
upload_2014-10-18_15-8-25.png


or there was some problem with mongodb, we deleted the database and relaunched the app and everything worked
 

BullHorn7

Member
The problem was that I launched mongod and start.bat before creating a \data\db\journal\ folder on my C: drive before launching for the first time... Solving this was possible with BobDev's help, by installing another software called Robomongo and resetting the database.

Maybe you can make start.bat create this folder automatically so people don't run into the same problem as me.
 
Top