The MCT now also works on Android TV! For your media app to work with the Android TV version of the MCT, your media app must have a MediaBrowserService implementation. Please see here for more details on how to do this.
On launching the MCT on Android TV, you will see a list of installed media apps. Note that an app will only appear in this list if it implements the MediaBrowserService.
Selecting an app will take you to the testing screen, which will display a list of verification tests on the right.
Running a test will populate the left side of the screen with selected MediaController information. For more details, please check the MCT logs in Logcat.
Tests that require a query are marked with a keyboard icon. Clicking on one of these tests will open an input field for the query. Upon hitting Enter, the test will run.
To make text input easier, you can also use the ADB command:
adb shell input text [query]
Note that ‘%s’ will add a space between words. For example, the command adb shell input text hello%sworld will add the text “hello world” to the input field.
The MCT currently includes simple single-media-action tests for the following requests:
Play From Search
Play From Media ID
Play From URI
Skip To Next
Skip To Previous
Skip To Queue Item
For a technical deep dive on how the tests are structured and how to add more tests, visit the MCT GitHub Wiki. We’d love for you to submit pull requests with more tests that you think are useful to have and for any bug fixes. Please make sure to review the contributions process for more information.