Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: [PATCH] Multiple playlists.

[PATCH] Multiple playlists.

From: John Pybus <john_at_pybus.org>
Date: Fri, 30 Aug 2002 01:53:25 +0100

Hi,

First of all, thanks to everyone. Rockbox is fantastic.

My main limitation with the archos firmware was the very poor support for
editing playlists. Full editing of playlists will likely need to wait for
FAT writing support, but what I really want is to add more tracks to a
playlist without stopping the one currently playing.

So here are two patches:

*patch1*

This reorganises the playlist handling -- without making any changes to the
UI. It allows the playlist in memory to contain tracks coming from up to 20
different sources (playlist files or directories).

It's current limitations are that only one source is stored on power-off [0]
so resume doesn't fully restore the list.

*patch2*

This is a proof of concept patch to tree.c to make use of patch1. If while
playing you use menu + play in the tree view, it adds the selected
playlist/directory to the end of the currently playing list. It's a bit of a
hack so I didn't include it in with the first patch, but I've had enough for
today so I'll submit it as is.

This is already enough for me to line up the next album while one is playing,
without needing to have created a playlist beforehand.

Yours,

John Pybus

[0] Currently the first source added to the playlist, although it could
usefully be made the source of the currently playing track.
  • text/x-diff attachment: patch1
  • text/x-diff attachment: patch2
Received on 2002-08-30

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy