As the invidio.us project is shutting down and the future of the project is uncertain, I've decided to remove the Steam Workshop submission and won't be working on this any longer.
https://steamcommunity.com/sharedfiles/filedetails/?id=1988929495
Drop the contents of the yt_addon folder into into the GMod addon folders, then initialise the GMod server. Alternatively, simply subscribe to the workshop release. The server console can control whether to only allow admins or specific users to use the functionality. The clients console can control the volume the music plays at, and whether to take part at all. All console variables are prefixed with YT_*
To use this functionality, type !yt <URL>
into the chat ingame.
Type !ytr
to stop all currently playing music (Admin only)
Certain URLs will not be able to be successfully played due to the Youtube backend.