Head-Fi.org › Forums › Equipment Forums › Computer Audio › Nifty Foobar Tricks and Tips
New Posts  All Forums:Forum Nav:

Nifty Foobar Tricks and Tips

post #1 of 21
Thread Starter 
I'm not sure if there's much demand for this sort of thing but I'm bored. I've spent way too much time configuring foobar and maybe I can help some of you save time. This thread could be thought of as an "advanced" stuff sister thread to my guide to making foobar usable.

To get things rolling... here's something I just took out of the guide to keep things simple.

This is for foo_playlist_tree users.

If you want the Playlist Tree Panel to sort artists like "Doors, The" rather than "The Doors" follow these instructions:
  • Click Library menu->Playlist Tree->Root->New Query
  • Change the label to "Fancy Artist Sort" or whatever your liking is and replace the contents of the format box with the quoted text below:
  • Quote:
    $if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4))', 'The,%artist%)|%album%|$num(%tracknumber%,2). %title%
  • Check "sort by display name after populating"
  • Click OK
  • Right Click some empty space in the Playlist Tree Panel->Select File
  • Type "playlisttree" or any filename you want and click save. (If you don't do this your settings will be wiped the next foobar restart)
  • If you want to remove the default "by artist" tree keep reading...
  • Left Click the tree where it says "by artist" (highlight "by artist")
  • Click Library->Playlist Tree->Selection->remove
  • If you want to remove the root of the tree keep reading...
  • Click File->preferences->Media Library->Playlist Tree Panel
  • Check "Hide Root"
  • Click Close.
post #2 of 21
Thread Starter 
This is for foo_browser users.

I went to the trouble of renaming all the artist tags in my library to "Artist, The" rather than "The Artist" so foo_browser would sort artists in a way that ignores "The" but I didn't need to do that. Here's a trick to have foo_browser sort artists ignoring "The".

For example:

Quote:
Nevermore
The New Meanies
Nick Drake
The instructions
  • Click file->preferences->media library->browser
  • highlight artist
  • click edit
  • change Sort from "*" to "$replace(%artist%,The ,)"
  • click ok
  • click close
  • shift+right click the foo_browser panel with artist, select artist again.
  • if this doesn't work right away, you may need to restart foobar
post #3 of 21
How can I configure the album list to show artists and their records expanded under them? Currently it shows all my albums separately and it's not very convenient.

Don't want:

Artist - Album
Artist - Album2
Artist - Album3
...

Want:

- Artist
--- Album
--- Album2
--- Album3
...
post #4 of 21
Thread Starter 
Dealing with Soundtracks and Various Artists or Compilation Type Albums

Consistency will make your life easier in the long run. Foobar's mp3 properties dialog has changed over time and so has the way I deal with soundtracks. I think I've settled on a good way to deal with soundtracks/compilations and foobar.

Foobar's mp3 properties window (what you see when you right click an mp3 and choose properties) has some tags of interest in this discussion: "artist name", "track title", "album title" and "album artist". The foobar mp3 dialog can be a little confusing since it uses the names already mentioned, but writes a different name in the actual mp3. Is this confusing? Let me clarify.

Go in the mp3 dialog and double click "artist name". You'll see a new dialog and see "Field name:" as "Artist" and not "artist name".

Here's a reference for you. My reference uses the following format: foobar mp3 properties dialog name / actual tag name

Quote:
artist name / artist
track title / title
album title / album
album artist / album artist
From now on I'll be referring to the foobar mp3 properties dialog name.

In the context of tagging a sountrack or compilation your tags should adhere to this:

artist name: the track's artist
track title: the track song's title
album title: soundtrack or various artists
album artist: movie name or compilation name

example:

artist name: King Diamond
track title: Welcome Home
album title: Soundtrack
album artist: Clerks 2

That was fun.
post #5 of 21
Thread Starter 
Quote:
Originally Posted by tuhnu View Post
How can I configure the album list to show artists and their records expanded under them? Currently it shows all my albums separately and it's not very convenient.

Don't want:

Artist - Album
Artist - Album2
Artist - Album3
...

Want:

- Artist
--- Album
--- Album2
--- Album3
...
The Album List as in what you see when you click Library->Album List?

Click the view drop down menu in the Album List and choose Artist.
post #6 of 21
Thread Starter 
This is for foo_browser users

When I added the Clerks 2 sountrack to my library, I wanted to see "Clerks 2" under my foo_browser artist panel, but instead my artist panel had entries like "Dialogue" and all the other artists from the album. If you're like me and would rather see "Clerks 2" in the artist panel, this can easily be achieved without butchering your tags.

This will only work if you follow the tagging practice mentioned 1 or 2 posts above.
  • Click File->preferences->media library->browser
  • highlight artist
  • click edit
  • change the format from "$if2(%artist%,<MISSING>)" to "$if2(%album artist%,<MISSING>)"
  • click ok
  • click close
  • shift+right click your foo_browser artist panel and select artist again
  • click library->refresh browser contents
  • if you don't see the change right away, restart foobar
post #7 of 21
Thread Starter 
This is for all foobar users.

I like to have all my song titles follow proper English capitalization rules. The following will capitalize the first letter of all words except articles and prepositions unless they are the first or last word. This isn't perfect, but is the closest you can get to automating this sort of activity. This specifically affects your title tags, but could be adapted to be used on any tag.
  • Select some songs from your playlist. These songs will have the capitalization change applied to them.
  • right click select songs->tagging->manage scripts
  • click clear
  • click ok
  • click add
  • from the drop down menu select "format value from other fields"
  • click ok
  • under destination field name type TITLE
  • under formatting pattern paste:
    Code:
    $replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($replace($caps2(%title%),' A ',' a '),' An ',' an '),' The ',' the '),' And ',' and '),' But ',' but '),' Or ',' or '),' Nor ',' nor '),' At ',' at '),' By ',' by '),' For ',' for '),' From ',' from '),' In ',' in '),' Into ',' into '),' Of ',' of '),' Off ',' off '),' On ',' on '),' Onto ',' onto '),' Out ',' out '),' Over ',' over '),' To ',' to '),' Up ',' up '),' With ',' with '),' As ',' as ')
    
  • click ok
  • under scripts type "fix case" or something like that
  • click save
  • click run

