ribbons / RadioDownloader

An easy to use application for managing podcast subscriptions and downloads.
https://nerdoftheherd.com/tools/radiodld/
GNU General Public License v3.0
15 stars 11 forks source link

Option to Export/Import Subscribed and Favourites #258

Open SDRoffey opened 11 months ago

SDRoffey commented 11 months ago

Hi, Would it be possible to add an option to export/import Subscribed and/or Favourite podcasts? I want to send mine to a friend, but can't find a way except sending them a copy of my database (currently 3.1GB...). Many thanks, Simon

ribbons commented 11 months ago

Sure, it would be relatively straight-forward to add an export function. Import would be a bit more tricky but I'm sure it would be possible. I wonder what format would be most widely useful, OPML perhaps?

In the meantime, the expedient way to export your subscriptions and favourites would be to use sqlite to query them out of the database e.g. for subscriptions:

select name, extid from programmes p, subscriptions s where p.progid=s.progid order by name;

And for favourites:

select name, extid from programmes p, favourites f where p.progid=f.progid order by name;

Of course, depending on the exact information you are wanting to export you may well need to adjust the queries accordingly.