             subtitle: "S#{item.episode.season}E#{item.episode.number} | #{moment(item.airs_at).format('HH:MM')}"
             data:
               showID: item.show.ids.trakt
+              showTitle: item.show.title
               seasonNumber: item.episode.season
               episodeNumber: item.episode.number
+              airs_at: item.airs_at
 
           } for item in items when moment(item.airs_at).isAfter(@fromDate)
       } for date, items of calendar


menus.ToWatch = ToWatch

class Upcoming
  constructor: (@userDateFormat = "D MMMM YYYY") ->
    @menu = createDefaultMenu()

    @menu.show()

  initHandlers: ->
    @menu.on 'select', (e) =>
      data = e.item.data

      trakttv.getEpisodeData data.showID, data.seasonNumber, data.episodeNumber,
        (err, episodeInfo) =>
          #TODO: handle error
          detailedItemCard = createDefaultCard
            title: data.showTitle
            subtitle: "Season #{data.seasonNumber} Ep. #{data.episodeNumber}"
            body: "Airs on #{moment(data.airs_at).format(@userDateFormat)}\n\
                   at #{moment(data.airs_at).format('HH:MM')}\n\
                   Title: #{episodeInfo.title}\n\
                   Overview: #{episodeInfo.overview}"

          detailedItemCard.show()

menus.Upcoming = Upcoming

