Uses ASP.NET Core in .NET 5. Manages any number of disc changers. At the moment two types supported via RS-232 serial connection: DVP-CX777ES and BDP-CX7000ES. Does disc data lookups via MusicBrainz. This solution is primarily relevant for music discs. Since ASP.NET Core is cross-platform, this works on Windows as well as Linux.
I've tested it on a Raspberry Pi 4, which can control as many changers as it has serial ports. It has 5 real UARTs (#0, #2-#5) and a mini UART. Using the real UARTs (be sure to use proper 3.3V-RS232 adapters preferably with hardware flow control CTS/RTS), one Raspberry Pi 4 could control 5 changers! Information on Raspberry Pi UARTs (serial ports).
And on Windows, it runs in IIS with the .NET 5.0 runtime (hosting bundle) installed, or from the command line using the dotnet command. MacOS is also supported by .NET 5.0. In IIS, I have had good results by setting 'Preload Enabled' to true in the DiscChanger.NET site Advanced Settings as well as 'Start Mode' to 'AlwaysRunning' in the DiscChanger.NET application pool's Advanced Settings.
You can scan all or a subset of the discs in the changer to populate the display. Also, when the changer loads a disc, it checks to see whether it is a known disc. If not, DiscChanger.NET will look it up and show it on the grid without reloading the page. By clicking on a music CD, you get a popover showing listing of tracks as well as web links known to MusicBrainz pertaining to the disc.
To get started, go here to obtain the correct ASP.NET Core runtime for your OS. For the Raspberry Pi 4 running Raspian, I had to download the ARM32 version even though its CPU is 64 bit. Download DiscChanger.NET from the release list
Then ensure you have serial ports working and null modem cables to connect to your disc changers. For PCs, I strongly recommend using any unused motherboard serial port headers (enable in BIOS & connect via Slot Plate adapter from 9-pin Serial to 10-pin mobo Header) before adding USB serial ports. My Supermicro board has two DTK serial port headers, which I've used for my cx777es changers, and my cx7000es is connected via a PL2303 USB serial port adapter.
Then ensure your changers are set up for RS232 control on their settings. Install the software and run via the dotnet command line. Navigate to the webpage and click the Add button to add your disc changer. Press the Test button to ensure the connection works and the changer responds to commands. Before running a wholesale disc scan just scan a few discs to ensure it all works well.
After you scanned all your discs, please be sure to make regular backups of the DiscChangers.json file and the Discs directory so you can restore it if needed without needing to rescan all discs.
Starting with version 1.0, DiscChanger.NET can source all metadata the BDP-CX7000ES can provide about discs. This includes (provided the CX7000ES successfully performed its GraceNote lookup): disc name/genre. For Audio CDs, individual track titles. For BD: AACS ID and for CD,DVD&BD a Gracenote ID. If anyone knows how to use these identifiers to find art or other metadata, please let me know. Also added a feature for DVP-CX777ES & Hybrid SACD: normally the player only provides the TOC, which enables MusicBrainz metadata lookup, when you force playback in CD mode via the "SACD/CD" button on the remote. In SACD mode, the album lookup fails and you see only the CD-TEXT. With this new feature, DiscChanger.NET remembers the TOC from the CD layer even when switching to the SACD layer. So what you can do is do a disc scan while in CD mode so the metadata lookups for hybrid SACDs succeed. Then, once you play back you can switch to SACD to enjoy the highest quality and the album art will remain. In this version, I upgraded to .NET 5.0 from .NET Core 3.1.
Just released version 1.1, which now can connect to the BDP-CX7000ES via network connection as well as via serial port. You have to choose how in BDP-CX7000ES's System Settings/Custom Installation Control. Only one connection mode is active at any given time. If you choose Network, it forces Quick Start Mode on, which increases the player's power usage when off. The advantage of serial control is the Quick Start Mode can remain off, lowering power usage in the off state. The advantage of network control is that the cabling is likely already in place, with no need to run a serial null modem cable from DiscChanger.NET host to the player. For network control, you either need to know the IP address of your player and fix it via DHCP reservation, or go to Network Settings/Internet Settings/IP Address Acquisition and set it to "Use Static IP Address". You can also use a host name if you have your local DNS set up to resolve a name to your BDP-CX7000ES. The default port number is 6001, a network port, which uses the same binary protocol (save for Sony's network-specific commands) as the serial port connection. I am aware that port 8888 provides the UPnP connection, which DiscChanger.NET does not use at this time. To find your player on your network, on Windows you can open Windows Explorer and find "BDP_CISIP" under Other Devices in Network. Right-click into Properties to see its current IP address. Again, if assigned via DHCP, this address is normally variable, so it is recommended to take action to fixate it.
Future enhancements planned:
- Support for GD3 lookups
- Support for Firewire changers such as XL1B.