mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2020-09-17 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDUser::feedAuthorized()' method. * Added a 'SavePodcast' method to the Web API. * Added a 'GetPodcast' method to the Web API. * Added a 'DeletePodcast' method to the Web API. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Rivendell web service portal
|
||||
//
|
||||
// (C) Copyright 2010-2019 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2010-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -154,6 +154,7 @@ void Xport::ripcConnectedData(bool state)
|
||||
// Read Command Variable and Dispatch
|
||||
//
|
||||
int command=xport_post->value("COMMAND").toInt();
|
||||
|
||||
switch(command) {
|
||||
case RDXPORT_COMMAND_EXPORT:
|
||||
Export();
|
||||
@@ -295,6 +296,18 @@ void Xport::ripcConnectedData(bool state)
|
||||
SaveFile();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_SAVE_PODCAST:
|
||||
SavePodcast();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_GET_PODCAST:
|
||||
GetPodcast();
|
||||
break;
|
||||
|
||||
case RDXPORT_COMMAND_DELETE_PODCAST:
|
||||
DeletePodcast();
|
||||
break;
|
||||
|
||||
default:
|
||||
printf("Content-type: text/html\n\n");
|
||||
printf("rdxport: missing/invalid command\n");
|
||||
|
||||
Reference in New Issue
Block a user