Bug #155075 - Podcast filename dialog

Bart Cerneels bart.cerneels at kde.org
Mon Dec 20 09:27:51 CET 2010


On Sun, Dec 19, 2010 at 16:59, sandeep <sandy.8925 at gmail.com> wrote:
> Hi,
>
> I've decided to take up this junior job (Bug #155075). So after looking at
> the code a bit I found that the podcast settings are stored in a database.
> So I guess the filename configuration should go in there too. Is there any
> place where I can find info about how the Podcast settings are stored in the
> database (which table,column names etc.) ?
>
> Also, how should I store the new filename data? I've added two radio buttons
> and a line edit box to the generic podcast config dialog as Fabian
> suggested.
>
> Yours sincerely,
> Sandeep
>
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
>

Hi Sandeep

All the files you need to edit (or add) are (go into)
src/core-impl/podcasts/sql/.
The SQL schema is in SqlPodcastProvider::createTables() and you can
also find good examples of queries all over SqlPodcastProvider.cpp and
SqlPodcastMeta.cpp.

The podcast filename configuration would also be useful to have in the
USB mass storage implementation. So please make it a separate dialog
with non-SQL specific settings. Make sure the filename template is
similar to FilenameLayoutDialog.* .
We'll just use and parse the resulting template string in the SQL
implementation and save it in the database. Talk to me about the
database stuff, we'll need to change the podcastchannels table.

[bug 155075] https://bugs.kde.org/show_bug.cgi?id=155075


More information about the Amarok-devel mailing list