Split ProcessThread::start() method into ProcessThread::init() and ProcessThread::start().

This commit is contained in:
LoRd_MuldeR 2013-10-11 20:43:31 +02:00
parent a8114d6677
commit 8fd45dc4dd
8 changed files with 258 additions and 233 deletions

View File

@ -2876,143 +2876,143 @@
<context>
<name>ProcessThread</name>
<message>
<location filename="../../src/Thread_Process.cpp" line="126"/>
<location filename="../../src/Thread_Process.cpp" line="110"/>
<source>Starting...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="139"/>
<location filename="../../src/Thread_Process.cpp" line="143"/>
<source>Skipped.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="144"/>
<location filename="../../src/Thread_Process.cpp" line="149"/>
<source>Not found!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="177"/>
<location filename="../../src/Thread_Process.cpp" line="217"/>
<source>WARNING: Decoded file size exceeds 4 GB, problems might occur!
</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>The format of this file is NOT supported:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>Container Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>Audio Format:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="187"/>
<location filename="../../src/Thread_Process.cpp" line="227"/>
<source>Unsupported!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Aborted!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Done.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Failed!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="292"/>
<location filename="../../src/Thread_Process.cpp" line="332"/>
<source>Encoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="295"/>
<location filename="../../src/Thread_Process.cpp" line="335"/>
<source>Analyzing</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="298"/>
<location filename="../../src/Thread_Process.cpp" line="338"/>
<source>Filtering</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="301"/>
<location filename="../../src/Thread_Process.cpp" line="341"/>
<source>Decoding</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="325"/>
<location filename="../../src/Thread_Process.cpp" line="363"/>
<source>The source audio file could not be found:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="333"/>
<location filename="../../src/Thread_Process.cpp" line="371"/>
<source>The source audio file could not be opened for reading:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="361"/>
<location filename="../../src/Thread_Process.cpp" line="399"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="370"/>
<location filename="../../src/Thread_Process.cpp" line="408"/>
<source>The target output directory is NOT writable:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="419"/>
<source>Unknown File Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="383"/>
<location filename="../../src/Thread_Process.cpp" line="421"/>
<source>Unknown Title</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<location filename="../../src/Thread_Process.cpp" line="422"/>
<source>Unknown Artist</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="385"/>
<location filename="../../src/Thread_Process.cpp" line="423"/>
<source>Unknown Album</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="387"/>
<location filename="../../src/Thread_Process.cpp" line="425"/>
<source>Unknown Comment</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="396"/>
<location filename="../../src/Thread_Process.cpp" line="434"/>
<source>Target output file already exists, going to skip this file:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="397"/>
<location filename="../../src/Thread_Process.cpp" line="435"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="404"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<location filename="../../src/Thread_Process.cpp" line="452"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation type="unfinished"></translation>
</message>
@ -3063,209 +3063,209 @@
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="195"/>
<location filename="../../src/Dialog_Processing.cpp" line="196"/>
<source>Show details for selected job</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="196"/>
<location filename="../../src/Dialog_Processing.cpp" line="197"/>
<source>Browse Output File Location</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="202"/>
<location filename="../../src/Dialog_Processing.cpp" line="203"/>
<source>Filter Log Items</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="204"/>
<location filename="../../src/Dialog_Processing.cpp" line="205"/>
<source>Show Running Only</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="205"/>
<location filename="../../src/Dialog_Processing.cpp" line="206"/>
<source>Show Succeeded Only</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="206"/>
<location filename="../../src/Dialog_Processing.cpp" line="207"/>
<source>Show Failed Only</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="207"/>
<location filename="../../src/Dialog_Processing.cpp" line="208"/>
<source>Show Skipped Only</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="208"/>
<location filename="../../src/Dialog_Processing.cpp" line="209"/>
<source>Show All Items</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="260"/>
<location filename="../../src/Dialog_Processing.cpp" line="261"/>
<source>Encoding Files</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="260"/>
<location filename="../../src/Dialog_Processing.cpp" line="261"/>
<source>Your files are being encoded, please be patient...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="481"/>
<location filename="../../src/Dialog_Processing.cpp" line="492"/>
<source>Encoding files, please wait...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="524"/>
<location filename="../../src/Dialog_Processing.cpp" line="537"/>
<source>Multi-threading enabled: Running %1 instances in parallel!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="541"/>
<location filename="../../src/Dialog_Processing.cpp" line="559"/>
<source>Aborted! Waiting for running jobs to terminate...</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="556"/>
<location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="584"/>
<location filename="../../src/Dialog_Processing.cpp" line="592"/>
<source>Creating the playlist file, please wait...</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted by the user after %n file(s)!</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted prematurely by the user!</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="595"/>
<location filename="../../src/Dialog_Processing.cpp" line="603"/>
<source>LameXP - Aborted</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="595"/>
<location filename="../../src/Dialog_Processing.cpp" line="603"/>
<source>Process was aborted by the user.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="612"/>
<location filename="../../src/Dialog_Processing.cpp" line="620"/>
<source>Process finished after %1.</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>Error: %1 of %n file(s) failed (%2). Double-click failed items for detailed information!</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>%n file(s) skipped</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="627"/>
<location filename="../../src/Dialog_Processing.cpp" line="635"/>
<source>Error: %1 of %n file(s) failed. Double-click failed items for detailed information!</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="629"/>
<location filename="../../src/Dialog_Processing.cpp" line="637"/>
<source>LameXP - Error</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="629"/>
<location filename="../../src/Dialog_Processing.cpp" line="637"/>
<source>At least one file has failed!</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="641"/>
<location filename="../../src/Dialog_Processing.cpp" line="649"/>
<source>All files completed successfully. Skipped %n file(s).</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="645"/>
<location filename="../../src/Dialog_Processing.cpp" line="647"/>
<location filename="../../src/Dialog_Processing.cpp" line="653"/>
<location filename="../../src/Dialog_Processing.cpp" line="655"/>
<source>All files completed successfully.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="647"/>
<location filename="../../src/Dialog_Processing.cpp" line="655"/>
<source>LameXP - Done</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="841"/>
<location filename="../../src/Dialog_Processing.cpp" line="849"/>
<source>None of the items matches the current filtering rules</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1173"/>
<location filename="../../src/Dialog_Processing.cpp" line="1030"/>
<source>Playlist creation failed</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1173"/>
<location filename="../../src/Dialog_Processing.cpp" line="1030"/>
<source>The playlist file could not be created:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1237"/>
<location filename="../../src/Dialog_Processing.cpp" line="1094"/>
<source>Warning: Computer will shutdown in %1 seconds...</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1241"/>
<location filename="../../src/Dialog_Processing.cpp" line="1242"/>
<location filename="../../src/Dialog_Processing.cpp" line="1098"/>
<location filename="../../src/Dialog_Processing.cpp" line="1099"/>
<source>Cancel Shutdown</source>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1298"/>
<location filename="../../src/Dialog_Processing.cpp" line="1155"/>
<source>%n hour(s)</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1299"/>
<location filename="../../src/Dialog_Processing.cpp" line="1303"/>
<location filename="../../src/Dialog_Processing.cpp" line="1156"/>
<location filename="../../src/Dialog_Processing.cpp" line="1160"/>
<source>%n minute(s)</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1304"/>
<location filename="../../src/Dialog_Processing.cpp" line="1308"/>
<location filename="../../src/Dialog_Processing.cpp" line="1161"/>
<location filename="../../src/Dialog_Processing.cpp" line="1165"/>
<source>%n second(s)</source>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1309"/>
<location filename="../../src/Dialog_Processing.cpp" line="1166"/>
<source>%n millisecond(s)</source>
<translation type="unfinished">
<numerusform></numerusform>

