}
public void run (Cancellable? cancellable) {
- if (cancellable != null) {
- this.cancellable = cancellable;
- cancellable.cancelled += this.on_cancelled;
- }
+ this.cancellable = cancellable;
/* Start DIDL-Lite fragment */
this.didl_writer.start_didl_lite (null, null, true);
this.parse_args ();
}
- private void on_cancelled (Cancellable cancellable) {
- // FIXME: implement canceling of browse request here
- }
-
private void got_media_object () {
if (this.media_object == null) {
this.handle_error (
}
this.root_container.find_object (this.object_id,
- null,
+ this.cancellable,
this.on_media_object_found);
}
private void fetch_children () {
var container = (MediaContainer) this.media_object;
- container.get_children (this.index,
- this.requested_count,
- null,
- this.on_children_fetched);
+ container.get_children (this.index,
+ this.requested_count,
+ this.cancellable,
+ this.on_children_fetched);
}
private void on_children_fetched (Object source_object,