1#!/bin/sh
2
3### If you have many URL's that you add to your vitunes database using the
4### "addurl" e-command, a script such as this can be handy to automate the
5### adding of them.  Especially when the database format changes.
6
7### General format is the following (uncomment each line)
8#echo "artist name\n\
9#album name\n\
10#title name\n\
11#track number\n\
12#year\n\
13#genre\n\
14#play-length\n\
15#comment\n" | vitunes -e addurl "http://path.to/url"
16
17# two samples follow...
18
19# wvxu
20echo "WVXU Online Radio\n\
21Cincinnati Public Radio\n\
22NPR\n\
23\n\
24\n\
25Radio\n\
26inf\n\
27Local NPR Affiliate (All News)\n" | vitunes -e addurl "http://cpr.streamguys.net/wvxu"
28
29# wnku
30echo "WNKU Online Radio\n\
31Northern Kentucky Public Radio\n\
32NPR + Bluegrass\n\
33\n\
34\n\
35Radio\n\
36inf\n\
37Local NPR Affliate (News+Music)\n" | vitunes -e addurl "http://www.publicbroadcast.net/wnku/ppr/wnku.pls"
38
39