View File

@ -74,7 +74,7 @@
<context>
<name>ProcessingDialog</name>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="556"/>
<location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation>
<numerusform>Encoding: %n file of %1 completed so far, please wait...</numerusform>
@ -82,7 +82,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted by the user after %n file(s)!</source>
<translation>
<numerusform>Process was aborted by the user after %n file!</numerusform>
@ -90,7 +90,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>Error: %1 of %n file(s) failed (%2). Double-click failed items for detailed information!</source>
<translation>
<numerusform>Error: %1 of %n file failed (%2). Double-click failed items for detailed information!</numerusform>
@ -98,7 +98,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>%n file(s) skipped</source>
<translation>
<numerusform>%n file skipped</numerusform>
@ -106,7 +106,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="627"/>
<location filename="../../src/Dialog_Processing.cpp" line="635"/>
<source>Error: %1 of %n file(s) failed. Double-click failed items for detailed information!</source>
<translation>
<numerusform>Error: %1 of %n file failed. Double-click failed items for detailed information!</numerusform>
@ -114,7 +114,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="641"/>
<location filename="../../src/Dialog_Processing.cpp" line="649"/>
<source>All files completed successfully. Skipped %n file(s).</source>
<translation>
<numerusform>All files completed successfully. Skipped %n file.</numerusform>
@ -122,7 +122,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1298"/>
<location filename="../../src/Dialog_Processing.cpp" line="1155"/>
<source>%n hour(s)</source>
<translation>
<numerusform>%n hour</numerusform>
@ -130,8 +130,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1299"/>
<location filename="../../src/Dialog_Processing.cpp" line="1303"/>
<location filename="../../src/Dialog_Processing.cpp" line="1156"/>
<location filename="../../src/Dialog_Processing.cpp" line="1160"/>
<source>%n minute(s)</source>
<translation>
<numerusform>%n minute</numerusform>
@ -139,8 +139,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1304"/>
<location filename="../../src/Dialog_Processing.cpp" line="1308"/>
<location filename="../../src/Dialog_Processing.cpp" line="1161"/>
<location filename="../../src/Dialog_Processing.cpp" line="1165"/>
<source>%n second(s)</source>
<translation>
<numerusform>%n second</numerusform>
@ -148,7 +148,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1309"/>
<location filename="../../src/Dialog_Processing.cpp" line="1166"/>
<source>%n millisecond(s)</source>
<translation>
<numerusform>%n millisecond</numerusform>

View File

