Added functions for managing playcount/lastPlayed