Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #29 from dgw/trakt-episode-links
Browse files Browse the repository at this point in the history
fix regression in trakt episode links
  • Loading branch information
Moussa committed Feb 8, 2016
2 parents 4ed1fe2 + 1d4aec3 commit bf432cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/trakt.js
Expand Up @@ -63,7 +63,7 @@ trakt = {
trakt_api.getEpisodeRating(show_name, season, episode, function(trakt_json) {
if (trakt_json) {
var rating = Math.round(trakt_json.rating * 10);
var url = "http://trakt.tv/shows/" + show_name + "seasons/" + season + "/episodes/" + episode;
var url = "http://trakt.tv/shows/" + show_name + "/seasons/" + season + "/episodes/" + episode;

trakt.insertTraktLink(url, rating);
}
Expand Down

0 comments on commit bf432cb

Please sign in to comment.