#!/bin/sh

# ==============================================================================
# BBC iPlayer for Xtreamer Media Player & Streamer
# ==============================================================================
#
# This project allows to watch content brom BBC iPlayer, which is supported
# on Linux by get_iplayer PERL script.
#
# Licence: GNU General Public License v2
# http://www.gnu.org/licenses/gpl.html
#
# Do not remove or change any header comments! Respect our work!
#
# If you are satisfied with my work you can support it with small donation                                                                                                                               
#   https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=SB8WDDAWY5YZE&lc=SI&item_name=xJukebox&item_number=ak5349jgdr&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted	 *
#
# Author: vpeter/misek
#
# ============================================================================== 

# load environment variable

. /tmp/usbmounts/sda1/scripts/BBC-iPlayer/bin/env_setup.sh 

# Add/Change specified saved user or preset options
#perl $MAIN_DIR/get_iplayer --prefs-add --verbose --modes flashhd,flashvhigh,flashhigh,flash --flvstreamer $MAIN_DIR/flvstreamer --output #$RECORDING_OUTPUT_DIR --proxy $PROXY --raw --nopurge

# Download programs
exec perl $MAIN_DIR/bin/get_iplayer $*