@ -2893,143 +2893,143 @@
<context>
<name>ProcessThread</name>
<message>
<location filename="../../src/Thread_Process.cpp" line="126"/>
<location filename="../../src/Thread_Process.cpp" line="110"/>
<source>Starting...</source>
<translation type="unfinished">Rozpoczynanie...</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="139"/>
<location filename="../../src/Thread_Process.cpp" line="143"/>
<source>Skipped.</source>
<translation type="unfinished">Pominięto.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="144"/>
<location filename="../../src/Thread_Process.cpp" line="149"/>
<source>Not found!</source>
<translation type="unfinished">Nie znaleziono!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="177"/>
<location filename="../../src/Thread_Process.cpp" line="217"/>
<source>WARNING: Decoded file size exceeds 4 GB, problems might occur!
</source>
<translation type="unfinished">UWAGA: Plik po zdekodowaniu przekracza 4 GB, mogą wystąpić problemy!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>The format of this file is NOT supported:</source>
<translation type="unfinished">Format tego pliku NIE jest obsługiwany:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>Container Format:</source>
<translation type="unfinished">Format kontenera:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>Audio Format:</source>
<translation type="unfinished">Format dźwięku:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="187"/>
<location filename="../../src/Thread_Process.cpp" line="227"/>
<source>Unsupported!</source>
<translation type="unfinished">Nieobsługiwany!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Done.</source>
<translation type="unfinished">Zrobione.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Aborted!</source>
<translation type="unfinished">Przerwano!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Failed!</source>
<translation type="unfinished">Niepowodzenie!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="292"/>
<location filename="../../src/Thread_Process.cpp" line="332"/>
<source>Encoding</source>
<translation type="unfinished">Kompresowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="295"/>
<location filename="../../src/Thread_Process.cpp" line="335"/>
<source>Analyzing</source>
<translation type="unfinished">Analizowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="298"/>
<location filename="../../src/Thread_Process.cpp" line="338"/>
<source>Filtering</source>
<translation type="unfinished">Filtrowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="301"/>
<location filename="../../src/Thread_Process.cpp" line="341"/>
<source>Decoding</source>
<translation type="unfinished">Dekodowanie</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="325"/>
<location filename="../../src/Thread_Process.cpp" line="363"/>
<source>The source audio file could not be found:</source>
<translation type="unfinished">Źródłowy plik dźwiękowy nie został odnaleziony:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="333"/>
<location filename="../../src/Thread_Process.cpp" line="371"/>
<source>The source audio file could not be opened for reading:</source>
<translation type="unfinished">Źródłowy plik dźwiękowy nie mógł zostać otworzony:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="361"/>
<location filename="../../src/Thread_Process.cpp" line="399"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation type="unfinished">Lokalizacja docelowa nie istnieje lu NIE mogła zostać utworzona:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="370"/>
<location filename="../../src/Thread_Process.cpp" line="408"/>
<source>The target output directory is NOT writable:</source>
<translation type="unfinished">Nie można zapisać do lokalizacji docelowej:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="419"/>
<source>Unknown File Name</source>
<translation type="unfinished">Nieznana nazwa pliku</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="383"/>
<location filename="../../src/Thread_Process.cpp" line="421"/>
<source>Unknown Title</source>
<translation type="unfinished">Nieznany Tytuł</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<location filename="../../src/Thread_Process.cpp" line="422"/>
<source>Unknown Artist</source>
<translation type="unfinished">Nieznany Artysta</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="385"/>
<location filename="../../src/Thread_Process.cpp" line="423"/>
<source>Unknown Album</source>
<translation type="unfinished">Nieznany Album</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="387"/>
<location filename="../../src/Thread_Process.cpp" line="425"/>
<source>Unknown Comment</source>
<translation type="unfinished">Nieznany Komentarz</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="396"/>
<location filename="../../src/Thread_Process.cpp" line="434"/>
<source>Target output file already exists, going to skip this file:</source>
<translation type="unfinished">Plik wynikowy już istnieje, zostanie pominięty plik:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="397"/>
<location filename="../../src/Thread_Process.cpp" line="435"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation type="unfinished">Jeśli nie chcesz aby istniejące pliki były pomijane, zmień tryb nadpisywania!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="404"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation type="unfinished">Plik wynikowy już istnieje, zostanie usunięty plik:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<location filename="../../src/Thread_Process.cpp" line="452"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation type="unfinished">Usuwanie istniejącego pliku zakończone niepowodzeniem, nowy plik zostanie zapisany pod inną nazwą!</translation>
</message>
@ -3080,72 +3080,72 @@
<translation type="unfinished">Powrót</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="195"/>
<location filename="../../src/Dialog_Processing.cpp" line="196"/>
<source>Show details for selected job</source>
<translation type="unfinished">Pokaż szczegóły wybranego zadania</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="196"/>
<location filename="../../src/Dialog_Processing.cpp" line="197"/>
<source>Browse Output File Location</source>
<translation type="unfinished">Wybierz lokalizację dla plików wyjściowych</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="202"/>
<location filename="../../src/Dialog_Processing.cpp" line="203"/>
<source>Filter Log Items</source>
<translation type="unfinished">Filtruj długie pozycje</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="204"/>
<location filename="../../src/Dialog_Processing.cpp" line="205"/>
<source>Show Running Only</source>
<translation type="unfinished">Pokaż tylko trwające</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="205"/>
<location filename="../../src/Dialog_Processing.cpp" line="206"/>
<source>Show Succeeded Only</source>
<translation type="unfinished">Pokaż tylko zakończone pomyślnie</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="206"/>
<location filename="../../src/Dialog_Processing.cpp" line="207"/>
<source>Show Failed Only</source>
<translation type="unfinished">Pokaż tylko zakończone niepowodzeniem</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="207"/>
<location filename="../../src/Dialog_Processing.cpp" line="208"/>
<source>Show Skipped Only</source>
<translation type="unfinished">Pokaż tylko pominięte</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="208"/>
<location filename="../../src/Dialog_Processing.cpp" line="209"/>
<source>Show All Items</source>
<translation type="unfinished">Pokaż wszystkie pozycje</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="260"/>
<location filename="../../src/Dialog_Processing.cpp" line="261"/>
<source>Encoding Files</source>
<translation type="unfinished">Kompresowanie plików</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="260"/>
<location filename="../../src/Dialog_Processing.cpp" line="261"/>
<source>Your files are being encoded, please be patient...</source>
<translation type="unfinished">Twoje pliki właśnie kompresowane, prosze być cierpliwy...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="481"/>
<location filename="../../src/Dialog_Processing.cpp" line="492"/>
<source>Encoding files, please wait...</source>
<translation type="unfinished">Kompresowanie plików, prosze czekać...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="524"/>
<location filename="../../src/Dialog_Processing.cpp" line="537"/>
<source>Multi-threading enabled: Running %1 instances in parallel!</source>
<translation type="unfinished">Wielowątkowosć włączona: Równolegle wykonywanych jest %1 kodowań!</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="541"/>
<location filename="../../src/Dialog_Processing.cpp" line="559"/>
<source>Aborted! Waiting for running jobs to terminate...</source>
<translation type="unfinished">Przerwano! Czekanie na wyłączenie procesu...</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="556"/>
<location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation type="unfinished">
<numerusform>Kompresowanie: %n plik z %1 został do tej pory zakończony, prosze czekać...</numerusform>
@ -3154,17 +3154,17 @@
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="584"/>
<location filename="../../src/Dialog_Processing.cpp" line="592"/>
<source>Creating the playlist file, please wait...</source>
<translation type="unfinished">Tworzenie pliku playlisty, prosze czekać...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted prematurely by the user!</source>
<translation type="unfinished">Proces został przedwcześnie zakończony przez użytkownika!</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted by the user after %n file(s)!</source>
<translation type="unfinished">
<numerusform>Proces został zakończony przez użytkownika po zakończeniu %n pliku!</numerusform>
@ -3173,22 +3173,22 @@
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="595"/>
<location filename="../../src/Dialog_Processing.cpp" line="603"/>
<source>LameXP - Aborted</source>
<translation type="unfinished">LameXP - Przerwano</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="595"/>
<location filename="../../src/Dialog_Processing.cpp" line="603"/>
<source>Process was aborted by the user.</source>
<translation type="unfinished">Proces został przerwany przez użytkownika.</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="612"/>
<location filename="../../src/Dialog_Processing.cpp" line="620"/>
<source>Process finished after %1.</source>
<translation type="unfinished">Proces został zakończony po %1.</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>Error: %1 of %n file(s) failed (%2). Double-click failed items for detailed information!</source>
<translation type="unfinished">
<numerusform>Błąd: %1 z %n pliku zakończono niepowodzeniem (%2). Kliknij dwukrotnie aby uzyskać więcej informacji!</numerusform>
@ -3197,7 +3197,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>%n file(s) skipped</source>
<translation type="unfinished">
<numerusform>pominięto %n plik</numerusform>
@ -3206,7 +3206,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="627"/>
<location filename="../../src/Dialog_Processing.cpp" line="635"/>
<source>Error: %1 of %n file(s) failed. Double-click failed items for detailed information!</source>
<translation type="unfinished">
<numerusform>Błąd: %1 z %n pliku zakończono niepowodzeniem. Kliknij dwukrotnie aby uzyskać więcej informacji!</numerusform>
@ -3215,7 +3215,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="641"/>
<location filename="../../src/Dialog_Processing.cpp" line="649"/>
<source>All files completed successfully. Skipped %n file(s).</source>
<translation type="unfinished">
<numerusform>Wszystkie zadania wykonano pomyślnie. Pominięto %n plik.</numerusform>
@ -3224,54 +3224,54 @@
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="629"/>
<location filename="../../src/Dialog_Processing.cpp" line="637"/>
<source>LameXP - Error</source>
<translation type="unfinished">LameXP - Błąd</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="629"/>
<location filename="../../src/Dialog_Processing.cpp" line="637"/>
<source>At least one file has failed!</source>
<translation type="unfinished">Przynajmniej jeden plik nie został skompresowany!</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="645"/>
<location filename="../../src/Dialog_Processing.cpp" line="647"/>
<location filename="../../src/Dialog_Processing.cpp" line="653"/>
<location filename="../../src/Dialog_Processing.cpp" line="655"/>
<source>All files completed successfully.</source>
<translation type="unfinished">Kompresja wszystkich plików zakończona powodzeniem.</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="647"/>
<location filename="../../src/Dialog_Processing.cpp" line="655"/>
<source>LameXP - Done</source>
<translation type="unfinished">LameXP - Zrobione</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="841"/>
<location filename="../../src/Dialog_Processing.cpp" line="849"/>
<source>None of the items matches the current filtering rules</source>
<translation type="unfinished">Żadna z pozycji nie spełnia reguł filtra</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1173"/>
<location filename="../../src/Dialog_Processing.cpp" line="1030"/>
<source>Playlist creation failed</source>
<translation type="unfinished">Tworzenie playlisty zakończone niepowodzeniem</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1173"/>
<location filename="../../src/Dialog_Processing.cpp" line="1030"/>
<source>The playlist file could not be created:</source>
<translation type="unfinished">Playlista nie mogła zostać utworzona:</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1237"/>
<location filename="../../src/Dialog_Processing.cpp" line="1094"/>
<source>Warning: Computer will shutdown in %1 seconds...</source>
<translation type="unfinished">Ostrzeżenie: Komputer zostanie zamknięty za %1 sekund/y...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1241"/>
<location filename="../../src/Dialog_Processing.cpp" line="1242"/>
<location filename="../../src/Dialog_Processing.cpp" line="1098"/>
<location filename="../../src/Dialog_Processing.cpp" line="1099"/>
<source>Cancel Shutdown</source>
<translation type="unfinished">Anuluj wyłączenie komputera</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1298"/>
<location filename="../../src/Dialog_Processing.cpp" line="1155"/>
<source>%n hour(s)</source>
<translation type="unfinished">
<numerusform>%n godzina</numerusform>
@ -3280,8 +3280,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1299"/>
<location filename="../../src/Dialog_Processing.cpp" line="1303"/>
<location filename="../../src/Dialog_Processing.cpp" line="1156"/>
<location filename="../../src/Dialog_Processing.cpp" line="1160"/>
<source>%n minute(s)</source>
<translation type="unfinished">
<numerusform>%n minuta</numerusform>
@ -3290,8 +3290,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1304"/>
<location filename="../../src/Dialog_Processing.cpp" line="1308"/>
<location filename="../../src/Dialog_Processing.cpp" line="1161"/>
<location filename="../../src/Dialog_Processing.cpp" line="1165"/>
<source>%n second(s)</source>
<translation type="unfinished">
<numerusform>%n sekunda</numerusform>
@ -3300,7 +3300,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1309"/>
<location filename="../../src/Dialog_Processing.cpp" line="1166"/>
<source>%n millisecond(s)</source>
<translation type="unfinished">
<numerusform>%n milisekunda</numerusform>

