[REL] Twitch Viewers 2.0.1 [86765]

Discussion in 'Released Mods' started by wondible, February 5, 2015.

  1. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Display the twitch viewer count in-game.

    twitch_viewers.png

    This uses an un-authenticated public API, but you do need to enter your twitch username in the settings (server tab) so it knows which channel to check.

    It will check the stream once on game start, and then continue polling if the stream is live. Click the option bar item to poll if you start the stream later.

    - https://github.com/JustinLove/twitch_viewers
    - http://wondible.com/pa/twitch_viewers_v2.0.1.zip
    - PAMM

    Changes

    ## 2.0.1

    - Bump build number circa titans

    ## 2.0.0

    - Use own twitch name setting (setting server tab)
    - Poll once on game start, stop if not live. Click to poll.
    - Add tooltip and better match standard option bar style.

    Future Work

    Might be nice to move the polling to the social bar so it could be shown out of game as well.
    Last edited: September 8, 2015
    cwarner7264, Bsport, Quitch and 3 others like this.
  2. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    I'm going to study this and figure out how you got it to work. Awesome!
  3. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    The twitch part was easy - they have JS library. The tricky bit was actually making a settable channel.
  4. stawos

    stawos Member

    Messages:
    79
    Likes Received:
    46
    This doesn't show up for me. I even tried disabling mods that are also in utility bar down there like Auto Factory.
  5. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Did you enter you twitch name in the game settings? Did you do it before starting the game or during? FYI the polling period is currently set to 1 minute.

    Other mods? PA-Diag in game.

    Do you know how to use the ui debugger? If so look at Live Game, Live Game: Options Bar, and Game Settings for errors.
  6. stawos

    stawos Member

    Messages:
    79
    Likes Received:
    46
    I log onto twitch ingame before the match, I use the mod that allows you to enter twitch credentials form main page
    wondible likes this.
  7. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Right. I'm going to have to find that mod and figure out if I can hijack it.
  8. stawos

    stawos Member

    Messages:
    79
    Likes Received:
    46
    wondible likes this.
  9. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
  10. stawos

    stawos Member

    Messages:
    79
    Likes Received:
    46
    hmm still doesn't show up for me, :( and I even disabled Auto-factory to make sure there was no conflit there, since they both are added to utility bar (bottom-right). does it only show up when the stream is online? do you have to stream from game? or will it work if you're streaming with OBS or some other software?
    wondible likes this.
  11. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Oh, yes, it only appears when the stream is online. I liked the feedback as whether it even found the stream or not, and not showing anything if you aren't streaming. I suppose if had a name and there was no stream it could show '-', 'x', or something like that.

    How you are streaming shouldn't matter. It's using a public Twitch API that reports basic stream information. So it has to be online, the API has to report it as such if there is any delay, and then the mod polls once a minute to be polite to the API, so there could be up to 59 seconds of lag there.
  12. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Twitch Viewers 2.0.0

    - Use own twitch name setting (setting server tab)
    - Poll once on game start, stop if not live. Click to poll.
    - Add tooltip and better match standard option bar style.
    stuart98 likes this.
  13. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Twitch Viewer 2.0.1 - Bump build number circa titans

Share This Page