Adding the Ir receiver to the Raspberry Pi 4

Pausing on the Ir Receiver for now.
On adding a remote to the Volumio player itself. I had bought two apple remote like it shows i this photo

the Apple remote A1156 https://www.amazon.com/gp/product/B01JFZXF20/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
and the Apple remote A1294. https://www.amazon.com/gp/product/B071VQWBN2/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
I selected the remote plugin on the player and save, but nothing happen I tried both, why wouldn’t it work i got the two apple remotes as it show in the photo or the volumio plugins and both remotes with that #. do i need to program something.
into the player.

I really would like to program a remote to the Raspberry Pi 4 that would control the player and also turns off the Pi itself, which i figure i get power on/off the Pi by other remote and have one remote just for the player.

Back to the apple remote for now, like i said, i tried both apple remote plugins but i couldn’t get anything working on them