manolomartinez / greg

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

{podcasttitle} don't give me the real name of the feed #74

Open s-nt-s opened 7 years ago

s-nt-s commented 7 years ago

Hello

In https://github.com/manolomartinez/greg/blob/master/greg/data/greg.conf said:

# {podcasttitle} the title of the podcast 
# {name} the name you use to refer to the podcast in greg

But I get the same value for {podcasttitle} and {name}, in other words, {podcasttitle} also give the name I use to refer to the podcast in greg. {podcasttitle} don't give the real title of the podcast.

Maybe the problem is the podcast, because I see you set in {podcasttitle} the value of {name} when the podcast don't have title

https://github.com/manolomartinez/greg/blob/2c02ff713debfd80ccae6aacdb36a4cf821b88cb/greg/classes.py#L357

But the podcast that I am using with greg is http://www.ivoox.com/podcast-podcast-sangre-fucsia_fg_f162460_filtro_1.xml and I think it have title.

jimbobmcgee commented 4 years ago

Same here. From what I can gather, that line should read:

self.podcasttitle = feed.podcast.feed.title

...at least, it seems to work for my podcasts.