Comment 6 for bug 233112

Revision history for this message
Philippe Normand (philn) wrote :

The above plan doesn't solve all use-cases obviously. Example:"an action for ripping audiocd-tracks to mp3/ogg/flac". For this kind of thing we can provide some API addition in media_provider:

- get_directory_actions(directory_uri): returns list of action paths
- get_file_actions(file_uri): returns list of action paths

The activity would then be able to use that new API to on-the-file create new actions depending of the uri scheme and/or uri "type" (file/directory).