[nodebb-plugin-ns-twitch-monitor] NS Twitch Monitor


  • Plugin & Theme Dev

    @산도 This plugin isn't compatible with 0.9, that is why, you can't find plugin in Plugins section. 😉



  • @Nicolas Oh Noooo!!! I really want to use this plugin. This is what I want. Do you have plan to update this one??? plz!




  • Plugin & Theme Dev

    Version 2.0.0

    New version is released.

    • Compatibility with NodeBB 0.9.x
    • Improved stream presentation in Widget
    • ACP overhaul: layout, flow

    New ACP

    CC @lombisi @산도



  • @Nicolas

    you are amazing



  • I was just testing .. successful. Thank you again.



  • Has this been updated for nodebb v1.x.x ?


  • Plugin & Theme Dev

    @WarbleSync no, It's a next thing in my queue.

    Note: If you are using Twitch Monitor now, and you are going to upgrade to v1.x.x, plugin will work without any issues. You will see a warning in console. Just in case, if it prevents you from the upgrade.


  • Plugin & Theme Dev

    Version 3.0.0

    New version is available.
    Summary: compatibility with v1 NodeBB and better UX in ACP

    • Compatibility with NodeBB 1.x.x
    • Change for 'Add Channel' flow
    • Change layout for Channel list
    • Add prompt for Channel removal
    • Improve initial rendering of the channel list in ACP

    Updated look:

    ACP List



  • Thanks for this plugin. I have it installed on the forum I administer now and is a nice addition to the site content.



  • So, I have had this nodebb-plugin-ns-twitch-monitor plugin installed for about a week. During that time my NodeBB forum has crashed twice. Prior to installing this plugin I do not recall my forum ever crashing! It runs weeks at a time between reloads or restarts.

    I am currently running v1.0.2. Fortunately today I was able to capture that last bit that was displayed on the screen. This is what was displayed:

    25/5 00:49 [659] - error: TypeError: Cannot call method 'forEach' of undefined
    
    events.js:72
            throw er; // Unhandled 'error' event
                  ^
    Error: write after end
        at writeAfterEnd (_stream_writable.js:133:12)
        at LogStream.Writable.write (_stream_writable.js:181:5)
        at write (_stream_readable.js:602:24)
        at flow (_stream_readable.js:611:7)
        at Socket.pipeOnReadable (_stream_readable.js:643:5)
        at Socket.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:427:10)
        at emitReadable (_stream_readable.js:423:5)
        at readableAddChunk (_stream_readable.js:166:9)
        at Socket.Readable.push (_stream_readable.js:128:10)
    

    I am not 100% sure this is the twitch plugin crashing but have a feeling it is. I have since disabled the plugin. Do you have any thoughts on this?

    Thank you.


  • Plugin & Theme Dev

    Give a try 3.0.1 😉



  • Is this plugin supposed to show twitch channels on the widget even if they aren't live? It doesn't do that for me, and I would like to see that so it doesn't look out of place... Is it supposed to show those channels? (The nodebb version is 0.8.2).



  • @undeadguppy It only shows live streams. I understand that you don't want an empty widget to look out of place, neither did I. I titled my widget "Streaming Now" and it doesn't seem to odd without any activity

    0_1465606751847_Streaming Now.tiff


  • Plugin & Theme Dev

    Does last version solve an issue with a crash of the forum?



  • @Nicolas Yes it appears so. No problems since I've installed it. Thanks for your work on it.



  • @Nicolas Moments ago my NodeBB forum went "offline." I captured this error message. As before I am not sure this is from the Twitch plugin. Possibly you will know:

    6/7 11:18 [10085] - error: TypeError: Cannot call method 'forEach' of undefined
    
    events.js:72
            throw er; // Unhandled 'error' event
                  ^
    Error: write after end
        at writeAfterEnd (_stream_writable.js:133:12)
        at LogStream.Writable.write (_stream_writable.js:181:5)
        at write (_stream_readable.js:602:24)
        at flow (_stream_readable.js:611:7)
        at Socket.pipeOnReadable (_stream_readable.js:643:5)
        at Socket.emit (events.js:92:17)
        at emitReadable_ (_stream_readable.js:427:10)
        at emitReadable (_stream_readable.js:423:5)
        at readableAddChunk (_stream_readable.js:166:9)
        at Socket.Readable.push (_stream_readable.js:128:10)
    

    Thank you.



  • How often is the game text updated? I have the GamesDoneQuick stream up on my widget, and it hasn't updated the game since I added it. The image does update at least 🙂



  • @Nicolas Seeing some crashing as well in my logs:

    6/7 15:53 [8090] - error: TypeError: Cannot read property 'streams' of undefined
        at /var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:74:28
        at transform (/var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:89:25)
        at /var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:72:35
        at fn (/var/www/nodebb/forums/node_modules/async/lib/async.js:746:34)
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:1213:16
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:166:37
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:706:43
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:167:37
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:1209:30
        at /var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:48:13
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:52:16
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:1209:30
        at Request._callback (/var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:41:21)
        at Request.self.callback (/var/www/nodebb/forums/node_modules/request/request.js:200:22)
        at emitTwo (events.js:106:13)
        at Request.emit (events.js:191:7)
    TypeError: Cannot read property 'streams' of undefined
        at /var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:74:28
        at transform (/var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:89:25)
        at /var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:72:35
        at fn (/var/www/nodebb/forums/node_modules/async/lib/async.js:746:34)
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:1213:16
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:166:37
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:706:43
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:167:37
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:1209:30
        at /var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:48:13
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:52:16
        at /var/www/nodebb/forums/node_modules/async/lib/async.js:1209:30
        at Request._callback (/var/www/nodebb/forums/node_modules/nodebb-plugin-ns-twitch-monitor/plugin/twitch/api.js:41:21)
        at Request.self.callback (/var/www/nodebb/forums/node_modules/request/request.js:200:22)
        at emitTwo (events.js:106:13)
        at Request.emit (events.js:191:7)

  • Plugin & Theme Dev

    Is it related to Twitch API?
    I mean, they now require correct API keys. Did you generate your API key?


Log in to reply
 

Suggested Topics

| |