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).
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 actions( file_uri) : returns list of action paths
- get_file_
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).