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, entry, name, title, subtitle, generator, uri, description, guid, date, duration, position, filesize)

class

entry_downloaded (entry)

class

new (db)

add_parsed_feed (feed)

add_search (search_type)

cancel_download (entry)

delete_download (entry)

download_entry (entry)

entry_in_download_queue (entry)

feed_updating (url)

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)

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-update-status

finish-download

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, entry, name, title, subtitle, generator, uri, description, guid, date, duration, position, 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

add_parsed_feed(feed)
Parameters:

feed (RB.PodcastChannel) –

Parameters:

search_type (GObject.GType) –

cancel_download(entry)
Parameters:

entry (RB.RhythmDBEntry) –

Return type:

bool

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

feed_updating(url)
Parameters:

url (str) –

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()

Signal Details

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

feed-update-status

Flags:

RUN_LAST

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

finish-download

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