summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-15 00:01:55 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-15 00:01:55 +0300
commit167445676ac24e8d54dd9b1a0d1a8d7c05b6420e (patch)
treea23d54fd0e1480fc78a4d2902583d91ee8a7dfbf
parente1d8a4eb86d3b4696d7679e5ded8ac036939c644 (diff)
media/storage: fix PseudoRecordFile
-rw-r--r--src/home/media/storage.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/home/media/storage.py b/src/home/media/storage.py
index 5c41981..08ba06a 100644
--- a/src/home/media/storage.py
+++ b/src/home/media/storage.py
@@ -120,7 +120,11 @@ class PseudoRecordFile(RecordFile):
EXTENSION = 'null'
def __init__(self):
- super().__init__('/pseudo/file')
+ super().__init__('pseudo.null')
+
+ @property
+ def filesize(self):
+ return 0
class SoundRecordFile(RecordFile):