[boardgames] Hash lrtl files and only import if changed
This commit is contained in:
@ -401,6 +401,7 @@ class RetroarchImport(BaseFileImportMixin):
|
||||
|
||||
original_filename = models.CharField(max_length=255, **BNULL)
|
||||
lrtl_file = models.FileField(upload_to="scrobbles/lrtl_file/", **BNULL)
|
||||
files_hash = models.CharField(max_length=64, **BNULL)
|
||||
|
||||
def process(self, import_all=False, force=False):
|
||||
"""Import scrobbles found on Retroarch"""
|
||||
|
||||
Reference in New Issue
Block a user