I
I
Illia Pidvalnyi2021-06-22 12:01:31
Android
Illia Pidvalnyi, 2021-06-22 12:01:31

How to play any video file in a folder via adb?

Good day to all!

I had a need to run several remote videos on Andriod TV. I found a way to do this, and now I'm writing a .bat script to run several things at once. But on each set-top box in the same folder there is a file with its own name. How can the command be modified to play any media file from the specified folder via adb (that is, without specifying the file name, but only the path to it)?
Here is my current call:
adb -s IP_ADDRESS shell am start -a android.intent.action.VIEW -d /FILE_PATH/testvideo.mp4 -t video/mp4

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question