start of new DB design

Ian Monroe ian at monroe.nu
Wed Jun 6 15:44:54 CEST 2007


On 6/6/07, Maximilian Kossick <mkossick at gmx.de> wrote:
> On Wednesday 06 June 2007, Ian Monroe wrote:
> > I added a playlistcurrent table, and a set of tables to handle
> > undo/redo. There are two types of tracks that can be in a playlist,
> > those that are part of the collection and those that are not. So
> > either trackid or externalid in playcurrent goes unused (externalid is
> > a FK for the PK of playlistexternal, I just noticed the latter is
> > missing.) This creates more complications in the undo/redo system.
> >
> > Any other ideas on how to handle that?
>
> How about using commands? I don't think we have to support undo/redo across
> application restarts. That way you could simply store the changes to the
> playlist in memory ( maybe limit the number of supported undo/redo steps)

Yes your right, I suppose it doesn't really need to be stored in the
database. What do you mean by using commands?

Ian


More information about the Amarok-devel mailing list