Android TV + Kodi +NAS

Hi. I have been using Kodi for several years. I have in a R-pi and connected to my “not smart” LCD TV. I have all my movies in a NAS in my local network. everything works smooth despite the old R-pi model.

I am planing to buy a new TV as i want better image quality so it will be a UHD (4K). but i am not sure which approach is better if buy an android Tv (sony/philips..) where i can instal the Kodi directly on the TV or buy another TV like a Samsung and upgrade the R-pi also.

how weel works kodi within the Android TV? is it fast? is it able to connect to the NAS?

Thanks for your opinion.