Implemented "smart" playlist handling