Skip to main content

Notice

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
1
General - (fb2k) / Re: DarkOne 4.0 - modified skin
Last post by Jacob91 -
Message for jacob91 regarding AudioControl imagebuttons

JS3 is required.

If you want to use transparancy (like I do because I use a gradient background where I put the buttons) I suggest you install JS3 up to version 3.4.5. Later versions nuked transparency support.
If you don't need transparency you can control the painted background by setting the background color in the scriptfile after setting variable transparant to 0 to reeable background painting.

Create a JS3 panel/toolbar somewhere and load the script.

AudioControls currently supported are:
Menu, Stop, Play/Pause, Previous, Next, PBO, ReplayGain, OutputDevice - All with rightbutton extras, which are described in the script

Script can be used in single button mode or multiple buttons.
I use it in single button mode and have defined 8 different panels for it, because I want to be able to disable/enable buttons per button in my skin.

If you want just a single button choose it by setting variable b_single.
If you want more buttons leave b_single at 0 and select the buttons you want in the code below by enabling/disabling them. In the description of the buttons you see what the rightclick action is.
If you want buttons in a different sequence just change the order in which they are actually created under CREATE BUTTONS.

I experimented a lot and in the end decided I want all buttons same size. So if you create a panel with a height of 50 pixels the width per button will also be 50 pixels.
If you select only one button it will be centered if you give the panel more width than height. With two buttons one will be on the far left side and the other one on the far right with no padding at the left and right side of the panel.
When you select more than two buttons they will be spaced equally between the leftmost and rightmost button.
What looks good is to allocate a width that is the number of buttons times 1.5x times the height.

Included images are easy to change/modify. Just make sure they are more or less square and don't have empty canvas on top or on the sides.
I edit my images via https://www.lunapic.com which is very easy to use. Also let's you change colors which is handy for making the hover ones and for the ones I created for ReplayGain.

Good luck

Thanks a lot, but I have an error when I try to run the script :
-----------
JavaScript runtime error “fluent_chars” is undefined
File: <main>
Line: 119, Col: 1
-----------
Line 119 : "var char_set = [chars, fluent_chars]".
-------------------------

I replaced "var char_set = [chars, fluent_chars]" by "var char_set = [chars, fluent_font]". Is that OK ?

It seems to work. The "b_rg button" is for ReplayGain. Thanks a lot.

Good! The font was probably since you did not have that particular font installed. It is obsolete anyway since I only use imagebuttons instead of the original character based buttons which did not space out nicely.

Edit: I commented out all references to font and made some adjustments to the readme.
Hi,
With a right clic on the panel ;
JavaScript runtime error “has_font” is undefined
File: <main>Line: 371, Col: 2
Line: 371 : "sub.AppendMenuItem(EnableMenuIf(has_font), 2, 'Fluent');"
2
CD Hardware/Software / Re: Optical drive enclosure with IDE interface?
Last post by Octocontrabass -
Well, IDE/ATAPI drives use SCSI commands and replies, so there is no analog data being transmitted. But to my knowledge, there exist SCSI and ATA imaging devices, mostly used for data preservation and forensics.
Standard SCSI commands don't provide the low-level access that's necessary for preserving CDs. (If they did, there wouldn't be any arguments about offset correction...)

When it comes to anything later, like DVDs and Blu-Ray discs, I'm not sure, I've never used Blu-Rays, and I'm not sure how the controller talks to DVD drives (I mean, all I know, is it uses SATA, but I don't know the way data is requested and interpreted).
Still SCSI. SCSI over ATAPI if it's SATA, plain SCSI if it's USB.

I used a bunch of these over the years, and when it comes to optical drives, they're hella flaky.
Adapters like that usually only know how to translate between SCSI and ATA, so they get really confused when the drive is speaking SCSI via ATAPI instead of plain ATA. I have seen some that are advertised to work with optical drives, but I've never tried any of them.
3
3rd Party Plugins - (fb2k) / Re: JScript Panel script discussion/help
Last post by eurekagliese -
I've fixed it for JSP 3.4.3

Extract files to user profile. Put .txt in your panel.

Thanks for this, I didn't realize we could redirect the import path of the script.

Hi there mate, is there any plan to make that search as stand alone panel script?
DUI and JSPlaylist are really missing out on this.

