Introduction
Introduction Statistics Contact Development Disclaimer Help
tbrtv-news.sh - bitreich-tv - meme tv encoding and streaming
git clone git://src.adamsgaard.dk/bitreich-tv
Log
Files
Refs
LICENSE
---
tbrtv-news.sh (446B)
---
1 #!/bin/sh
2 # outputs m3u playlist of memes added to the memecache the last two days
3
4 set -e
5
6 annna="/home/ad/code/annna"
7 tagfile="modules/hashtags/hashtags.txt"
8
9 (cd "${annna}" &&
10 git log --all --pretty="%s" --date=relative --since="2 days ago"…
11 grep 'Adding #' | sed 's/.* #/#/;s/ .*//' | \
12 while read -r tag; do
13 grep "$tag" "${annna}/${tagfile}" | head -1
14 done | \
15 sort -R | \
16 bin/brtv-generate-playlist.sh | \
17 bin/brtv-playlist-to-m3u.sh
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.