Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.

See also: Hydrogenaudio Terms of Service.

Reply to this topicStart new topic
How do I access [file] "type", need to use type as a catagory
post Nov 12 2009, 07:53
Post #1

Group: Members
Posts: 9
Joined: 18-February 04
From: Colorado
Member No.: 12094

Please excuse my ignorance on this question, but I just started using Foobar huh.gif
It is version 9.69, on Windows Vista 64.
90% of my audio files are stored in either FLAC or Ogg Vorbis format.

In the library, I need to use the "type" field or the file exstention to show what type of audio file format I have.
I will tend to do backups, where I store both FLAC and Ogg format in the same subfolder.
My PC folder structure goes like this:
  • My Music
  • Artist
  • Album
  • Track number - Name.ext

It works out very well for me, as I can sort them by type.
I also have altered the display of the type, as I have a little custom icon that shows differently, depending on the audio file or format type.

I have a COWON D2, portable media player (MP3 Player), which natively has decoders for both FLAC and Ogg Vorbis. So about 90% of my audio stored is either
in FLAC or Ogg Vorbis format.
There are some times, with some audio books or some audio documentaries (particularly BBC documentaries), that the files will be in MP3 format.

On my COWON, I usually copy Ogg Vorbis formatted audio to it to listen.
When I am using my PC or Notebook, I will play the FLAC format.
The FLAC is also what I consider my "archive format", as I encode to FLAC, in the form that is most identical to the original source, meaning, no reply gain
or any other type of audio modifier.

I hope you understand that when I want to play something using Foobar , I need to access the file type (type or ext).
In the help, I do not see how I can access a field (I tried entering "type" as a field), and it did not take.

I also use J River's Media Center and have for many years, and "type", is a very accessible field that I can access and use how I want.

Can you help me with this and let me know how I can grab that field to allow me to easily select, sort, display and search on this file type field ??



Is the FBI Socialized Law Enforcement, like Healthcare
Go to the top of the page
+Quote Post
post Nov 12 2009, 09:04
Post #2

Group: Banned
Posts: 1310
Joined: 4-January 09
Member No.: 65169

QUOTE (jolo @ Nov 11 2009, 19:53) *
Can you help me with this and let me know how I can grab that field to allow me to easily select, sort, display and search on this file type field ??

I am unsure whether I understand you correctly, I hope this will answer your question:

The Title Formatting Syntax for file extensions is $ext(%filename_ext%).

So you may want to create a custom column with this syntax. To sort your playlists by file type, click on the column's header or go to menu Edit, Sort -> Sort by...:


Also it is possible to search your Media Library for certain file types only (and to make an Autoplaylist with the search results):

Main menu Library, Search, type in:
  • "$ext(%path%)" IS flac = flac files only
  • "$ext(%path%)" IS ogg = ogg files only
  • "$info(encoding)" IS lossless = lossless file types only
To search the Media Library for certain file types only with a specified path type in:

%path% HAS "c:\your path\subfolder" AND "$ext(%path%)" IS flac

This is HA. Not the Jerry Springer Show.
Go to the top of the page
+Quote Post
post Nov 12 2009, 13:44
Post #3

Group: FB2K Moderator
Posts: 2359
Joined: 30-November 07
Member No.: 49158

Also try %codec%.

Full-quoting makes you scroll past the same junk over and over.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 30th November 2015 - 15:09