1. <?xml version='1.0' ?>
  2. <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  3. <script>
  4. print("Enter menu_lge.rss");
  5. </script>
  6. <onExit>
  7. print("Exit menu_lge.rss");
  8. </onExit>
  9. <channel>
  10. <title> LGE Demo </title>
  11. <link>./scripts/menu.rss</link>
  12. <media:thumbnail url="image/rss1.png" />
  13. <item>
  14. <title>YouTube Video Guide</title>
  15. <link>http://live.mvix.net/x_live/scripts/youtube_menu.rss</link>
  16. <media:thumbnail url="image/youtube.gif" width="120" height="90" />
  17. <mediaDisplay name=threePartsView
  18. showDefaultInfo=no
  19. itemPerPage=5
  20. >
  21. <!-- itemDisplay will draw widget inside the item area, item area is decided by mediaDisplay attributes -->
  22. <itemDisplay>
  23. <text offsetXPC=2 offsetYPC=10 widthPC=65 heightPC=30 fontSize=12 backgroundColor=-1:-1:-1 foregroundColor=200:200:200>
  24. <script_replace>
  25. getItemInfo("title");
  26. </script_replace>
  27. </text>
  28. <text offsetXPC=2 offsetYPC=57 widthPC=50 heightPC=20 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=0:200:200>
  29. <script_replace>
  30. tmp = getItemInfo("durationHHMMSS");
  31. </script_replace>
  32. </text>
  33. <text offsetXPC=68 offsetYPC=10 widthPC=32 heightPC=20 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=0:200:200>
  34. <script_replace>
  35. tmp = getItemInfo("viewcount");
  36. if (tmp!= null) {
  37. "viewed:" + tmp;
  38. }
  39. else {
  40. null;
  41. }
  42. </script_replace>
  43. </text>
  44. <text offsetXPC=45 offsetYPC=57 widthPC=30 heightPC=20 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:0>
  45. <script_replace>
  46. getItemInfo("rating");
  47. </script_replace>
  48. </text>
  49. </itemDisplay>
  50. <infoDisplay>
  51. <onEnter>
  52. startVideo = 1;
  53. setRefreshTime(150);
  54. </onEnter>
  55. <onRefresh>
  56. if (startVideo == 1) {
  57. playItemURL(-1, 0, "mediaDisplay", "infoDisplay", "previewWindow");
  58. setRefreshTime(1000);
  59. startVideo = 0;
  60. }
  61. progress = getPlaybackStatus();
  62. updatePlaybackProgress(progress, "mediaDisplay", "infoDisplay", "progressBar");
  63. </onRefresh>
  64. <onExit>
  65. playItemURL(-1, 1);
  66. setRefreshTime(-1);
  67. </onExit>
  68. <text offsetXPC=70 offsetYPC=20 widthPC=27 heightPC=10 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:0 lines=2>
  69. <script_replace>
  70. getItemInfo("title");
  71. </script_replace>
  72. </text>
  73. <text offsetXPC=70 offsetYPC=20 widthPC=27 heightPC=40 fontSize=10 backgroundColor=-1:-1:-1 foregroundColor=200:200:0 lines=7>
  74. <script_replace>
  75. getItemInfo("description");
  76. </script_replace>
  77. </text>
  78. <previewWindow windowColor=20:20:20 offsetXPC=33 offsetYPC=20 widthPC=35 heightPC=50>
  79. </previewWindow>
  80. <progressBar backgroundColor=100:100:100, offsetXPC=33, offsetYPC=70, widthPC=35, heightPC=3>
  81. <bar offsetXPC=0, offsetYPC=35, widthPC=75, heightPC=30, barColor=250:250:250, progressColor=30:100:10 />
  82. <text offsetXPC=77 offsetYPC=0 widthPC=20 heightPC=100 fontSize=7 backgroundColor=100:100:100 foregroundColor=200:200:0>
  83. <script_replace>
  84. getItemInfo("durationHHMMSS");
  85. </script_replace>
  86. </text>
  87. </progressBar>
  88. <fullScreenBar>
  89. <backgroundImage></backgroundImage>
  90. <playbackImage></playbackImage>
  91. <bufferImage></bufferImage>
  92. <text backgroundColor=255:255:255 foregroundColor=200:200:200 fontSize=10></text>
  93. </fullScreenBar>
  94. </infoDisplay>
  95. </mediaDisplay>
  96. </item>
  97. <item>
  98. <title>Picasa</title>
  99. <media:thumbnail url="image/picasa.gif" />
  100. <mediaDisplay name=threePartsView selectMenuOnRight=no
  101. sideColorLeft=102:137:204
  102. itemImageXPC = 32
  103. itemImageYPC = 23
  104. itemImageWidthPC = 5
  105. itemImageHeightPC = 9
  106. itemXPC = 38
  107. />
  108. <link>http://live.mvix.net/x_live/scripts/picasa_lge.rss</link>
  109. </item>
  110. </channel>
  111. </rss>