From cdaa1aa7ce54f44f38b03df58fe39846e9a440c5 Mon Sep 17 00:00:00 2001 From: billy <=> Date: Fri, 24 Jul 2026 08:24:03 -0400 Subject: [PATCH] implement flac wav aiff m4a --- components/MusicTable.py | 4 ++-- components/__init__.py | 2 +- main.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/components/MusicTable.py b/components/MusicTable.py index 66b902c..058187f 100644 --- a/components/MusicTable.py +++ b/components/MusicTable.py @@ -35,7 +35,7 @@ from components.LyricsWindow import LyricsWindow from components.AddToPlaylistWindow import AddToPlaylistWindow from components.MetadataWindow import MetadataWindow from components.QuestionBoxDetails import QuestionBoxDetails -from components.HeaderTags import HeaderTags2 +from components.HeaderTags import MP3HeaderTags from utils import ( batch_delete_filepaths_from_filesystem, @@ -109,7 +109,7 @@ class MusicTable(QTableView): self.data_cache = {} self.playlist_scroll_positions: dict[int | None, int] = {} self.search_string: str | None = None - self.headers = HeaderTags2() + self.headers = MP3HeaderTags() self.selected_song_filepath = "" self.selected_song_qmodel_index: QModelIndex self.current_song_filepath = "" diff --git a/components/__init__.py b/components/__init__.py index 9018c11..92ea584 100644 --- a/components/__init__.py +++ b/components/__init__.py @@ -11,6 +11,6 @@ from .CreatePlaylistWindow import CreatePlaylistWindow from .PlaylistsPane import PlaylistsPane from .ExportPlaylistWindow import ExportPlaylistWindow from .QuestionBoxDetails import QuestionBoxDetails -from .HeaderTags import HeaderTags2 +from .HeaderTags import MP3HeaderTags from .MediaPlayer import MediaPlayer from .SearchLineEdit import SearchLineEdit diff --git a/main.py b/main.py index 8f13c02..5d2f1c7 100644 --- a/main.py +++ b/main.py @@ -60,7 +60,7 @@ from components import ( AudioVisualizer, CreatePlaylistWindow, ExportPlaylistWindow, - HeaderTags2, + MP3HeaderTags, DebugWindow, ) from utils.export_playlist_by_id import export_playlist_by_id @@ -137,7 +137,7 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow): self.tableView.load_qapp(self) self.albumGraphicsView.load_qapp(self) self.playlistTreeView.load_qapp(self) - self.headers = HeaderTags2() + self.headers = MP3HeaderTags() # Settings init self.current_volume: int = int(self.config["settings"]["volume"])