Help - Search - Members - Calendar
Full Version: Formatting strings in Database Explorer panel
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
str1d3r
I'm using Database Explorer to sort through all the files in my music folder.
I've got all my music sorted as E:\Music\[artist]\[album]\[track]
Is there any way I can reproduce this as a formatting string? I've gotten as far as listing each album (without the artist) which is kind of nice, but there is no hierarchy to it.

Any suggestions are very much appreciated biggrin.gif

EDIT: I'm sorting it as "By Path." <<<Random info.

EDIT2: To give a visual representation it might look something like this:
CODE
-All
|-By Path
  |-Beck (<<<This is one of the folders, just a single artist)
    |-Guero
      |-01 Beck - E Pro
      |-02 Beck - Que Onda Guero
      |-...
  |-...
  |-Trainspotting Soundtrack (<<<Another folder, more than one artist)
    |-01 Iggy Pop - Lust For Life
    |-02 Brian Eno - Deep Blue Day
    |-...
Or something like that.
krazy
The albumlist panel for 0.9 beta has a default "by directory structure" view. My setup is much the same as yours.
str1d3r
I don't feel like changing all my stuff over to .9 (unless it's fairly quick and simple). Is there any way you can give the plugin you're using to me? Unless it's too much to ask, granted that it might be stuck in foob's code.
krazy
It is very simple. I'd recommend giving it a go.

However, this code should work assuming that your albums are all replaygained, and that single songs are are at a level higher than albums..
CODE
$if(%__replaygain_album_gain%,$directory($extra(path),2)|,)$directory($extra(path))|$extra(filename)
gfngfgf
The albumlist panel (or standalone) for 0.8.3 also has the "by directory structure" view.
str1d3r
Thanks to both of you.
@krazy: Any way I can upgrade without losing anything? Last time I tried that I lost my twenty-some playlists (custom made song by song tongue.gif) and I couldn't find my .fcs's
@gfngfgf: Album list is perfect, but I can't find the panel. Any help?
gfngfgf
http://music.morbo.org/panels.php

Should be right there smile.gif
krazy
You should be able to right-click on your playlist switcher and "Save all playlists..." to a folder, then drag them into 0.9.
As for the fcs's, they must be re-coded for 0.9. There are some available around the forums or maybe try writing your own. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.