It seems I better look into the Amlogic chipsets since this device will be only a media center and video decoding is its main function.
You should plan on buying an SBC and not an Android TV box, and you should definitely research which SBC you buy and how well they are supported. I have heard complaints that some SBCs are all great until it breaks (the warranty/support is sometimes non-existant, they likely suspect it is a user fault, and it probably is most of the time). Since most Amlogic devices with working video decoding are running a 4.9 kernel or older you should expect problems with device compatibility. So really make sure what you buy is 99% self contained (on-board the SBC), and any devices you intend to plug in are fully supported by the OS your planning on running. Good luck.
Rockchip might me something worth looking at, not super familiar with those boards, but I believe a lot of it is mainline supported. Just know my experience with Amlogic is not great, RPi is great for me.