An old Android tablet with decent speakers can be transformed into a permanent Bluetooth receiver for a legacy home theater system.
Below is a ready-to-use template and explanation. android a2dp sink app