Merge branch 'dev'
This commit is contained in:
commit
6fc6fbe0d0
@ -2228,7 +2228,7 @@ class PlaylistTab(QTableWidget):
|
|||||||
if not start_gap:
|
if not start_gap:
|
||||||
start_gap = 0
|
start_gap = 0
|
||||||
start_gap_item = self._set_item_text(row_number, START_GAP, str(start_gap))
|
start_gap_item = self._set_item_text(row_number, START_GAP, str(start_gap))
|
||||||
if start_gap >= 500:
|
if start_gap >= 300:
|
||||||
brush = QBrush(QColor(Config.COLOUR_LONG_START))
|
brush = QBrush(QColor(Config.COLOUR_LONG_START))
|
||||||
else:
|
else:
|
||||||
brush = QBrush()
|
brush = QBrush()
|
||||||
|
|||||||
@ -75,7 +75,13 @@ def main():
|
|||||||
continue
|
continue
|
||||||
new_tags = get_tags(new_path)
|
new_tags = get_tags(new_path)
|
||||||
new_title = new_tags["title"]
|
new_title = new_tags["title"]
|
||||||
|
if not new_title:
|
||||||
|
print(f"{new_fname} does not have a title tag")
|
||||||
|
sys.exit(1)
|
||||||
new_artist = new_tags["artist"]
|
new_artist = new_tags["artist"]
|
||||||
|
if not new_artist:
|
||||||
|
print(f"{new_fname} does not have an artist tag")
|
||||||
|
sys.exit(1)
|
||||||
bitrate = new_tags["bitrate"]
|
bitrate = new_tags["bitrate"]
|
||||||
|
|
||||||
# If same filename exists in parent direcory, check tags
|
# If same filename exists in parent direcory, check tags
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user