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 |