I guess thats impossible. What I did is just restoring the feature from Br3tt's original script, thus it only applies to Smooth Playlist View. Best scenario is implmenting it to DUI by peter, maybe in the future.

Sorry for the delay in replying and thanks for your response.
4
3rd Party Plugins - (fb2k) / Re: foo_vis_spectrum_analyzer
Last post by pqyt -
I can't imagine what I could have changed between those versions that would cause a different usage of the sample rate. The sample rate is taken from the audio chunk as supplied by fb2k, over and over again; I assume post-processing.
Before the first audio chunk arrives 44100Hz is assumed.
pic 1: This image shows the same song in 0.7.0.0 with foobar 2000 2.1.2 preview 0219 and the PGGB-RT plug-in in the same state.

The source is 384KHz, so the range up to 192KHz and up to the upper Spectrum analyzer limit setting of 96KHz is well displayed, but I thought the previous 0.7.1.0-rc2 did not display above 48KHz (up to 96KHz) (see previous See Pic 2 in post).
I have had similar symptoms since Beta1, but had repeatedly reverted back to 7.0.0.0, which is why I was late in reporting it.

pic 2 PGGB-RT file details dialogue
Unfortunately, the file information in PGGB-RT seems to bring the 24/96 Original Flac information.
If it is taken from Audio Chunk, it will be displayed in the same way as Spectrum in v0.7.0.0, regardless of the PGGB-RT information.
Furthermore, v0.7.1.0 only showed up to around 22KHz when playing 16/44KHz FLAC resampled to 32/352.8KHz on the PGGB-RT.

It would be best if I could read the source code directly and report back, but I am also a developer and I am traumatised to read and write source code because I am mentally beaten.
The source has been available since the early versions.
Sorry to add another report on v0.7.1.0 rc-2, but I have set the colour of the Spectrum Bar to Foobar 2000 Dark Mode, but after saving, I quit Foobar 2000 once, and after that, when I start Foobar 2000, the colour of the Spectrum Bar is displayed as Prism 1. The colour of the Spectrum Bar is displayed as Prism 1.
The colour of the Spectrum Bar is set to Prism 1, but in Configure it is set to Foobar 2000 Dark Mode, so as soon as the Bar Colour is selected, it reverts to the original colour.
However, when the Foobar 2000 is restarted again, the colour is Prism 1.

Config Reset has also been tried, but the same symptoms occur.
2 reports about the same bug. I'll see if I can reproduce it.
5
3rd Party Plugins - (fb2k) / Re: foo_vis_spectrum_analyzer
Last post by pqyt -
Maybe I'm doing something wrong (I haven't been using this long) but my style color is always reset when I reboot fb2k. For example if Bar Spectrum is set to Fire, when I reboot it's set to Prism 1.

Although if I go back to Styles after a reboot, and click on Bar Spectrum, it will say Fire and give me the Fire colors. It just won't give me those colors unless I manually click on Styles/Bar Spectrum after a reboot.
Prism 1 is the default. It sounds like something goes wrong after saving the settings or during reading them. Have you tried changing the number of bins to a known non-standard value e.g. 77 and check if it's reset too?
8
3rd Party Plugins - (fb2k) / Re: foo_vis_spectrum_analyzer
Last post by brichanfiana -
I can't imagine what I could have changed between those versions that would cause a different usage of the sample rate. The sample rate is taken from the audio chunk as supplied by fb2k, over and over again; I assume post-processing.
Before the first audio chunk arrives 44100Hz is assumed.
pic 1: This image shows the same song in 0.7.0.0 with foobar 2000 2.1.2 preview 0219 and the PGGB-RT plug-in in the same state.

The source is 384KHz, so the range up to 192KHz and up to the upper Spectrum analyzer limit setting of 96KHz is well displayed, but I thought the previous 0.7.1.0-rc2 did not display above 48KHz (up to 96KHz) (see previous See Pic 2 in post).
I have had similar symptoms since Beta1, but had repeatedly reverted back to 7.0.0.0, which is why I was late in reporting it.

