Directories.py: max filename length without extension is now 240 characters.. (ext3...
[enigma2.git] / lib / python / Tools / Directories.py
index 1858152..2380ed9 100755 (executable)
@@ -176,6 +176,9 @@ def getRecordingFilename(basename, dirname = None):
        if dirname is not None:
                filename = ''.join((dirname, filename))
 
+       if len(filename) > 240:
+               filename = filename[:240]
+
        i = 0
        while True:
                path = resolveFilename(SCOPE_HDD, filename)