Skip to content

Commit

Permalink
MythWeb: Make TMDB Searches in detail screen work again.
Browse files Browse the repository at this point in the history
URL format changed.
  • Loading branch information
Robert McNamara committed Jul 22, 2011
1 parent 217ff19 commit c03f5aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/tv/tmpl/default/detail.php
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion modules/tv/tmpl/lite/detail.php
Expand Up @@ -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;
Expand Down

0 comments on commit c03f5aa

Please sign in to comment.