Skip to content

Updating Functionality

xDashh edited this page Mar 15, 2019 · 41 revisions

A list of things to remember when updating some functionalities.

Emotes

social

new emotes should ideally:

  • have relatively well-defined purposes that aren't very narrow (when would you use the emote?).
  • be easily understood by most (do you know what the user wants to say by using it?).
  • not be a duplicate of another emote (in terms of purpose).
  • bonus: already be popular, and have a well-known name that can be reused.

This page contains some good general considerations: https://www.unicode.org/emoji/proposals.html

technical

  • in chat-gui

    1. make sure height is (max.) 32 pixel, and preferably width, too.
    2. add emote in fitting place here
    3. animated emotes only: should be in sprite-format (not gif), and fitting css animations have to be added e.g. here.
    4. Finally, add the emote-name (name of the file minus extension) here, and rebuild.
  • in Rustla2

    1. add emote name to .env(.example) variable EMOTES (used for username-emote similarity check)

Streaming/Video Services

  • find out how to embed the stream with autoplay enabled.
  • follow by example: https://github.com/MemeLabs/Rustla2/pull/82/files
  • find out how to get current thumbnails of any given stream.
  • if the service has a custom chat, probably add it here.
  • come up with a regex to extract relevant ids/names for this service:
    1. add it to modbot here
    2. (add it to the frontend TODO)
  • for custom players: check if CSP has to be adjusted
  • implement online-detection, viewer-counter, and thumbnails (optional)
  • Update the List below.

Streaming Services

Service Auto-play Chat Embed Online? Viewers Thumbnail
AngelThump -- bot
Facebook bot ??
m3u8 (custom) -- -- 1 -- --
Mixer bot
Smashcast ??
Twitch bot
Twitch (VOD) fixme bot VOD ??
Ustream ??
Vaughn ??
YouTube -- bot VOD
YouTube Live bot
YouTube (playlist) -- VOD2

  • 1: offline streams hidden?
  • 2: always offline.
  • --: not applicable.
  • VOD: no sense of online vs. offline - always shown as online.
Clone this wiki locally