blob: 9fcaa6a593c83bbd21e2c6deffcec3ebbd367996 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2015 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Example feed for RichTvInputService. This feed includes 3 channels and each channel may include
several programs. The programs are expected to be played sequentially in a loop for a given channel
so as to simulate a live TV channel.
NOTE: By default, rich TV input fetches the feed from cloud. To make it used this local feed, modify
the value of {@link com.example.android.sampletvinput.rich.RichFeedUtil#USE_LOCAL_XML_FEED}.
NOTE: This is just an example feed. Developers are welcome to use your own formats in e.g xml or
JSON, in which case you may need to write your own parser.
-->
<TvInputs display_name="Rich TV Input"
name="Your Company"
description="This is a sample TV input for demonstrating advanced features of TV Input Framework."
logo_thumb_url="http://commondatastorage.googleapis.com/android-tv/YourCompany.jpg"
logo_background_url="http://commondatastorage.googleapis.com/android-tv/YourCompany.jpg">
<Channels>
<Channel display_number="2-1" display_name="Google" video_width="1280" video_height="720"
logo_url="http://storage.googleapis.com/android-tv/images/google.png">
<Program title="Introducing Gmail Blue"
duration_sec="107"
video_url="http://commondatastorage.googleapis.com/android-tv/Sample%20videos/April%20Fool's%202013/Introducing%20Gmail%20Blue.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/android-tv/images/gmail.png"
description="Introducing Gmail Blue Introducing Gmail Blue Introducing Gmail Blue Introducing Gmail Blue."
content_rating="com.android.tv/US_TV/US_TV_14/US_TV_D/US_TV_L" />
<Program title="GoogleIO 2014 Casting To The Future"
duration_sec="2595"
video_url="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/GoogleIO-2014-CastingToTheFuture.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/gtv-videos-bucket/sample/images_480x270/ToTheFuture2-480x270.jpg"
description="GoogleIO 2014 Casting To The Future"
content_rating="com.android.tv/US_TV/US_TV_PG/US_TV_D" />
<Program title="GoogleIO 2014 Making Google Cast Ready Apps Discoverable"
duration_sec="840"
video_url="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/GoogleIO-2014-MakingGoogleCastReadyAppsDiscoverable.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/gtv-videos-bucket/sample/images_480x270/MakingGoogleCastReadyAppsDiscoverable-480-270.jpg"
description="GoogleIO 2014 Making Google Cast Ready Apps Discoverable."
content_rating="com.android.tv/US_TV/US_TV_14/US_TV_D/US_TV_L" />
<Program title="Introducing Google Fiber to the Pole"
duration_sec="131"
video_url="http://commondatastorage.googleapis.com/android-tv/Sample%20videos/April%20Fool's%202013/Introducing%20Google%20Fiber%20to%20the%20Pole.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/android-tv/images/fiber.png"
description="Introducing Google Fiber to the Pole."
content_rating="com.android.tv/US_TV/US_TV_PG/US_TV_D" />
<Program title="Introducing Google Nose"
duration_sec="122"
video_url="http://commondatastorage.googleapis.com/android-tv/Sample%20videos/April%20Fool's%202013/Introducing%20Google%20Nose.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/android-tv/images/nose.png"
description="Introducing Google Nose Introducing Google Nose Introducing Google Nose Introducing Google Nose Introducing Google Nose"
content_rating="com.android.tv/US_TV/US_TV_14/US_TV_D/US_TV_L" />
</Channel>
<Channel display_number="2-2" display_name="Creative Commons" video_width="1280" video_height="720"
logo_url="http://storage.googleapis.com/android-tv/images/cc.png">
<Program title="Elephants Dream"
duration_sec="653"
video_url="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/gtv-videos-bucket/sample/images_480x270/ElephantsDream.jpg"
description="Elephants Dream Elephants Dream Elephants Dream."
content_rating="com.android.tv/US_TV/US_TV_14/US_TV_D/US_TV_L" />
<Program title="Sintel"
duration_sec="887"
video_url="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/Sintel.mp4"
video_type="HTTP_PROGRESSIVE"
poster_art_url="http://storage.googleapis.com/gtv-videos-bucket/sample/images_480x270/Sintel.jpg"
description="Sintel a movie clip."
content_rating="com.android.tv/US_TV/US_TV_PG/US_TV_D" />
</Channel>
<Channel display_number="2-3" display_name="HLS" video_width="1920" video_height="1080"
logo_url="http://storage.googleapis.com/android-tv/images/hls.png">
<Program title="Bip-Bop"
duration_sec="1800"
video_url="https://devimages.apple.com.edgekey.net/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8"
video_type="HLS"
poster_art_url="http://storage.googleapis.com/android-tv/images/bipbop.png"
description="Bip-Bop sample video with captions"
content_rating="com.android.tv/US_TV/US_TV_G" />
</Channel>
<Channel display_number="2-4" display_name="MPEG_DASH" video_width="1920" video_height="1080"
logo_url="http://storage.googleapis.com/android-tv/images/mpeg_dash.png">
<Program title="Google Glass"
duration_sec="135"
video_url="http://www.youtube.com/api/manifest/dash/id/bf5bb2419360daf1/source/youtube?as=fmp4_audio_clear,fmp4_sd_hd_clear&amp;sparams=ip,ipbits,expire,as&amp;ip=0.0.0.0&amp;ipbits=0&amp;expire=19000000000&amp;signature=255F6B3C07C753C88708C07EA31B7A1A10703C8D.2D6A28B21F921D0B245CDCF36F7EB54A2B5ABFC2&amp;key=ik0"
video_type="MPEG_DASH"
poster_art_url="http://storage.googleapis.com/android-tv/images/glass.png"
description="Introduction to Google Glass projects with multiple audio tracks."
content_rating="com.android.tv/US_TV/US_TV_G" />
</Channel>
</Channels>
</TvInputs>