T Series - Scheduling Conflicts Bug with IceTV

Discuss the IceTV EPG and Recording Apps here

Moderators: Gully, peteru

Post Reply
User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

T Series - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Sun Nov 04, 2018 16:11

I have made a Support call with IceTV and had confirmation back that there is a bug that has started to impact T series Beyonwiz's when using IceTV

Note I initially said it was T2 specific but its actually impacting all T series units

The symptoms are that you will start to see random scheduling conflicts being reported from your T2 - even though there is actually no real reason for a conflict ie one of the three tuners are available to make the recording

Note it's not happening with all recording - so just keep an eye out for random conflicts happening

I have been told it's a random type bug that has just started occurring and that IceTV are aware of it and are looking into it and will be working on it on Monday

Are others experiencing it? I think it has only begun happening in the last day or two

Hopefully it will be resolved quickly
Last edited by Bodogbodog on Sun Nov 04, 2018 17:58, edited 1 time in total.
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T2 - Scheduling Conflicts Bug with IceTV

Post by prl » Sun Nov 04, 2018 16:58

Daniel Hall from IceTV has contacted me about the problem and given me some information from one user (probably not you, because it was a few days ago and on a T4, not a T2).

What firmware version are you running?

I'm trying to work out a way to reproduce the bug. I've tried to do it a couple of times by re-mapping all the channels in the user's timer.xml file to the corresponding channels in Canberra and seeing if I can trigger the problem by then adding the timers that are being flagged as conflicts back to IceTV. So far I haven't had any success.

If the conflict is still a few days away (so that all the timers involved in the conflict are still in the future), could you please send me a copy of your timers.xml file from the T2?

Also, do you have any debug logging enabled on the T2?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: T2 - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Sun Nov 04, 2018 17:14

Hi Peter

Happy to help - but I'm not super technical so I'll need some help to get the info for you

I can send you a couple of screen shots from my IceTV my week with the conflicts - whats the best email address for me to send them to?
I tried scheduling the recording from the Guide on my T2 so I suspect that's the successful SD recording showing up now in the shots

Can you also let me know how to locate and extract the file "timers.xml" and I'll send it to you too

Firmware: Would that be 17.5? or 17.5-477-g41eefa7 ?

Where do I find the option to enable Debug Logging?
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T2 - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Sun Nov 04, 2018 17:36

Any chance the USB tuner has started in non-terrestrial (non-DVB-T/T2) mode? That would give rise to timer conflicts.
Check MENU>>Information>>Devices or MENU>>Setup>>Tuners>>Tuner configuration, and check the status of the USB tuner.

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: T2 - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Sun Nov 04, 2018 17:47

The status of the 3 tuners are:

Tuner A - DVB-T/T2 NIM (DVB-T2)
Tuner B - DVB-T NIM (DVB-T)
Tuner C - RTL2838UHDIR (DVB-T2)

Good or Bad?
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T2 - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Sun Nov 04, 2018 17:52

Bodogbodog wrote:
Sun Nov 04, 2018 17:47
Good or Bad?

Good.

To copy the timers file:
Restart the UI to ensure any in-memory timer info is flushed to disk. Attach a USB drive to the T2, then use File Commander (MENU>>Sources / Files to navigate to: Internal Flash, then etc, then enigma2, and then copy the timers.xml file to the USB drive.
You can also copy the timers file off the T2 using FTP if you have a client handy. Another option is to use File Commander to copy it to the T2's movie directory (/media/hdd/movie) and then get at it using Windows File Explorer from your computer.

Firmware information is available from MENU>>Information>>About
Grab the info from Build / Revision which is between those two Version and Enigma2 details you posted :)

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T2 - Scheduling Conflicts Bug with IceTV

Post by prl » Sun Nov 04, 2018 17:56

Bodogbodog wrote:
Sun Nov 04, 2018 17:14
Happy to help - but I'm not super technical so I'll need some help to get the info for you

