mzanetti / kodimote

Kodimote is a remote control application for Kodi
GNU General Public License v3.0
20 stars 9 forks source link

Add playlist support #63

Closed RobertMe closed 9 years ago

RobertMe commented 9 years ago

Add support for browsing both audio and video playlists. Fixes #62

@paulvt What should party mode do? As far as I can see we can only set a player in "party mode" (Player.SetPartyMode, which takes an on/off value), which means we can only add it as another toggle next to shuffle and repeat. After some quick investigation it seems like we can't just get the "party mode playlist" from Kodi. As you said in your original issue, playlists are implemented as virtual folders (special://musicplaylists and special://videoplaylists), but the party mode playlist isn't returned as sub directory/file in those folders.

paulvt commented 9 years ago

I am basically confused by how it actually works because all skins implement it differently. Normal skins have indeed the toggle, but toggling just means take 10 random tracks, play the first and once played, pop the first from the playlist and add a new random track at the bottom (or more if some tracks have been deleted in the meantime). Some skins don't have a toggle but just a button Party Mode, which takes indeed the special list and plays that in that mode... stopping just stops party mode as well. And I know that in most skins in the context menu of a playlist has the option: Play in party mode.. so indeed then it's a way of playing the list next to normal/shuffle/repeat/random (a thing I use very often as I dislike shuffle because it remembers that and later I'm playing an album in shuffle, and I can queue extra tracks to be played now).

I find the toggle very confusing as setting it to enable starts party mode, but setting it to off seems to just make Kodi stop adding tracks when a track is finished/removed and that's it (?).

mzanetti commented 9 years ago

@paulvt Basic playlist support will be in the next release (as you can see this branch is merged). We'll look into the party mode things in the future as it seems to be a bit more complicated.

paulvt commented 9 years ago

Great, I will try it out. Webradio stations are also basic playlists, so that would be neat to have.

RobertMe commented 9 years ago

Not sure if that would work. We're currently gonna finalize the upcoming release, so you should be able to test it in a couple of days (probably after the weekend, unless some serious issue comes up). So please report back if it doesn't work then and we can look into it.

Or if you want to you can also send me an email (email address is shown in the about dialog), or join #kodimote on IRC (freenode), and I'll send you a beta/RC RPM (IIRC you were using Sailfish, right?) which you could use to test if at least the basic functionality works (and if webradio would be an easy fix if it doesn't work it might then still be in the final).

paulvt commented 9 years ago

Confirmed that radio stations that are put in the music playlist folder work. Maybe the '.strm' extension still needs to be removed?