FriendTeamInc / VodBot

A command line interface VOD and Clip manager for Twitch.
MIT License
14 stars 1 forks source link

Easier referencing of channels in non-config spaces #41

Closed NotQuiteApex closed 1 year ago

NotQuiteApex commented 2 years ago

A big annoyance in staging videos (for me at least) is typing out many names for big collaborations. An easy solution would be to use numbered indices to reference a specific channel in the config for the pull command. It would require it to be printed out, but it would work. Regular channel names should still work in place of numbers in case a collaborator is not in the config file.

A clear issue would be differentiating between small character-count names and the number index. A patch solution to that would be to limit the indexing to the first 100 channels in the pull list, starting at 0 and going to 99. Beyond that you'll need to type the name, because you're crazy enough to be using VodBot to manage videos for over 100 channels.

NotQuiteApex commented 1 year ago

The basic Idea I have for this now is that it should pull all the names of channels from the config, and list them out like it does for heads and games when asking about thumbnail generation. A maximum of 999 channels should be displayed, since Twitch's restrictions on usernames require names longer than 3 characters. All numbers (under 999, or strings of length 3) should be assumed to be indices for this channel list stated earlier, and otherwise be taken as literal strings to use for channel linking.