firefox-send-to-xbmc icon indicating copy to clipboard operation
firefox-send-to-xbmc copied to clipboard

Feature request: playlist support

Open GyrosGeier opened this issue 9 years ago • 11 comments

I have a bunch of videos saved to playlists, which gives me a different page layout, so the extension does no longer work.

It'd be great if the alternate layout for playlist mode could be recognized, and/or the entire playlist sent to Kodi.

GyrosGeier avatar Mar 11 '15 00:03 GyrosGeier

Are you talking about a YouTube playlist?

dirkjanm avatar Mar 20 '15 09:03 dirkjanm

Yes, I am.

GyrosGeier avatar Mar 30 '15 19:03 GyrosGeier

The issue with videos in playlists was solved in 7ddb0e4a1739a0be94bc0184ce9b009dc53f54a6 Sending full playlists is not supported for now but maybe in a future version this can be added.

dirkjanm avatar May 11 '15 07:05 dirkjanm

Thanks a lot, makes things a lot easier.

GyrosGeier avatar May 17 '15 18:05 GyrosGeier

It would be really great, if you could add "add to playlist" to the option, especially for music, narrations or even podcasts. I just wanna right-click the mp3 (e.g.) ein enqueue items to the kodi-playlist. Is it possible?

Der-K-2000 avatar Aug 15 '15 19:08 Der-K-2000

Hi,

I made a fork with something which looks like to playlist support if you want. I don't know if it's what you are looking for but for the moment it:

  • can add files to a queue on xbmc,
  • can add mixes from YouTube to a queue on xbmc.

I changed the behavior of the play button, first it synchronizes with the xbmc server, then it adds the file to the playlist and then asks xbmc to play the last file in the playlist.

For the moment it's supporting only one playlist (so only one server also), but the server part is easy to change.

Also, I changed a little bit the design in order to have 3 buttons, feel free to change it, I made it simple because I am not very fond of css.

Can you tell me if I should do a pull request or if you want me to review some things first ? Also, do anyone have any idea of doing a better playlist support ?

bloody76 avatar Sep 06 '15 12:09 bloody76

Could you fix the whitespaces? It's hard to see the changes since GitHub considers everything changed. If you use an editor which supports the .editorconfig it would be even easier.

It looks like a good start for playlist support, I think it would be good to create a separate branch for it, if you do a PR against that branch then I can test it and work some more on it (possibly adding support for multiple servers).

dirkjanm avatar Sep 06 '15 12:09 dirkjanm

Hi,

Hum I am not sure if I can fix the whitespaces, what do you mean by that ? You want me to put the indent level to 2 spaces ? (in my commit it's 4).

Ok for the branch, I also made a new commit in order to add a button to YouTube playlists. It adds the whole playlist and play the first one.

bloody76 avatar Sep 06 '15 13:09 bloody76

Yes, the project uses 2 spaces as ident size. I've created the new branch.

dirkjanm avatar Sep 06 '15 13:09 dirkjanm

Just wondering... is there any progress on this feature or can the branch be used safely for now?

I'd really like that feature too... either queueing videos or even better sending a whole playlist would be great.

As a reference... On my Android phone I have Yatse installed and through that I can queue and send playlists to Kodi directly. Some similar functionality would be perfect.

Thank you very much :+1:

bluezed avatar Mar 12 '16 10:03 bluezed

@bluezed the branch is still in development, the feature works partially but still has a lot of errors with adding/replacing videos in the playlist.

dirkjanm avatar Mar 20 '16 18:03 dirkjanm