Skip to main content


Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Recent Posts
3rd Party Plugins - (fb2k) / Re: Columns UI
Last post by aphelion -
i also found a mistake in the script-1 (for the 'playlists switcher panel'):

$ifgreater($len(%length%),6,$add($mul($substr(%length%,0,$sub($strstr(%length%,:),1)),60),$substr(%length%,3,4)) $right(%length%,2),$substr(%length%,0,$sub($strstr(%length%,:),1)) $right(%length%,2))$tab()%size%  

this new version of the script is good for durations like:
7:01                   (7 minutes and 1 second)                                these 4 symbols are correctly displayed as 7 01
57:01                 (57 minutes and 1 second)                              these 5 symbols are correctly displayed as 57 01
1:57:01              (1 hour and 57 minutes and 1 second)            these 7 symbols are correctly displayed as 117 01

but there may be rare cases when the quantity of symbols is more than 7
2 initial examples only:
11:57:01            (11 hours and 57 minutes and 1 second)         these 8 symbols are incorrectly displayed
111:57:01          (111 hours and 57 minutes and 1 second)       these 9 symbols are incorrectly displayed

for instance, the script displays the following total duration: 660 45
while the real total duration is 11:58:44.500

1) unfortunately, the script ignores the '500' part
because the 'columns ui' is not able to use the %length_ex% (in the 'playlists switcher panel')

2) so the script correctly deals with the hours (11 hours are multiplied by 60)

3) then the script fails to add the '58' part to 660
because a position of the first colon is not appropriate anymore (due to different quantity of symbols)
so i see wrong 660 minutes (instead of correct 718 minutes)

4) then the script displays the 45 seconds (while there are only 44 in reality)
but this is the 'rounding up' defect of foobar (the script is not guilty)

here's the updated version that removes the mistake:

$ifgreater($len(%length%),6,$ifequal($len(%length%),7,$add($mul($substr(%length%,0,$sub($strstr(%length%,:),1)),60),$substr(%length%,3,4)) $right(%length%,2),$replace(%length%,:, )),$substr(%length%,0,$sub($strstr(%length%,:),1)) $right(%length%,2))$tab()%size%  

the logic is to display the convenient 'minutes and seconds' (instead of the inconvenient 'hours and minutes and seconds')
but only if the quantity of hours is less than 10

generally speaking, it's finally possible to see something good like: 7 04 or 22 54 or 51 33 or 62 58 or 75 15 or 90 44
instead of the standard (and kind of ugly) approach like:                7:04 or 22:54 or 51:33 or 1:02:58 or 1:15:15 or 1:30:44
General - (fb2k) / Re: Running Foobar in Linux
Last post by Mikko_H -
Does your terminal error say file not found? Execute the command in the directory where foobar2000_1.6.7.exe is located.

The original post in this thread was last updated in 2009 and is outdated. Since you are on Ubuntu, easiest way to install foobar2000 is probably from snap.
Scientific Discussion / Re: Is DSD conversion a viable means of resampling?
Last post by sld -
Noise-shaped dithering pushing the noise to the higher frequencies, but because the Nyquist frequency is so high with DSD's sampling rate, the effects even at 22 kHz shouldn't be that significant? And nobody can hear it. As to whether it aliases back to the audible range though...
AAC - Tech / Re: AAC Gapless playback information
Last post by apastuszak -
I use fdkaac when I convert from FLAC.  i use the options -G2 and --tag pgap:1 when encoding.  Hopefully an audio player will use one of the 3 methods.  The tag pgap:1 creates a tag called "Gapless Playback" with a value of 1.  I'm sure it can be manually added.  I'm not sure if the classic ipod will honor that tag.  I have a couple classic ipods, but I haven't touched them in years. 

Can you post the exact command line you're using?  I'd like to try it out.
SimplePortal 1.0.0 RC1 © 2008-2021