Comment 3 for bug 1720645

Revision history for this message
Conner Phillips (lindybalboa) wrote :

I took a look at this. The problem stems from Playlists, AutoDJ, and History using the same playlisttablemodel.

A quick fix would be to change the getCapabilities function. Currently it is full of hardcoded constants. We could instead change it to read an object variable for this information. The object variable would need be set/adjusted and the time of object instantiation.

The other more extreme but flexible option is create an abstract version of the playlisttablemodel, and create subclasses for all 3 features.

Does anyone feel strongly about either implementation?