Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MythWeb: Make TMDB Searches in detail screen work again.

URL format changed.
  • Loading branch information...
commit c03f5aa05308faaca1297552d83269fa393800b1 1 parent 217ff19
Robert McNamara authored
View
2  modules/tv/tmpl/default/detail.php
@@ -412,7 +412,7 @@ function watchShow(host, chanid, starttime) {
<th><?php echo t('More') ?>:</th>
<td>
<?php if ($schedule->title) { ?>
- <a href="http://www.themoviedb.org/search/movies?search%5btext%5d=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'themoviedb') ?></a>
+ <a href="http://www.themoviedb.org/search?search=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'themoviedb') ?></a>
<a href="http://www.imdb.com/search/title?title=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'IMDB') ?></a>
<a href="http://www.thetvdb.com/?string=<?php echo urlencode($schedule->title) ?>&searchseriesid=&tab=listseries&function=Search"><?php echo t('Search $1', 'TheTVDB') ?></a>
<a href="http://www.tv.com/search.php?type=11&stype=all&qs=<?php echo urlencode($schedule->title) ?>"><?php echo t('Search $1', 'TV.com') ?></a>
View
2  modules/tv/tmpl/lite/detail.php
@@ -65,7 +65,7 @@
</div>
<div id="external_searches">
(<?php echo t('Search') ?>: &nbsp;
- <a href="http://www.themoviedb.org/search/movies?search%5btext%5d=<?php echo urlencode($schedule->title) ?>"><?php echo t('themoviedb') ?></a>
+ <a href="http://www.themoviedb.org/search?search=<?php echo urlencode($schedule->title) ?>"><?php echo t('themoviedb') ?></a>
&nbsp;-&nbsp;
<a href="http://www.imdb.com/search/title?title=<?php echo urlencode($schedule->title) ?>"><?php echo t('IMDB') ?></a>
&nbsp;-&nbsp;
Please sign in to comment.
Something went wrong with that request. Please try again.