mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2020-09-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostPodcast' method to the Web API. * Added a 'RemovePodcast' method to the Web API. * Added a 'PostRss' method to the Web API. * Added a 'RemoveRss' method to the Web API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -308,6 +308,22 @@ void Xport::ripcConnectedData(bool state)
|
||||
DeletePodcast();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_POST_PODCAST:
|
||||
PostPodcast();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_REMOVE_PODCAST:
|
||||
RemovePodcast();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_POST_RSS:
|
||||
PostRss();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_REMOVE_RSS:
|
||||
RemoveRss();
|
||||
break;
|
||||
|
||||
default:
|
||||
printf("Content-type: text/html\n\n");
|
||||
printf("rdxport: missing/invalid command\n");
|
||||
|
||||
Reference in New Issue
Block a user