Project

General

Profile

Get metadata without playlist

Added by Sho Tanimoto over 4 years ago

Hi, I am trying to make a plugin that creates a tree view from audio metadata. (Like "Album list" in foobar2000.)
I'm new to Audacious, so I'm referring to search-tool-qt.
According to it, to get the metadata, it seems to create a playlist once and then get the tuple.
But I don't want to add a playlist. Is there a way to hide the playlist or get the metadata without playlist?
Thank you. (sorry for my bad english.)


Replies (2)

RE: Get metadata without playlist - Added by John Lindgren over 4 years ago

There is aud_file_read_tag() in <libaudcore/probe.h>. But Audacious was built around playlists, and if you don't use them, you miss out on a lot of work that has already been done (e.g. scanning folders recursively, saving audio metadata to disk, etc.) That's why the existing Search Tool plugins use the "Library" playlist as a sort of database.

RE: Get metadata without playlist - Added by Sho Tanimoto over 4 years ago

Thanks for your advice.
Now I see the importance of playlists in Audacious. I'll try the playlist first.

    (1-2/2)