Ensure uppercase action in EpisodeAction upload

Background: action is lowercase in gpodder api description - gpoddersync always worked with uppercase action.
This commit is contained in:
Jonathan Flueren 2021-10-06 17:01:41 +02:00 committed by thrillfall
parent d131b59348
commit c6ee19a929

View File

@ -17,7 +17,7 @@ class EpisodeActionReader
$episodeActions[] = new EpisodeAction(
$episodeAction["podcast"],
$episodeAction["episode"],
$episodeAction["action"],
strtoupper($episodeAction["action"]),
$episodeAction["timestamp"],
$episodeAction["started"] ?? -1,
$episodeAction["position"] ?? -1,