Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Tags

Tags

Tags

Almost all music files have metadata information to describe content of file. Typical are: ARTIST, ALBUM, TITLE, DATE, GENRE, etc. There is also field called COMMENT. In O!MPD you can use this field for additional tags, which can be use for Quick search or displaying all albums having the same tag. I use this for grouping my albums into sets like:

  • Polish artists
  • female voices
  • live concerts
  • high audio quality
  • music of the 80s on compilation albums released in later years

This requires inserting into COMMENT some additional words or phrases separated with sign defined in file include/config.inc.php in section Tag separator  (default is semicolon ;). In my case I use following keywords (respectively):

  • polish
  • ladies
  • live
  • hda, hdcd, shm-cd (depending on album quality)
  • 80s

So, for example, for album of Polish female singer Aga Zaryan, I put into COMMENT field values: polish; ladies. This gives following result in album view:tags-1As you see, two additional buttons appeared under Tags section: polish and ladies. When you click on any of them, you will see the list of all the albums which have selected keyword in the COMMENT field. So click on polish and you’ll see the list of all Polish artists, click on ladies and you’ll see all albums with female voices. Of course, first you have to add this keywords to files 🙂

The most interesting is using tags and Quick search together. You can for example define Quick search for all live concerts like this:

 $cfg['quick_search'][3] = array("Live Concerts","comment LIKE '%live%'");

This gives you list of all albums marked by keyword live:

tags-2

In Quick search you can join keywords from COMMENT and other metadata fields. I use this for displaying Japanese editions of albums:

$cfg['quick_search'][6] = array("Japanese Editions","album LIKE '%japan%' OR comment LIKE '%SHM-CD%'");

Go ahead and see how it works. Run demo and play with it.

I’m sure you will find more interesting ways to use this feature.

Leave a Reply

Your email address will not be published. Required fields are marked *