View File

@ -2885,144 +2885,144 @@
<context>
<name>ProcessThread</name>
<message>
<location filename="../../src/Thread_Process.cpp" line="126"/>
<location filename="../../src/Thread_Process.cpp" line="110"/>
<source>Starting...</source>
<translation>Startar...</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="139"/>
<location filename="../../src/Thread_Process.cpp" line="143"/>
<source>Skipped.</source>
<translation>Överhoppad.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="144"/>
<location filename="../../src/Thread_Process.cpp" line="149"/>
<source>Not found!</source>
<translation>Hittas ej!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="177"/>
<location filename="../../src/Thread_Process.cpp" line="217"/>
<source>WARNING: Decoded file size exceeds 4 GB, problems might occur!
</source>
<translation>VARNING! Omkodad filstorlek överstiger 4 GB. Problem kan uppstå!
</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>The format of this file is NOT supported:</source>
<translation>Det här filformatet saknar stöd i LameXP:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>Container Format:</source>
<translation>Behållarformat:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="186"/>
<location filename="../../src/Thread_Process.cpp" line="226"/>
<source>Audio Format:</source>
<translation>Ljudformat:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="187"/>
<location filename="../../src/Thread_Process.cpp" line="227"/>
<source>Unsupported!</source>
<translation>Stöd saknas!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Aborted!</source>
<translation>Avbruten!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Done.</source>
<translation>Klar.</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="275"/>
<location filename="../../src/Thread_Process.cpp" line="315"/>
<source>Failed!</source>
<translation>Misslyckades!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="292"/>
<location filename="../../src/Thread_Process.cpp" line="332"/>
<source>Encoding</source>
<translation>Kodar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="295"/>
<location filename="../../src/Thread_Process.cpp" line="335"/>
<source>Analyzing</source>
<translation>Analyserar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="298"/>
<location filename="../../src/Thread_Process.cpp" line="338"/>
<source>Filtering</source>
<translation>Filtrerar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="301"/>
<location filename="../../src/Thread_Process.cpp" line="341"/>
<source>Decoding</source>
<translation>Avkodar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="325"/>
<location filename="../../src/Thread_Process.cpp" line="363"/>
<source>The source audio file could not be found:</source>
<translation>Källfilen kan inte hittas:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="333"/>
<location filename="../../src/Thread_Process.cpp" line="371"/>
<source>The source audio file could not be opened for reading:</source>
<translation>Källfilen kan inte öppnas för läsning:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="361"/>
<location filename="../../src/Thread_Process.cpp" line="399"/>
<source>The target output directory doesn&apos;t exist and could NOT be created:</source>
<translation>Målmappen finns inte och kan inte skapas:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="370"/>
<location filename="../../src/Thread_Process.cpp" line="408"/>
<source>The target output directory is NOT writable:</source>
<translation>Målmappen är INTE skrivbar:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="381"/>
<location filename="../../src/Thread_Process.cpp" line="419"/>
<source>Unknown File Name</source>
<translation>Okänt filnamn</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="383"/>
<location filename="../../src/Thread_Process.cpp" line="421"/>
<source>Unknown Title</source>
<translation>Okänd titel</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="384"/>
<location filename="../../src/Thread_Process.cpp" line="422"/>
<source>Unknown Artist</source>
<translation>Okänd artist</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="385"/>
<location filename="../../src/Thread_Process.cpp" line="423"/>
<source>Unknown Album</source>
<translation>Okänt album</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="387"/>
<location filename="../../src/Thread_Process.cpp" line="425"/>
<source>Unknown Comment</source>
<translation>Okänd kommentar</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="396"/>
<location filename="../../src/Thread_Process.cpp" line="434"/>
<source>Target output file already exists, going to skip this file:</source>
<translation>Målfilen finns redan! Den här filen hoppas över:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="397"/>
<location filename="../../src/Thread_Process.cpp" line="435"/>
<source>If you don&apos;t want existing files to be skipped, please change the overwrite mode!</source>
<translation>Om du inte vill att befintliga filer hoppas över, måste du ändra överskrivningsläge!</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="404"/>
<location filename="../../src/Thread_Process.cpp" line="442"/>
<source>Target output file already exists, going to delete existing file:</source>
<translation>Målfilen finns redan! Befintlig fil kommer att tas bort:</translation>
</message>
<message>
<location filename="../../src/Thread_Process.cpp" line="414"/>
<location filename="../../src/Thread_Process.cpp" line="452"/>
<source>Failed to delete existing target file, will save to another file name!</source>
<translation>Kunde inte ta bort befintlig målfil. Sparar med annat filnamn!</translation>
</message>
@ -3073,72 +3073,72 @@
<translation>Stäng</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="195"/>
<location filename="../../src/Dialog_Processing.cpp" line="196"/>
<source>Show details for selected job</source>
<translation>Visa detaljerad info för markerad åtgärd</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="196"/>
<location filename="../../src/Dialog_Processing.cpp" line="197"/>
<source>Browse Output File Location</source>
<translation>Öppna utdatamnappen</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="202"/>
<location filename="../../src/Dialog_Processing.cpp" line="203"/>
<source>Filter Log Items</source>
<translation>Filtrera loggobjekt</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="204"/>
<location filename="../../src/Dialog_Processing.cpp" line="205"/>
<source>Show Running Only</source>
<translation>Visa endast aktiva</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="205"/>
<location filename="../../src/Dialog_Processing.cpp" line="206"/>
<source>Show Succeeded Only</source>
<translation>Visa endast klara</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="206"/>
<location filename="../../src/Dialog_Processing.cpp" line="207"/>
<source>Show Failed Only</source>
<translation>Visa endast misslyckade</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="207"/>
<location filename="../../src/Dialog_Processing.cpp" line="208"/>
<source>Show Skipped Only</source>
<translation>Visa endast överhoppade</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="208"/>
<location filename="../../src/Dialog_Processing.cpp" line="209"/>
<source>Show All Items</source>
<translation>Visa alla</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="260"/>
<location filename="../../src/Dialog_Processing.cpp" line="261"/>
<source>Encoding Files</source>
<translation>Kodar om filer</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="260"/>
<location filename="../../src/Dialog_Processing.cpp" line="261"/>
<source>Your files are being encoded, please be patient...</source>
<translation>Dina filer kodas om, vänta...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="481"/>
<location filename="../../src/Dialog_Processing.cpp" line="492"/>
<source>Encoding files, please wait...</source>
<translation>Kodar om filer, vänta...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="524"/>
<location filename="../../src/Dialog_Processing.cpp" line="537"/>
<source>Multi-threading enabled: Running %1 instances in parallel!</source>
<translation>Flertrådskörning aktiverad: Kör %1 parallella instanser!</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="541"/>
<location filename="../../src/Dialog_Processing.cpp" line="559"/>
<source>Aborted! Waiting for running jobs to terminate...</source>
<translation>Avbrutet! Väntar att aktiva processer skall avslutas...</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="556"/>
<location filename="../../src/Dialog_Processing.cpp" line="570"/>
<source>Encoding: %n file(s) of %1 completed so far, please wait...</source>
<translation>
<numerusform>Kodar! %n fil av%1 slutförd. vänta...</numerusform>
@ -3146,17 +3146,17 @@
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="584"/>
<location filename="../../src/Dialog_Processing.cpp" line="592"/>
<source>Creating the playlist file, please wait...</source>
<translation>Skapar spelningslista, vänta...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted prematurely by the user!</source>
<translation>Åtgärden avbröts i förtid av användaren!</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="594"/>
<location filename="../../src/Dialog_Processing.cpp" line="602"/>
<source>Process was aborted by the user after %n file(s)!</source>
<translation>
<numerusform>Åtgärden avbröts av användaren efter %n fil!</numerusform>
@ -3164,22 +3164,22 @@
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="595"/>
<location filename="../../src/Dialog_Processing.cpp" line="603"/>
<source>LameXP - Aborted</source>
<translation>LameXP - Avbrutet</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="595"/>
<location filename="../../src/Dialog_Processing.cpp" line="603"/>
<source>Process was aborted by the user.</source>
<translation>Åtgärden avbröts av användaren.</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="612"/>
<location filename="../../src/Dialog_Processing.cpp" line="620"/>
<source>Process finished after %1.</source>
<translation>Åtgärden slutförd efter %1.</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>Error: %1 of %n file(s) failed (%2). Double-click failed items for detailed information!</source>
<translation>
<numerusform>Fel! %1 av %n filer misslyckades (%2). Dubbelklicka misslyckat objekt för info!</numerusform>
@ -3187,7 +3187,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="623"/>
<location filename="../../src/Dialog_Processing.cpp" line="631"/>
<source>%n file(s) skipped</source>
<translation>
<numerusform>%n fil hoppades över</numerusform>
@ -3195,7 +3195,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="627"/>
<location filename="../../src/Dialog_Processing.cpp" line="635"/>
<source>Error: %1 of %n file(s) failed. Double-click failed items for detailed information!</source>
<translation>
<numerusform>Fel! %1 av %n filer misslyckades. Dubbelklicka misslyckat objekt för info!</numerusform>
@ -3203,7 +3203,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="641"/>
<location filename="../../src/Dialog_Processing.cpp" line="649"/>
<source>All files completed successfully. Skipped %n file(s).</source>
<translation>
<numerusform>Alla filer korrekt slutförda. %n fil hoppades över.</numerusform>
@ -3211,54 +3211,54 @@
</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="629"/>
<location filename="../../src/Dialog_Processing.cpp" line="637"/>
<source>LameXP - Error</source>
<translation>LameXP - Fel</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="629"/>
<location filename="../../src/Dialog_Processing.cpp" line="637"/>
<source>At least one file has failed!</source>
<translation>Minst en fil har misslyckats!</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="645"/>
<location filename="../../src/Dialog_Processing.cpp" line="647"/>
<location filename="../../src/Dialog_Processing.cpp" line="653"/>
<location filename="../../src/Dialog_Processing.cpp" line="655"/>
<source>All files completed successfully.</source>
<translation>Alla filer korrekt omkodade.</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="647"/>
<location filename="../../src/Dialog_Processing.cpp" line="655"/>
<source>LameXP - Done</source>
<translation>LameXP - Klar</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="841"/>
<location filename="../../src/Dialog_Processing.cpp" line="849"/>
<source>None of the items matches the current filtering rules</source>
<translation>Inga objekt matchar aktuell filtrering</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1173"/>
<location filename="../../src/Dialog_Processing.cpp" line="1030"/>
<source>Playlist creation failed</source>
<translation>Kunde inte skapa spelningslista</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1173"/>
<location filename="../../src/Dialog_Processing.cpp" line="1030"/>
<source>The playlist file could not be created:</source>
<translation>Spelningslistan kunde inte skapas:</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1237"/>
<location filename="../../src/Dialog_Processing.cpp" line="1094"/>
<source>Warning: Computer will shutdown in %1 seconds...</source>
<translation>Varning! Datorn kommer att stängas av om %1 sekunder...</translation>
</message>
<message>
<location filename="../../src/Dialog_Processing.cpp" line="1241"/>
<location filename="../../src/Dialog_Processing.cpp" line="1242"/>
<location filename="../../src/Dialog_Processing.cpp" line="1098"/>
<location filename="../../src/Dialog_Processing.cpp" line="1099"/>
<source>Cancel Shutdown</source>
<translation>Avbryt avstängning</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1298"/>
<location filename="../../src/Dialog_Processing.cpp" line="1155"/>
<source>%n hour(s)</source>
<translation>
<numerusform>%n timma</numerusform>
@ -3266,8 +3266,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1299"/>
<location filename="../../src/Dialog_Processing.cpp" line="1303"/>
<location filename="../../src/Dialog_Processing.cpp" line="1156"/>
<location filename="../../src/Dialog_Processing.cpp" line="1160"/>
<source>%n minute(s)</source>
<translation>
<numerusform>%n minut</numerusform>
@ -3275,8 +3275,8 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1304"/>
<location filename="../../src/Dialog_Processing.cpp" line="1308"/>
<location filename="../../src/Dialog_Processing.cpp" line="1161"/>
<location filename="../../src/Dialog_Processing.cpp" line="1165"/>
<source>%n second(s)</source>
<translation>
<numerusform>%n sekund</numerusform>
@ -3284,7 +3284,7 @@
</translation>
</message>
<message numerus="yes">
<location filename="../../src/Dialog_Processing.cpp" line="1309"/>
<location filename="../../src/Dialog_Processing.cpp" line="1166"/>
<source>%n millisecond(s)</source>
<translation>
<numerusform>%n millisekund</numerusform>