I can send you a couple of screen shots from my IceTV my week with the conflicts - whats the best email address for me to send them to?

Thanks.

I've replied to your PM with my email address.
Bodogbodog wrote:
Sun Nov 04, 2018 17:14
Firmware: Would that be 17.5? or 17.5-477-g41eefa7 ?

In the Open Webif Box Info screen it's the bit that I've bolded: "Firmware version: beyonwiz 17.5.20181003 (17.5-784-g79eba98)".
Bodogbodog wrote:
Sun Nov 04, 2018 17:14
Where do I find the option to enable Debug Logging?

In Open Webif Settings>Log Settings, tick "Enable debug logs". You may also want to move the "Log location" to /media/hdd. The log files get put into the logs subdirectory in the "Log location" directory.

But check Grumpy_Geoff's suggestion before doing any of the above.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Sun Nov 04, 2018 18:02

Peter, Grumpy Geoff
Ok - onto it soon
I will email it to Peter - can I assume he will share it with you Geoff - or if you want me to email it directly to you just message me your email address
Thanks
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Sun Nov 04, 2018 18:06

Bodogbodog wrote:
Sun Nov 04, 2018 18:02
...I will email it to Peter - can I assume he will share it with you Geoff - or if you want me to email it directly to you just message me your email address

No need for me to see them, as prl will be loading it onto his box and setting up some IceTV plugin debugging (I'm guessing) 8).

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Sun Nov 04, 2018 18:08

If you enable debug logging and change the "Log location" from its default, you'll need to reboot the box for the new location to take effect.

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Sun Nov 04, 2018 18:31

Geoff
Yes - just spoke to Peter and he has the Timers file now - and logging is turned on and Wiz will be restarted when the "boss" gives me permission for suitable down time :-)
Thanks to both of you for the advice and guidance - I've now learnt how to copy the files to the USB - and confirmed I'm on the latest release version of the firmware
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Sun Nov 04, 2018 19:04

Bodogbodog wrote:
Sun Nov 04, 2018 16:11
The symptoms are that you will start to see random scheduling conflicts being reported from your T2 - even though there is actually no real reason for a conflict ie one of the three tuners are available to make the recording

Note it's not happening with all recording - so just keep an eye out for random conflicts happening

It just occurred to me (a washing dishes moment :)) that this could still be a non-terrestrial USB tuner issue if you normally keep your T2 in deep standby when not in use. Upon the next boot up, the tuner is set to non-DVB-T/T2 mode and IceTV is contacted for timers - any new/changed timer would then cause a timer sanity check to occur and conflicts arise if three tuners are needed for the overlap.

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Sun Nov 04, 2018 19:17

No I don’t put it onto deep sleep at all - it just stays on 24x7 - nothing’s changed at our end since it started misbehaving
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by prl » Mon Nov 05, 2018 10:25

Grumpy_Geoff wrote:
Sun Nov 04, 2018 18:06
Bodogbodog wrote:
Sun Nov 04, 2018 18:02
...I will email it to Peter - can I assume he will share it with you Geoff - or if you want me to email it directly to you just message me your email address

