Changeset 07baf4fe151e119042259cfd3e26e7e89e7f7ddc
- Timestamp:
- 02/14/08 14:59:36 (9 months ago)
- git-parent:
[2e8ebf09c0fd7949e1582427e051c085a4680ef5], [b861df7395a948b0c3f57248957ac810e1db29f4]
- Files:
-
- httpserver.py (modified) (1 diff)
- plugins/video/video.py (modified) (2 diffs)
- pyTivo.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
httpserver.py
rb51abdd r07baf4f 78 78 if query['Container'][0].startswith(name): 79 79 plugin = GetPlugin(container['type']) 80 if hasattr(plugin, command):80 if hasattr(plugin, command): 81 81 method = getattr(plugin, command) 82 82 method(self, query) plugins/video/video.py
r2e8ebf0 r07baf4f 352 352 return 353 353 354 container = handler.server.containers[cname] 355 precache = container.get('precache', 'False').lower() == 'true' 356 354 357 files, total, start = self.get_files(handler, query, 355 358 self.video_file_filter) … … 367 370 video['small_path'] = subcname + '/' + video['name'] 368 371 else: 369 if len(files) == 1 or file in transcode.info_cache:372 if precache or len(files) == 1 or file in transcode.info_cache: 370 373 video['valid'] = transcode.supported_format(file) 371 374 if video['valid']: pyTivo.py
rad2b033 r287e72a 14 14 if settings.get('precache', 'False').lower() == 'true': 15 15 plugin = GetPlugin(settings.get('type')) 16 if hasattr(plugin, 'pre_cache'):16 if hasattr(plugin, 'pre_cache'): 17 17 print 'Pre-caching the', section, 'share.' 18 18 pre_cache_filter = getattr(plugin, 'pre_cache')
