Changeset 07baf4fe151e119042259cfd3e26e7e89e7f7ddc

Show
Ignore:
Timestamp:
02/14/08 14:59:36 (9 months ago)
Author:
William McBrine <wmcbrine@gmail.com>
git-committer:
William McBrine <wmcbrine@gmail.com> 1203022776 -0500
git-parent:

[2e8ebf09c0fd7949e1582427e051c085a4680ef5], [b861df7395a948b0c3f57248957ac810e1db29f4]

git-author:
William McBrine <wmcbrine@gmail.com> 1203022776 -0500
Message:

Merge branch 'master' into subfolders-8.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • httpserver.py

    rb51abdd r07baf4f  
    7878                    if query['Container'][0].startswith(name): 
    7979                        plugin = GetPlugin(container['type']) 
    80                         if hasattr(plugin,command): 
     80                        if hasattr(plugin, command): 
    8181                            method = getattr(plugin, command) 
    8282                            method(self, query) 
  • plugins/video/video.py

    r2e8ebf0 r07baf4f  
    352352            return 
    353353 
     354        container = handler.server.containers[cname] 
     355        precache = container.get('precache', 'False').lower() == 'true' 
     356 
    354357        files, total, start = self.get_files(handler, query, 
    355358                                             self.video_file_filter) 
     
    367370                video['small_path'] = subcname + '/' + video['name'] 
    368371            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: 
    370373                    video['valid'] = transcode.supported_format(file) 
    371374                    if video['valid']: 
  • pyTivo.py

    rad2b033 r287e72a  
    1414    if settings.get('precache', 'False').lower() == 'true': 
    1515        plugin = GetPlugin(settings.get('type')) 
    16         if hasattr(plugin,'pre_cache'): 
     16        if hasattr(plugin, 'pre_cache'): 
    1717            print 'Pre-caching the', section, 'share.' 
    1818            pre_cache_filter = getattr(plugin, 'pre_cache')