Changeset b861df7395a948b0c3f57248957ac810e1db29f4
- Timestamp:
- 02/14/08 14:59:25
(11 months ago)
- Author:
- William McBrine <wmcbrine@gmail.com>
- git-committer:
- William McBrine <wmcbrine@gmail.com> 1203022765 -0500
- git-parent:
[287e72a5d11824e5552b1a800f49efbd9c5777a6]
- git-author:
- William McBrine <wmcbrine@gmail.com> 1203022765 -0500
- Message:
Skip shortcutting validity check if precache is on.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rad2b033 |
rb861df7 |
|
| 161 | 161 | handler.end_headers() |
|---|
| 162 | 162 | return |
|---|
| | 163 | |
|---|
| | 164 | container = handler.server.containers[cname] |
|---|
| | 165 | precache = container.get('precache', 'False').lower() == 'true' |
|---|
| 163 | 166 | |
|---|
| 164 | 167 | files, total, start = self.get_files(handler, query, |
|---|
| … | … | |
| 177 | 180 | video['small_path'] = subcname + '/' + video['name'] |
|---|
| 178 | 181 | else: |
|---|
| 179 | | if len(files) == 1 or file in transcode.info_cache: |
|---|
| | 182 | if precache or len(files) == 1 or file in transcode.info_cache: |
|---|
| 180 | 183 | video['valid'] = transcode.supported_format(file) |
|---|
| 181 | 184 | if video['valid']: |
|---|