No need for me to see them, as prl will be loading it onto his box and setting up some IceTV plugin debugging (I'm guessing) 8).

First step is to re-map the servicerefs from Sydney (in Bodogbodog's case) to Canberra equivalents (where possible: one of the timers is for yourMoney, which doesn't have a direct Canberra equivalent, and to strip out the IceTV timer ids, which will be wrong.

Then load the timers file onto a matching test box and see if I can reproduce the timer conflict. So far, I haven't been able to do that with any of the data I've been sent with these conflicts.

If that fails, take the box back to the 20180417, which is what Bodogbodog is running, and try again.

Then assuming I can reproduce the error, add debug code, probably to the Components.TimerSanityCheck to try to find out why a conflict is being reported when there isn't one. The problem doesn't actually seem to be IceTV-specific, but I'm still not 100% certain of that.

And all that before the earliest timer moves into the past and is no longer looked at by the timer conflict check. :roll:
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by prl » Mon Nov 05, 2018 11:07

I think that the conflict that Bodogbodog sent me is real (for a T2 with USB tuner) rather than a bug:

Existing timers:

Code: Select all

Getaway        Sat 10.11.2018 17:27 - 10.11.2018 18:05 9HD
Luxury Escapes Sat 10.11.2018 17:57 - 10.11.2018 18:35 10 HD
Tattoo Age     Sat 10.11.2018 17:57 - 10.11.2018 18:35 SBS VICELAND HD
Conflicting timer (assuming 3 min pre-padding & 5 min post-padding, which seems to be what the other timers have):

Code: Select all

Seven News     Sat 10.11.2018 17:57 - 10.11.2018 19:05 7HD
That looks like a perfectly sensible timer conflict for a 3-tuner setup, demanding 4 tuners (for Nine, Ten, SBS & Seven) from 17:57-18:05.

The conflict is due to padding, because otherwise Getaway (ending 18:00) would not overlap with Seven News (starting 18:00).

I can replicate the conflict on my test T2, which shows that my channel mapping seems to work OK (it's manual, so a bit error-prone, though I do have some checking).
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Mon Nov 05, 2018 11:40

prl wrote:
Mon Nov 05, 2018 11:07
...
That looks like a perfectly sensible timer conflict for a 3-tuner setup, demanding 4 tuners (for Nine, Ten, SBS & Seven) from 17:57-18:05.

Yep, based on those times it does appear to be a valid timer conflict for a 3-tuner unit.

To prove it's not IceTV related, if Bodogbodog went to his EPG and attempted to manually set a timer for that Seven News 6pm program on Sat 10-Nov then he should receive the timer conflict popup.
prl wrote: The conflict is due to padding, because otherwise Getaway (ending 18:00) would not overlap with Seven News (starting 18:00).

Wouldn't the timer prepare time still give rise to a conflict though, as the new timer would start at 17:59:40 (tuner allocation) ?

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by prl » Mon Nov 05, 2018 11:55

Grumpy_Geoff wrote:
Mon Nov 05, 2018 11:40
prl wrote:
Mon Nov 05, 2018 11:07
...
That looks like a perfectly sensible timer conflict for a 3-tuner setup, demanding 4 tuners (for Nine, Ten, SBS & Seven) from 17:57-18:05.

Yep, based on those times it does appear to be a valid timer conflict for a 3-tuner unit.

To prove it's not IceTV related, if Bodogbodog went to his EPG and attempted to manually set a timer for that Seven News 6pm program on Sat 10-Nov then he should receive the timer conflict popup.

I've already done that, and it does. When I tested it, none of the existing timers were under IceTV control, and I added the new timer from the Beyonwiz EPG.
Grumpy_Geoff wrote:
Mon Nov 05, 2018 11:40
prl wrote: The conflict is due to padding, because otherwise Getaway (ending 18:00) would not overlap with Seven News (starting 18:00).

Wouldn't the timer prepare time still give rise to a conflict though, as the new timer would start at 17:59:40 (tuner allocation) ?

Yes, it might. I can't recall exactly when the tuner is allocated to the timer. I should give it a go, but for the next couple of days I won't have much time for Beyonwiz stuff - my daughter is visiting from Melbourne.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Grumpy_Geoff » Mon Nov 05, 2018 12:16

prl wrote:
Mon Nov 05, 2018 11:55
Grumpy_Geoff wrote:
Mon Nov 05, 2018 11:40
prl wrote: The conflict is due to padding, because otherwise Getaway (ending 18:00) would not overlap with Seven News (starting 18:00).

Wouldn't the timer prepare time still give rise to a conflict though, as the new timer would start at 17:59:40 (tuner allocation) ?

Yes, it might. I can't recall exactly when the tuner is allocated to the timer. I should give it a go, but for the next couple of days I won't have much time for Beyonwiz stuff - my daughter is visiting from Melbourne.

No need to give it a go, the attached log extract says it does :)
The key timings from the extract -
Line 2, start preparation @ 208.991s
Line 6, channel allocation @ 209.284s
Line 130, start recording @ 229.300s (20 seconds after prepare)
Attachments
timer_prepare.txt
(9.09 KiB) Downloaded 63 times

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by prl » Mon Nov 05, 2018 12:50

And if the prepare fails, I think it should use backoff.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by prl » Mon Nov 05, 2018 12:50

And if the prepare fails, I think it should use backoff.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Bodogbodog
Apprentice
Posts: 71
Joined: Sun Apr 10, 2011 18:12
Contact:

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by Bodogbodog » Mon Nov 05, 2018 13:06

Peter

Thanks for checking my Timers file and your email and thanks to GrumpyGeoff for helpful advice

Yes in that case on Wednesday evening the 4 recordings blew my three tuner limit on the T2 but I believe there were other cases of conflicts being reported (with spurious programs being included in the list of conflicts that weren't even running at that time) even when only one programme was scheduled - eg God Friended Me on 7HD tonight at 9.05pm - however I've rescheduled that program just now and it seems to be scheduling ok so hopefully it stays that way (although I'm not sure that the program is going to be anything great anyway :lol: )

Thanks again for your quick attention to this - much appreciated

At the moment my weeks schedule is now clear of any conflicts so I'll keep monitoring it
Beyonwiz V2 Quad Tuner recording to unRAID OS NAS 16Tb NAS
Beyonwiz V2 Dual Tuner (warm standby)
Samsung Q65 OLED TV
Yamaha YSP2700 Sound Bar
Harmony 650 Remote Control

prl
Wizard God
Posts: 32697
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: T Series - Scheduling Conflicts Bug with IceTV

Post by prl » Mon Nov 05, 2018 14:07

This is basically the same reply to Bodogbodog that I posted on the IceTV forum.
Bodogbodog wrote:
Mon Nov 05, 2018 13:06
Thanks for checking my Timers file and your email and thanks to GrumpyGeoff for helpful advice

No problem.
Bodogbodog wrote:
Mon Nov 05, 2018 13:06
Yes in that case on Wednesday evening the 4 recordings blew my three tuner limit on the T2 but I believe there were other cases of conflicts being reported (with spurious programs being included in the list of conflicts that weren't even running at that time) even when only one programme was scheduled - eg God Friended Me on 7HD tonight at 9.05pm - however I've rescheduled that program just now and it seems to be scheduling ok so hopefully it stays that way (although I'm not sure that the program is going to be anything great anyway :lol: )

I don't think that there's doubt that there's a bug that causes the Beyonwiz to sometimes report timer conflicts when there are none, it's just that that your Seven News case wasn't an instance of the bug.

What you describe with God Friended Me sounds like it could be an instance of the bug. The problem can also sometimes resolve itself when earlier timers that make up the set of false conflicts are recorded and move off the active timer list, so that they're no longer examined by the conflict detection code.
Bodogbodog wrote:
Mon Nov 05, 2018 13:06
Thanks again for your quick attention to this - much appreciated

At the moment my weeks schedule is now clear of any conflicts so I'll keep monitoring it

No problem. If you or anyone else see the same problem, especially if the earliest timer involved is more than a couple of days ahead, I'm interested in getting a copy of the timers file and the text of the IceTV notification of the timer conflict. If you report it to IceTV, then Daniel Hall At IceTV will probably forward the information on to me anyway, so you can post about it here, on the IceTV forum or contact IceTV support and I should get the information no matter which you choose.

My best guess is that this looks like it's a problem with the Beyonwiz base code, not with either the IceTV server end or with the Beyonwiz IceTV plugin.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Post Reply

Return to “Ice TV”