I've got an ugly script (no loops) that does this http://www.radiofree.ca/recentlyplayed.php
Here's the top 20 lines of it. Let me know if you'd like the rest. while true do artist=`tr "%^" "\n" </home/robert/scripts/nn.temp|grep -a ZZ|sed s/ZZ//g| sed '/./,/^$/!d'` album=`tr "%^" "\n" </home/robert/scripts/nn.temp|grep -a XX|sed s/XX//g |sed '/./,/^$/!d'` song=`tr "%^" "\n" </home/robert/scripts/nn.temp|grep -a QQ|sed s/QQ//g |sed '/./,/^$/!d'` asin=`tr "%^" "\n" </home/robert/scripts/nn.temp|grep -a ZX|sed s/ZX//g |sed '/./,/^$/!d'` if [ "$artist" ] then cat /dev/null >/home/robert/scripts/nn.temp artist40=$artist39 artist39=$artist38 artist38=$artist37 artist37=$artist36 artist36=$artist35 artist35=$artist34 artist34=$artist33 artist33=$artist32 On Wed, Apr 24, 2013 at 9:01 AM, Andy Sayler <a...@wmfo.org> wrote: > We use Spinitron <http://spinitron.com/> to record both our Rivendell and > non-Rivendell plays. When we use Rivendell, either live or via Automation, > we have a plugin that automatically sends the Now Playing info to > Spinitron. Details are here: > https://github.com/WMFO/Rivendell-Spinitron-Update. We then > have our website and webstream display the "Now Playing" info from > Spinitron: https://github.com/WMFO/Metadata-Pusher (In Progress). > > We also have a basic website <http://rivendell.wmfo.org/> that > allows people to browse our Rivendell library. It probably would be pretty > easy to modify it to allow browsing of only recent playlsist as opposed to > the entire library: https://github.com/WMFO/Rivendell-Metadata. The main > reason we stick with Spinitron as opposed to doing something like that is > since we use both Rivendell and non-Rivendell sources, > and Spinitron provides a generic interface for aggregating all the plays, > not just Rivendell ones. > > Cheers, > Andy Sayler > WMFO > Tufts Freeform Radio > 91.5 FM Medford > > > On Wed, Apr 24, 2013 at 6:15 AM, Morten Krarup Nielsen <morte...@gmail.com > > wrote: > >> Hi! >> >> Has anyone set up a playlist on their website, so listeners can look up >> the name of the song they've just heard? >> >> If so, maybe the code could be posted here :-) >> >> Thank you very much! >> >> Kind regards, >> >> Morten >> >> _______________________________________________ >> Rivendell-dev mailing list >> Rivendell-dev@lists.rivendellaudio.org >> http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev >> >> > > _______________________________________________ > Rivendell-dev mailing list > Rivendell-dev@lists.rivendellaudio.org > http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev > >
_______________________________________________ Rivendell-dev mailing list Rivendell-dev@lists.rivendellaudio.org http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev