diff --git a/gui/include/version.h b/gui/include/version.h index 7e5bf4dc..64edb7c0 100644 --- a/gui/include/version.h +++ b/gui/include/version.h @@ -1,6 +1,6 @@ #ifndef VERSION_H_ #define VERSION_H_ #define WM_VERSION "3.7.2" -#define WM_REVISION "1019" -#define WM_RELEASEDATE 20240701 +#define WM_REVISION "1024" +#define WM_RELEASEDATE 20240702 #endif diff --git a/gui/src/editor/edit.cpp b/gui/src/editor/edit.cpp index f8acaf3a..dbb2c504 100644 --- a/gui/src/editor/edit.cpp +++ b/gui/src/editor/edit.cpp @@ -2302,6 +2302,7 @@ void Edit::on_trackList_customContextMenuRequested(const QPoint& pos) m->addSeparator(); m->addAction(QIcon(":/icons/resources/edit.png"), tr("Read BPM and Key from ID3-Tag", "trackList Context Menue"), this, SLOT(on_contextReadBpmAndKey_triggered())); } + m->addAction(QIcon(":/icons/resources/eraser.png"), tr("Delete ID3-Tags from file", "trackList Context Menue"), this, SLOT(on_contextDeleteID3Tags_triggered())); } m->popup(p, a); //FixFocus(); @@ -2768,3 +2769,30 @@ void Edit::on_displayMusicKey_currentIndexChanged(int) UpdateTrackListing(); FixFocus(); } + +void Edit::on_contextDeleteID3Tags_triggered() +{ + QList Items=trackList->selectedItems(); + if (Items.count() < 1) return; + //ppl7::PrintDebug("Edit::on_contextDeleteID3Tags_triggered\n"); + if (QMessageBox::question(this, tr("WinMusik: delete ID3-Tags"), + tr("Do you want to delete all ID3-Tags from the selected files?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No) + == QMessageBox::No) return; + for (int i=0;i < Items.size();i++) { + WMTreeItem* item=(WMTreeItem*)Items[i]; + ppl7::String Filename=wm->GetAudioFilename(DeviceType, DeviceId, Page, item->Track); + if (Filename.notEmpty()) { + //ppl7::PrintDebug("File: %s\n", (const char*)Filename); + ppl7::ID3Tag Tag; + try { + Tag.load(Filename); + Tag.clearTags(); + Tag.save(); + + } catch (...) { + + } + } + } + +} diff --git a/gui/src/editor/edit.h b/gui/src/editor/edit.h index 7eb2df33..3b659908 100644 --- a/gui/src/editor/edit.h +++ b/gui/src/editor/edit.h @@ -250,6 +250,7 @@ public slots: void on_contextInsertTrack_triggered(); void on_contextSynchronizeKeys_triggered(); void on_contextMusicKeyVerified_triggered(); + void on_contextDeleteID3Tags_triggered(); void on_contextShowCover_triggered(); void on_contextLoadCoverAllTracks_triggered(); diff --git a/gui/winmusik_de.qm b/gui/winmusik_de.qm index 4362a2d9..15064890 100644 Binary files a/gui/winmusik_de.qm and b/gui/winmusik_de.qm differ diff --git a/gui/winmusik_de.ts b/gui/winmusik_de.ts index 75746348..ae3fac48 100644 --- a/gui/winmusik_de.ts +++ b/gui/winmusik_de.ts @@ -1297,6 +1297,16 @@ des Tonträgers vorhanden trackList Context Menue BPM und Tonart aus ID3-Tag einlesen + + + WinMusik: delete ID3-Tags + WinMusik: ID3-Tags löschen + + + + Do you want to delete all ID3-Tags from the selected files? + Möchtest Du alle ID3-Tags der ausgewählten Titel löschen? + Set Music-Key @@ -1316,7 +1326,7 @@ des Tonträgers vorhanden Tonart wurde nicht geprüft - + unknown trackList Context Menue Unbekannt @@ -1442,34 +1452,40 @@ des Tonträgers vorhanden Gm - - + + Reading ID3-Tags from Files... Lese ID3-Tags der Dateien... - + Abort Abbrechen - + + Delete ID3-Tags from file + trackList Context Menue + ID3-Tags löschen + + + Select cover image Cover-Bild auswählen - + Images (*.png *.bmp *.jpg) Bilddateien (*.png *.bmp *.jpg) - + Error: could not load Cover Fehler: Konnte Cover nicht laden - + The specified file could not be loaded. Please check if the file exists, is readable and contains an image format, which is supported by WinMusik (.png, .jpg or .bmp) The soecified file could not be loaded. @@ -1588,7 +1604,7 @@ Bitte prüfen Sie auch die Dateiendung. WinMusik unterstützt nur .png, .jpg und - + Could not save ID3 Tags ID3-Tags konnten nicht geschrieben werden @@ -1753,10 +1769,10 @@ Wollen Sie diesen Track wirklich speichern? - - - - + + + + Could not save Title in TitleStore Konnte Titel nicht in TitleStore speichern Konnte Titel nicht in TitleStore speichern @@ -3467,6 +3483,11 @@ Gelöschte Titel können nicht wiederhergestellt werden! Properties Einstellungen + + + Type in keywords + Suchbegriffe eingeben + Print Cover @@ -3804,17 +3825,17 @@ Wollen Sie die Änderungen speichern? - - - - - + + + + + Could not save Title in TitleStore Konnte Titel nicht in TitleStore speichern - + Could not save ID3 Tags ID3-Tags konnten nicht geschrieben werden @@ -3931,111 +3952,111 @@ Wollen Sie die Änderungen speichern? Titel abspielen - - + + unknown trackList Context Menue Unbekannt - + 1 trackList Context Menue 1 - + 2 trackList Context Menue 2 - + 3 trackList Context Menue 3 - + 4 trackList Context Menue 4 - + 5 trackList Context Menue 5 - + 6 trackList Context Menue 6 - + 7 trackList Context Menue 7 - + 8 trackList Context Menue 8 - + 9 trackList Context Menue 9 - + 10 trackList Context Menue 10 - + shuffle playlist Playlist durcheinander würfeln - + Do you really want to shuffle the tracks of your playlist? Wollen Sie die Playlist wirklich durcheinander würfeln? - - + + Could not copy file Konnte Datei nicht kopieren - - - - - + + + + + could not save playlist Konnte Playlist nicht speichern - + Playlist created by WinMusik Playlist erstellt mit WinMusik - + min Minutes in Tracklisting of Playlist min - - + + Playlist Playliste @@ -5295,7 +5316,7 @@ ACHTUNG: Eine Änderung des Verzeichnisses kann zum Verlust von Daten führen!Es ist ein Fehler aufgetreten - + Could not load ID3-Tags from File Konnte ID3-Tags nicht aus der Datei laden @@ -5743,164 +5764,164 @@ p, li { white-space: pre-wrap; } Search - + Pos trackList Pos - + Artist trackList Interpret - + Title trackList Titel - + Version trackList Version - + Genre trackList Genre - + Length trackList Länge - + BPM trackList BPM - + Key trackList Tonart - + Energy trackList Energie - + Year trackList Jahr - + Medium trackList Tonträger - + Rating trackList Bewertung - + KBit trackList KBit - + Music Key is verified trackList Context Menue Tonart wurde überprüft - + Music Key is not verified trackList Context Menue Tonart wurde nicht geprüft - + Set Music-Key trackList Context Menue Tonart festlegen - + select all trackList Context Menue alle auswählen - + select none trackList Context Menue Auswahl aufheben - + Find other versions trackList Context Menue Andere Versionen finden - + Find more of artist trackList Context Menue Mehr von diesem Interpreten - + All tracks on this medium trackList Context Menue Alle Titel auf diesem Tonträger - + Play Track trackList Context Menue Titel abspielen - + Edit Track trackList Context Menue Titel editieren - + Copy Artist and Title trackList Context Menue Interpret und Titel in Zwischenablage kopieren - + Copy Cover trackList Context Menue Cover kopieren - + Copy MP3-File trackList Context Menue Dateinamen in Zwischenablage kopieren - + unknown trackList Context Menue Unbekannt @@ -6026,29 +6047,29 @@ p, li { white-space: pre-wrap; } Gm - - - + + + Could not save Title in TitleStore Konnte Titel nicht in TitleStore speichern - + Pos Pos - + Filename Dateiname - + Size Größe - + Find other artists of this title trackList Context Menue Andere Interpreten mit diesem Titel @@ -6199,7 +6220,7 @@ Sind Sie sicher, dass Sie diese alle löschen wollen? Label - Label + Label @@ -7475,40 +7496,45 @@ Bitte prüfen Sie auch die Dateiendung. WinMusik unterstützt nur .png, .jpg und Suchen - - - - + + Type in keywords + Suchbegriffe eingeben + + + + + + Search Suchen - + Artist: Interpret: - + Title: Titel: - + Version: Version: - + Genre: Genre: - + Tags: Tags: - + Label: Label: @@ -7519,27 +7545,27 @@ Bitte prüfen Sie auch die Dateiendung. WinMusik unterstützt nur .png, .jpg und - + Query: Abfrage: - + Search in: Suche in: - + Artist Interpret - + Title Titel - + Version Version @@ -7548,22 +7574,22 @@ Bitte prüfen Sie auch die Dateiendung. WinMusik unterstützt nur .png, .jpg und Genre - + Album Album - + Remarks Bemerkungen - + Tags Tags - + Label Label @@ -7572,195 +7598,195 @@ Bitte prüfen Sie auch die Dateiendung. WinMusik unterstützt nur .png, .jpg und Tonarten: - - + + watch Clipboard Zwischenablage beobachten - + Use Filter Filter verwenden - + Genres: Genres: - + BPM-Range: BPM-Bereich: - - - - - - + + + + + + - - - + tracks with files only nur Titel mit Dateien - + Rating: Bewertung: - + Year: Jahr: - - + + yyyy yyyy - + this dieses - + last letztes - + Recording date: Aufnahmedatum: - - + + dd.MM.yyyy dd.MM.yyyy - + 0 0 - + -1 -1 - + -2 -2 - + Length: Länge: - + 0:00 0:00 - + 99:99 99:99 - + Min. Min. - + tracks with cover only nur Titel mit Cover - + Music key: Tonart: - + Energy: Energie: - + Harddisk search Festplattensuche - + Devices Tonträger - + Result Ergebnis - + Limit: Limit: - + random Zufällige Tracks - + select all alle auswählen - + unselect all Auswahl aufheben - + Musical key: Tonart: - + musical sharps musical sharps - + musical flats musical flats - + open key open key - + custom format eigenes Format - + Tracks found: Gefundene Titel: - + Total length: Gesamtlänge: diff --git a/gui/winmusik_en.qm b/gui/winmusik_en.qm index 45a40202..1067a920 100644 Binary files a/gui/winmusik_en.qm and b/gui/winmusik_en.qm differ diff --git a/gui/winmusik_en.ts b/gui/winmusik_en.ts index 57e31a9f..9b3c6e49 100644 --- a/gui/winmusik_en.ts +++ b/gui/winmusik_en.ts @@ -1356,6 +1356,16 @@ des Tonträgers vorhanden trackList Context Menue Read BPM and Key from ID3-Tag + + + WinMusik: delete ID3-Tags + WinMusik: delete ID3-Tags + + + + Do you want to delete all ID3-Tags from the selected files? + Do you want to delete all ID3-Tags from the selected files? + Set Music-Key @@ -1375,7 +1385,7 @@ des Tonträgers vorhanden Music Key is not verified - + unknown trackList Context Menue unknown @@ -1501,34 +1511,40 @@ des Tonträgers vorhanden Gm - - + + Reading ID3-Tags from Files... Reading ID3-Tags from Files... - + Abort Abort - + + Delete ID3-Tags from file + trackList Context Menue + Delete ID3-Tags + + + Select cover image Select cover image - + Images (*.png *.bmp *.jpg) Images (*.png *.bmp *.jpg) - + Error: could not load Cover Error: could not load Cover - + The specified file could not be loaded. Please check if the file exists, is readable and contains an image format, which is supported by WinMusik (.png, .jpg or .bmp) The soecified file could not be loaded. @@ -1587,7 +1603,7 @@ Please also check the file extension. WinMusik only supports .png, .jpg and .bmp - + Could not save ID3 Tags Could not save ID3 Tags @@ -1752,10 +1768,10 @@ Do you realy want to save this track? - - - - + + + + Could not save Title in TitleStore Konnte Titel nicht in TitleStore speichern Could not save Title in TitleStore @@ -3466,6 +3482,11 @@ You won't be able to restore them! Properties Properties + + + Type in keywords + Type in keywords + Print Cover @@ -3803,17 +3824,17 @@ Do you want to save your changes? - - - - - + + + + + Could not save Title in TitleStore Could not save Title in TitleStore - + Could not save ID3 Tags Could not save ID3 Tags @@ -3930,111 +3951,111 @@ Do you want to save your changes? Play Track - - + + unknown trackList Context Menue unknown - + 1 trackList Context Menue 1 - + 2 trackList Context Menue 2 - + 3 trackList Context Menue 3 - + 4 trackList Context Menue 4 - + 5 trackList Context Menue 5 - + 6 trackList Context Menue 6 - + 7 trackList Context Menue 7 - + 8 trackList Context Menue 8 - + 9 trackList Context Menue 9 - + 10 trackList Context Menue 10 - + shuffle playlist shuffle playlist - + Do you really want to shuffle the tracks of your playlist? Do you really want to shuffle the tracks of your playlist? - - + + Could not copy file Could not copy file - - - - - + + + + + could not save playlist could not save playlist - + Playlist created by WinMusik Playlist created by WinMusik - + min Minutes in Tracklisting of Playlist min - - + + Playlist Playlist @@ -5293,7 +5314,7 @@ Attention: Changing this directory can result in loss of data! an error occured - + Could not load ID3-Tags from File Could not load ID3-Tags from File @@ -5757,163 +5778,163 @@ p, li { white-space: pre-wrap; } Search - + Pos trackList Pos - + Artist trackList Artist - + Title trackList Title - + Version trackList Version - + Genre trackList Genre - + Length trackList Length - + BPM trackList BPM - + Key trackList Musickey - + Energy trackList Energy - + Year trackList Year - + Medium trackList Medium - + Rating trackList Rating - + KBit trackList KBit - + Music Key is verified trackList Context Menue Music Key is verified - + Music Key is not verified trackList Context Menue Music Key is not verified - + Set Music-Key trackList Context Menue Set Music-Key - + select all trackList Context Menue select all - + select none trackList Context Menue select none - + Find other versions trackList Context Menue Find other versions - + Find more of artist trackList Context Menue Find more of artist - + All tracks on this medium trackList Context Menue All tracks on this medium - + Play Track trackList Context Menue Play Track - + Edit Track trackList Context Menue Edit Track - + Copy Artist and Title trackList Context Menue Copy artist and title to clipboard - + Copy Cover trackList Context Menue Copy Cover - + Copy MP3-File trackList Context Menue Copy filename to clipboard - + unknown trackList Context Menue unknown @@ -6039,29 +6060,29 @@ p, li { white-space: pre-wrap; } Gm - - - + + + Could not save Title in TitleStore Could not save Title in TitleStore - + Pos Pos - + Filename Filename - + Size Size - + Find other artists of this title trackList Context Menue Find other artists of this title @@ -6212,7 +6233,7 @@ Are you sure, you want to delete them? Label - + Label @@ -7487,40 +7508,45 @@ Please also check the file extension. WinMusik only supports .png, .jpg and .bmp Search - - - - + + Type in keywords + Type in keywords + + + + + + Search Search - + Artist: Artist: - + Title: Title: - + Version: Version: - + Genre: Genre: - + Tags: Tags: - + Label: Label: @@ -7531,27 +7557,27 @@ Please also check the file extension. WinMusik only supports .png, .jpg and .bmp - + Query: Query: - + Search in: Search in: - + Artist Artist - + Title Title - + Version Version @@ -7560,22 +7586,22 @@ Please also check the file extension. WinMusik only supports .png, .jpg and .bmp Genre - + Album Album - + Remarks Remarks - + Tags Tags - + Label Label @@ -7584,195 +7610,195 @@ Please also check the file extension. WinMusik only supports .png, .jpg and .bmp MusicKeys: - - + + watch Clipboard watch clipboard - + Use Filter Use Filter - + Genres: Genres: - + BPM-Range: BPM-Range: - - - - - - + + + + + + - - - + tracks with files only tracks with files only - + Rating: Rating: - + Year: Year: - - + + yyyy yyyy - + this this - + last last - + Recording date: Recording date: - - + + dd.MM.yyyy dd.MM.yyyy - + 0 0 - + -1 -1 - + -2 -2 - + Length: Length: - + 0:00 0:00 - + 99:99 99:99 - + Min. Min. - + tracks with cover only tracks with cover only - + Music key: Music key: - + Energy: Energy: - + Harddisk search Harddisk search - + Devices Devices - + Result Result - + Limit: Limit: - + random random tracks - + select all select all - + unselect all unselect all - + Musical key: Musical key: - + musical sharps musical sharps - + musical flats musical flats - + open key open key - + custom format custom format - + Tracks found: Tracks found: - + Total length: Total length: