manolomartinez / greg

A command-line podcast aggregator
GNU General Public License v3.0
297 stars 37 forks source link

changing filename on download #70

Closed jimbobcraig closed 7 years ago

jimbobcraig commented 7 years ago

Maybe I'm missing something, but reference is made to changing the filename of the downloaded file in lines 26&27 of greg.conf but I can't figure out how to do this.

I am having problems with a podcast, for which all of the episode files are called "media.mp3" and are stored in unique folders on the host server. (http://rss.acast.com/adambuxton)

I can change the download handler to wget and mod the filename using the -O switch, but then subsequent operations to tag the file (using staggger) fail with error: FileNotFoundError: [Errno 2] No such file or directory: '/podcasts/media.mp3' Stagger is looking for the original filename.

Any suggestions greatly appreciated.

manolomartinez commented 7 years ago

Hi, if you change the filename, then you need to tell greg:

file_to_tag = <your new name>

This is described in lines 141-147 of greg.conf. Is this what was tripping you up?

M

jimbobcraig commented 7 years ago

M,

Yes, that was it exactly. I managed to figure that out.

Should have closed or deleted my post, thanks for the response.

On 27 Jan 2017, at 14:08, manolomartinez notifications@github.com wrote:

Hi, if you change the filename, then you need to tell greg:

file_to_tag =

This is described in lines 141-147 of greg.conf. Is this what was tripping you up?

M

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

manolomartinez commented 7 years ago

No problem. Glad you solved it.