The existing m3u that is created uses find to locate
every file int eh podcast directory.
I wanted an m3u for each run (I run podcatcher daily,
so one a day for me), that only contained the files
downloaded in that session.
This patch does just that...
380a381,384
> if [ $m3u ]
> then
> echo "$poddir/$feeddir/$filename" >>
"$poddir/$m3u"
> fi
391a396,399
> if [ $m3u ]
> then
> echo "$poddir/$feeddir/$filename" >>
"$poddir/$m3u"
> fi
414,423c422,431
< if [ $m3u ]
< then
< (
< cd "$poddir"
< find . -name \*.mp3 > "$m3u"
< find . -name \*.ogg >> "$m3u"
< find . -name \*.m4a >> "$m3u"
< find . -name \*.m4b >> "$m3u"
< )
< fi
---
> # if [ $m3u ]
> # then
> # (
> # cd "$poddir"
> # find . -name \*.mp3 > "$m3u"
> # find . -name \*.ogg >> "$m3u"
> # find . -name \*.m4a >> "$m3u"
> # find . -name \*.m4b >> "$m3u"
> # )
> # fi