From 7c136413e9b32684afc984be30e6a1e51bd3009d Mon Sep 17 00:00:00 2001 From: antonio Date: Sun, 4 Jun 2023 20:44:19 +0200 Subject: [PATCH] feat: add ability to add podcast channels --- .../play/subsonic/api/podcast/PodcastClient.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/com/cappielloantonio/play/subsonic/api/podcast/PodcastClient.java b/app/src/main/java/com/cappielloantonio/play/subsonic/api/podcast/PodcastClient.java index fe7306e7..fa7e3aa0 100644 --- a/app/src/main/java/com/cappielloantonio/play/subsonic/api/podcast/PodcastClient.java +++ b/app/src/main/java/com/cappielloantonio/play/subsonic/api/podcast/PodcastClient.java @@ -44,6 +44,11 @@ public class PodcastClient { return podcastService.refreshPodcasts(subsonic.getParams()); } + public Call createPodcastChannel(String url) { + Log.d(TAG, "createPodcastChannel()"); + return podcastService.createPodcastChannel(subsonic.getParams(), url); + } + public Call deletePodcastChannel(String channelId) { Log.d(TAG, "deletePodcastChannel()"); return podcastService.deletePodcastChannel(subsonic.getParams(), channelId);