Compare commits

..

No commits in common. "42dd4f0cb4f8a80792e8bfcc4ff000e5bdb01d3b" and "2313103493d704145a58e5365310d83dcb324d59" have entirely different histories.

2 changed files with 2 additions and 9 deletions

View File

@ -1,5 +1,4 @@
import logging
import os
from PySide6.QtWidgets import (
QMainWindow,
QMessageBox,
@ -24,7 +23,6 @@ from PySide6.QtCore import (
Slot,
QThread
)
from PySide6.QtGui import QPixmap, QIcon
from queue import Queue
import time
@ -174,11 +172,6 @@ class MainWindow(QMainWindow):
self.setGeometry(100, 100, 900, 600) # Fensterbreite angepasst
self.set_status("Ready...")
app_path = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
pixmap = QPixmap(os.path.join(app_path, 'icon.xpm'))
icon = QIcon(pixmap)
self.setWindowIcon(icon)
self.__album_lines__ = []
main_widget = QWidget()
main_layout = QVBoxLayout(main_widget)

View File

@ -32,7 +32,7 @@ class ThisQueueWorker(QueueWorker):
class RipQueueWorker(ThisQueueWorker):
def progress_adaption(self, value, track_num):
self.progress_updated.emit(75 * value, track_num - 1)
self.progress_updated.emit(50 * value, track_num - 1)
def action(self, job_index):
logger.info("action: Start ripping track %02d...", job_index + 1)
@ -59,7 +59,7 @@ class RipQueueWorker(ThisQueueWorker):
class EncodeQueueWorker(ThisQueueWorker):
def progress_adaption(self, value, track_num):
self.progress_updated.emit(75 + 25 * value, track_num - 1)
self.progress_updated.emit(50 + 50 * value, track_num - 1)
def action(self, job_index):
logger.info("action: Start encoding track %02d...", job_index + 1)