[Streams] Add game whitelist #2356

Closed
opened 2019-01-05 03:35:10 +01:00 by JaL-P · 6 comments
JaL-P commented 2019-01-05 03:35:10 +01:00 (Migrated from github.com)

Feature request

  • Cog
  • Command
  • API functionality

Cog: Streams

Feature Request: A command/s would allow to filter streams via the game they are playing.

Example;

[p]streamalert [platform] [channel] [game]

     - Filter Stream alert by game per channel

[p]streamalert [platform] [community] [game]

     - Filter Stream alert by game per community

As far as I am aware there is only one other bot out there that does this, I believe it would make a great addition to the Streams cog and Red Bot in general.

# Feature request - [ ] Cog - [x] Command - [ ] API functionality **Cog:** Streams **Feature Request:** A command/s would allow to filter streams via the game they are playing. **Example;** **[p]streamalert [platform] [channel] [game]** - Filter Stream alert by game per channel **[p]streamalert [platform] [community] [game]** - Filter Stream alert by game per community As far as I am aware there is only one other bot out there that does this, I believe it would make a great addition to the Streams cog and Red Bot in general.
Tobotimus commented 2019-02-06 05:56:06 +01:00 (Migrated from github.com)

Hi, I think this would be a great feature - adding to be included in 3.1.

Hi, I think this would be a great feature - adding to be included in 3.1.
palmtree5 commented 2019-02-06 06:29:32 +01:00 (Migrated from github.com)

I'm assigning this to myself to work on, though I'm not planning to include Twitch communities in this as that functionality is pending removal (see #2223 for the PR doing that and a brief explanation of why)

I'm assigning this to myself to work on, though I'm not planning to include Twitch communities in this as that functionality is pending removal (see #2223 for the PR doing that and a brief explanation of why)
palmtree5 commented 2019-02-08 10:01:54 +01:00 (Migrated from github.com)

Ok, status report:

Went through each of the supported services to see the feasibility:

Service Possible Notes
Twitch Yes Probably will be 2 API calls the first time requesting a game and would store after that (seems the game name needs to be an exact match though)
Mixer Yes Seems like it's part of the result for the live stream
Smashcast (still referred to as Hitbox in our code) Yes Again, 2 API calls at first then store, though in this case it seems the game name doesn't necessarily have to be an exact match
Picarto No The API docs don't mention a way to get the game being played, not to mention the UI doesn't even seem to contain anything mentioning the game being played
Youtube No TBH Google's API docs can be somewhat confusing but I also did a quick search and didn't find anything indicating a way to get the game out of the API even though it's possible to see what game is being played in the interface

So it looks like 3/5 here

Edit: 1/3 now that neither Mixer nor Smashcast exists anymore.

Ok, status report: Went through each of the supported services to see the feasibility: Service | Possible | Notes -------- | --------- | ------ Twitch | Yes | Probably will be 2 API calls the first time requesting a game and would store after that (seems the game name needs to be an exact match though) ~~Mixer~~ | ~~Yes~~ | ~~Seems like it's part of the result for the live stream~~ ~~Smashcast (still referred to as Hitbox in our code)~~ | ~~Yes~~ | ~~Again, 2 API calls at first then store, though in this case it seems the game name doesn't necessarily have to be an exact match~~ Picarto | No | The API docs don't mention a way to get the game being played, not to mention the UI doesn't even seem to contain anything mentioning the game being played Youtube | No | TBH Google's API docs can be somewhat confusing but I also did a quick search and didn't find anything indicating a way to get the game out of the API even though it's possible to see what game is being played in the interface So it looks like 3/5 here Edit: 1/3 now that neither Mixer nor Smashcast exists anymore.
josephrooks commented 2024-07-01 19:32:06 +02:00 (Migrated from github.com)

The ability to only announce streams if they have something specific in the stream title or tags would also be helpful, as an extension of this. For example, I'd like to use Red to announce people streaming for specific charities, but not all of their streams will be raising money for those charities, so the ability to filter by "Jude" or "Starlight" for St. Jude Children's Research Hospital or Starlight Children's Foundation supporting streams among the tracked list of streamers would be very helpful.

The ability to only announce streams if they have something specific in the stream title or tags would also be helpful, as an extension of this. For example, I'd like to use Red to announce people streaming for specific charities, but not all of their streams will be raising money for those charities, so the ability to filter by "Jude" or "Starlight" for St. Jude Children's Research Hospital or Starlight Children's Foundation supporting streams among the tracked list of streamers would be very helpful.
palmtree5 commented 2024-07-01 23:58:17 +02:00 (Migrated from github.com)

The ability to only announce streams if they have something specific in the stream title or tags would also be helpful, as an extension of this. For example, I'd like to use Red to announce people streaming for specific charities, but not all of their streams will be raising money for those charities, so the ability to filter by "Jude" or "Starlight" for St. Jude Children's Research Hospital or Starlight Children's Foundation supporting streams among the tracked list of streamers would be very helpful.

This might be something worth looking into, but it's outside the scope of this issue. If you would, please open a new feature request for this

> The ability to only announce streams if they have something specific in the stream title or tags would also be helpful, as an extension of this. For example, I'd like to use Red to announce people streaming for specific charities, but not all of their streams will be raising money for those charities, so the ability to filter by "Jude" or "Starlight" for St. Jude Children's Research Hospital or Starlight Children's Foundation supporting streams among the tracked list of streamers would be very helpful. This might be something worth looking into, but it's outside the scope of this issue. If you would, please open [a new feature request](https://github.com/Cog-Creators/Red-DiscordBot/issues/new?assignees=&labels=Type%3A+Feature&projects=&template=04_feature_request.yml) for this
Owner

Fixed by #4174, which has been merged into V3/develop.

Fixed by #4174, which has been merged into V3/develop.
Sign in to join this conversation.
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot#2356
No description provided.