Dynamic playlist complete

Even though this wasn't on my to-do list, I decided to do it anyways.
SQL file contains the current DB structure which you MUST import.