xyhoogl.blogg.se

Gpodder python 3.x
Gpodder python 3.x










gpodder python 3.x

close () return filesize, filetype, filedate, filename class FM4OnDemandPlaylist ( object ): URL_REGEX = re.

gpodder python 3.x

mygpo is licensed under the GNU Affero General Public License Version 3. mktime ( parsed_date ) else : filedate = None filename = os. mygpo is the website and webservice powering. info () filesize = headers or '0' filetype = headers or 'application/octet-stream' if 'last-modified' in headers : parsed_date = feedparser. Will use the network connection to determine the metadata via the HTTP header fields. gettext from gpodder import model from gpodder import util import os import time import re import feedparser from xml.dom import minidom def get_metadata ( url ): """Get file download metadata Returns a (size, type, name) from the given download URL. Please get in # touch if you want support for other feeds - you can use the existing parser # as a template for your own! :) # See for available feeds import gpodder _ = gpodder. # XSPF playlist parser module for gPodder # Thomas Perl # Currently, this is restricted to FM4 On Demand content, as the XSPF parser # here isn't generic enough to parse all other feeds reliably. # You should have received a copy of the GNU General Public License # along with this program. See the # GNU General Public License for more details.

gpodder python 3.x

# gPodder is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Gpodder python 3.x software#

#!/usr/bin/python # -*- coding: utf-8 -*- # gPodder - A media aggregator and podcast client # Copyright (c) 2005-2013 Thomas Perl and the gPodder Team # gPodder is free software you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation either version 3 of the License, or # (at your option) any later version.












Gpodder python 3.x