mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-18 04:59:03 +00:00
2526380184
--HG-- rename : me/py/__init__.py => me/core/__init__.py rename : me/py/app_cocoa.py => me/core/app_cocoa.py rename : me/py/data.py => me/core/data.py rename : me/py/fs.py => me/core/fs.py rename : me/py/scanner.py => me/core/scanner.py rename : me/py/tests/__init__.py => me/core/tests/__init__.py rename : me/py/tests/scanner_test.py => me/core/tests/scanner_test.py extra : convert_revision : svn%3Ac306627e-7827-47d3-bdf0-9a457c9553a1/trunk%40275
17 lines
548 B
Python
17 lines
548 B
Python
# Created By: Virgil Dupras
|
|
# Created On: 2006/03/03
|
|
# $Id$
|
|
# Copyright 2009 Hardcoded Software (http://www.hardcoded.net)
|
|
#
|
|
# This software is licensed under the "HS" License as described in the "LICENSE" file,
|
|
# which should be included with this package. The terms are also available at
|
|
# http://www.hardcoded.net/licenses/hs_license
|
|
|
|
from dupeguru.scanner import Scanner as ScannerBase
|
|
|
|
class ScannerME(ScannerBase):
|
|
@staticmethod
|
|
def _key_func(dupe):
|
|
return (not dupe.is_ref, -dupe.bitrate, -dupe.size)
|
|
|