From de419b7d252033532a9dcd3bcef6e35e58f8e210 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 30 Dec 2011 14:51:43 +0530 Subject: [PATCH] fix stream path --- pandora/archive/models.py | 2 +- pandora/padma.jsonc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 8de7bec78..f2652e339 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -243,7 +243,7 @@ class File(models.Model): resolution=config['resolutions'][0], format=config['formats'][0]) if created: - stream.video.name = stream.name() + stream.video.name = stream.path(stream.name()) ox.makedirs(os.path.dirname(stream.video.path)) with open(stream.video.path, 'w') as f: f.write(chunk.read()) diff --git a/pandora/padma.jsonc b/pandora/padma.jsonc index cf8e135c0..dc6dcd246 100644 --- a/pandora/padma.jsonc +++ b/pandora/padma.jsonc @@ -415,7 +415,7 @@ ], "listViews": [ {"id": "list", "title": "as List"}, - {"id": "icons", "title": "as Icons"}, + {"id": "grid", "title": "as Grid"}, //{"id": "info", "title": "with Info"}, {"id": "clips", "title": "with Clips"}, {"id": "timelines", "title": "with Timelines"},