no longer using greg

This commit is contained in:
Rudis Muiznieks 2023-11-20 21:16:19 -06:00
parent b53646bcdc
commit 7d255907fb
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
2 changed files with 0 additions and 34 deletions

View File

@ -1,22 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
outfile=$1
uri=$(perl -MURI::Escape -e 'print uri_escape shift, , q{^A-Za-z0-9\-._~/:}' -- "$2")
podname=$3
epname=$4
year=$(awk -F- '{ print $1 }' <<<"$5")
if [ ! -f "$outfile" ]; then
# download the episode
curl -sSLo "$outfile" "$uri"
# clear all tags from file
id3 -1 --delete "$outfile"
id3 -2 --delete "$outfile"
id3 -3 --delete "$outfile"
# write podcast tags
id3 -2 --genre "Podcast" --year "$year" --album "Podcast: $podname" --artist "Podcast" --frame=TPE2 "Podcast" --title "$epname" "$outfile"
fi

View File

@ -1,12 +0,0 @@
[DEFAULT]
Data directory = /mnt/hiby/.greg
Download directory = /mnt/hiby/PODCASTS
Create subdirectory = yes
subdirectory_name = {filename_podcasttitle}
Tag = no
firstsync = all
mime = audio
date_format = %%Y-%%m-%%d
downloadhandler = /home/rudism/skynet/greg/greg-dl.sh {directory}/{date}_{filename_title}.mp3 {link} {podcasttitle} {title} {date}
ignoreenclosures = no
notype = no