My Cloud App for (Samsung) Smart TVs

The app already exists, it comes in the form of Twonky which you run on your MyCloud and it shows up on the TV, just browse the folders to find what you want to play.

See this thread for help in setting it up https://community.wd.com/t/faq-twonky-dlna-media-server-setup-use/95373