xbmc / Kore

Kore is a simple and easy-to-use Kodi remote.
Apache License 2.0
650 stars 244 forks source link

[feature request] Send a youtube playlist / mix to Kodi #91

Open axelsimon opened 9 years ago

axelsimon commented 9 years ago

Hi, It would be great, especially for music playing purposes, to be able to send an entire youtube playlist or mix to Kodi for playback. Currently, one has to send each song/video, one at a time, once the previous one is finished.

Not sure how/if it can be done though, the share button on the first video of a playlist sends a link to the first video, with no more info about the playlist or the next song, from what I could see.

Thanks for considering it in any case :)

difazz commented 9 years ago

Hi, I am really new user of XBMC (Kodi on Raspberry Pi 2) and my mother wanna this feature too... I would like to try write this code myself... But have no idea about github and if anybody has written already this.

Thanks!

DanhKE6D commented 9 years ago

It can be done with a little bit of modification. I have done that already, but I am not sure if the project owner wants to pull the new feature into the main branch therefore I did not ask for a pull request. I use my Pi 2 / Kodi for music streaming whenever I at home using Kore as my main remote control without the need to see the TV screen. The way I do this is to create a playlist on YouTube, load up the playlist with all the music that you want to play then save it.

From Kodi, open YouTube plugin, select the playlist you saved earlier, then click "play from here" at the first item. Kodi will then start playing. Open Kore, swipe to playlist page, then select "save playlist to file". Kore will save the current playlist to a file on the phone. From that point on, whenever you want to play that playlist again, just "load playlist" from Kore playlist page. You can save as many playlist as you like. This can be media from your local machine or on the web. It does not matter.

The code is on my github page, under the "playlist enhancement" branch.

difazz commented 9 years ago

Ok, and this is "automatic playing MY playlists..." what can i do if i want to play YOUTUBE mix :) ? Thanks a lot DanhKE6D!

Adam

DanhKE6D commented 9 years ago

It does not matter. Web media on Kodi playlists will be saved and restored for replaying later on the same machine or different machine. I listen to YouTube music exclusively on my Pi 2 so it works out really well as I only need to touch a couple buttons on the phone to get music playing all day long.

difazz commented 9 years ago

Ok, thanks a lot, iam not sure, if is it what i looking for, but i will try as soon as possible and keep u posted ;)

Adam

alexandrujuncu commented 8 years ago

Hi!

I would also be interested in such a feature. I am using Kore 1.5.0 and it doesn't seem to have any way of sending a link to the YouTube plugin.

Thanks!

mattvonrocketstein commented 7 years ago

Any update here? I'd also like to see this feature and can help with development if anyone can comment on the right place to start.

madpipeline commented 7 years ago

This is possible to be implemented, as the youtube addon supports playlist links: http://kodi.wiki/view/Add-on:YouTube

@DanhKE6D you said you made these changes, can you make a pull request please so we can all see the changes?

lowlyocean commented 7 years ago

Yes I would like to see the pull request as well @DanhKE6D

delphiactual commented 7 years ago

https://github.com/DanhKE6D/Kore/tree/playlist_enhancement

madpipeline commented 7 years ago

That fork is 191 commits behind xbmc:master. Kind of hard to tell what he made. I'm looking over it.

madpipeline commented 7 years ago

On a superficial look, I believe that those changes are more complex than they need to be. From what I've seen how this plugin works is: it just receives an URL and handles it.

What's the point of making the Kore app aware of what a playlist is, and how to handle it?

You just get the link, like a normal video, handle it in a different function and format it for the plugin, then just pass it on to Kodi. Why is more necessary?

wotix commented 7 years ago

Maybe try Kassi Share (Chrome AddOn) (https://chrome.google.com/webstore/detail/kassi-share-send-to-kodix/gbghegmimhjemkhpimohkdopkeahldbh?hl=en) You can create Playlists by adding songs to queue. Maybe even adding playlists is possible, I'm not sure.