mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[Feature] Open plugins now recognizes known filetypes and can run them
now you can run your lua files without having to add the viewer to the shortcut or if you want a bmp file to be displayed when you start the device that can be done as well Change-Id: Ia56b566789623a2ca78d9e4583086db6e2cd689b
This commit is contained in:
parent
30482bd908
commit
ee840709d3
8 changed files with 49 additions and 20 deletions
|
@ -755,7 +755,7 @@ int ft_enter(struct tree_context* c)
|
|||
return rc;
|
||||
}
|
||||
|
||||
plugin = filetype_get_plugin(file, plugin_path, sizeof(plugin_path));
|
||||
plugin = filetype_get_plugin(file->attr, plugin_path, sizeof(plugin_path));
|
||||
if (plugin)
|
||||
{
|
||||
#ifdef PLUGINS_RUN_IN_BROWSER /* Stay in the filetree to run a plugin */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue