johndavies wrote: ↑
Wed Feb 21, 2018 10:49 pm
Are you sure that your TV cannot do this by itself using its menu system? I f the TV is fairly new there should be an option accessed through its input menu.
I can run it in TV's native video player (since it's Android based it has an app for it, instead of selecting from a source menu), but what I'm trying to figure out is how to use raspberry pi to tell the TV to use this player.
The Pi won't be able to, as the TV almost certainly won't share the USB port to anything else connected to the TV (or indeed anything else at all).
As noted above, most modern TVs with USB ports have video playback software (of varying quality) built in which can do the job directly. However there can be limitations on the disk formats that the TV can read, so you may need to ensure that your disk is formatted to a suitable way that the TV can handle (FAT32, NTFS etc). Similarly the file formats supported (MP4, MKV etc) can also be limited on some makes and models.
I don't want to share USB with raspberry pi, since it can't handle the video. As stated above, I want control this playback software with raspberry pi. I checked and TV can play the video, I just need to automate the process of loading it.
I just tried Bubble with my Toshiba TV. That appears a renderer but not as a server. I can't get it to play media on the USB storage attached to the TV, but I can make it play media on my phone, or my PC, through the TV. If that was a 4K format supported by the TV it should play on the TV. The same should be true for the Pi. You may have to setup the Pi as DLNA server and you should be able to play that media on your TV either through the TV controls or through any DLNA client controller, including the Pi.
I found this QT upnp controller app, but it looks like audio only.
I wouldn't even need USB connected to the TV in this case, as long as I'm using TV to render the video, then that should do the trick. I will check it out, and see what I can do with this.
If I manage to make this work, I will leave the solution here. And thanks everyone for your replies.