Podcast episode filename

Bart Cerneels bart.cerneels at kde.org
Mon Feb 21 08:26:47 CET 2011


On Sat, Feb 19, 2011 at 20:17, sandeep <sandy.8925 at gmail.com> wrote:
> I've submitted  a review request for the filename configuration. Now, I've
> added some extra code to replace the layout with the actual data - for
> example replace %artist with the artist's name. Where should this code be
> inserted? I've kept it in SqlPodcastProvider::downloadResult() but that
> doesn't seem to be the proper place.

That is exactly the right place, but you can put it in a separate
function if you like. You can use that function in other situations as
well then. For instance: when changing the filename layout, apply it
to the already downloaded episodes.


More information about the Amarok-devel mailing list