Changeset a29e589


Ignore:
Timestamp:
Apr 2, 2012 12:17:09 PM (3 years ago)
Author:
yomguy <yomguy@…>
Branches:
master, crem, crem2, crem3, dev, dev2, diadems, dj1.6, feature/breadcrumbs, feature/ts-0.5, feature/ts-0.5.4, feature/writecache, generic, instru_search, lam, lam2, mapsv3, merge, nlivemulti, prob, production, release/1.4.4, sabiod, search, security, server, social, storage, telecaster, test
Children:
54cb70b, 7566b3e, eb1356d, bfc6b5f, 57305a5
Parents:
47b7698
git-author:
yomguy <yomguy@…> (02/04/2012 12:17:09)
git-committer:
yomguy <yomguy@…> (02/04/2012 12:17:09)
Message:

fix quicktime MP4 mime_type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • telemeta/views/base.py

    r0d2f73e ra29e589  
    632632        previous, next = self.item_previous_next(item) 
    633633        mime_type = self.item_analyze(item) 
     634        #FIXME: use mimetypes.guess_type 
     635        if 'quicktime' in mime_type: 
     636            mime_type = 'video/mp4' 
     637 
    634638        playlists = get_playlists(request) 
    635639        public_access = get_public_access(item.public_access, str(item.recorded_from_date).split('-')[0], 
Note: See TracChangeset for help on using the changeset viewer.