Project

General

Profile

[Plugin] Twitch @ AdiRC

Added by Stefan van Oudenaarden almost 8 years ago

Twitch @ AdiIRC aims to add improvements for using twitch chat through AdiIRC.

  • Adds Twitch Emote support
  • Displays Cheers in chat
  • Displays channels state changes such as slow mode, subscriber mode etc properly in channels
  • Shows timeouts/bans as they happen. But does not clear chat.
  • Cleans up the server tab spam

Github Page: https://github.com/Xesyto/AdiIRC-Twitch
Download Page: https://github.com/Xesyto/AdiIRC-Twitch/releases/latest


Replies (24)

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner almost 8 years ago

Love it! Any chance for FFZ and BTTV emote support ;)

edit And also Stream Title/Game Played in the topic bar of the chat ?

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden almost 8 years ago

I don't intend to support any additions to twitch like those, sorry. As to the channel title in topic I would like to make that happen there is just a few concerns.

Twitch requires an app to identify itself these days for API calls even on trivial requests like channel descriptions etc. That means I have a few options.

1) Ship the addon with authentication information included, not something I wish to do.
2) Require users to register this plugin as a twitch app in their twitch account and giving the plugin the required identification information. In general that sounds like a support headache for me in the future.
3) Ignore the API and try to scrape it off of twitch through html. That would require additional libraries to be included and make installation more complex. I'm not even sure if AdiIRC will even let me load addition .dll's at runtime. Would also potentially break anytime twitch changes their site layout.

So, still debating how to solve this.

RE: [Plugin] Twitch @ AdiRC - Added by Per Amundsen almost 8 years ago

Thanks for creating this plugin, it's very cool.

I added this to the Plugins info in case others wants to know about loading additional DLL's

Plugins can load and use any DLL's including referencing all .NET frameworks DLL's and do P/Invoke, just like a regular .NET program.

RE: [Plugin] Twitch @ AdiRC - Added by Mr. BS almost 8 years ago

Very impressive! Thanks for sharing it.

Here is a screenshot showing the obvious, Twitch users spam emotes a lot, in an almost default AdiIRC:

RE: [Plugin] Twitch @ AdiRC - Added by T B almost 8 years ago

Thank-you.

adding the command "CAP REQ :twitch.tv/membership" seems the populate the user list.

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

Version 3 now populates and updates the topic with Game being played and Stream Title. Additionally the github page now has detailed installation instructions.

At the moment it will also show Newtonsoft.json.dll in the plugins list. Thats not ideal but it doesn't hurt either, trying to load it simply fails.

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner over 7 years ago

I have found that my resub notification (it runs off the usernotice raw text) fails with this plugin :(

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

Twitch @ AdiIRC Version 4

Added the following:
  • Shows Subscriptions, Resubscriptions, Prime Subscriptions, etc.
  • Some simple configuration options accesible through '/twitch@'

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

Twitch @ AdiIRC Version 5
Added the following:

  • Shows Twitch Badges such as Broadcaster, Moderator, Subscriber etc as part of irc Username.
  • Option to turn this on or off.

The badges are not proper Icons but rather Unicode Emoji, they will therefor display differently depending on your font choices.

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner over 7 years ago

I am still trying to work out how to get my notify script to work with this plugin

Without the plugin, it works fine.

With the plugin loaded, nothing fires...

Patebin linkage:

http://pastebin.com/A1EgKPmS

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

This addon eats notifactions like those, they probably never arrive at your script. It does show normal irc notifications in channel instead as of version 4. You'll need to rewrite that script to use those or choose between this addon or your script.

Sorry for the unintended compatibility issues.

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner over 7 years ago

Oh don't worry about it, I like your plugin because it has yet to screw up downloading an emote (which I had a script for, but that used to produce errors on a semi regular basis).

edit only request... with the sub message, can you add a space between the [ messsage ]

Some people use emotes at the start/end of the message, and they won't show otherwise (due to the []'s being counted in the string.)

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

Simple enough, newly released 5.1 has spacing between brackets for messages that include brackets.

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner over 7 years ago

With the new changes coming in (mentioned here: https://discuss.dev.twitch.tv/t/subscriptions-beta-changes/10023 ), will the sub/resub messages still work?

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

I need to double check that but i'll fix things should they no longer work.

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

Just checked, messages should continue to work as expected. If you do see issues after the 24th please do let me know.

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 7 years ago

Version 5.2

- Fixed a bug with displaying subscriptions without messages.

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden about 7 years ago

With the release of AdiIRC 2.9 comes a new plugin API and an update to Twitch @ AdiIRC to go with it.

Most of the underlying code has been redone but functionality has remained mostly the same. Some features work a little better now.

  • Whispers / Private messages are now supported
  • Twitch @ AdiIRC no longer binds exclusively to a single server window, many twitch connections at once are now supported as well as closing or opening them at will
  • Unicode Badge insertion now happens on a channel instead of server level which should fix a rare bug where messages were going to all the wrong places
  • Inserting @'s on name autocomplete no longer requires a second tab keypress
  • The addon config menu can now also be accessed from the Commands menu.

Github Page: https://github.com/Xesyto/AdiIRC-Twitch
Download Page: https://github.com/Xesyto/AdiIRC-Twitch/releases/latest

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner about 7 years ago

One small bug, which I have only just noticed, is that when it saves an emote, it puts in a double \\ in the path.

Emoticon_TriHard=C:\Users\<user>\AppData\Local\AdiIRC\\TwitchEmotes\120232.png

Another issue is this:

I categorise my emotes so because sometimes just clear out the emotes every so often, this way I would only have to do certain sections quickly

ie I have them as

Emoticon_TF2John=.\Emoticons\Default\1899.png

However, if the plugin downloads/updates the emote, it updates the custom emote entry (and also redownloads the icon).

Would it be possible to do an "ignore if emote already listed" option?

Side note: Wouldn't it make sense to use a relative path for the emote entry, instead of doing the whole "C:\Users\<user>\AppData\Local\AdiIRC\\TwitchEmotes\120232.png" it would be ".\TwitchEmotes\120232.png" instead

RE: [Plugin] Twitch @ AdiRC - Added by Christopher Milner over 6 years ago

Seems like the most recent twitch update has broken the emote download thing...

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 6 years ago

Sorry on the delay for this. I've been busy with work.

Version 6.1
  • Fixed a bug where rightclicking a twitch pm/query tab would throw an exception
  • Fixed a bug that caused new emotes to no longer register

RE: [Plugin] Twitch @ AdiRC - Added by Per Amundsen over 6 years ago

if (argument == null)

Arguments should never be null for OnMenu, do you know how to replicate this?

RE: [Plugin] Twitch @ AdiRC - Added by Stefan van Oudenaarden over 6 years ago

Per Amundsen wrote:

[...]

Arguments should never be null for OnMenu, do you know how to replicate this?

My apologies. Bad testing on my part caused me to fuck up. OnMenu does not have a null arguments. Queries/Pm's do have a null Argument.Window, latest release has been made to fix this mistake.

RE: [Plugin] Twitch @ AdiRC - Added by Per Amundsen over 6 years ago

I can replicate window is null in private windows, it should never be null, I'll fix that, thanks.

    (1-24/24)