aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTinwarble <tinwarble@gmail.com>2018-06-13 10:59:31 -0400
committerGitHub <noreply@github.com>2018-06-13 10:59:31 -0400
commit2dff67e9957b56a067ff9c1aaaee9e5c6bfc3032 (patch)
treeea482695aa6baeb1748015f97ffb0b67ee35a66c /tools
parentc6dbd09d1eb0028e6c085932745a6185c0d1d4c4 (diff)
Fix Season no. displayed for launcher Channels.
This fixes the issue of the Season number being the same as the Episode number when adding Channel for TV episodes in the Android TV Home launcher.
Diffstat (limited to 'tools')
-rw-r--r--tools/android/packaging/xbmc/src/channels/SyncProgramsJobService.java.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/android/packaging/xbmc/src/channels/SyncProgramsJobService.java.in b/tools/android/packaging/xbmc/src/channels/SyncProgramsJobService.java.in
index 8d7435dd87..596d318340 100644
--- a/tools/android/packaging/xbmc/src/channels/SyncProgramsJobService.java.in
+++ b/tools/android/packaging/xbmc/src/channels/SyncProgramsJobService.java.in
@@ -297,7 +297,7 @@ public class SyncProgramsJobService extends JobService
}
if (media instanceof TVEpisode)
{
- builder.setSeasonNumber(((TVEpisode)media).getEpisode());
+ builder.setSeasonNumber(((TVEpisode)media).getSeason());
builder.setEpisodeNumber(((TVEpisode)media).getEpisode());
}