mirror of
https://github.com/arsenetar/dupeguru.git
synced 2024-11-16 12:19:03 +00:00
Andrew Senetar
7ba8aa3514
- Format all files with black - Update tox.ini flake8 arguments to be compatible - Add black to requirements-extra.txt - Reduce ignored flake8 rules and fix a few violations
33 lines
1.2 KiB
Python
33 lines
1.2 KiB
Python
# Copyright 2016 Hardcoded Software (http://www.hardcoded.net)
|
|
#
|
|
# This software is licensed under the "GPLv3" License as described in the "LICENSE" file,
|
|
# which should be included with this package. The terms are also available at
|
|
# http://www.gnu.org/licenses/gpl-3.0.html
|
|
|
|
from qtlib.column import Column
|
|
from ..results_model import ResultsModel as ResultsModelBase
|
|
|
|
|
|
class ResultsModel(ResultsModelBase):
|
|
COLUMNS = [
|
|
Column("marked", defaultWidth=30),
|
|
Column("name", defaultWidth=200),
|
|
Column("folder_path", defaultWidth=180),
|
|
Column("size", defaultWidth=60),
|
|
Column("duration", defaultWidth=60),
|
|
Column("bitrate", defaultWidth=50),
|
|
Column("samplerate", defaultWidth=60),
|
|
Column("extension", defaultWidth=40),
|
|
Column("mtime", defaultWidth=120),
|
|
Column("title", defaultWidth=120),
|
|
Column("artist", defaultWidth=120),
|
|
Column("album", defaultWidth=120),
|
|
Column("genre", defaultWidth=80),
|
|
Column("year", defaultWidth=40),
|
|
Column("track", defaultWidth=40),
|
|
Column("comment", defaultWidth=120),
|
|
Column("percentage", defaultWidth=60),
|
|
Column("words", defaultWidth=120),
|
|
Column("dupe_count", defaultWidth=80),
|
|
]
|