kanishka-linux / kawaii-player

Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
GNU General Public License v3.0
617 stars 44 forks source link

Add support for youtube-dl sites #12

Closed Joseph65 closed 6 years ago

Joseph65 commented 6 years ago

it would be nice to have support for playback of youtube-dl supported sites https://rg3.github.io/youtube-dl/supportedsites.html . Like mpv it has support using the ytdl option, or mplayer using youtube-dl. kawaii-player "Open Url" option doesn't open a twitch stream for example.

kanishka-linux commented 6 years ago

I'm also thinking about it for quite some time. Integrating all these external url's into local library will take time; but I think, it is possible to implement some quick fix for "Open Url" functionality, without adding them to local playlist/library.

kanishka-linux commented 6 years ago

As expected, quick fix was possible. I've added some commits in devel branch. Open Url in playlist section should now work with ytdl supported sites.

update: At the moment, it will work when ~'YTDL_PATH=automatic' is set in other_options.txt file, and~ quality is set to best.

kanishka-linux commented 6 years ago

v2.8 has pretty good support for ytdl. One can even use internal youtube browser to navigate to any ytdl supported site and can open links with kawaii-player. Casting of ytdl links is also supported via web interface.