View File

@ -34,7 +34,7 @@
#define VER_LAMEXP_MINOR_LO 9
#define VER_LAMEXP_TYPE Alpha
#define VER_LAMEXP_PATCH 2
#define VER_LAMEXP_BUILD 1372
#define VER_LAMEXP_BUILD 1374
#define VER_LAMEXP_CONFG 1348
///////////////////////////////////////////////////////////////////////////////

View File

@ -545,6 +545,7 @@ void ProcessingDialog::initEncoding(void)
{
startNextJob();
qApp->processEvents(QEventLoop::ExcludeUserInputEvents);
QThread::yieldCurrentThread();
}
m_timerStart = lamexp_perfcounter_value();
@ -871,6 +872,8 @@ void ProcessingDialog::startNextJob(void)
}
m_currentFile++;
m_runningThreads++;
AudioFileModel currentFile = updateMetaInfo(m_pendingJobs.takeFirst());
bool nativeResampling = false;
@ -926,9 +929,18 @@ void ProcessingDialog::startNextJob(void)
connect(thread, SIGNAL(processMessageLogged(QUuid,QString)), m_progressModel, SLOT(appendToLog(QUuid,QString)), Qt::QueuedConnection);
connect(this, SIGNAL(abortRunningTasks()), thread, SLOT(abort()), Qt::DirectConnection);
//Initialize thread object
if(!thread->init())
{
qFatal("Fatal Error: Thread initialization has failed!");
}
//Update GUI
qApp->processEvents(QEventLoop::ExcludeUserInputEvents);
//Give it a go!
m_runningThreads++;
if(!thread->start(m_threadPool, QApplication::instance()))
if(!thread->start(m_threadPool))
{
QTimer::singleShot(0, this, SLOT(doneEncoding()));
}

