-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
57 lines (43 loc) · 2.55 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Some plugins for the WDTV umsp server.
spanishradio: Listen to spanish stations online, including: radio naciona, ser, cope, punto radio, 40 principales...
ccc: Chaos Computer Club events videos and Lounge audios
defcon: Defcon event videos and audios
INSTALL:
If you want to automagically install this scripts in your WDTV. Add this line to your boot process:
svn export --trust-server-cert --non-interactive --no-auth-cache --force http://svn.github.com/ribalda/umsp-plugins-ribalda.git /tmp/umsp-plugins &
Note: While the svn export of github is broken you can use this lines:
cd /tmp
rm -fr ribalda-umsp-plugins-ribalda*
wget --no-check-certificate https://github.com/ribalda/umsp-plugins-ribalda/zipball/master -O ribalda-umsp-plugins.zip && unzip ribalda-umsp-plugins.zip && cp ribalda-umsp-plugins*/*php /tmp/umsp-plugins/ && rm -fr ribalda-umsp-plugins*
Note2: If you have the umsp-svn-spanish file from sombragris you can modify it like the following example to get sombragris, restricted and ribalda plugins automagically
#!/bin/sh
### 2010 by Sombragris (adapted from S64umsp)
### GPLv3 - full license located @ /usr/share/LICENSE
### Stipulations:
### - this entire header must be left intact
while [ true ] ; do
ping -c1 www.google.com 2>/dev/null >/dev/null
if [ "$?" == "0" ] ; then
if [ -z "`grep -i \^UMSP=\'OFF\' /conf/config`" ] ; then
[ -n "`grep -i \^APACHE=\'OFF\' /conf/config`" ] && logger -t $0 "Apache webserver must be on for UMSP to work!!!" && exit 1
if [ -z "`grep -i \^UMSP_SVN=\'OFF\' /conf/config`" ] ; then
logger -t $0 "Exporting all spanish umsp plugins from svn"
svn export --non-interactive --no-auth-cache --force http://umsp-pack.svn.sourceforge.net/svnroot/umsp-pack/umsp-plugins/ /tmp/umsp-plugins
if [ -f "/tmp/conf/umsp.php" ]; then
echo "exporting umsp.php"
svn export --non-interactive --no-auth-cache --force http://umsp-pack.svn.sourceforge.net/svnroot/umsp-pack/umsp.php /tmp/conf/umsp.php
fi
#Restricted Plugins
logger -t $0 "Exporting restricted plugins"
svn export --trust-server-cert --non-interactive --no-auth-cache --force https://svn.wdlxtv.com/svn/UMSP/restricted-plugins/ /tmp/umsp-plugins
#Ribalda Plugins
logger -t $0 "Exporting Ribalda plugins"
cd /tmp
rm -fr ribalda-umsp-plugins-ribalda*
wget --no-check-certificate https://github.com/ribalda/umsp-plugins-ribalda/zipball/master -O ribalda-umsp-plugins.zip && unzip ribalda-umsp-plugins.zip && cp ribalda-umsp-plugins*/*php /tmp/umsp-plugins/ && rm -fr ribalda-umsp-plugins*
fi
fi
exit 0
fi
sleep 5
done