#!/bin/bash
echo "#EXTM3U" > "$1"
ls *mkv | while read -r file; do
    echo "$file" >> "$1"
done
