change video resolution, close tv

This commit is contained in:
j 2011-12-20 18:38:30 +05:30
commit 8e40f95f0d
7 changed files with 45 additions and 19 deletions

View file

@ -644,6 +644,7 @@
"sidebarSize": 256,
"theme": "modern",
"videoPoints": {},
"videoResolution": 96,
"videoScale": "fit",
"videoMuted": false,
"videoSize": "small",

View file

@ -75,7 +75,7 @@ def update_static():
for f in files:
if f.endswith('.js') and len(f.split('.')) == 2:
f = os.path.join(root, f)
fsite = f.replace('.js', '.%s.js' % settings.SITENAME)
fsite = f.replace('.js', '.%s.js' % settings.CONFIG['site']['id'])
if os.path.exists(fsite):
f = fsite
js.append(f[len(settings.STATIC_ROOT)+1:])

View file

@ -42,12 +42,12 @@
],
// fixme: either this, or filter: true in itemKeys, but not both
"filters": [
{"id": "collection", "title": "Collection", "type": "string"},
{"id": "source", "title": "Source", "type": "string"},
{"id": "director", "title": "Director", "type": "string"},
{"id": "location", "title": "Location", "type": "string"},
{"id": "year", "title": "Year", "type": "integer"},
{"id": "language", "title": "Language", "type": "string"},
{"id": "source", "title": "Source", "type": "string"},
{"id": "collection", "title": "Collection", "type": "string"},
{"id": "category", "title": "Category", "type": "string"},
{"id": "writer", "title": "Writer", "type": "string"},
{"id": "producer", "title": "Producer", "type": "string"},
@ -488,6 +488,9 @@
{"id": "size", "admin": true},
{"id": "pixels"}
],
"tv": {
"showLogo": false
},
"user": {
"level": "guest",
"ui": {
@ -500,10 +503,10 @@
}
},
"filters": [
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
{"id": "source", "sort": [{"key": "items", "operator": "-"}]},
{"id": "collection", "sort": [{"key": "name", "operator": "-"}]},
{"id": "source", "sort": [{"key": "items", "operator": "-"}]},
{"id": "category", "sort": [{"key": "items", "operator": "-"}]},
{"id": "keyword", "sort": [{"key": "items", "operator": "-"}]},
{"id": "location", "sort": [{"key": "items", "operator": "-"}]}
],
"filtersSize": 176,
@ -548,6 +551,7 @@
"sidebarSize": 256,
"theme": "classic",
"videoPoints": {},
"videoResolution": 96,
"videoScale": "fit",
"videoMuted": false,
"videoSize": "small",