aboutsummaryrefslogtreecommitdiff
path: root/TestMediaApp/assets
diff options
context:
space:
mode:
authorarnaudberry <arnaudberry@google.com>2019-06-18 13:52:03 -0700
committerArnaud Berry <arnaudberry@google.com>2019-07-03 12:27:10 -0700
commit8961b919a1fe24e542b173b171c4fdfc1351e147 (patch)
treebb7c0c90f67c9b39f8abf3158a0aaaac93a76799 /TestMediaApp/assets
parentba08abb24f6e85d29c0893e26200b60c93043b9e (diff)
downloadtests-8961b919a1fe24e542b173b171c4fdfc1351e147.tar.gz
TestMedia: prev/next + queue + one custom action
The prev / next actions are now implemented. The queue shows the content of the active item's parent node The heart ++/-- custom actions is set on the Advanced/Custom Action item, it uses a vector drawable and a png to check the Media center's icon bitmap flagging logic. Test: manual Change-Id: Ib97d17551908f34e461aa9ae3cb2c860b260b8ca
Diffstat (limited to 'TestMediaApp/assets')
-rw-r--r--TestMediaApp/assets/media_items/advanced.json29
-rw-r--r--TestMediaApp/assets/media_items/mixed.json10
-rw-r--r--TestMediaApp/assets/media_items/only_nodes.json9
3 files changed, 44 insertions, 4 deletions
diff --git a/TestMediaApp/assets/media_items/advanced.json b/TestMediaApp/assets/media_items/advanced.json
new file mode 100644
index 0000000..4cf34ea
--- /dev/null
+++ b/TestMediaApp/assets/media_items/advanced.json
@@ -0,0 +1,29 @@
+{
+ "FLAGS": "browsable",
+
+ "METADATA": {
+ "MEDIA_ID": "advanced",
+ "DISPLAY_TITLE": "Advanced"
+ },
+
+ "CHILDREN": [
+ {
+ "FLAGS": "playable",
+ "METADATA": {
+ "MEDIA_ID": "advanced custom_action",
+ "DISPLAY_TITLE": "Custom Action",
+ "DURATION": 10000
+ },
+ "CUSTOM_ACTIONS": ["HEART_LESS_LESS", "HEART_PLUS_PLUS"]
+ },
+ {
+ "FLAGS": "browsable",
+ "PLAYABLE_HINT": "GRID",
+ "METADATA": {
+ "MEDIA_ID": "advanced art nodes",
+ "DISPLAY_TITLE": "Album Art"
+ },
+ "INCLUDE":"media_items/album_art/art_nodes.json"
+ }
+ ]
+} \ No newline at end of file
diff --git a/TestMediaApp/assets/media_items/mixed.json b/TestMediaApp/assets/media_items/mixed.json
index 872fa4f..7e04e85 100644
--- a/TestMediaApp/assets/media_items/mixed.json
+++ b/TestMediaApp/assets/media_items/mixed.json
@@ -36,6 +36,16 @@
{
"FLAGS": "browsable",
"PLAYABLE_HINT": "LIST",
+ "BROWSABLE_HINT": "LIST",
+ "METADATA": {
+ "MEDIA_ID": "mixed advanced",
+ "DISPLAY_TITLE": "Advanced"
+ },
+ "INCLUDE":"media_items/advanced.json"
+ },
+ {
+ "FLAGS": "browsable",
+ "PLAYABLE_HINT": "LIST",
"BROWSABLE_HINT": "GRID",
"METADATA": {
"MEDIA_ID": "mixed rabbit hole",
diff --git a/TestMediaApp/assets/media_items/only_nodes.json b/TestMediaApp/assets/media_items/only_nodes.json
index 7150104..4858438 100644
--- a/TestMediaApp/assets/media_items/only_nodes.json
+++ b/TestMediaApp/assets/media_items/only_nodes.json
@@ -19,12 +19,13 @@
},
{
"FLAGS": "browsable",
- "PLAYABLE_HINT": "GRID",
+ "PLAYABLE_HINT": "LIST",
+ "BROWSABLE_HINT": "LIST",
"METADATA": {
- "MEDIA_ID": "only_nodes art nodes",
- "DISPLAY_TITLE": "Album Art"
+ "MEDIA_ID": "only_nodes advanced",
+ "DISPLAY_TITLE": "Advanced"
},
- "INCLUDE":"media_items/album_art/art_nodes.json"
+ "INCLUDE":"media_items/advanced.json"
},
{
"FLAGS": "browsable",