Skip to content

Instantly share code, notes, and snippets.

View mmodrow's full-sized avatar

Marc A. Modrow mmodrow

  • Bremen, Germany
View GitHub Profile
@mmodrow
mmodrow / overcast-recently-played.ps1
Last active August 9, 2020 20:37 — forked from cleverdevil/overcast-recently-played.py
Fetch recently played episodes from an Overcast.fm full OPML-Export. Then, return those episodes as JSON.
param (
# path the to a file with the response of https://overcast.fm/account/export_opml/extended
[string]$inputFileName = "overcast_all.opml",
[bool]$playedOnly = $true,
# 0: title only; 1: adds user manipulation data; 2: adds publishing data; 3: adds overcast metadata
[int]$verbosity = 1
)
$ompl = [xml](Get-Content $inputFileName)