Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 56.39 KB | None | 0 0
  1. + export PATH=/home/peter/proj/build/mythtv/ttvdb/usr/bin:/home/peter/proj/build/mythtv/ttvdb/usr/local/bin:/home/peter/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/mythtv/bin
  2. + PATH=/home/peter/proj/build/mythtv/ttvdb/usr/bin:/home/peter/proj/build/mythtv/ttvdb/usr/local/bin:/home/peter/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/mythtv/bin
  3. + export MYTHTVDIR=/home/peter/proj/build/mythtv/ttvdb/usr
  4. + MYTHTVDIR=/home/peter/proj/build/mythtv/ttvdb/usr
  5. + export LD_LIBRARY_PATH=/home/peter/proj/build/mythtv/ttvdb/usr/lib:/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/lib:
  6. + LD_LIBRARY_PATH=/home/peter/proj/build/mythtv/ttvdb/usr/lib:/home/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/lib:
  7. + export MYTHCONFDIR=/home/peter/.mythtv-ttvdb
  8. + MYTHCONFDIR=/home/peter/.mythtv-ttvdb
  9. + export PYTHONPATH=/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7/dist-packages
  10. + PYTHONPATH=/home/peter/proj/build/mythtv/ttvdb/usr/local/lib/python2.7/dist-packages
  11. ++ ls -d /home/peter/proj/build/mythtv/ttvdb/usr/local/share/perl/5.22.1
  12. + export PERL5LIB=/home/peter/proj/build/mythtv/ttvdb/usr/local/share/perl/5.22.1
  13. + PERL5LIB=/home/peter/proj/build/mythtv/ttvdb/usr/local/share/perl/5.22.1
  14. + exec /srv/ahome/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py -d --doctest
  15. Trying:
  16. sys.argv = shlex.split('./ttvdb.py -B Sanctuary')
  17. Expecting nothing
  18. ok
  19. Trying:
  20. main()
  21. Expecting:
  22. Banner:http://thetvdb.com/banners/graphical/80159-g4.jpg,http://thetvdb.com/banners/graphical/80159-g5.jpg,http://thetvdb.com/banners/graphical/80159-g3.jpg,http://thetvdb.com/banners/graphical/80159-g6.jpg,http://thetvdb.com/banners/graphical/80159-g2.jpg,http://thetvdb.com/banners/graphical/80159-g.jpg,http://thetvdb.com/banners/graphical/80159-g8.jpg
  23. 0
  24. ok
  25. Trying:
  26. sys.argv = shlex.split('./ttvdb.py -S SG-1 1 10')
  27. Expecting nothing
  28. ok
  29. Trying:
  30. main()
  31. Expecting:
  32. <?xml version='1.0' encoding='UTF-8'?>
  33. <metadata>
  34. <item>
  35. <title>Stargate SG-1</title>
  36. <subtitle>Thor's Hammer</subtitle>
  37. <description>Teal'c and O'Neill are transported to an underground cage designed by the Asgard to protect an alien world from the Goa'uld.</description>
  38. <season>1</season>
  39. <episode>10</episode>
  40. <certifications>
  41. <certification locale="us" name="TV-PG"/>
  42. </certifications>
  43. <studios>
  44. <studio name="Syfy"/>
  45. </studios>
  46. <runtime/>
  47. <inetref>72449</inetref>
  48. <collectionref>72449</collectionref>
  49. <imdb>0118480</imdb>
  50. <tmsref>EP00225421</tmsref>
  51. <language>en</language>
  52. <year>1997</year>
  53. <releasedate>1997-09-26</releasedate>
  54. <people>
  55. <person job="Actor" name="Richard Dean Anderson" character="Jack O'Neill" url="http://thetvdb.com/banners/actors/17720.jpg" thumb="http://thetvdb.com/banners/actors/17720.jpg"/>
  56. <person job="Actor" name="Amanda Tapping" character="Samantha Carter" url="http://thetvdb.com/banners/actors/17722.jpg" thumb="http://thetvdb.com/banners/actors/17722.jpg"/>
  57. <person job="Actor" name="Michael Shanks" character="Dr. Daniel Jackson" url="http://thetvdb.com/banners/actors/17723.jpg" thumb="http://thetvdb.com/banners/actors/17723.jpg"/>
  58. <person job="Actor" name="Ben Browder" character="Cameron Mitchell" url="http://thetvdb.com/banners/actors/17725.jpg" thumb="http://thetvdb.com/banners/actors/17725.jpg"/>
  59. <person job="Actor" name="Christopher Judge" character="Teal'c" url="http://thetvdb.com/banners/actors/17726.jpg" thumb="http://thetvdb.com/banners/actors/17726.jpg"/>
  60. <person job="Actor" name="Beau Bridges" character="Henry &quot;Hank&quot; Landry" url="http://thetvdb.com/banners/actors/17719.jpg" thumb="http://thetvdb.com/banners/actors/17719.jpg"/>
  61. <person job="Actor" name="Don S. Davis" character="George S. Hammond" url="http://thetvdb.com/banners/actors/17721.jpg" thumb="http://thetvdb.com/banners/actors/17721.jpg"/>
  62. ...
  63. <person job="Guest Star" name="James Earl Jones"/>
  64. <person job="Guest Star" name="Galyn Gorg"/>
  65. <person job="Guest Star" name="Tamsin Kelsey"/>
  66. <person job="Guest Star" name="Vincent Hammond"/>
  67. <person job="Guest Star" name="Mark Gibbon"/>
  68. <person job="Director" name="Brad Turner"/>
  69. <person job="Author" name="Katharyn Michaelian Powers"/>
  70. </people>
  71. <images>
  72. <image type="screenshot" url="http://thetvdb.com/banners/episodes/72449/85759.jpg" thumb="http://thetvdb.com/banners/_cache/episodes/72449/85759.jpg"/>
  73. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72449-1-9.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72449-1-9.jpg"/>
  74. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72449-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72449-1.jpg"/>
  75. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72449-1-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72449-1-2.jpg"/>
  76. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72449-1-8.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72449-1-8.jpg"/>
  77. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/185-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/185-1.jpg"/>
  78. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72449-55.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72449-55.jpg" width="1920" height="1080"/>
  79. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72449-34.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72449-34.jpg" width="1280" height="720"/>
  80. ...
  81. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72449-75.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72449-75.jpg" width="1280" height="720"/>
  82. </images>
  83. </item>
  84. </metadata>
  85. 0
  86. ok
  87. Trying:
  88. sys.argv = shlex.split('ttvdb -PFB "Stargate SG-1"')
  89. Expecting nothing
  90. ok
  91. Trying:
  92. main()
  93. Expecting:
  94. Coverart:http://thetvdb.com/banners/posters/72449-4.jpg,http://thetvdb.com/banners/posters/72449-5.jpg,http://thetvdb.com/banners/posters/72449-9.jpg,http://thetvdb.com/banners/posters/72449-6.jpg,http://thetvdb.com/banners/posters/72449-7.jpg,http://thetvdb.com/banners/posters/72449-8.jpg,http://thetvdb.com/banners/posters/72449-1.jpg,http://thetvdb.com/banners/posters/72449-3.jpg,http://thetvdb.com/banners/posters/72449-2.jpg
  95. Fanart:http://thetvdb.com/banners/fanart/original/72449-55.jpg,http://thetvdb.com/banners/fanart/original/72449-34.jpg,http://thetvdb.com/banners/fanart/original/72449-23.jpg,http://thetvdb.com/banners/fanart/original/72449-24.jpg,http://thetvdb.com/banners/fanart/original/72449-29.jpg,http://thetvdb.com/banners/fanart/original/72449-6.jpg,http://thetvdb.com/banners/fanart/original/72449-26.jpg,http://thetvdb.com/banners/fanart/original/72449-36.jpg,http://thetvdb.com/banners/fanart/original/72449-38.jpg,http://thetvdb.com/banners/fanart/original/72449-50.jpg,http://thetvdb.com/banners/fanart/original/72449-27.jpg,http://thetvdb.com/banners/fanart/original/72449-31.jpg,http://thetvdb.com/banners/fanart/original/72449-32.jpg,http://thetvdb.com/banners/fanart/original/72449-35.jpg,http://thetvdb.com/banners/fanart/original/72449-42.jpg,http://thetvdb.com/banners/fanart/original/72449-44.jpg,http://thetvdb.com/banners/fanart/original/72449-25.jpg,http://thetvdb.com/banners/fanart/original/72449-28.jpg,http://thetvdb.com/banners/fanart/original/72449-47.jpg,http://thetvdb.com/banners/fanart/original/72449-33.jpg,http://thetvdb.com/banners/fanart/original/72449-39.jpg,http://thetvdb.com/banners/fanart/original/72449-43.jpg,http://thetvdb.com/banners/fanart/original/72449-22.jpg,http://thetvdb.com/banners/fanart/original/72449-30.jpg,http://thetvdb.com/banners/fanart/original/72449-40.jpg,http://thetvdb.com/banners/fanart/original/72449-41.jpg,http://thetvdb.com/banners/fanart/original/72449-49.jpg,http://thetvdb.com/banners/fanart/original/72449-51.jpg,http://thetvdb.com/banners/fanart/original/72449-21.jpg,http://thetvdb.com/banners/fanart/original/72449-20.jpg,http://thetvdb.com/banners/fanart/original/72449-45.jpg,http://thetvdb.com/banners/fanart/original/72449-67.jpg,http://thetvdb.com/banners/fanart/original/72449-9.jpg,http://thetvdb.com/banners/fanart/original/72449-46.jpg,http://thetvdb.com/banners/fanart/original/72449-48.jpg,http://thetvdb.com/banners/fanart/original/72449-4.jpg,http://thetvdb.com/banners/fanart/original/72449-1.jpg,http://thetvdb.com/banners/fanart/original/72449-65.jpg,http://thetvdb.com/banners/fanart/original/72449-37.jpg,http://thetvdb.com/banners/fanart/original/72449-16.jpg,http://thetvdb.com/banners/fanart/original/72449-17.jpg,http://thetvdb.com/banners/fanart/original/72449-3.jpg,http://thetvdb.com/banners/fanart/original/72449-7.jpg,http://thetvdb.com/banners/fanart/original/72449-10.jpg,http://thetvdb.com/banners/fanart/original/72449-8.jpg,http://thetvdb.com/banners/fanart/original/72449-5.jpg,http://thetvdb.com/banners/fanart/original/72449-64.jpg,http://thetvdb.com/banners/fanart/original/72449-2.jpg,http://thetvdb.com/banners/fanart/original/72449-61.jpg,http://thetvdb.com/banners/fanart/original/72449-12.jpg,http://thetvdb.com/banners/fanart/original/72449-13.jpg,http://thetvdb.com/banners/fanart/original/72449-14.jpg,http://thetvdb.com/banners/fanart/original/72449-15.jpg,http://thetvdb.com/banners/fanart/original/72449-18.jpg,http://thetvdb.com/banners/fanart/original/72449-63.jpg,http://thetvdb.com/banners/fanart/original/72449-11.jpg,http://thetvdb.com/banners/fanart/original/72449-19.jpg,http://thetvdb.com/banners/fanart/original/72449-52.jpg,http://thetvdb.com/banners/fanart/original/72449-53.jpg,http://thetvdb.com/banners/fanart/original/72449-54.jpg,http://thetvdb.com/banners/fanart/original/72449-56.jpg,http://thetvdb.com/banners/fanart/original/72449-57.jpg,http://thetvdb.com/banners/fanart/original/72449-58.jpg,http://thetvdb.com/banners/fanart/original/72449-59.jpg,http://thetvdb.com/banners/fanart/original/72449-60.jpg,http://thetvdb.com/banners/fanart/original/72449-62.jpg,http://thetvdb.com/banners/fanart/original/72449-73.jpg,http://thetvdb.com/banners/fanart/original/72449-74.jpg,http://thetvdb.com/banners/fanart/original/72449-75.jpg
  96. Banner:http://thetvdb.com/banners/graphical/72449-g6.jpg,http://thetvdb.com/banners/graphical/72449-g7.jpg,http://thetvdb.com/banners/graphical/185-g3.jpg,http://thetvdb.com/banners/graphical/185-g2.jpg,http://thetvdb.com/banners/graphical/72449-g2.jpg,http://thetvdb.com/banners/graphical/72449-g9.jpg,http://thetvdb.com/banners/blank/72449.jpg,http://thetvdb.com/banners/graphical/72449-g3.jpg,http://thetvdb.com/banners/graphical/72449-g4.jpg,http://thetvdb.com/banners/graphical/185-g.jpg,http://thetvdb.com/banners/graphical/72449-g.jpg,http://thetvdb.com/banners/text/185.jpg,http://thetvdb.com/banners/graphical/72449-g5.jpg,http://thetvdb.com/banners/graphical/72449-g8.jpg
  97. 0
  98. ok
  99. Trying:
  100. sys.argv = shlex.split('ttvdb -B "Night Gallery"')
  101. Expecting nothing
  102. ok
  103. Trying:
  104. main()
  105. Expecting:
  106. Banner:http://thetvdb.com/banners/graphical/70382-g4.jpg,http://thetvdb.com/banners/graphical/1013-g.jpg,http://thetvdb.com/banners/blank/70382.jpg,http://thetvdb.com/banners/graphical/70382-g.jpg,http://thetvdb.com/banners/graphical/70382-g2.jpg,http://thetvdb.com/banners/graphical/70382-g3.jpg
  107. 0
  108. ok
  109. Trying:
  110. sys.argv = shlex.split('ttvdb -Bl en Lost')
  111. Expecting nothing
  112. ok
  113. Trying:
  114. main()
  115. Expecting:
  116. Banner:http://thetvdb.com/banners/graphical/73739-g4.jpg,http://thetvdb.com/banners/graphical/73739-g13.jpg,http://thetvdb.com/banners/graphical/73739-g18.jpg,http://thetvdb.com/banners/graphical/73739-g6.jpg,http://thetvdb.com/banners/graphical/73739-g12.jpg,http://thetvdb.com/banners/graphical/73739-g3.jpg,http://thetvdb.com/banners/graphical/24313-g2.jpg,http://thetvdb.com/banners/graphical/73739-g8.jpg,http://thetvdb.com/banners/graphical/73739-g.jpg,http://thetvdb.com/banners/graphical/73739-g5.jpg,http://thetvdb.com/banners/graphical/73739-g7.jpg,http://thetvdb.com/banners/graphical/73739-g10.jpg,http://thetvdb.com/banners/graphical/73739-g11.jpg,http://thetvdb.com/banners/graphical/24313-g.jpg,http://thetvdb.com/banners/graphical/73739-g2.jpg,http://thetvdb.com/banners/blank/73739.jpg
  117. 0
  118. ok
  119. Trying:
  120. sys.argv = shlex.split('ttvdb -N --configure=./tvdb_test.conf "Eleventh Hour" H2O')
  121. Expecting nothing
  122. ok
  123. Trying:
  124. main()
  125. Expecting:
  126. <?xml version='1.0' encoding='UTF-8'?>
  127. <metadata>
  128. <item>
  129. <title>Eleventh Hour (US)</title>
  130. <subtitle>H2O</subtitle>
  131. <description>An epidemic of sudden, violent outbursts by law-abiding citizens draws Dr. Jacob Hood to a quiet Texas community to investigate - but he soon succumbs to the same erratic behavior.</description>
  132. <season>1</season>
  133. <episode>10</episode>
  134. <certifications>
  135. <certification locale="us" name="TV-14"/>
  136. </certifications>
  137. <studios>
  138. <studio name="CBS"/>
  139. </studios>
  140. <runtime/>
  141. <inetref>83066</inetref>
  142. <collectionref>83066</collectionref>
  143. <imdb>1118697</imdb>
  144. <language>en</language>
  145. <year>2009</year>
  146. <releasedate>2009-01-15</releasedate>
  147. <people>
  148. <person job="Actor" name="Rufus Sewell" character="Jacob Hood" url="http://thetvdb.com/banners/actors/78899.jpg" thumb="http://thetvdb.com/banners/actors/78899.jpg"/>
  149. <person job="Actor" name="Marley Shelton" character="Rachel Young" url="http://thetvdb.com/banners/actors/78898.jpg" thumb="http://thetvdb.com/banners/actors/78898.jpg"/>
  150. <person job="Actor" name="Omar Benson Miller" character="Felix Lee" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  151. <person job="Actor" name="Chris Krauser" character="EMT" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  152. <person job="Actor" name="Erica Frene" character="Receptionist" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  153. <person job="Actor" name="Lei'lah Star" character="Sick Kid" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  154. <person job="Actor" name="Mark C. Baldwin" character="Infomercial Announcer" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  155. <person job="Director" name="McDonough"/>
  156. <person job="Author" name="Kim Newton"/>
  157. </people>
  158. <images>
  159. <image type="screenshot" url="http://thetvdb.com/banners/episodes/83066/416216.jpg" thumb="http://thetvdb.com/banners/_cache/episodes/83066/416216.jpg"/>
  160. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/83066-1-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/83066-1-2.jpg"/>
  161. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/83066-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/83066-1.jpg"/>
  162. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-1.jpg" width="1280" height="720"/>
  163. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-3.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-3.jpg" width="1280" height="720"/>
  164. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-5.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-5.jpg" width="1920" height="1080"/>
  165. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-2.jpg" width="1280" height="720"/>
  166. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-4.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-4.jpg" width="1280" height="720"/>
  167. </images>
  168. </item>
  169. </metadata>
  170. 0
  171. **********************************************************************
  172. File "/srv/ahome/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py", line 125, in __main__
  173. Failed example:
  174. main()
  175. Expected:
  176. <?xml version='1.0' encoding='UTF-8'?>
  177. <metadata>
  178. <item>
  179. <title>Eleventh Hour (US)</title>
  180. <subtitle>H2O</subtitle>
  181. <description>An epidemic of sudden, violent outbursts by law-abiding citizens draws Dr. Jacob Hood to a quiet Texas community to investigate - but he soon succumbs to the same erratic behavior.</description>
  182. <season>1</season>
  183. <episode>10</episode>
  184. <certifications>
  185. <certification locale="us" name="TV-14"/>
  186. </certifications>
  187. <studios>
  188. <studio name="CBS"/>
  189. </studios>
  190. <runtime/>
  191. <inetref>83066</inetref>
  192. <collectionref>83066</collectionref>
  193. <imdb>1118697</imdb>
  194. <language>en</language>
  195. <year>2009</year>
  196. <releasedate>2009-01-15</releasedate>
  197. <people>
  198. <person job="Actor" name="Rufus Sewell" character="Jacob Hood" url="http://thetvdb.com/banners/actors/78899.jpg" thumb="http://thetvdb.com/banners/actors/78899.jpg"/>
  199. <person job="Actor" name="Marley Shelton" character="Rachel Young" url="http://thetvdb.com/banners/actors/78898.jpg" thumb="http://thetvdb.com/banners/actors/78898.jpg"/>
  200. <person job="Actor" name="Omar Benson Miller" character="Felix Lee" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  201. <person job="Actor" name="Chris Krauser" character="EMT" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  202. <person job="Actor" name="Erica Frene" character="Receptionist" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  203. <person job="Actor" name="Lei'lah Star" character="Sick Kid" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  204. <person job="Actor" name="Mark C. Baldwin" character="Infomercial Announcer" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  205. <person job="Director" name="McDonough"/>
  206. <person job="Author" name="Kim Newton"/>
  207. </people>
  208. <images>
  209. <image type="screenshot" url="http://thetvdb.com/banners/episodes/83066/416216.jpg" thumb="http://thetvdb.com/banners/_cache/episodes/83066/416216.jpg"/>
  210. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/83066-1-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/83066-1-2.jpg"/>
  211. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/83066-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/83066-1.jpg"/>
  212. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-1.jpg" width="1280" height="720"/>
  213. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-3.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-3.jpg" width="1280" height="720"/>
  214. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-5.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-5.jpg" width="1920" height="1080"/>
  215. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-2.jpg" width="1280" height="720"/>
  216. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/83066-4.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/83066-4.jpg" width="1280" height="720"/>
  217. </images>
  218. </item>
  219. </metadata>
  220. 0
  221. Got:
  222. 1
  223. Trying:
  224. sys.argv = shlex.split('ttvdb --configure=./tvdb_test.conf -n SG-1')
  225. Expecting nothing
  226. ok
  227. Trying:
  228. main()
  229. Expecting:
  230. 0,1,2,3,4,5,6,7,8,9,10
  231. 0
  232. **********************************************************************
  233. File "/srv/ahome/peter/proj/build/mythtv/ttvdb/usr/share/mythtv/metadata/Television/ttvdb.py", line 178, in __main__
  234. Failed example:
  235. main()
  236. Expected:
  237. 0,1,2,3,4,5,6,7,8,9,10
  238. 0
  239. Got:
  240. 1
  241. Trying:
  242. sys.argv = shlex.split('ttvdb -D 80159 2 2')
  243. Expecting nothing
  244. ok
  245. Trying:
  246. main()
  247. Expecting:
  248. <?xml version='1.0' encoding='UTF-8'?>
  249. <metadata>
  250. <item>
  251. <title>Sanctuary</title>
  252. <subtitle>End of Nights (2)</subtitle>
  253. <description>Furious at being duped into a trap, Magnus takes on Kate, demanding information and complete access to her Cabal contacts. The Cabal’s true agenda is revealed and Magnus realizes that they are not only holding Ashley as ransom to obtain complete control of the Sanctuary Network, but turning her into the ultimate weapon. Now transformed into a Super Abnormal with devastating powers, Ashley and her newly cloned fighters begin their onslaught, destroying Sanctuaries in cities around the world. Tesla and Henry attempt to create a weapon that can stop the attacks…without killing Ashley. As the team prepares to defend the Sanctuary with Tesla’s new weapon, Magnus must come to the realization that they may not be able to stop the Cabal’s attacks without harming Ashley. She realizes she might have to choose between saving her only daughter, or losing the Sanctuary and all the lives and secrets within it.</description>
  254. <season>2</season>
  255. <episode>2</episode>
  256. <certifications>
  257. <certification locale="us" name="TV-PG"/>
  258. </certifications>
  259. <studios>
  260. <studio name="Space"/>
  261. </studios>
  262. <runtime/>
  263. <inetref>80159</inetref>
  264. <collectionref>80159</collectionref>
  265. <imdb>0965394</imdb>
  266. <tmsref>EP01085421</tmsref>
  267. <language>en</language>
  268. <year>2009</year>
  269. <releasedate>2009-10-16</releasedate>
  270. <people>
  271. <person job="Actor" name="Amanda Tapping" character="Dr. Helen Magnus" url="http://thetvdb.com/banners/actors/73053.jpg" thumb="http://thetvdb.com/banners/actors/73053.jpg"/>
  272. <person job="Actor" name="Robin Dunne" character="Will Zimmerman" url="http://thetvdb.com/banners/actors/73054.jpg" thumb="http://thetvdb.com/banners/actors/73054.jpg"/>
  273. <person job="Actor" name="Emilie Ullerup" character="Ashley Magnus" url="http://thetvdb.com/banners/actors/73055.jpg" thumb="http://thetvdb.com/banners/actors/73055.jpg"/>
  274. <person job="Actor" name="Christopher Heyerdahl" character="John Druitt" url="http://thetvdb.com/banners/actors/73056.jpg" thumb="http://thetvdb.com/banners/actors/73056.jpg"/>
  275. <person job="Actor" name="Christopher Heyerdahl" character="Bigfoot" url="http://thetvdb.com/banners/actors/309797.jpg" thumb="http://thetvdb.com/banners/actors/309797.jpg"/>
  276. <person job="Actor" name="Ryan Robbins" character="Henry Foss" url="http://thetvdb.com/banners/actors/80072.jpg" thumb="http://thetvdb.com/banners/actors/80072.jpg"/>
  277. <person job="Actor" name="Agam Darshi" character="Kate Freelander" url="http://thetvdb.com/banners/actors/118211.jpg" thumb="http://thetvdb.com/banners/actors/118211.jpg"/>
  278. <person job="Actor" name="Vincent Gale" character="Nigel Griffin" url="http://thetvdb.com/banners/actors/372548.jpg" thumb="http://thetvdb.com/banners/actors/372548.jpg"/>
  279. <person job="Actor" name="Peter Wingfield" character="James Watson" url="http://thetvdb.com/banners/actors/372549.jpg" thumb="http://thetvdb.com/banners/actors/372549.jpg"/>
  280. <person job="Actor" name="Jonathon Young" character="Nikola Tesla" url="http://thetvdb.com/banners/actors/372550.jpg" thumb="http://thetvdb.com/banners/actors/372550.jpg"/>
  281. <person job="Actor" name="Ian Tracey" character="Adam Worth" url="http://thetvdb.com/banners/actors/372551.jpg" thumb="http://thetvdb.com/banners/actors/372551.jpg"/>
  282. <person job="Actor" name="Jim Byrnes" character="Gregory Magnus" url="http://thetvdb.com/banners/actors/372552.jpg" thumb="http://thetvdb.com/banners/actors/372552.jpg"/>
  283. <person job="Actor" name="Polly Walker" character="Ranna Seneschal" url="http://thetvdb.com/banners/actors/372553.jpg" thumb="http://thetvdb.com/banners/actors/372553.jpg"/>
  284. <person job="Actor" name="Robert Lawrenson" character="Declan Macrae" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  285. <person job="Actor" name="Pascale Hutton" character="Abby Corrigan" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  286. <person job="Actor" name="Lynda Boyd" character="Dana Whitcomb" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  287. <person job="Actor" name="Shekhar Paleja" character="Ravi" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  288. <person job="Actor" name="Chuck Campbell" character="Two Faced Guy" url="http://thetvdb.com/banners/" thumb="http://thetvdb.com/banners/"/>
  289. <person job="Guest Star" name="Jonathon Young"/>
  290. <person job="Guest Star" name="Christine Chatelain"/>
  291. <person job="Guest Star" name="Robert Lawrenson"/>
  292. <person job="Guest Star" name="Maiko Yamamoto"/>
  293. <person job="Guest Star" name="Stanley Tsang"/>
  294. <person job="Guest Star" name="Darren A. Hebert"/>
  295. <person job="Guest Star" name="Lynda Boyd"/>
  296. <person job="Director" name="Martin Wood"/>
  297. <person job="Author" name="Damian Kindler"/>
  298. </people>
  299. <images>
  300. <image type="screenshot" url="http://thetvdb.com/banners/episodes/80159/998441.jpg" thumb="http://thetvdb.com/banners/_cache/episodes/80159/998441.jpg"/>
  301. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/80159-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/80159-2.jpg"/>
  302. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/80159-2-3.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/80159-2-3.jpg"/>
  303. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/80159-2-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/80159-2-2.jpg"/>
  304. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-10.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-10.jpg" width="1280" height="720"/>
  305. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-6.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-6.jpg" width="1920" height="1080"/>
  306. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-3.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-3.jpg" width="1920" height="1080"/>
  307. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-9.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-9.jpg" width="1920" height="1080"/>
  308. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-7.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-7.jpg" width="1920" height="1080"/>
  309. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-8.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-8.jpg" width="1920" height="1080"/>
  310. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-2.jpg" width="1920" height="1080"/>
  311. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-4.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-4.jpg" width="1280" height="720"/>
  312. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-5.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-5.jpg" width="1920" height="1080"/>
  313. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-21.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-21.jpg" width="1920" height="1080"/>
  314. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-16.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-16.jpg" width="1280" height="720"/>
  315. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-1.jpg" width="1280" height="720"/>
  316. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-15.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-15.jpg" width="1920" height="1080"/>
  317. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-17.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-17.jpg" width="1920" height="1080"/>
  318. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-18.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-18.jpg" width="1920" height="1080"/>
  319. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-19.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-19.jpg" width="1920" height="1080"/>
  320. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-20.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-20.jpg" width="1920" height="1080"/>
  321. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-22.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-22.jpg" width="1920" height="1080"/>
  322. </images>
  323. </item>
  324. </metadata>
  325. 0
  326. ok
  327. Trying:
  328. sys.argv = shlex.split('ttvdb -M "night a"')
  329. Expecting nothing
  330. ok
  331. Trying:
  332. main()
  333. Expecting:
  334. <?xml version='1.0' encoding='UTF-8'?>
  335. <metadata>
  336. <item>
  337. <language>en</language>
  338. <title>A Night of Numbers</title>
  339. <inetref>249306</inetref>
  340. <collectionref>249306</collectionref>
  341. <description>BBC FOUR celebrates mathematics and the beauty of numbers with a series of programmes about this most precise and exacting of all intellectual disciplines. Throughout the night, the channel will show films that offer insights into the minds of great mathematicians, and reveal the stories behind some of the great mathematical breakthroughs.</description>
  342. <releasedate>2005-12-06</releasedate>
  343. <images>
  344. <image type="banner" url="http://www.thetvdb.com/banners/graphical/249306-g.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/249306-g.jpg"/>
  345. </images>
  346. </item>
  347. <item>
  348. <language>en</language>
  349. <title>A night at The Classic</title>
  350. <inetref>224951</inetref>
  351. <collectionref>224951</collectionref>
  352. <description>Each episode of A Night at The Classic follows MC Brendhan Lovegrove and guest comedians as they perform for a different crowd on a different "night" at The Classic. Along with stand-up comedy recorded in front of a live audience, viewers are given a glimpse of what the comedians are like backstage, providing a rare insight into the rivalries and rituals of stand-up comedians.</description>
  353. <releasedate>2010-11-03</releasedate>
  354. <images>
  355. <image type="banner" url="http://www.thetvdb.com/banners/graphical/224951-g.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/224951-g.jpg"/>
  356. </images>
  357. </item>
  358. <item>
  359. <language>en</language>
  360. <title>A Night at the Rijksmuseum</title>
  361. <inetref>268908</inetref>
  362. <collectionref>268908</collectionref>
  363. <releasedate>2013-04-18</releasedate>
  364. </item>
  365. <item>
  366. <language>en</language>
  367. <title>A Night of Heroes: The Sun Military Awards</title>
  368. <inetref>270984</inetref>
  369. <collectionref>270984</collectionref>
  370. <description>Annual celebration, A Night of Heroes: Also known as The Millies, the awards recognize the excellence and sacrifice made by Britain's Armed Forces</description>
  371. <images>
  372. <image type="banner" url="http://www.thetvdb.com/banners/graphical/270984-g.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/270984-g.jpg"/>
  373. </images>
  374. </item>
  375. <item>
  376. <language>en</language>
  377. <title>A Night of Exploration</title>
  378. <inetref>271528</inetref>
  379. <collectionref>271528</collectionref>
  380. <description>For well over a century the National Geographic Society has been synonymous with pioneering expeditions, groundbreaking discoveries and breathtaking imagery of world cultures and exotic locations. In celebration of the iconic yellow border’s 125th anniversary, National Geographic Channel pays tribute to the hotshots, the mavericks and the best in their field who have devoted their lives to exploring the world around us and the groundbreaking discoveries that are making a difference.</description>
  381. <images>
  382. <image type="banner" url="http://www.thetvdb.com/banners/graphical/271528-g.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/271528-g.jpg"/>
  383. </images>
  384. </item>
  385. <item>
  386. <language>en</language>
  387. <title>A Night at the Office</title>
  388. <inetref>118511</inetref>
  389. <collectionref>118511</collectionref>
  390. <description>On August 11th 2009, it was announced that the cast of The Office would be reuniting for a special, called "A Night at The Office", available at BBC2 and online, it was the entire first series of the seminal BBC comedy 'The Office' with new comments from the writers and celebrity fans shown between each episode.</description>
  391. <releasedate>2009-08-17</releasedate>
  392. <images>
  393. <image type="banner" url="http://www.thetvdb.com/banners/graphical/118511-g.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/118511-g.jpg"/>
  394. </images>
  395. </item>
  396. <item>
  397. <language>en</language>
  398. <title>A Night With The Stars</title>
  399. <inetref>256045</inetref>
  400. <collectionref>256045</collectionref>
  401. <description>For one night only, Professor Brian Cox goes unplugged in a specially recorded programme from the lecture theatre of the Royal Institution of Great Britain. In his own inimitable style, Brian takes an audience of famous faces, scientists and members of the public on a journey through some of the most challenging concepts in physics. With the help of Jonathan Ross, Simon Pegg, Sarah Millican and James May, Brian shows how diamonds - the hardest material in nature - are made up of nothingness; how things can be in an infinite number of places at once; why everything we see or touch in the universe exists; and how a diamond in the heart of London is in communication with the largest diamond in the cosmos.</description>
  402. <releasedate>2011-12-18</releasedate>
  403. <images>
  404. <image type="banner" url="http://www.thetvdb.com/banners/graphical/256045-g.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/256045-g.jpg"/>
  405. </images>
  406. </item>
  407. <item>
  408. <language>en</language>
  409. <title>A Night at the Festival Club</title>
  410. <inetref>268969</inetref>
  411. <collectionref>268969</collectionref>
  412. <description>A Night at the Festival Club is an Australian stand-up comedy television event created and executive produced by the Comedy Channel programming director Darren Chau, produced by Ted Robinson and GNW TV Productions for the Comedy Channel as part of the Melbourne International Comedy Festival. The series centres around bottling the unique comedic live performances and moments that occur late night in the Festival Club during the Melbourne International Comedy Festival.</description>
  413. <releasedate>2008-05-02</releasedate>
  414. </item>
  415. <item>
  416. <language>en</language>
  417. <title>A Clear Midsummer Night</title>
  418. <inetref>286538</inetref>
  419. <collectionref>286538</collectionref>
  420. <description>The daughter of a real estate mogul Xia Wan Qing, has seemingly no way of retreating after a friend's betrayal and her boyfriend backing out of their wedding. Fortunately, she's saved by business genius Qiao Jin Fan. Jin Fan is a "playboy" and the future successor for Qiao corporation. He extends an offering hand and together they embark on a path of revenge. Each for reasons of their own, begin a love with "uncertain motives." After enduring circumstances because of their families' competing interests and a number of conspiracies the two find true love.</description>
  421. </item>
  422. <item>
  423. <language>en</language>
  424. <title>A Christmas Night with the Stars</title>
  425. <inetref>248911</inetref>
  426. <collectionref>248911</collectionref>
  427. <description>Christmas Night with the Stars was a television show broadcast each Christmas night by the BBC from 1958 to 1972 (with the exception of 1961, 1965 and 1966) and also revived in 1994. The show was hosted each year by a leading star of BBC TV and featured specially made short seasonal editions (typically about 10 minutes long) of the previous year's most popular BBC sitcoms and light entertainment programs. The show was voted 24th in the Channel 4 100 Greatest Christmas Moments. Most of the variety segments no longer exist.</description>
  428. <releasedate>1958-12-25</releasedate>
  429. <images>
  430. <image type="banner" url="http://www.thetvdb.com/banners/graphical/248911-g2.jpg" thumb="http://www.thetvdb.com/banners/_cache/graphical/248911-g2.jpg"/>
  431. </images>
  432. </item>
  433. <item>
  434. <language>en</language>
  435. <title>A Night With My Ex</title>
  436. <inetref>331751</inetref>
  437. <collectionref>331751</collectionref>
  438. <description>Do you have unfinished business with a partner from a previous relationship? All of the onetime couples featured on ``A Night With My Ex'' do, and the show is letting them tie up loose ends from the past. In each episode, a pair of exes spend a night together in a one-bedroom apartment complete with a multiple-camera setup. They are left to their own devices -- with no producers and no interruptions -- to try to hash things out. The participants get things off their chests, ask hard-hitting questions and face accusations of infidelity with the ultimate goal of achieving closure on the relationship. Sometimes that closure means a clean break, and other times it leads to renewing the spark and rekindling the romance. Regardless of the outcome, anything goes on the road to reaching that point as the couples confront their pasts -- and their futures.</description>
  439. <releasedate>2017-07-18</releasedate>
  440. </item>
  441. <item>
  442. <language>en</language>
  443. <title>On a Lustful Night Mingling with a Priest...</title>
  444. <inetref>325375</inetref>
  445. <collectionref>325375</collectionref>
  446. <description>The reunion of Kujo with his old female classmate. He has inherited his parents' temple and became a priest. However, after the two became drunk, he does something unexpected of him to her!</description>
  447. <releasedate>2017-04-03</releasedate>
  448. </item>
  449. <item>
  450. <language>en</language>
  451. <title>Love on a Saturday Night</title>
  452. <inetref>74382</inetref>
  453. <collectionref>74382</collectionref>
  454. <releasedate>2004-02-01</releasedate>
  455. </item>
  456. <item>
  457. <language>en</language>
  458. <title>Britain's Tudor Treasure A Night At Hampton Court</title>
  459. <inetref>332440</inetref>
  460. <collectionref>332440</collectionref>
  461. <description>Lucy Worsley and David Starkey celebrate the 500th anniversary of Britain's finest surviving Tudor building, Hampton Court. As Henry VIII's pleasure palace, Hampton Court was a showcase for royal magnificence and ceremony - and the most important event of all was the christening of Henry's long-awaited son, Prince Edward, on October 15th, 1537. Lucy and David explore how Tudor art, architecture and ritual came together for this momentous occasion. Drawing on historical records and with the help of a team of experts, they recreate key elements of the christening ceremony - including a magnificent set-piece procession through Hampton Court involving nearly 100 people in full Tudor costume.</description>
  462. </item>
  463. </metadata>
  464. 0
  465. ok
  466. Trying:
  467. sys.argv = shlex.split('ttvdb -l de -C 80159')
  468. Expecting nothing
  469. ok
  470. Trying:
  471. main()
  472. Expecting:
  473. <?xml version='1.0' encoding='UTF-8'?>
  474. <metadata>
  475. <item>
  476. <language>de</language>
  477. <title>Sanctuary</title>
  478. <network>Space</network>
  479. <airday>Friday</airday>
  480. <airtime>10:00 PM</airtime>
  481. <description>Dr. Helen Magnus ist eine so brillante wie geheimnisvolle Wissenschaftlerin die sich mit den Kreaturen der Nacht beschäftigt. In ihrem Unterschlupf - genannt "Sanctuary" - hat sie ein Team versammelt, das seltsame und furchteinflößende Ungeheuer untersucht, die mit den Menschen auf der Erde leben. Konfrontiert mit ihren düstersten Ängsten und ihren schlimmsten Alpträumen versucht das Sanctuary-Team, die Welt vor den Monstern - und die Monster vor der Welt zu schützen.</description>
  482. <certifications>
  483. <certification locale="us" name="TV-PG"/>
  484. </certifications>
  485. <studios>
  486. <studio name="Space"/>
  487. </studios>
  488. <runtime>60</runtime>
  489. <inetref>80159</inetref>
  490. <imdb>0965394</imdb>
  491. <userrating>8.1</userrating>
  492. <ratingcount>168</ratingcount>
  493. <year>2007</year>
  494. <releasedate>2007-03-14</releasedate>
  495. <lastupdated>...</lastupdated>
  496. <status>Ended</status>
  497. <images>
  498. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/80159-11.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/80159-11.jpg"/>
  499. <image type="banner" url="http://thetvdb.com/banners/graphical/80159-g4.jpg" thumb="http://thetvdb.com/banners/_cache/graphical/80159-g4.jpg"/>
  500. </images>
  501. </item>
  502. </metadata>
  503. 0
  504. ok
  505. Trying:
  506. sys.argv = shlex.split('ttvdb -l en -a US -D 281053')
  507. Expecting nothing
  508. ok
  509. Trying:
  510. main()
  511. Expecting:
  512. Title:Fixer Upper
  513. Season:0
  514. Episode:1
  515. Subtitle:The Waco Way of Life
  516. Year:2014
  517. ReleaseDate:2014-07-16
  518. Director:
  519. Plot:Chip and Joanna Gaines tell why they love raising a family in Waco, Texas.
  520. UserRating:
  521. Writers:
  522. Screenshot:
  523. Language:en
  524. Airedseasonid:583817
  525. Dvddiscid:
  526. Id:5463514
  527. Imdbid:
  528. Lastupdated:1451954464
  529. Lastupdatedby:447800
  530. Productioncode:
  531. Seriesid:281053
  532. Showurl:
  533. Siterating:0
  534. Siteratingcount:0
  535. Thumbadded:
  536. Thumbauthor:1
  537. Cast:Chip Gaines, Joanna Gaines
  538. Runtime:45
  539. Title:Fixer Upper
  540. ...
  541. Coverart:http://thetvdb.com/banners/posters/281053-4.jpg,http://thetvdb.com/banners/posters/281053-3.jpg,http://thetvdb.com/banners/posters/281053-1.jpg,http://thetvdb.com/banners/posters/281053-4.jpg,http://thetvdb.com/banners/posters/281053-3.jpg,http://thetvdb.com/banners/posters/281053-1.jpg,http://thetvdb.com/banners/posters/281053-2.jpg,http://thetvdb.com/banners/posters/281053-2.jpg
  542. Fanart:http://thetvdb.com/banners/fanart/original/281053-3.jpg,http://thetvdb.com/banners/fanart/original/281053-3.jpg,http://thetvdb.com/banners/fanart/original/281053-4.jpg,http://thetvdb.com/banners/fanart/original/281053-4.jpg,http://thetvdb.com/banners/fanart/original/281053-1.jpg,http://thetvdb.com/banners/fanart/original/281053-1.jpg,http://thetvdb.com/banners/fanart/original/281053-2.jpg,http://thetvdb.com/banners/fanart/original/281053-2.jpg,http://thetvdb.com/banners/fanart/original/281053-6.jpg,http://thetvdb.com/banners/fanart/original/281053-5.jpg,http://thetvdb.com/banners/fanart/original/281053-7.jpg,http://thetvdb.com/banners/fanart/original/281053-8.jpg,http://thetvdb.com/banners/fanart/original/281053-9.jpg,http://thetvdb.com/banners/fanart/original/281053-10.jpg,http://thetvdb.com/banners/fanart/original/281053-6.jpg,http://thetvdb.com/banners/fanart/original/281053-5.jpg,http://thetvdb.com/banners/fanart/original/281053-7.jpg,http://thetvdb.com/banners/fanart/original/281053-8.jpg,http://thetvdb.com/banners/fanart/original/281053-9.jpg,http://thetvdb.com/banners/fanart/original/281053-10.jpg
  543. Banner:http://thetvdb.com/banners/graphical/281053-g2.jpg,http://thetvdb.com/banners/graphical/281053-g2.jpg,http://thetvdb.com/banners/text/281053.jpg,http://thetvdb.com/banners/graphical/281053-g.jpg,http://thetvdb.com/banners/text/281053.jpg,http://thetvdb.com/banners/graphical/281053-g.jpg
  544. 0
  545. ok
  546. Trying:
  547. sys.argv = shlex.split('ttvdb.py -l en -a US -N 72108 Pyramid')
  548. Expecting nothing
  549. ok
  550. Trying:
  551. main()
  552. Expecting:
  553. <?xml version='1.0' encoding='UTF-8'?>
  554. <metadata>
  555. <item>
  556. <title>NCIS</title>
  557. <subtitle>Pyramid</subtitle>
  558. <description>The lives of NCIS members are in jeopardy when they come face-to-face with the infamous Port-to-Port killer, on the eighth season finale of NCIS.</description>
  559. <season>8</season>
  560. <episode>24</episode>
  561. <certifications>
  562. <certification locale="us" name="TV-14"/>
  563. </certifications>
  564. <studios>
  565. <studio name="CBS"/>
  566. </studios>
  567. <runtime/>
  568. <inetref>72108</inetref>
  569. <collectionref>72108</collectionref>
  570. <tmsref>EP00681911</tmsref>
  571. <imdb/>
  572. <language>en</language>
  573. <year>2011</year>
  574. <releasedate>2011-05-17</releasedate>
  575. <people>
  576. <person job="Actor" name="Mark Harmon" character="Leroy Jethro Gibbs" url="http://thetvdb.com/banners/actors/70164.jpg" thumb="http://thetvdb.com/banners/actors/70164.jpg"/>
  577. <person job="Actor" name="Sean Murray" character="Timothy &quot;Tim&quot; McGee" url="http://thetvdb.com/banners/actors/70163.jpg" thumb="http://thetvdb.com/banners/actors/70163.jpg"/>
  578. <person job="Actor" name="Emily Wickersham" character="Eleanor “Ellie” Bishop" url="http://thetvdb.com/banners/actors/321201.jpg" thumb="http://thetvdb.com/banners/actors/321201.jpg"/>
  579. <person job="Actor" name="David McCallum" character="Donald &quot;Ducky&quot; Mallard" url="http://thetvdb.com/banners/actors/70159.jpg" thumb="http://thetvdb.com/banners/actors/70159.jpg"/>
  580. <person job="Actor" name="Pauley Perrette" character="Abigail &quot;Abby&quot; Sciuto" url="http://thetvdb.com/banners/actors/70161.jpg" thumb="http://thetvdb.com/banners/actors/70161.jpg"/>
  581. <person job="Actor" name="Rocky Carroll" character="Leon Vance" url="http://thetvdb.com/banners/actors/127861.jpg" thumb="http://thetvdb.com/banners/actors/127861.jpg"/>
  582. <person job="Actor" name="Brian Dietzen" character="Jimmy Palmer" url="http://thetvdb.com/banners/actors/219761.jpg" thumb="http://thetvdb.com/banners/actors/219761.jpg"/>
  583. <person job="Actor" name="Wilmer Valderrama" character="Nicholas &quot;Nick&quot; Torres" url="http://thetvdb.com/banners/actors/394895.jpg" thumb="http://thetvdb.com/banners/actors/394895.jpg"/>
  584. <person job="Actor" name="Michael Weatherly" character="Anthony &quot;Tony&quot; DiNozzo" url="http://thetvdb.com/banners/actors/70160.jpg" thumb="http://thetvdb.com/banners/actors/70160.jpg"/>
  585. <person job="Actor" name="Sasha Alexander" character="Caitlin &quot;Kate&quot; Todd" url="http://thetvdb.com/banners/actors/70162.jpg" thumb="http://thetvdb.com/banners/actors/70162.jpg"/>
  586. <person job="Actor" name="Cote de Pablo" character="Ziva David" url="http://thetvdb.com/banners/actors/70165.jpg" thumb="http://thetvdb.com/banners/actors/70165.jpg"/>
  587. <person job="Actor" name="Lauren Holly" character="Jennifer &quot;Jenny&quot; Shepard" url="http://thetvdb.com/banners/actors/77850.jpg" thumb="http://thetvdb.com/banners/actors/77850.jpg"/>
  588. <person job="Actor" name="Jennifer Espósito" character="Alex Quinn" url="http://thetvdb.com/banners/actors/402126.jpg" thumb="http://thetvdb.com/banners/actors/402126.jpg"/>
  589. <person job="Actor" name="Duane Henry" character="Clayton Reeves" url="http://thetvdb.com/banners/actors/418530.jpg" thumb="http://thetvdb.com/banners/actors/418530.jpg"/>
  590. <person job="Guest Star" name="Kerr Smith"/>
  591. <person job="Guest Star" name="Sarah Jane Morris"/>
  592. <person job="Guest Star" name="Matt Craven"/>
  593. <person job="Guest Star" name="David Dayan Fisher"/>
  594. <person job="Guest Star" name="Muse Watson"/>
  595. <person job="Guest Star" name="Alimi Ballard"/>
  596. <person job="Guest Star" name="Matthew Willig"/>
  597. <person job="Guest Star" name="Tehmina Sunny"/>
  598. <person job="Guest Star" name="Enrique Murciano"/>
  599. <person job="Guest Star" name="Jude Ciccolella"/>
  600. <person job="Guest Star" name="Vera Miao"/>
  601. <person job="Director" name="Dennis Smith"/>
  602. <person job="Author" name="Gary Glasberg"/>
  603. </people>
  604. <images>
  605. <image type="screenshot" url="http://thetvdb.com/banners/episodes/72108/4078484.jpg" thumb="http://thetvdb.com/banners/_cache/episodes/72108/4078484.jpg"/>
  606. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72108-8-2.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72108-8-2.jpg"/>
  607. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72108-8.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72108-8.jpg"/>
  608. <image type="coverart" url="http://www.thetvdb.com/banners/seasons/72108-8-7.jpg" thumb="http://www.thetvdb.com/banners/_cache/seasons/72108-8-7.jpg"/>
  609. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-31.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-31.jpg" width="1920" height="1080"/>
  610. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-28.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-28.jpg" width="1920" height="1080"/>
  611. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-30.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-30.jpg" width="1920" height="1080"/>
  612. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-29.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-29.jpg" width="1920" height="1080"/>
  613. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-4.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-4.jpg" width="1920" height="1080"/>
  614. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-26.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-26.jpg" width="1920" height="1080"/>
  615. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-32.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-32.jpg" width="1280" height="720"/>
  616. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-1.jpg" width="1920" height="1080"/>
  617. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-10.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-10.jpg" width="1920" height="1080"/>
  618. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-8.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-8.jpg" width="1280" height="720"/>
  619. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-6.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-6.jpg" width="1280" height="720"/>
  620. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-9.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-9.jpg" width="1920" height="1080"/>
  621. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-5.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-5.jpg" width="1280" height="720"/>
  622. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-18.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-18.jpg" width="1920" height="1080"/>
  623. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-17.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-17.jpg" width="1280" height="720"/>
  624. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/72108-33.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/72108-33.jpg" width="1920" height="1080"/>
  625. </images>
  626. </item>
  627. </metadata>
  628. 0
  629. ok
  630. Trying:
  631. sys.argv = shlex.split('ttvdb.py -l en -a US -N 283661 "Egg Hunt"')
  632. Expecting nothing
  633. ok
  634. Trying:
  635. main()
  636. Expecting:
  637. <?xml version='1.0' encoding='UTF-8'?>
  638. <metadata>
  639. <item>
  640. <title>Jack Hanna's Wild Countdown</title>
  641. <subtitle>Egg Hunt</subtitle>
  642. <description>Jungle Jack takes off on a very special Egg Hunt, looking for creatures big and small that hatch from eggs! Crocodiles, Bald Eagles, Sea Turtles, Ostriches, Penguins, and more!</description>
  643. <season>6</season>
  644. <episode>17</episode>
  645. <certifications>
  646. <certification locale="us" name="TV-G"/>
  647. </certifications>
  648. <studios>
  649. <studio name="ABC (US)"/>
  650. </studios>
  651. <runtime/>
  652. <inetref>283661</inetref>
  653. <collectionref>283661</collectionref>
  654. <imdb>3062384</imdb>
  655. <tmsref>EP01441760</tmsref>
  656. <language>en</language>
  657. <year>2017</year>
  658. <releasedate>2017-04-15</releasedate>
  659. <images>
  660. <image type="screenshot" url="http://thetvdb.com/banners/episodes/283661/6050716.jpg" thumb="http://thetvdb.com/banners/_cache/episodes/283661/6050716.jpg"/>
  661. <image type="coverart" url="http://www.thetvdb.com/banners/posters/283661-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/posters/283661-1.jpg" width="680" height="1000"/>
  662. <image type="fanart" url="http://www.thetvdb.com/banners/fanart/original/283661-1.jpg" thumb="http://www.thetvdb.com/banners/_cache/fanart/original/283661-1.jpg" width="1920" height="1080"/>
  663. </images>
  664. </item>
  665. </metadata>
  666. 0
  667. ok
  668. Trying:
  669. _can_int("2")
  670. Expecting:
  671. True
  672. ok
  673. Trying:
  674. _can_int("A test")
  675. Expecting:
  676. False
  677. ok
  678. 37 items had no tests:
  679. __main__.Episode
  680. __main__.Episode.fuzzysearch
  681. __main__.Getseries_episode_data
  682. __main__.Getseries_episode_numbers
  683. __main__.OutStreamEncoder
  684. __main__.OutStreamEncoder.__getattr__
  685. __main__.OutStreamEncoder.__init__
  686. __main__.OutStreamEncoder.write
  687. __main__.Season
  688. __main__.Season.fuzzysearch
  689. __main__.Show
  690. __main__.Show.fuzzysearch
  691. __main__.Tvdb
  692. __main__.Tvdb._setItem
  693. __main__.Tvdb._setShowData
  694. __main__.Tvdb.series_by_sid
  695. __main__.change_amp
  696. __main__.change_to_commas
  697. __main__.convert_search_to_xml
  698. __main__.convert_series_to_xml
  699. __main__.debuglog
  700. __main__.displayCollectionXML
  701. __main__.displaySearchXML
  702. __main__.displaySeriesXML
  703. __main__.doc_test
  704. __main__.get_graphics
  705. __main__.initializeXslt
  706. __main__.initialize_override_dictionary
  707. __main__.main
  708. __main__.make_db_ready
  709. __main__.massageEpisode_name
  710. __main__.returnAllSeriesUI
  711. __main__.returnAllSeriesUI.__init__
  712. __main__.returnAllSeriesUI.selectSeries
  713. __main__.search_for_series
  714. __main__.searchseries
  715. __main__.tvdb_account
  716. 1 items passed all tests:
  717. 2 tests in __main__._can_int
  718. **********************************************************************
  719. 1 items had failures:
  720. 2 of 26 in __main__
  721. 28 tests in 39 items.
  722. 26 passed and 2 failed.
  723. ***Test Failed*** 2 failures.
  724. TestResults(failed=2, attempted=28)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement