Package soovee_app :: Package cli :: Module feed
[frames] | no frames]

Module feed

SooVee Serial Audio Manager - Feed support module for the command interface. It manages or formats serial audio feeds from a service.


Requires:
Functions
    Support methods for feed tasks
None
update(opml, cache, service)
Update serial audio feeds for a service.
None
compose(opml, directory, form, cache, service)
Format serial audio feeds for a service account.
None
manage(action, idnum, cache, service)
Manage serial audio feeds for a service account.
Variables
  __package__ = None
Function Details

update(opml, cache, service)

 

Update serial audio feeds for a service. Update the personal opml feed, then update each unfinished Rss feed subscribed by this account. Currently, feeds that contain an episode description of 'The End' are considered complete.

Parameters:
  • opml (basestring) - Url path to Opml file for the account.
  • cache (obj) - Intialized soovee.lib.sv_read object. Default None.
  • service (obj) - Intialized soovee.regex object. Default None.
Returns: None

Requires: soovee_lib.ckuri

compose(opml, directory, form, cache, service)

 

Format serial audio feeds for a service account. Load and parse serial audio feeds before using the option selected with the forms module.

Parameters:
  • opml (basestring) - Url path to Opml file for the account.
  • directory (basestring) - Directory to save new page format.
  • form (basestring) - soovee.forms module option.
  • cache (obj) - Intialized soovee.lib.sv_read object. Default None.
  • service (obj) - Intialized soovee.regex object. Default None.
Returns: None

manage(action, idnum, cache, service)

 

Manage serial audio feeds for a service account. Set the query value to the service id for the selected feed to pass by GET using soove.lib.sv_query.

These queries currently handle updating subscriptions and releasing of new episodes on service like Podiobooks.

Parameters:
  • action (basestring) - soovee.lib.sv_query module option. Currently [add|del|one|all]
  • idnum (int) - service id for a selected feed.
  • cache (obj) - Intialized soovee.lib.sv_read object. Default None.
  • service (obj) - Intialized soovee.regex object. Default None.
Returns: None

Note: WRT Podiobooks [del|one|all] use one id and [add] a different id.

Requires: soovee_lib.mkuri