<commit_before># -*- coding: utf-8 -*-

"""
    marrie
    ~~~~~~
    
    marrie is a simple podcast client that runs on the CLI (bash).
    
    :copyright: (c) 2010 by <NAME>
    :license: BSD, see LICENSE for more details.
"""

__all__ = ['Config', 'Client', 'Marrie', 'main']

__author__ = '<NAME>'
__email__ = '<EMAIL>'

__description__ = 'A simple podcast client that runs on the CLI.'
__url__ = 'http://rafaelmartins.eng.br/en-us/projects/marrie/'
__copyright__ = '(c) 2010 %s <%s>' % (__author__, __email__)
__license__ = 'BSD'

__version__ = '0.2'

import optparse
import os
import random
import shutil
import subprocess
import sys
import urllib2
from ConfigParser import ConfigParser
from xml.dom.minidom import parse as parseXML

config_file = '''\
[config]

# Fetch command to download the files.
#
# Examples:
#   wget --limit-rate=30k -c -O %(file)s %(url)s
fetch_command = wget --limit-rate=30k -c -O %(file)s %(url)s

# Player command to play the files
#
# Examples:
#   mplayer %(file)s
#   mpg123 %(file)s
player_command = mplayer %(file)s

# Media directory to store the files
media_dir = /multimedia/podcasts

[podcast]<commit_msg>added curl example to fetch_command config<commit_after># -*- coding: utf-8 -*-

"""
    marrie
    ~~~~~~
    
    marrie is a simple podcast client that runs on the CLI (bash).
    
    :copyright: (c) 2010 by <NAME>
    :license: BSD, see LICENSE for more details.
"""

__all__ = ['Config', 'Client', 'Marrie', 'main']

__author__ = '<NAME>'
__email__ = '<EMAIL>'

__description__ = 'A simple podcast client that runs on the CLI.'
__url__ = 'http://rafaelmartins.eng.br/en-us/projects/marrie/'
__copyright__ = '(c) 2010 %s <%s>' % (__author__, __email__)
__license__ = 'BSD'

__version__ = '0.2'

import optparse
import os
import random
import shutil
import subprocess
import sys
import urllib2
from ConfigParser import ConfigParser
from xml.dom.minidom import parse as parseXML

config_file = '''\
[config]

# Fetch command to download the files.
#
# Examples:
#   wget --limit-rate=30k -c -O %(file)s %(url)s
#   curl --limit-rate 30K -C - -o %(file)s %(url)s
fetch_command = wget --limit-rate=30k -c -O %(file)s %(url)s

# Player command to play the files
#
# Examples:
#   mplayer %(file)s
#   mpg123 %(file)s
player_command = mplayer %(file)s

# Media directory to store the files
media_dir = /multimedia/podcasts

[podcast]
{'fraction_non_alphanumeric': 0.13968120805369127, 'fraction_numerical': 0.016778523489932886, 'mean_word_length': 3.779559118236473, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1106937', 'n_tokens_mistral': 876, 'n_tokens_neox': 839, 'n_words': 269}