- <?xml version='1.0' ?>
- <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
- <script>
- print("Enter menu_lge.rss");
- </script>
- <onExit>
- print("Exit menu_lge.rss");
- </onExit>
- <channel>
- <title> LGE Demo </title>
- <link>./scripts/menu.rss</link>
- <media:thumbnail url="image/rss1.png" />
- <item>
- <title>YouTube Video Guide</title>
- <link>http://live.mvix.net/x_live/scripts/youtube_menu.rss</link>
- <media:thumbnail url="image/youtube.gif" width="120" height="90" />
- <mediaDisplay name=threePartsView
- showDefaultInfo=no
- itemPerPage=5
- >
- <!-- itemDisplay will draw widget inside the item area, item area is decided by mediaDisplay attributes -->
- <itemDisplay>
- <text offsetXPC=2 offsetYPC=10 widthPC=65 heightPC=30 fontSize=12 backgroundColor=-1:-1:-1 foregroundColor=200:200:200>
- <script_replace>
- getItemInfo("title");
- </script_replace>
- </text>
- <text offsetXPC=2 offsetYPC=57 widthPC=50 heightPC=20 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=0:200:200>
- <script_replace>
- tmp = getItemInfo("durationHHMMSS");
- </script_replace>
- </text>
- <text offsetXPC=68 offsetYPC=10 widthPC=32 heightPC=20 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=0:200:200>
- <script_replace>
- tmp = getItemInfo("viewcount");
- if (tmp!= null) {
- "viewed:" + tmp;
- }
- else {
- null;
- }
- </script_replace>
- </text>
- <text offsetXPC=45 offsetYPC=57 widthPC=30 heightPC=20 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:0>
- <script_replace>
- getItemInfo("rating");
- </script_replace>
- </text>
- </itemDisplay>
- <infoDisplay>
- <onEnter>
- startVideo = 1;
- setRefreshTime(150);
- </onEnter>
- <onRefresh>
- if (startVideo == 1) {
- playItemURL(-1, 0, "mediaDisplay", "infoDisplay", "previewWindow");
- setRefreshTime(1000);
- startVideo = 0;
- }
- progress = getPlaybackStatus();
- updatePlaybackProgress(progress, "mediaDisplay", "infoDisplay", "progressBar");
- </onRefresh>
- <onExit>
- playItemURL(-1, 1);
- setRefreshTime(-1);
- </onExit>
- <text offsetXPC=70 offsetYPC=20 widthPC=27 heightPC=10 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:0 lines=2>
- <script_replace>
- getItemInfo("title");
- </script_replace>
- </text>
- <text offsetXPC=70 offsetYPC=20 widthPC=27 heightPC=40 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:0 lines=7>
- <script_replace>
- getItemInfo("description");
- </script_replace>
- </text>
- <previewWindow windowColor=20:20:20 offsetXPC=33 offsetYPC=20 widthPC=35 heightPC=50>
- </previewWindow>
- <progressBar backgroundColor=100:100:100, offsetXPC=33, offsetYPC=70, widthPC=35, heightPC=3>
- <bar offsetXPC=0, offsetYPC=35, widthPC=75, heightPC=30, barColor=250:250:250, progressColor=30:100:10 />
- <text offsetXPC=77 offsetYPC=0 widthPC=20 heightPC=100 fontSize=7 backgroundColor=100:100:100 foregroundColor=200:200:0>
- <script_replace>
- getItemInfo("durationHHMMSS");
- </script_replace>
- </text>
- </progressBar>
- <fullScreenBar>
- <backgroundImage></backgroundImage>
- <playbackImage></playbackImage>
- <bufferImage></bufferImage>
- <text backgroundColor=255:255:255 foregroundColor=200:200:200 fontSize=10></text>
- </fullScreenBar>
- </infoDisplay>
- </mediaDisplay>
- </item>
- <item>
- <title>Picasa</title>
- <media:thumbnail url="image/picasa.gif" />
- <mediaDisplay name=threePartsView selectMenuOnRight=no
- sideColorLeft=102:137:204
- itemImageXPC = 32
- itemImageYPC = 23
- itemImageWidthPC = 5
- itemImageHeightPC = 9
- itemXPC = 38
- />
- <link>http://live.mvix.net/x_live/scripts/picasa_lge.rss</link>
- </item>
- </channel>
- </rss>