iotku / mumzic

Music bot for mumble servers, can play youtube/soundcloud or local files.
Mozilla Public License 2.0
5 stars 0 forks source link

Support for YouTube and SoundCloud APIs #1

Closed iotku closed 4 years ago

iotku commented 4 years ago

Currently html titles are parsed for Youtube-DL links in order to get "human" names for added URIs, however Youtube videos often just return "YouTube" and both YouTube and SoundCloud have their names in the html title which is unnecessary.

Preferably, we could grab titles of videos from the YouTube or SoundCloud APIs as well as check for the existence of the content before adding to the queue.

iotku commented 4 years ago

Currently we make an additional request from youtube-dl to get titles of videos/tracks.

It's probably not as fast as native API calls, but is much simpler and youtube-dl is already a dependency.