View File

@ -39,7 +39,6 @@
#include <QMutex>
#include <QMutexLocker>
#include <QDate>
#include <QCoreApplication>
#include <QThreadPool>
#include <limits.h>
@ -65,7 +64,7 @@ ProcessThread::ProcessThread(const AudioFileModel &audioFile, const QString &out
m_renamePattern("<BaseName>"),
m_overwriteSkipExistingFile(false),
m_overwriteReplacesExisting(false),
m_initialized(false),
m_initialized(-1),
m_aborted(false),
m_propDetect(new WaveProperties())
{
@ -100,11 +99,11 @@ ProcessThread::~ProcessThread(void)
// Init Function
////////////////////////////////////////////////////////////
bool ProcessThread::start(QThreadPool *pool, QCoreApplication *app)
bool ProcessThread::init(void)
{
if(!m_initialized)
if(m_initialized < 0)
{
m_initialized = true;
m_initialized = 0;
//Initialize job status
qDebug("Process thread %s has started.", m_jobId.toString().toLatin1().constData());
@ -113,9 +112,22 @@ bool ProcessThread::start(QThreadPool *pool, QCoreApplication *app)
//Initialize log
handleMessage(QString().sprintf("LameXP v%u.%02u (Build #%u), compiled on %s at %s", lamexp_version_major(), lamexp_version_minor(), lamexp_version_build(), lamexp_version_date().toString(Qt::ISODate).toLatin1().constData(), lamexp_version_time()));
handleMessage("\n-------------------------------\n");
}
//Process pending GUI events
if(app) app->processEvents(QEventLoop::ExcludeUserInputEvents);
return true;
}
bool ProcessThread::start(QThreadPool *pool)
{
//Make sure object was initialized correctly
if(m_initialized < 0)
{
throw "Object not initialized yet!";
}
if(m_initialized < 1)
{
m_initialized = 1;
//Generate output file name
m_outFileName.clear();
@ -169,7 +181,7 @@ void ProcessThread::processFile()
bool bSuccess = true;
//Make sure object was initialized correctly
if(!m_initialized)
if(m_initialized < 1)
{
throw "Object not initialized yet!";
}

View File

@ -41,7 +41,8 @@ public:
ProcessThread(const AudioFileModel &audioFile, const QString &outputDirectory, const QString &tempDirectory, AbstractEncoder *encoder, const bool prependRelativeSourcePath);
~ProcessThread(void);
bool start(QThreadPool *pool, QCoreApplication *app = NULL);
bool init(void);
bool start(QThreadPool *pool);
QUuid getId(void) { return m_jobId; }
void setRenamePattern(const QString &pattern);
@ -82,7 +83,7 @@ private:
void insertDownsampleFilter(void);
volatile bool m_aborted;
volatile bool m_initialized;
volatile int m_initialized;
const QUuid m_jobId;
AudioFileModel m_audioFile;