by ICLlP » 08 Nov 2014, 19:54
by aj78 » 08 Nov 2014, 20:54
by ICLlP » 09 Nov 2014, 19:21
by aj78 » 09 Nov 2014, 20:03
cd /usr/local/bin
nano bbc.sh
#!/bin/sh
cd /mnt/MPD/Webradio
wget http://www.bbc.co.uk/radio/listen/live/r1_aaclca.pls
mv r1_aaclca.pls BBCRadio1.pls
wget http://www.bbc.co.uk/radio/listen/live/r1x_aaclca.pls
mv r1x_aaclca.pls BBCRadio1Xtra.pls
wget http://www.bbc.co.uk/radio/listen/live/r2_aaclca.pls
mv r2_aaclca.pls BBCRadio2.pls
wget http://www.bbc.co.uk/radio/listen/live/r3_aaclca.pls
mv r3_aaclca.pls BBCRadio3.pls
wget http://www.bbc.co.uk/radio/listen/live/r4_aaclca.pls
mv r4_aaclca.pls BBCRadio4.pls
wget http://www.bbc.co.uk/radio/listen/live/r4x_aaclca.pls
mv r4x_aaclca.pls BBCRadio4Extra.pls
wget http://www.bbc.co.uk/radio/listen/live/r5l_aaclca.pls
mv r5l_aaclca.pls BBCRadio5Live.pls
wget http://www.bbc.co.uk/radio/listen/live/r5lsp_aaclca.pls
mv r5lsp_aaclca.pls BBCRadio5LiveSportsExtra.pls
wget http://www.bbc.co.uk/radio/listen/live/r6_aaclca.pls
mv r6_aaclca.pls BBCRadio6.pls
wget http://www.bbc.co.uk/radio/listen/live/ran_aaclca.pls
mv ran_aaclca.pls BBCAsianNetwork.pls
mpc update Webradio
chmod +x bbc.sh
EDITOR=nano crontab -e
0 * * * * /usr/local/bin/bbc.sh
systemctl enable cronie
systemctl start cronie
/usr/local/bin/bbc.sh
by ICLlP » 09 Nov 2014, 20:31
by aj78 » 10 Nov 2014, 01:27
systemctl enable cronie
systemctl start cronie
by aj78 » 10 Nov 2014, 20:18
mpc update Webradio
[playlist]
NumberOfEntries=45
Title1=BBC Berkshire
File1=mms://wmlive.bbc.co.uk/wms/england/lrberkshire
Length1=-1
Title2=BBC Bristol
File2=mms://wmlive.bbc.co.uk/wms/england/lrbristol
Length2=-1
Title3=BBC Cambridgeshire
File3=mms://wmlive.bbc.co.uk/wms/england/lrcambridgeshire
Length3=-1
Title4=BBC Cornwall
File4=mms://wmlive.bbc.co.uk/wms/england/lrcornwall
Length4=-1
Title5=BBC Coventry and Warwickshire
File5=mms://wmlive.bbc.co.uk/wms/england/lrcoventryandwarwickshire
Length5=-1
Title6=BBC Cumbria
File6=mms://wmlive.bbc.co.uk/wms/england/lrcumbria
Length6=-1
Title7=BBC Derby
File7=mms://wmlive.bbc.co.uk/wms/england/lrderby
Length7=-1
Title8=BBC Devon
File8=mms://wmlive.bbc.co.uk/wms/england/lrdevon
Length8=-1
Title9=BBC Essex
File9=mms://wmlive.bbc.co.uk/wms/england/lressex
Length9=-1
Title10=BBC Gloucestershire
File10=mms://wmlive.bbc.co.uk/wms/england/lrgloucestershire
Length10=-1
Title11=BBC Guernsey
File11=mms://wmlive.bbc.co.uk/wms/england/lrguernsey
Length11=-1
Title12=BBC Hereford and Worcester
File12=mms://wmlive.bbc.co.uk/wms/england/lrherefordandworcester
Length12=-1
Title13=BBC Humberside
File13=mms://wmlive.bbc.co.uk/wms/england/lrhumberside
Length13=-1
Title14=BBC Jersey
File14=mms://wmlive.bbc.co.uk/wms/england/lrjersey
Length14=-1
Title15=BBC Kent
File15=mms://wmlive.bbc.co.uk/wms/england/lrkent
Length15=-1
Title16=BBC Lancashire
File16=mms://wmlive.bbc.co.uk/wms/england/lrlancashire
Length16=-1
Title17=BBC Leeds
File17=mms://wmlive.bbc.co.uk/wms/england/lrleeds
Length17=-1
Title18=BBC Leicester
File18=mms://wmlive.bbc.co.uk/wms/england/lrleicester
Length18=-1
Title19=BBC Lincolnshire
File19=mms://wmlive.bbc.co.uk/wms/england/lrlincolnshire
Length19=-1
Title20=BBC London
File20=mms://wmlive.bbc.co.uk/wms/england/lrlondon
Length20=-1
Title21=BBC Manchester
File21=mms://wmlive.bbc.co.uk/wms/england/lrmanchester
Length21=-1
Title22=BBC Merseyside
File22=mms://wmlive.bbc.co.uk/wms/england/lrmerseyside
Length22=-1
Title23=BBC Newcastle
File23=mms://wmlive.bbc.co.uk/wms/england/lrnewcastle
Length23=-1
Title24=BBC Norfolk
File24=mms://wmlive.bbc.co.uk/wms/england/lrnorfolk
Length24=-1
Title25=BBC Northampton
File25=mms://wmlive.bbc.co.uk/wms/england/lrnorthampton
Length25=-1
Title26=BBC Nottingham
File26=mms://wmlive.bbc.co.uk/wms/england/lrnottingham
Length26=-1
Title27=BBC Oxford
File27=mms://wmlive.bbc.co.uk/wms/england/lroxford
Length27=-1
Title28=BBC Sheffield
File28=mms://wmlive.bbc.co.uk/wms/england/lrsheffield
Length28=-1
Title29=BBC Shropshire
File29=mms://wmlive.bbc.co.uk/wms/england/lrshropshire
Length29=-1
Title30=BBC Solent
File30=mms://wmlive.bbc.co.uk/wms/england/lrsol
Length30=-1
Title31=BBC Somerset
File31=mms://wmlive.bbc.co.uk/wms/england/lrsomerset
Length31=-1
Title32=BBC Stoke
File32=mms://wmlive.bbc.co.uk/wms/england/lrstoke
Length32=-1
Title33=BBC Suffolk
File33=mms://wmlive.bbc.co.uk/wms/england/lrsuffolk
Length33=-1
Title34=BBC Surrey
File34=mms://wmlive.bbc.co.uk/wms/england/lrsurrey
Length34=-1
Title35=BBC Tees
File35=mms://wmlive.bbc.co.uk/wms/england/lrtees
Length35=-1
Title36=BBC Three Counties
File36=mms://wmlive.bbc.co.uk/wms/england/lrthreecounties
Length36=-1
Title37=BBC Wiltshire
File37=mms://wmlive.bbc.co.uk/wms/england/lrwiltshire
Length37=-1
Title38=BBC West Midlands
File38=mms://wmlive.bbc.co.uk/wms/england/lrwm
Length38=-1
Title39=BBC York
File39=mms://wmlive.bbc.co.uk/wms/england/lryork
Length39=-1
Title40=BBC Cymru
File40=mms://wmlive.bbc.co.uk/wms/nations/cymru
Length40=-1
Title41=BBC Foyle
File41=mms://wmlive.bbc.co.uk/wms/nations/foyle
Length41=-1
Title42=BBC nan Gaidheal
File42=mms://wmlive.bbc.co.uk/wms/nations/nangaidheal
Length42=-1
Title43=BBC Scotland
File43=mms://wmlive-acl.bbc.net.uk/wms/scotland/Scotland_UK
Length43=-1
Title44=BBC Ulster
File44=mms://wmlive.bbc.co.uk/wms/nations/ulster
Length44=-1
Title45=BBC Wales
File45=mms://wmlive.bbc.co.uk/wms/nations/wales
Length45=-1
by ICLlP » 09 Dec 2014, 10:28
aj78 wrote:Nope, it's me being stupid, I had the arguments to the systemctl commands the wrong way round. It should beand
- Code: Select all
systemctl enable cronie
(I've also updated the post above so it's easier to follow for anyone else.)
- Code: Select all
systemctl start cronie
Byt the way, I've figured out how to get local radio stations working. The good news is, they don't seem to need to be updated like the national streams do. I'll post an explanation of how to do it next time I have a few hours free. Maybe tomorrow, definitely some time this week.
by ICLlP » 13 Dec 2014, 20:06
support RuneAudio