diff options
author | lado <herrlado@gmail.com> | 2013-06-16 01:06:47 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-06-16 01:07:33 +0200 |
commit | 72afbc425b9ebbe0ff4b944569d36c315d2fd1f9 (patch) | |
tree | 2e18166d96ce6405340bf50ded400275bdabad1d /vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java | |
parent | 1344685b2f6965332755677204fecb48e7b3f1ac (diff) | |
download | vdr-manager-72afbc425b9ebbe0ff4b944569d36c315d2fd1f9.tar.gz vdr-manager-72afbc425b9ebbe0ff4b944569d36c315d2fd1f9.tar.bz2 |
http://projects.vdr-developer.org/issues/1386
Diffstat (limited to 'vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java b/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java index c64990c..bfc41b1 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/data/Epg.java @@ -38,6 +38,19 @@ public class Epg extends Event implements Timerable { shortText = words.length > 6 ? mapSpecialChars(words[6]) : ""; channelId = words.length > 7 ? mapSpecialChars(words[7]) : ""; rawAudio = words.length > 8 ? mapSpecialChars(words[8]) : ""; + if (words.length > 9) { + String contents = words[9].trim(); + if (contents.length() > 0) { + String[] caray = contents.split(" "); + if (caray.length > 0) { + content = new int[caray.length]; + for (int i = 0; i < caray.length; ++i) { + content[i] = Integer.valueOf(caray[i]); + } + } + } + + } } public Timer getTimer() { |