start_platt.sh aktualisiert

This commit is contained in:
2026-02-14 10:17:45 +00:00
parent b4c5a06e0e
commit 4445ca81d8

View File

@@ -8,7 +8,7 @@ rm -r *.xml*
#1) get current xml feed
wget https://sr-mediathek.de/pcast/feeds/SR3_NUP_P/feed.xml
#2) extract mp3 file and download it based on xml
grep -E -o https\:\/\/.+\.mp3 feed.xml | tail -n 1 | xargs wget
grep -E -i -o https\:\/\/.+\.mp3 feed.xml | tail -n 1 | xargs wget
# play news
mpg123 -f -2048 *.mp3