philippe44 / LMS-YouTube

Play YouTube videos on LMS
38 stars 15 forks source link

Handle YouTube URLs passed to “Tune In URL” #23

Closed mavit closed 4 years ago

mavit commented 4 years ago

A number of plugins allow you to give them a webpage URL, and they’ll play the music associated with that webpage, e.g., the Band’s Campout plugin has a “Bandcamp URL” field, the YouTube plugin has a “YouTube URL or Video id” field, etc. However, it would be more convenient if you could paste the URL into the “Tune In URL” field and have LMS work out for you which plugin to use.

This pull request provides that for YouTube videos, playlists, and channels.

Support for this in LMS landed on the public/8.0 branch today, but this change should safely do nothing on older versions.

philippe44 commented 4 years ago

Thanks!

philippe44 commented 4 years ago

Are you sure about what's happening on 7.9.x? I just commited the PR and the explodePlayList killed it

mavit commented 4 years ago

I'm afraid that I only tested with the public/8.0 branch. What's the error message?

philippe44 commented 4 years ago

Nothing would play - something happens in the explodePlayList, I don't know yet what