![]() find_command ( 'mplayer' ) is not None : try : mplayer_output = os. download_queue_manager ) return None def get_track_length ( filename ): if util. device_type if device_type = 'filesystem' : return MP3PlayerDevice ( config, gui. folders = folder_id # ("> %s = %s" % (tmpath, folder_id)) del parts # ('MTP.mkdir: %s = %u' % (path, folder_id)) return folder_id def open_device ( gui ): config = gui. create_folder ( parts, parent = folder_id ) # ('Creating subfolder %s in %s (id=%u)' % (parts, (prefix), folder_id)) tmpath = self. sibling return result def mkdir ( self, path ): folder_id = 0 prefix = parts = path. folders = while folder : folder = folder. warning ( 'Could not find eyeD3' ) import os.path import glob import time if pymtp_available : class MTP ( pymtp. gettext # TODO: Re-enable iPod and MTP sync support # pymtp_available = False gpod_available = False #gpod_available = True #try: # import gpod #except: # gpod_available = False # logger.warning('Could not find gpod') #pymtp_available = True #try: # import gpodder.gpopymtp as pymtp #except: # pymtp_available = False # logger.warning('Could not load gpopymtp (libmtp not installed?).') try : import eyeD3 except : logger. getLogger ( _name_ ) import calendar _ = gpodder. # sync.py - Device synchronization # Thomas Perl # based on libipodsync.py ( Thomas Perl) # Ported to gPodder 3 by Joseph Wickremasinghe in June 2012 import gpodder from gpodder import util from gpodder import services from gpodder import download import logging logger = logging. # 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 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. ![]() # -*- 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |