RB.PodcastManager

g GObject.Object GObject.Object RB.PodcastManager RB.PodcastManager GObject.Object->RB.PodcastManager

Subclasses:None

Methods

Inherited:GObject.Object (37)
Structs:GObject.ObjectClass (5)
class add_post (db, search_result, name, title, subtitle, generator, uri, description, date, duration, filesize)
class entry_downloaded (entry)
class new (db)
class unsubscribe_feed (db, url)
  add_parsed_feed (feed)
  add_search (search_type)
  cancel_download (entry)
  delete_download (entry)
  download_entry (entry)
  entry_in_download_queue (entry)
  get_podcast_dir ()
  get_searches ()
  insert_feed_url (url)
  remove_feed (url, remove_files)
  shutdown ()
  start_sync ()
  subscribe_feed (url, automatic)
  update_feeds ()

Virtual Methods

Inherited:GObject.Object (7)
  do_feed_updates_available (entry)
  do_finish_download (entry)
  do_process_error (url, error, existing)
  do_start_download (entry)

Properties

Name Type Flags Short Description
db RB.RhythmDB r/w database
updating bool r updating

Signals

Inherited:GObject.Object (1)
Name Short Description
feed-updates-available  
finish-download  
process-error  
start-download  

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent GObject.Object r  

Class Details

class RB.PodcastManager(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:RB.PodcastManagerClass
classmethod add_post(db, search_result, name, title, subtitle, generator, uri, description, date, duration, filesize)
Parameters:
Return type:

RB.RhythmDBEntry

classmethod entry_downloaded(entry)
Parameters:entry (RB.RhythmDBEntry) –
Return type:bool
classmethod new(db)
Parameters:db (RB.RhythmDB) –
Return type:RB.PodcastManager
classmethod unsubscribe_feed(db, url)
Parameters:
add_parsed_feed(feed)
Parameters:feed (RB.PodcastChannel) –
Parameters:search_type (GObject.GType) –
cancel_download(entry)
Parameters:entry (RB.RhythmDBEntry) –
delete_download(entry)
Parameters:entry (RB.RhythmDBEntry) –
download_entry(entry)
Parameters:entry (RB.RhythmDBEntry) –
entry_in_download_queue(entry)
Parameters:entry (RB.RhythmDBEntry) –
Return type:bool
get_podcast_dir()
Return type:str
get_searches()
Returns:list of search instances
Return type:[RB.PodcastSearch]

Returns the list of podcast searches

insert_feed_url(url)
Parameters:url (str) –
remove_feed(url, remove_files)
Parameters:
  • url (str) –
  • remove_files (bool) –
Return type:

bool

shutdown()
start_sync()
subscribe_feed(url, automatic)
Parameters:
  • url (str) –
  • automatic (bool) –
Return type:

bool

update_feeds()
do_feed_updates_available(entry) virtual
Parameters:entry (RB.RhythmDBEntry) –
do_finish_download(entry) virtual
Parameters:entry (RB.RhythmDBEntry) –
do_process_error(url, error, existing) virtual
Parameters:
  • url (str) –
  • error (str) –
  • existing (bool) –
do_start_download(entry) virtual
Parameters:entry (RB.RhythmDBEntry) –

Signal Details

RB.PodcastManager.signals.feed_updates_available(podcast_manager, object)
Signal Name:

feed-updates-available

Flags:

RUN_LAST

Parameters:
RB.PodcastManager.signals.finish_download(podcast_manager, object)
Signal Name:

finish-download

Flags:

RUN_LAST

Parameters:
RB.PodcastManager.signals.process_error(podcast_manager, object, p0, p1)
Signal Name:

process-error

Flags:

RUN_LAST

Parameters:
RB.PodcastManager.signals.start_download(podcast_manager, object)
Signal Name:

start-download

Flags:

RUN_LAST

Parameters:

Property Details

RB.PodcastManager.props.db
Name:db
Type:RB.RhythmDB
Default Value:None
Flags:READABLE, WRITABLE

database

RB.PodcastManager.props.updating
Name:updating
Type:bool
Default Value:False
Flags:READABLE

updating