Skip to content

Support optional use of remote filename for output#7

Open
bkuhn wants to merge 1 commit into
lincgeek:masterfrom
bkuhn:bkuhn/extract-file-name-from-enclosure-url
Open

Support optional use of remote filename for output#7
bkuhn wants to merge 1 commit into
lincgeek:masterfrom
bkuhn:bkuhn/extract-file-name-from-enclosure-url

Conversation

@bkuhn

@bkuhn bkuhn commented Jun 25, 2016

Copy link
Copy Markdown

As an optional feature, if useremotefilename is set to 1, then the local
filename will use the filename found in the enclosure.

This fixes some problems with bashpodder I experienced when trying to
download a back catalog of a show. With this setting, one can retrieve
many old episodes into a given date's directory.

As an optional feature, if useremotefilename is set to 1, then the local
filename will use the filename found in the enclosure.

This fixes some problems with bashpodder I experienced when trying to
download a back catalog of a show.  With this setting, one can retrieve
many old episodes into a given date's directory.
@bkuhn

bkuhn commented Jun 25, 2016

Copy link
Copy Markdown
Author

I just realized that the awk code you use attempts to do this, but does it poorly. For example, this feed:

http://www.npr.org/templates/rss/podcast.php?id=510289

does not work properly because of the URL having options after it. The awk could probably be improved instead of this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant