diff --git a/data/locale/ca.ts b/data/locale/ca.ts
index 4035efb53..9cd6ae404 100644
--- a/data/locale/ca.ts
+++ b/data/locale/ca.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/cs.ts b/data/locale/cs.ts
index 9b0a8e9fe..6aa7e566b 100644
--- a/data/locale/cs.ts
+++ b/data/locale/cs.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/de.ts b/data/locale/de.ts
index 167686614..c193d646f 100644
--- a/data/locale/de.ts
+++ b/data/locale/de.ts
@@ -203,6 +203,10 @@ Wenn Sie daran interessiert sind LMMS in eine andere Sprache zu übersetzen oder
With this knob you can set the point where the loop starts. Mit diesem Regler können Sie festlegen, wo die Wiederholung beginnt.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/en.ts b/data/locale/en.ts
index ad6b6829c..76e145ebc 100644
--- a/data/locale/en.ts
+++ b/data/locale/en.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/es.ts b/data/locale/es.ts
index 1c62562c5..bd89815ea 100644
--- a/data/locale/es.ts
+++ b/data/locale/es.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/fa.ts b/data/locale/fa.ts
index b8628bdff..e38e2d970 100644
--- a/data/locale/fa.ts
+++ b/data/locale/fa.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/fr.ts b/data/locale/fr.ts
index 730db5a5b..6dcf0a8b8 100644
--- a/data/locale/fr.ts
+++ b/data/locale/fr.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/gl.ts b/data/locale/gl.ts
index 061fac646..96b19ccd6 100644
--- a/data/locale/gl.ts
+++ b/data/locale/gl.ts
@@ -195,6 +195,10 @@ Se lle interesa traducir o LMMS a outro idioma ou desexa mellorar as traducións
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/it.ts b/data/locale/it.ts
index ad6de8a1f..a046d158a 100644
--- a/data/locale/it.ts
+++ b/data/locale/it.ts
@@ -196,6 +196,10 @@ Se sei interessato a tradurre LMMS o vuoi migliorare una traduzione esistente, s
With this knob you can set the point where the loop starts. Con questa modalità puoi impostare il punto dove la ripetizione comincia: la parte del suono tra il LoopBack e il punto di fine è quella che verà ripetuta.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/ja.ts b/data/locale/ja.ts
index 43c8cf233..49f272525 100644
--- a/data/locale/ja.ts
+++ b/data/locale/ja.ts
@@ -195,6 +195,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/ko.ts b/data/locale/ko.ts
index 76377dca3..aeee0b941 100644
--- a/data/locale/ko.ts
+++ b/data/locale/ko.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/nl.ts b/data/locale/nl.ts
index c2a8971b9..1b98f5417 100644
--- a/data/locale/nl.ts
+++ b/data/locale/nl.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/pl.ts b/data/locale/pl.ts
index fe28d3ce8..fec62d198 100644
--- a/data/locale/pl.ts
+++ b/data/locale/pl.ts
@@ -199,6 +199,10 @@ Zauważone błędy i propozycje zmian tłumaczenia proszę zgłaszać na e-mail:
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/pt.ts b/data/locale/pt.ts
index 4e0724c46..defb1e561 100644
--- a/data/locale/pt.ts
+++ b/data/locale/pt.ts
@@ -197,6 +197,10 @@ Esteban Viveros
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+ Amostra não encontrada: %1
+ AudioFileProcessorWaveView
diff --git a/data/locale/ru.ts b/data/locale/ru.ts
index 6acc4186a..ce01e3d40 100644
--- a/data/locale/ru.ts
+++ b/data/locale/ru.ts
@@ -197,6 +197,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/sv.ts b/data/locale/sv.ts
index 80f960d76..c170ed0d4 100644
--- a/data/locale/sv.ts
+++ b/data/locale/sv.ts
@@ -193,6 +193,10 @@ If you're interested in translating LMMS in another language or want to imp
With this knob you can set the point where the loop starts.
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/data/locale/zh.ts b/data/locale/zh.ts
index a4993226a..d1df46aee 100644
--- a/data/locale/zh.ts
+++ b/data/locale/zh.ts
@@ -201,6 +201,10 @@ Jeff Bai,邮箱:jeffbaichina@gmail.com
With this knob you can set the point where the loop starts. 调节此旋钮,以设置循环开始的地方。
+
+ Sample not found: %1
+
+ AudioFileProcessorWaveView
diff --git a/plugins/audio_file_processor/audio_file_processor.cpp b/plugins/audio_file_processor/audio_file_processor.cpp
index 570908d85..be7519179 100644
--- a/plugins/audio_file_processor/audio_file_processor.cpp
+++ b/plugins/audio_file_processor/audio_file_processor.cpp
@@ -234,6 +234,14 @@ void audioFileProcessor::loadSettings( const QDomElement & _this )
if( _this.attribute( "src" ) != "" )
{
setAudioFile( _this.attribute( "src" ), false );
+
+ QString absolutePath = m_sampleBuffer.tryToMakeAbsolute( m_sampleBuffer.audioFile() );
+ if ( !QFileInfo( absolutePath ).exists() )
+ {
+ QString message = tr( "Sample not found: %1" ).arg( m_sampleBuffer.audioFile() );
+
+ Engine::getSong()->collectError( message );
+ }
}
else if( _this.attribute( "sampledata" ) != "" )
{