adding filtering playlist support and various bugfix