You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Tagminder is really a great idea
Sadly, ruffly 10% of Flacs are reported badly encoded.
This is my case, and Tagminder keeps crashing on badly encoded Flacs
To improve this , i wrote a tiny program to fix this, it does not crash on hundreds of corrupted Flac files
Please catch the appropriate exceptions, and log the file e.g
but unusable as such for me
I you need corrupted Flacs, i'll be keen to give you access to it, this to improve your testing
Thanks
Jacques
-----
import glob, sys, os
from multiprocessing import Pool as ProcessPool
import mutagen.flac
from mutagen import MutagenError
from mutagen.flac import FLAC
I'll add exception handling etc. when I'm done with core functionality and am ready to release something properly. At present my focus is continuing with the data wrangling that gets metadata into great shape and consistent. If someone wants to submit a PR to handle corrupt files in the meantime, they're welcome to. There's no point sorting tags in corrupt files though, so in the absence of a PR I'll only get there when the core of what I want managed data wise is completed.
Hi,
Tagminder is really a great idea
Sadly, ruffly 10% of Flacs are reported badly encoded.
This is my case, and Tagminder keeps crashing on badly encoded Flacs
To improve this , i wrote a tiny program to fix this, it does not crash on hundreds of corrupted Flac files
Please catch the appropriate exceptions, and log the file e.g
but unusable as such for me
I you need corrupted Flacs, i'll be keen to give you access to it, this to improve your testing
Thanks
Jacques
-----
import glob, sys, os
from multiprocessing import Pool as ProcessPool
import mutagen.flac
from mutagen import MutagenError
from mutagen.flac import FLAC
DIR_TO_SCAN = "/tmp"
STATE, EXCEPTION, PATH, INSTANCE = 0, 1, 2, 3
def _syntax():
")print('syntax : ' + sys.argv[0] + "
exit(2)
def flac_processor(path):
class BadFlac(object):
def init(self,path):
self.results = list()
self.valids, self.invalids, self.mutagens = list(), list(), list()
if name == "main":
The text was updated successfully, but these errors were encountered: