Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/m/e/mediadrop-HEAD/mediadrop/model/media.py   mediadrop(Download)
from mediadrop.lib.compat import any
from mediadrop.lib.filetypes import AUDIO, AUDIO_DESC, VIDEO, guess_mimetype
from mediadrop.lib.players import pick_any_media_file, pick_podcast_media_file
from mediadrop.lib.util import calculate_popularity
from mediadrop.lib.xhtml import line_break_xhtml, strip_xhtml
    def _update_encoding(self):
        # Test to see if we can find a workable file/player combination
        # for the most common podcasting app w/ the POOREST format support
        if self.podcast_id and not pick_podcast_media_file(self):
            return False

src/m/e/mediadrop-HEAD/mediadrop/lib/helpers.py   mediadrop(Download)
from mediadrop.lib.i18n import (N_, _, format_date, format_datetime, 
    format_decimal, format_time)
from mediadrop.lib.players import (embed_player, embed_iframe, media_player,
    pick_any_media_file, pick_podcast_media_file)
from mediadrop.lib.thumbnails import thumb, thumb_url