https://bugs.gpodder.org/show_bug.cgi?id=1557

             Bug #: 1557
           Summary: on_transfers_started
    Classification: Unclassified
           Product: gPodder
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: feature request
          Priority: low
         Component: Application
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


There is apparently work on a hook that is called when all transfers are
completed.  This is a request for a hook to indicate when a transfer is
started.  I want to use this in Woodchuck to determine whether it is safe to
quit.

When Woodchuck sees that the "on transfers complete" is called and the user
hasn't interacted with the application, it can safely shutdown gpodder.  But,
it might be the case that a podcast was update and new episodes are registered,
which Woodchuck then schedules.  In this case, it makes sense to wait a bit to
see if Woodchuck is really done.  This can be done by a timeout.  When the
timeout expires, we need to check if any new downloads have been started.  An
"on transfers started" hook is a convenient way to monitor this condition.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to