MemeLabs / Rustla2

Livestream viewing with chat
https://strims.gg
MIT License
44 stars 24 forks source link

Make service-id handling more user-friendly #67

Open xDashh opened 6 years ago

xDashh commented 6 years ago

Right now using the input box on the main-page is not very nice, since users have to know how to extract the right id to put into the box themselves. At least for popular services (twitch, youtube,...) it would be nice to have this automated, such that pasting https://www.youtube.com/watch?v=6n3pFFPSlW4 becomes 6n3pFFPSlW4. Could make the logic dependent on the url-parameter, but things like youtu.be could make it annoying to parse...

The same goes for automatically detecting with service to use (make the default value in the box "auto" or something).

xDashh commented 6 years ago

Regexes should be shared/synced probably... https://github.com/MemeLabs/modbot/blob/1a1e72a5ed462513a41fd9c44ed0ec44d14491e7/commands.go#L356

xDashh commented 6 years ago

Reminder to update this https://github.com/MemeLabs/Rustla2/wiki/Updating-Functionality.