Skip to content

Conversation

@hdijkema
Copy link

Hi there,

I've created a simple plugin to browse the filesystem in audacious and from this directory tree view, one can add selected directories or files to the current playlist.

Example added:

afbeelding

Example of replacing current playlist:

afbeelding

After replacing the current playlist:

afbeelding

Maybe it is of some use to the audacious community.

@radioactiveman
Copy link
Member

Hi @hdijkema,

Sorry for the late reply. I tested your plugin meanwhile and like the idea of it. The code however can be much shorter and simpler. I wrote a similar, new plugin here in my fork: https://github.com/radioactiveman/audacious-plugins/

Official pull requests will follow soon. Feel free to test and comment on it, thanks.

@hdijkema
Copy link
Author

Hi @hdijkema,

Sorry for the late reply. I tested your plugin meanwhile and like the idea of it. The code however can be much shorter and simpler. I wrote a similar, new plugin here in my fork: https://github.com/radioactiveman/audacious-plugins/

Official pull requests will follow soon. Feel free to test and comment on it, thanks.

Totally oke with, mine began as a quick spike. I'll test the new code in the near future.

@hdijkema
Copy link
Author

Am I missing something compiling?

Successfully linked albumart-qt.so.
Leaving directory albumart-qt.
Entering directory filesystem-qt.
filesystem-qt.cc: In member function ‘QStringList FileSystemWidget::supportedFileExtensions() const’:
filesystem-qt.cc:368:29: error: ‘aud_plugin_get_supported_extensions’ was not declared in this scope; did you mean ‘aud_plugin_get_supported_mime_types’?
  368 |     for (const char * ext : aud_plugin_get_supported_extensions())
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                             aud_plugin_get_supported_mime_types
Failed to compile filesystem-qt.cc (plugin)!
make[5]: *** [../../buildsys.mk:532: filesystem-qt.plugin.o] Fout 1
make[4]: *** [../../buildsys.mk:139: all] Fout 2
make[3]: *** [../buildsys.mk:159: filesystem-qt] Fout 2
make[2]: *** [../buildsys.mk:137: all] Fout 2
make[1]: *** [buildsys.mk:159: src] Fout 2
make: *** [buildsys.mk:137: all] Fout 2
``

@radioactiveman
Copy link
Member

Am I missing something compiling?

Yes, this function is not available in Audacious 4.5.x. You need to build the latest version from Git.
-> https://github.com/audacious-media-player/audacious/commits/master/

@radioactiveman
Copy link
Member

New PR can be found here: #188

@hdijkema
Copy link
Author

hdijkema commented Oct 16, 2025

image

After I tried to setup the music folder (right click), and I selected my music folder it core dumped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants