View Single Post
Old 07-02-2009   #2
Llew
cerca trova...
 
Llew's Avatar
 
Join Date: 01-01-2000
Location: East Anglia
Posts: 6255
Thanks: 37
Thanked 412 Times in 375 Posts
Blog Entries: 1

My System: Triple Dragon with HDD/USB stick, Dreambox 8000, Humax HDCI2000, Echostar AD3000ip & SR8700, Aston Simba, RSD ODM300. Swedish Microwave 1.2 Motorised dish / Invacom C120 twin LNB driven by the AD3000. 3 other fixed dishes.


Fighting the evil 3 Dragons under the Don Quixote banner,Sir Llew persevered where others failed

Thanks John. I'll try this on my Aspire One (cut down Linux notebook) and see how it goes.

I've reformatted your script, is this correct?

#!/bin/bash
# Script file: vlcplsed - written by TD03-5 V1.0 04/02/2009
# Purpose: To change local IP to Internet DynDNS of Dreambox in sent audio.pls file
# for remote audio streaming with Eee PC running Xandros Linux (may be OK for other Linux).
# Usage:
# Open this file with a text editor and:-
# Change: 192.168.0.24 to your Dreambox local IP.
# Change: dreamdns.homelinux.net to your Dreambox DynDNS or Static Internet IP.
# After editing, copy the file to /usr/bin folder and change attributes (chmod) to 755
# Log-on to Dreambox remotely via internet, select a station and click the audio PID. # When 'Open With' appears select 'Other' & navigate to /usr/bin/vlcplsed and select it.
# This script will run to change the playlist file and then call VLC to open the playlist.
# Presto........remote audio streaming without editing the audio.pls file! see '/192.168.0.24/s//dreamdns.homelinux.net/'
$1 > /tmp/dnsdb.tmp rm
$1 cp /tmp/dnsdb.tmp
$1 exec /usr/bin/vlc
$1 rm
$1 rm /tmp/dnsdb.tmp exit o


Llew

Celebrating Ten Years Of The Forum As A Founder Member





Llew is online now   Reply With Quote