pic 2 PGGB-RT file details dialogue
Unfortunately, the file information in PGGB-RT seems to bring the 24/96 Original Flac information.
If it is taken from Audio Chunk, it will be displayed in the same way as Spectrum in v0.7.0.0, regardless of the PGGB-RT information.
Furthermore, v0.7.1.0 only showed up to around 22KHz when playing 16/44KHz FLAC resampled to 32/352.8KHz on the PGGB-RT.

It would be best if I could read the source code directly and report back, but I am also a developer and I am traumatised to read and write source code because I am mentally beaten.

Sorry to add another report on v0.7.1.0 rc-2, but I have set the colour of the Spectrum Bar to Foobar 2000 Dark Mode, but after saving, I quit Foobar 2000 once, and after that, when I start Foobar 2000, the colour of the Spectrum Bar is displayed as Prism 1. The colour of the Spectrum Bar is displayed as Prism 1.
The colour of the Spectrum Bar is set to Prism 1, but in Configure it is set to Foobar 2000 Dark Mode, so as soon as the Bar Colour is selected, it reverts to the original colour.
However, when the Foobar 2000 is restarted again, the colour is Prism 1.

Config Reset has also been tried, but the same symptoms occur.
10
CD Hardware/Software / Re: Optical drive enclosure with IDE interface?
Last post by polemon -
Well, IDE/ATAPI drives use SCSI commands and replies, so there is no analog data being transmitted. But to my knowledge, there exist SCSI and ATA imaging devices, mostly used for data preservation and forensics.
I'm not sure how much abstraction regular (windows, etc.) drivers provide. Sending raw SCSI / ATA commands and collecting the information directly might be an approach for better data collection.

I'm mainly speaking from a position of convenience, it might be easier to simply attach a device to the optical drive, image everything using raw SCSI / ATA commands, create an image internally and either save that to an SD card or some sort of internal memory which can be then accessed through USB for instance. I hope my explanation make sense...
The resulting image can then be archived and interpreted at will, without the need to re-read the original optical data (or hard disk data, for that matter).
I know that the forensic hardware I'm talking about is able to check for read errors, so they do have at least some way to access lower-level data of the storage device in question, other than just streaming binary data from the medium. The forensic software for some of them is able to provide graphs displaying that data, etc.
These forensic devices are really slow, reading a 200GB mechanical PATA drive takes hours.

However, let's be clear here, a 700MB (or 74min red book CD) is kinda small in this day and age. Even if imaging a medium like that takes two hours, people won't really care as this only has to be done once.

When it comes to anything later, like DVDs and Blu-Ray discs, I'm not sure, I've never used Blu-Rays, and I'm not sure how the controller talks to DVD drives (I mean, all I know, is it uses SATA, but I don't know the way data is requested and interpreted).

Tempting: https://www.ebay.com/itm/166376533256 , cross fingers and hope for the best - and be prepared to throw it away and thrift and old computer to use when you need it.
I used a bunch of these over the years, and when it comes to optical drives, they're hella flaky. The only drive that worked reliably with one of these, was a laptop CD-RW/DVD combo drive that normally goes into an older Fujitsu (?) laptop. The drive attaches over SATA internally, and that's what the little adapter was able to interface with. When it comes to IDE/ATAPI optical drives, I had no luck whatsoever. I tried with like 20 drives from different manufacturers over the past 15 or so years, none of them worked correctly. Problems were on one hand the adapter itself, but also the drivers, being kinda confused about what is connected there over USB. They do work surprisingly good with regular hard drives, though. Even the cheapest ones I had and still have, worked perfectly fine interfacing with 2.5" PATA hard drives, etc.

As a side note, the best luck I had with "external" optical drives, was a drive meant for installation into 1U servers (so technically it was an internal drive!). It was a "slim" device, similar to laptop drives, the weird thing though, was that internally didn't attach over SATA, but USB. It didn't use a regular USB cable, but one of those things that go into internal USB connector headers (see attached pic). In case you're wondering about the "weird looking USB connector", that thing is called "USB key A" and it can be directly converted to USB-C with a purely passive adapter. So, in other words, that was a USB-C drive. It required external power, but it was by far the best optical drive I've used. It read literally anything (anything up to DVDs) without any fuss at all. Too bad it didn't survive me moving house five years ago...

I know Op is looking for an enclosure for his IDE/ATAPI drive, but perhaps looking for a decent USB-drive like that is also a viable option - be it USB-C or one of the earlier connectors?