Tolotos 61 Posted April 4, 2015 Posted April 4, 2015 Hi, I add a ProgramInfo with the following data: <pre> ID: 11700146 StartDate: 07.04.2015 17:25:00 EndDate: 07.04.2015 18:15:00 ChannelId: 238 Name: Die Rosenheim-Cops Overview: Krimiserie, Deutschland 2015 Mord im Weinkeller: Der Bauunternehmer Norbert Sachringer wird ermordet aufgefunden. Die Tatwaffe: eine Weinflasche. Die Ehefrau des Opfers scheint nüchtern auf die Tat zu reagieren. So nüchtern, weil sie etwas zu verbergen hat? Sie gibt zu, dass sie ein Verhältnis mit Weinhändler Lothar Heisig hatte. Wollte Sachringer deshalb seine Weinsammlung bei einer Auktion versteigern lassen? Die Cops trauen Heisig zu, dass er seinen Konkurrenten aus Eifersucht umgebracht hat. Oder steckt Frau Sachringer dahinter? Darsteller: Korbinian Hofer - J. Hannesschläger Sven Hansen - Igor Jeftic Michael Mohr - Max Müller Miriam Stockl - Marisa Burger Sylvia Sachringer - Ursula Buschhorn Christin Lange - Sarah Thonig Lothar Heisig - Max Tidof u.a. Regie: Holger Barthel Buch/Autor: Gerhard Ammelburger Kamera: Peter KappelHD-Produktion EpisodeTitle: Das mysteriöse Geräusch </Pre> This entry is not shown in the EPG table. Any idea why? Yours Tolotos
Tolotos 61 Posted April 5, 2015 Author Posted April 5, 2015 (edited) The dates are in UTC, I use this code to transform: DateTime _initialDateTimeUTC = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); long currStartTimeUnix = currEventMessage.getLong("start"); // <-- Date from TVHeadend := 1428427500 DateTime currentStartDateTimeUTC = _initialDateTimeUTC.AddSeconds(currStartTimeUnix).ToUniversalTime(); Most of the EPG entries are correct but a few are missing complete (holes in the time line). EDIT: It must be an error in Emby. In the timeline of the according tv-channel the entry is displayed - only in the EPG view it is missing. See attached screenshots. Yours Tolotos Edited April 5, 2015 by Tolotos
KRA 39 Posted April 5, 2015 Posted April 5, 2015 (edited) it's an old bug, remember it from about a year back. When you click channel you get full epg, while the timeline is missing several because it only shows 30 minute blocks. Can't wait to test that plugin of yours Edited April 5, 2015 by KRA
Tolotos 61 Posted April 5, 2015 Author Posted April 5, 2015 Thank you, this locks me several days for searching a bug in my code. Now I can stop searching and go further. It's only 2 weeks I work on the plugin - much open work to do. As soon as most of the function working I'll post a beta for test.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now