make popup message on record configurable. Patch by CuNoah.
[enigma2.git] / RecordTimer.py
index e8b76e921aab631bc24aecf9111cda2b8b4b6d74..1f65038cd73dca936b2ceeffa6ea13b46f0a60b5 100644 (file)
@@ -356,8 +356,8 @@ class RecordTimerEntry(timer.TimerEntry, object):
                        if self.dirnameHadToFallback:
                                text = '\n'.join((text, _("Please note that the previously selected media could not be accessed and therefore the default directory is being used instead.")))
 
-                       # maybe this should be configurable?
-                       Notifications.AddPopup(text = text, type = MessageBox.TYPE_INFO, timeout = 3)
+                       if config.usage.show_message_when_recording_starts.value:
+                               Notifications.AddPopup(text = text, type = MessageBox.TYPE_INFO, timeout = 3)
 
        # we have record_service as property to automatically subscribe to record service events
        def setRecordService(self, service):