I've analyzed the approach of using a backup file to generate an Org-mode file that contains all listened Podcast Addict episodes with their finishing time-stamp.
PodcastAddict_autoBackup_20241102_210006.backup is a ZIP file with two files:
com.bambuna.podcastaddict_preferences.xml the app settings
podcastAddict.db: a SQLite 3.x database
The DB file itself contains all the necessary data in two of the many tables:
table "podcasts" has at least entries for:
"name" (string): name of the podcast
example: "Methodisch inkorrekt!"
"_id" (integer): ID of the podcast
example: "17098"
"homepage" (string): optional homepage of the podcast
"content" (HTML string): shownotes and description (multi-line!)
example:
... direkt aus der Literatur der Wissenschaft.
<!-- wp:paragraph -->
<p><strong>Inhalt</strong><br><a href="podcastaddict:0">00:00:00</a> Intro<br><a href="podcastaddict:195000">00:03:15</a> Begrüßung<br><a href="podcastaddict:649000">00:10:49</a> Abgelehntes Paper</p>
<!-- /wp:paragraph -->
<!-- wp:paragraph -->
<p><strong>Reini ist wieder da</strong> – die Buddys sind wieder vereint! </p>
<!-- /wp:paragraph -->
[...]
** <2024-06-12 Wed 20:54> [[https://minkorrekt.de/mi319-bildungswesen/][Mi319 – "Bildungswesen"]] ([[http://www.minkorrekt.de][Methodisch inkorrekt!]] S42E319)
- [[https://feeds.buzzsprout.com/1924539/9974188/transcript.srt][Transcript]]
Description:
... direkt aus der Literatur der Wissenschaft.
*Inhalt*
00:00:00 Intro
00:03:15 Begrüßung
00:10:49 Abgelehntes Paper
[...]
You can use the example module that parses arbitrary CSV files: https://github.com/novoid/Memacs/blob/master/memacs/csv.py This should give you a quick overview how to use the framework in order to write the output without having to format too much on your own.
This should be doable within a couple of hours of work even if this is your first Memacs module.
I've analyzed the approach of using a backup file to generate an Org-mode file that contains all listened Podcast Addict episodes with their finishing time-stamp.
PodcastAddict_autoBackup_20241102_210006.backup
is a ZIP file with two files:com.bambuna.podcastaddict_preferences.xml
the app settingspodcastAddict.db
: a SQLite 3.x databaseThe DB file itself contains all the necessary data in two of the many tables:
table "podcasts" has at least entries for:
table "episodes" has at least entries for:
That can be transformed in headings like:
You can use the example module that parses arbitrary CSV files: https://github.com/novoid/Memacs/blob/master/memacs/csv.py This should give you a quick overview how to use the framework in order to write the output without having to format too much on your own.
This should be doable within a couple of hours of work even if this is your first Memacs module.