In the future you only need to follow these instructions:
  • select the songs
  • right click->tagging->scripts->"fix case" or whatever you type earlier
post #8 of 21
Quote:
Originally Posted by HiFiRE View Post
The Album List as in what you see when you click Library->Album List?
No, the Album List Panel (foo_albumlist.dll(?)) Sorry, forgot to mention about that.
post #9 of 21
Very nifty.
post #10 of 21
Ok, I have tried all the different media library plugins, and the closest one to satisfy my requirments is the defualt Album List...It actually lets you browse by defualt directory ( I have a lot of random soundtracks and compilations and miss-named files....eveything is orgnaized perfectly in my directory structure, however).

Album list lets me use the speedy speedynesss of a library, and allows me to browse the way i want....However, the biggest issue is it doesn't stay open or attached to any place; I'm forced to reopen it manually AND reposition it every time i restart foobar, making it a total pain...Also, it does not allow me to adjust its window size to a small enough degree.

I'd love if I could do all this with the Browser plugin or any of the others, but it doesn't seem like they include the functionality I desire.
post #11 of 21
EDIT: Sorry. I see that was for Foo-Browser.
post #12 of 21
And this was rare double post. never mind...
post #13 of 21
Thread Starter 
Quote:
Originally Posted by tuhnu View Post
No, the Album List Panel (foo_albumlist.dll(?)) Sorry, forgot to mention about that.
Try the instructions from the first post in this thread.

Edit: Sorry, thought you meant you were using the playlist tree... and you're not.

Right click the album list, go into view, choose artist
post #14 of 21
Anyone have any ideas what I can use instead...or how to tweak it so it functions well?
post #15 of 21
Thread Starter 
Quote:
Originally Posted by magicTesla View Post
eveything is orgnaized perfectly in my directory structure, however).
If that's the case, you could use foobar's tagging utility to properly tag your music.
  • Put all your songs in a playlist
  • select all
  • right click->tagging->manage scripts
  • clear
  • ok
  • add
  • select guess values from filename
  • type in your file name/path scheme
  • ok
  • run

of course if your files aren't consistently named this could be a disaster. test with a single album first.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Computer Audio
Head-Fi.org › Forums › Equipment Forums › Computer Audio › Nifty Foobar Tricks and Tips