From fc4da3adae59e08d88d954556318185c2588ea52 Mon Sep 17 00:00:00 2001 From: Arshdeep Singh <23432952+4rshdeep@users.noreply.github.com> Date: Wed, 27 Dec 2017 18:54:33 +0530 Subject: [PATCH] Added .opus to classify as a music file Added .opus as a music file as per https://en.wikipedia.org/wiki/Audio_file_format https://en.wikipedia.org/wiki/Opus_(audio_format) --- classifier/classifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classifier/classifier.py b/classifier/classifier.py index bd22471..6ab8452 100755 --- a/classifier/classifier.py +++ b/classifier/classifier.py @@ -99,7 +99,7 @@ def __init__(self): def create_default_config(self): with open(CONFIG, "w") as conffile: conffile.write("IGNORE: part, desktop\n" + - "Music: mp3, aac, flac, ogg, wma, m4a, aiff, wav, amr\n" + + "Music: mp3, aac, flac, ogg, wma, m4a, aiff, wav, opus, amr\n" + "Videos: flv, ogv, avi, mp4, mpg, mpeg, 3gp, mkv, ts, webm, vob, wmv\n" + "Pictures: png, jpeg, gif, jpg, bmp, svg, webp, psd, tiff\n" + "Archives: rar, zip, 7z, gz, bz2, tar, dmg, tgz, xz, iso, cpio\n" +