I want to create a file manager context menu entry to play directory contents in a music player, namely Audacious.
I have already created a file
/usr/share/contractor/audacious_play_dir.contract like so:
[Contractor Entry] Name=Play in Audacious Icon=audacious MimeType=inode/directory Exec=audacious %F
but for some reason Audacious does not appear in the context menu, while trying the same procedure for other players it works very well; for Deadbeef:
[Contractor Entry] Name=Play in DeadBeef Icon=deadbeef MimeType=inode/directory Exec=deadbeef %F
[Contractor Entry] Name=Play in Exaile Audio Player Icon=exaile MimeType=inode/directory Exec=exaile %F
[Contractor Entry] Name=Play in Qmmp Icon=qmmp MimeType=inode/directory Exec=qmmp %F
and the context menu looks like so:
I want to use Audacious for this and am intrigued why it doesn't work the same way.
I also looked at
/usr/share/applications/mimeinfo.cache to see if Audacious is specified for `inode/directory/ mimetype: it is:
while Deadbeef is not (therefore this file is not important for the issue here)