Daily recordings not working.

Discuss the IceTV EPG and Recording Apps here

Moderators: Gully, peteru

User avatar
slugahhh
Apprentice
Posts: 41
Joined: Sat Mar 07, 2009 01:32
Location: Perth WA

Daily recordings not working.

Post by slugahhh » Sun Apr 09, 2017 01:42

Since the latest firmware upgrade I cant seem to schedule a daily repeat recording. Let me clarify. I use icetv which I love. Before the update I had the news recording every night as a "repeated daily" (not through icetv) and every night the news was recorded. Now It works for the first day only, it does not put it in the schedule for the next day. Iv'e rescheduled it over and over and it just will not work. Any idea's? (T4)
Beyonwiz V2 & T4, Samsung Q95T, Yamaha RX-A3080, Panasonic UBD-820 Blu-ray Player 4k Chromecast's

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

Re: Daily recordings not working.

Post by prl » Sun Apr 09, 2017 07:57

I'm not sure what you've done. Before the upgrade to 20170310, you were using IceTV, but you were setting a Beyonwiz-set daily timer to record the news.

After the upgrade, are you doing the same, or are you now using an IceTV series recording?
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
Altimes
Master
Posts: 240
Joined: Wed Jun 27, 2007 11:00
Location: Sydney

Re: Daily recordings not working.

Post by Altimes » Sun Apr 09, 2017 08:31

The news is the only item that I use the IceTV series qualifiers on. One per day only, at 7:00 pm only, only ABC. Suggested as an alternative to repeating timers.

Alan

T4, 4TB
U4, (small SSD)
IceTV EPG
LG OLED65E8PTA
Panasonic TH-L42D25A
Sony HT DDWG800
Wired Network via Telstra Max2 - ASUS RT-AX86U, Netgear DGND3700, GS108TV2, WNDR3700
Synology 918+

User avatar
MrQuade
Uber Wizard
Posts: 11683
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Daily recordings not working.

Post by MrQuade » Sun Apr 09, 2017 09:06

Not sure at all. I just set up a daily repeating timer in the T4 and it showed up as "waiting" in the timer list. Went to bed and woke up, the timer had fired and then scheduled a new waiting timer for the same time tomorrow.

I just realised that the T4 isn't running IceTV, so I have repeated the same procedure on my T3 which uses the Ice guide.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

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

Re: Daily recordings not working.

Post by prl » Sun Apr 09, 2017 10:44

MrQuade wrote:Not sure at all. I just set up a daily repeating timer in the T4 and it showed up as "waiting" in the timer list. Went to bed and woke up, the timer had fired and then scheduled a new waiting timer for the same time tomorrow.

I just realised that the T4 isn't running IceTV, so I have repeated the same procedure on my T3 which uses the Ice guide.
Repeating recorders shouldn't behave any differently between the FTA and IceTV EPGs, and if they do, there's definitely a bug.

Timers set on a Beyonwiz using IceTV will always show as single recordings on the IceTV Web pages, whether they are repeating timers or not.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
MrQuade
Uber Wizard
Posts: 11683
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Daily recordings not working.

Post by MrQuade » Sun Apr 09, 2017 11:24

Repeat timer was scheduled, so no difference in result. Not sure what is happening on your box.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

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

Re: Daily recordings not working.

Post by Grumpy_Geoff » Sun Apr 09, 2017 14:00

I also use IceTV. On the T4, I set a daily repeating timer for an event this morning. The program was recorded, and the timer cycled to tomorrow 'waiting'.

User avatar
slugahhh
Apprentice
Posts: 41
Joined: Sat Mar 07, 2009 01:32
Location: Perth WA

Re: Daily recordings not working.

Post by slugahhh » Mon Apr 10, 2017 02:17

prl wrote:I'm not sure what you've done. Before the upgrade to 20170310, you were using IceTV, but you were setting a Beyonwiz-set daily timer to record the news.

After the upgrade, are you doing the same, or are you now using an IceTV series recording?
Hi Peter,
I am using the Beyonwiz timer for the news. I do this because I record 7 News and Today Tonight all in one recording so that I don't have to stop after the news and then play Today Tonight separately (as I would have to do using the Icetv series timers). I also tried nominating each day ie the "user defined" field recording on monday tuesaday etc. This also only worked for the first event. I also have a T3 so I have have scheduled a "Daily" recording on that as a tester so I will let you know if that works over the coming days.
Beyonwiz V2 & T4, Samsung Q95T, Yamaha RX-A3080, Panasonic UBD-820 Blu-ray Player 4k Chromecast's

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

Re: Daily recordings not working.

Post by prl » Mon Apr 10, 2017 08:29

OK, thanks. I'll give it a go, too, but so far I don't think anyone's been able to replicate your problem.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Paul_oz53
Wizard
Posts: 2647
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Daily recordings not working.

Post by Paul_oz53 » Tue Apr 11, 2017 01:15

I tried to set a repeating timer on the T4 for 9HD news. Same result as slugahh - did not repeat.

From the T4 EPG selected the 9 news,
GREEN add timer.
Repeat type 'repeated'.
Repeats 'Mon-Fri'.
GREEN ok.

Timer appeared in the EPG and the timers list. Recorded ok but the repeat timer is not in the EPG or the timers list.

Rarely use straight timers so I can't comment on prior behavior. I use IceTV for most timers.

Paul
__________________________________
Paul

Beyonwiz T3, T4, 2 x U4: FW - 19.3 20211010
OverlayHD 1.70, IceTV, Foxtel IQ4
Chromecast, Denon AVR -X2400H
2 x Win7 PCs, 2 x Win10 PCs
Samsung QA65Q80TAWXXY 4K TV

vader1111
Master
Posts: 240
Joined: Thu Jun 09, 2016 10:58

Re: Daily recordings not working.

Post by vader1111 » Tue Apr 11, 2017 09:43

Paul_oz53 wrote:I tried to set a repeating timer on the T4 for 9HD news. Same result as slugahh - did not repeat.

From the T4 EPG selected the 9 news,
GREEN add timer.
Repeat type 'repeated'.
Repeats 'Mon-Fri'.
GREEN ok.

Timer appeared in the EPG and the timers list. Recorded ok but the repeat timer is not in the EPG or the timers list.

Rarely use straight timers so I can't comment on prior behavior. I use IceTV for most timers.

Paul
Repeat timers don't create multiple timers. It creates one timer, which is then updated to the next "repeat" once the first timer has completed recording.

For example, I have a repeat timer set to record "The Chase Australia", Mon-Thurs each week. The T2 currently has one timer set - for tonight's episode. When that episode finishes, it will automatically create a new timer for tomorrow night's episode. Rinse & repeat.
2x T2 19.3 20201114

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

Re: Daily recordings not working.

Post by Grumpy_Geoff » Tue Apr 11, 2017 10:11

As I posted on Sunday, that morning I created a repeating timer to test this issue, and it is still correctly repeating (3rd timer set for this morning).
Yesterday I created another repeating timer to match the original reported issue News/TT, and I took the below screenshot before saving it.
Repeated_timer_News_TT.png
Here is the timer log after it fired, showing the timer has cycled to Tuesday -

Code: Select all

<timer begin="1491904500" end="1491908700" serviceref="1:0:19:564:506:1013:EEEE0000:0:0:0:" repeated="31" rename_repeat="1" name="Seven News" description="Daily dose of international, national and local news, sport, weather and human interest stories. Up to the minute news about anything, anywhere, anytime." afterevent="auto" eit="10885" tags="Seven_News" disabled="0" justplay="0" always_zap="0" descramble="1" record_ecm="0" isAutoTimer="0" ice_timer_id="16284180649789882472">
<log code="15" time="1491811571">
record time changed, start prepare is now: Mon Apr 10 17:54:40 2017
</log>
<log code="5" time="1491818080">activating state 1</log>
<log code="0" time="1491818080">Found enough free space to record</log>
<log code="0" time="1491818080">
Filename calculated as: '/media/hdd/movie/20170410 1755 - 7HD Perth - Seven News'
</log>
<log code="0" time="1491818080">
Filename calculated as: '/media/hdd/movie/20170410 1755 - 7HD Perth - Today Tonight'
</log>
<log code="6" time="1491818080">prepare ok, waiting for begin</log>
<log code="5" time="1491818100">activating state 2</log>
<log code="11" time="1491818100">start recording</log>
<log code="5" time="1491822300">activating state 3</log>
<log code="12" time="1491822300">stop recording</log>
<log code="15" time="1491822300">
record time changed, start prepare is now: Tue Apr 11 17:54:40 2017
</log>
</timer>
Epoch times
1491811571 10th 16:06:11 timer created
1491818080 10th 17:54:40 start prepare
1491818100 10th 17:55:00 start recording
1491822300 10th 19:05:00 end recording
1491904500 11th 17:55:00 begin time of next timer cycle

The repeat timer gets an 'ice_timer_id' value but the timer doesn't show in IceTV 'My Week'.

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

Re: Daily recordings not working.

Post by prl » Tue Apr 11, 2017 11:22

Grumpy_Geoff wrote:... The repeat timer gets an 'ice_timer_id' value but the timer doesn't show in IceTV 'My Week'.
It does for me. It appears in "My Week" as a single timer on the day and time that it will next trigger. This is true for daily, weekly, Mon-Fri and User defined repeat patterns.

That's what I'd expect. The IceTV plugin never accesses the "repeated" field in a timer.

However, a timer set from the Beyonwiz (via GUI or Open Webif) will always show with a "single recording" icon on the IceTV Web page, no matter what its repeat status is. This is expected behaviour and follows from the statement in the previous paragraph.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

vader1111
Master
Posts: 240
Joined: Thu Jun 09, 2016 10:58

Re: Daily recordings not working.

Post by vader1111 » Tue Apr 11, 2017 11:39

prl wrote:
Grumpy_Geoff wrote:However, a timer set from the Beyonwiz (via GUI or Open Webif) will always show with a "single recording" icon on the IceTV Web page, no matter what its repeat status is. This is expected behaviour and follows from the statement in the previous paragraph.
The timer shows up in IceTV the first time it is created, and whenever it is edited. However, repeats do not normally show up in the IceTV guide.

For example, if I manually created a timer for the ABC News, setting it to repeat daily, I would see a "single recording" timer in IceTV for tonight's episode - but I won't ever see a timer for tomorrow's episode in the IceTV guide.
2x T2 19.3 20201114

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

Re: Daily recordings not working.

Post by prl » Tue Apr 11, 2017 11:45

vader1111 wrote:
prl wrote:
Grumpy_Geoff wrote:However, a timer set from the Beyonwiz (via GUI or Open Webif) will always show with a "single recording" icon on the IceTV Web page, no matter what its repeat status is. This is expected behaviour and follows from the statement in the previous paragraph.
The timer shows up in IceTV the first time it is created, and whenever it is edited. However, repeats do not normally show up in the IceTV guide.

For example, if I manually created a timer for the ABC News, setting it to repeat daily, I would see a "single recording" timer in IceTV for tonight's episode - but I won't ever see a timer for tomorrow's episode in the IceTV guide.
Ah. OK. I misunderstood.

Repeat timers set on the Beyonwiz won't re-send their next firing to IceTV. That's probably a bug. But the timer will still record.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Paul_oz53
Wizard
Posts: 2647
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Daily recordings not working.

Post by Paul_oz53 » Tue Apr 11, 2017 12:26

vader1111 wrote: Repeat timers don't create multiple timers. It creates one timer, which is then updated to the next "repeat" once the first timer has completed recording.

For example, I have a repeat timer set to record "The Chase Australia", Mon-Thurs each week. The T2 currently has one timer set - for tonight's episode. When that episode finishes, it will automatically create a new timer for tomorrow night's episode. Rinse & repeat.
Thanks Vader1111, I did expect exactly that outcome and only reported because it didn't happen as it should.

The problem with my first attempt is when the episode finished, and many hours later, it did NOT create a new timer. I checked timers.xml but it was empty for a repeat of 9HD news. Importantly, the repeated field shows as zero, which I assume is incorrect.

However, I repeated the experiment for 9 Morning news and notice the repeated field has a different code "31". This does have the follow-on timer in the timers list.

Clearly, the first timer save failed to correctly save the repeated field value. Why that happened I know not. Whether this is just a random event or sign of a lurking bug is for others to judge.

I suspect that is what slugahh encountered. My suggestion to slugahh is to check the timers.xml file an ensure the repeated field reads the appropriate value, which will depend on the pattern he prefers.

Cheers, Paul

Code: Select all

<timer begin="1491810600" end="1491816600" serviceref="1:0:19:431:430:1012:EEEE0000:0:0:0:" repeated="0" rename_repeat="1" name="National Nine News" description="The latest local, national and international news..." afterevent="auto" eit="3169" tags="" disabled="0" justplay="0" always_zap="0" descramble="1" record_ecm="0" isAutoTimer="0" ice_timer_id="16283928036775136475">


<timer begin="1491850200" end="1491854400" serviceref="1:0:19:431:430:1012:EEEE0000:0:0:0::9HD" repeated="31" rename_repeat="1" name="National Nine Early Morning News" description="Morning news, sport and weather." afterevent="auto" eit="28004" tags="National_Nine_Early_Morning_News" disabled="0" justplay="0" always_zap="0" descramble="1" record_ecm="0" isAutoTimer="0" ice_timer_id="16284194947819897234">
__________________________________
Paul

Beyonwiz T3, T4, 2 x U4: FW - 19.3 20211010
OverlayHD 1.70, IceTV, Foxtel IQ4
Chromecast, Denon AVR -X2400H
2 x Win7 PCs, 2 x Win10 PCs
Samsung QA65Q80TAWXXY 4K TV

User avatar
MrQuade
Uber Wizard
Posts: 11683
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Daily recordings not working.

Post by MrQuade » Tue Apr 11, 2017 12:40

It might depend if it was initially created as a single timer, and then changed to a repeating timer later, or if it was created as a repeating timer from the outset?

My test was with a simple "Daily" type timer, and it was set as such on its initial creation.
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

Paul_oz53
Wizard
Posts: 2647
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Daily recordings not working.

Post by Paul_oz53 » Tue Apr 11, 2017 12:57

MrQuade wrote:It might depend if it was initially created as a single timer, and then changed to a repeating timer later, or if it was created as a repeating timer from the outset?

My test was with a simple "Daily" type timer, and it was set as such on its initial creation.
Being of a curious mind, I created it as repeating on both occasions using the identical key sequence. Did not save and edit either time. First time it showed in the timers list before it ran as repeating but, as discussed, failed to repeat. Second time it worked ok.

I have used repeating timers in the past with no issues and was surprised that my first trial failed.

About the only other possibility for a difference is keybounce in the remote maybe, but that's clutching at straws.

Paul
__________________________________
Paul

Beyonwiz T3, T4, 2 x U4: FW - 19.3 20211010
OverlayHD 1.70, IceTV, Foxtel IQ4
Chromecast, Denon AVR -X2400H
2 x Win7 PCs, 2 x Win10 PCs
Samsung QA65Q80TAWXXY 4K TV

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

Re: Daily recordings not working.

Post by prl » Tue Apr 11, 2017 13:23

Paul_oz53 wrote:...
However, I repeated the experiment for 9 Morning news and notice the repeated field has a different code "31". This does have the follow-on timer in the timers list.
31 is the repeat pattern for Mon-Fri. The bits in the pattern are Mon=1, Tue=2, Wed=4, ... Sun=64. A daily timer is 127. A weekly timer has a single day-of-the-week bit. A non-repeating timer is 0.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Tue Apr 11, 2017 14:13

Cue the spooky music...

That "Seven News" timer I listed previously has now disappeared. It was a weekday repeat.

Additionally, I created another weekday repeat today for "National Nine News". I'm positive I created it as a repeat, but upon later checking it, it was a single record timer.

The IceTV log for that time period shows -
09:35:00 Timer 'National Nine News' created okay
... (update at 09:45)
10:00:49 Start update
10:00:51 EPG download OK
10;00:52 Timer 'National Nine News' updated okay
10:00:52 Timers updated OK
10;00:52 End update
10;00:52 Timer deleted okay
... (update at 10:15)

So IceTV updated my National Nine News timer.
I wonder what timer Ice decided to delete @10;00:52? My Seven News/Today Tonight timer? Did it delete it because it spanned 2 events?

The daily repeat I set on Sunday ("Daniel Tiger's Neighbourhood") is still showing. It didn't get accepted by IceTV as it was created (11:11) too close to its start time (11:15). So if IceTV is messing with my repeat timers, it doesn't know about this one.

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

Re: Daily recordings not working.

Post by prl » Tue Apr 11, 2017 15:34

Grumpy_Geoff wrote:...
10;00:52 Timer deleted okay
...
Was the message actually "Timer deleted OK"? "okay" isn't used in any of the logs.

Anyway, it looks very strange. I'll have a look at the update code to see what's going on.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Tue Apr 11, 2017 16:03

prl wrote:
Grumpy_Geoff wrote:...
10;00:52 Timer deleted okay
...
Was the message actually "Timer deleted OK"? "okay" isn't used in any of the logs.

Anyway, it looks very strange. I'll have a look at the update code to see what's going on.
Yep, you're right, it was "OK" -
Timer {blah} updated OK
Timer deleted OK
Typos!

User avatar
MrQuade
Uber Wizard
Posts: 11683
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Daily recordings not working.

Post by MrQuade » Tue Apr 11, 2017 16:20

Sounds like another job for......Autotimers! Keep Ice's filthy mitts off the repeating timers ;).
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

User avatar
peteru
Uber Wizard
Posts: 9637
Joined: Tue Jun 12, 2007 23:06
Location: Sydney, Australia
Contact:

Re: Daily recordings not working.

Post by peteru » Tue Apr 11, 2017 17:48

You can't mix IceTV and non-autotimer timers. IceTV asserts control over anything that is not an autotimer.

This is by design at IceTV insistence.

"Beauty lies in the hands of the beer holder."
Blog.

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

Re: Daily recordings not working.

Post by prl » Tue Apr 11, 2017 19:09

Since the issue appears to be new in 20170310:
sluggahhh wrote:Since the latest firmware upgrade I cant seem to schedule a daily repeat recording.
I'm interested in making sure that it's not a Beyonwiz-side problem, perhaps an inadvertent side-effect of the fix for Bug #515: IceTV-managed timers deleted twice.
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: 32304
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Daily recordings not working.

Post by prl » Wed Apr 12, 2017 10:36

Grumpy_Geoff wrote:Cue the spooky music...

That "Seven News" timer I listed previously has now disappeared. It was a weekday repeat.

Additionally, I created another weekday repeat today for "National Nine News". I'm positive I created it as a repeat, but upon later checking it, it was a single record timer.

The IceTV log for that time period shows -
09:35:00 Timer 'National Nine News' created okay
... (update at 09:45)
10:00:49 Start update
10:00:51 EPG download OK
10;00:52 Timer 'National Nine News' updated okay
10:00:52 Timers updated OK
10;00:52 End update
10;00:52 Timer deleted okay
... (update at 10:15)

So IceTV updated my National Nine News timer.
I wonder what timer Ice decided to delete @10;00:52? My Seven News/Today Tonight timer? Did it delete it because it spanned 2 events?

The daily repeat I set on Sunday ("Daniel Tiger's Neighbourhood") is still showing. It didn't get accepted by IceTV as it was created (11:11) too close to its start time (11:15). So if IceTV is messing with my repeat timers, it doesn't know about this one.
I'm trying to work out just what went on there. The 'National Nine News' timer should have been set for 18:00. In that log excerpt, was the 'National Nine News' timer deleted, or was something else deleted (the My Seven News/Today Tonight timer, perhaps)?

I'll try experimenting with a timer that spans two programs. How exactly are the timers for these disappearing repeating timers being set? Entirely manually? GREEN in the EPG on the first program and then modify the end time? Some other way, e.g. GREEN, GREEN in the EPG to make the timer, then GREEN to modify its end?
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Wed Apr 12, 2017 12:09

prl wrote:...
I'm trying to work out just what went on there. The 'National Nine News' timer should have been set for 18:00. In that log excerpt, was the 'National Nine News' timer deleted, or was something else deleted (the My Seven News/Today Tonight timer, perhaps)?
The 'National Nine News' timer was still present in the timer list, as a single-record timer, whereas I'm sure I created it as a weekday repeat (as that was what I was testing).
The weekday repeating timer spanning both 'Seven News' and 'Today Tonight' disappeared, and I definitely didn't delete it.
prl wrote:I'll try experimenting with a timer that spans two programs. How exactly are the timers for these disappearing repeating timers being set? Entirely manually? GREEN in the EPG on the first program and then modify the end time? Some other way, e.g. GREEN, GREEN in the EPG to make the timer, then GREEN to modify its end?
This - "GREEN in the EPG on the first program and then modify the end time"

But wait, there's more...
Whilst typing this up I checked the timers again, The timer monster has been at it again! Four of the five 'news' repeat timers I set up have disappeared.
Here's a pic of what I had set -
News_rpts.png
Now, only ABC News remains, but I expect that'll be eaten by the timer monster in due course

Is this a side effect of these timers having an "ice_timer_id" value but no corresponding entry on the Ice server?
"You show me yours, I'll show you mine - I (the Ice server) win because I'm the master and I don't have these listed"

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

Re: Daily recordings not working.

Post by prl » Wed Apr 12, 2017 12:33

Is there any discernible pattern to when IceTV kills unsuspecting repeat timers? One possible point would be at the end of the second repetition of the timer. That doesn't seem to match when your Seven News/Today Tonight timer was killed off, though.
Grumpy_Geoff wrote: Is this a side effect of these timers having an "ice_timer_id" value but no corresponding entry on the Ice server?
"You show me yours, I'll show you mine - I (the Ice server) win because I'm the master and I don't have these listed"
That sounds a possibility, but the Beyonwiz side should only send information about timers set on the Beyonwiz side when the user changes them. It shouldn't even be sending anything when a repeating timer gets updated to its next firing time (which makes me suspect that the timers aren't being deleted at the end of their second run).
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

User avatar
MrQuade
Uber Wizard
Posts: 11683
Joined: Sun Jun 24, 2007 13:40
Location: Perth

Re: Daily recordings not working.

Post by MrQuade » Wed Apr 12, 2017 12:38

prl wrote:That sounds a possibility, but the Beyonwiz side should only send information about timers set on the Beyonwiz side when the user changes them. It shouldn't even be sending anything when a repeating timer gets updated to its next firing time
What is the practical difference between a user changing a timer, and the timer changing itself? Is the IceTV update linked directly to the action of the GREEN button?
Logitech Harmony Ultimate+Elite RCs
Beyonwiz T2/3/U4/V2, DP-S1 PVRs
Denon AVR-X3400h, LG OLED65C7T TV
QNAP TS-410 NAS, Centos File Server (Hosted under KVM)
Ubiquiti UniFi Managed LAN/WLAN, Draytek Vigor130/Asus RT-AC86U Internet
Pixel 4,5&6, iPad 3 Mobile Devices

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

Re: Daily recordings not working.

Post by Grumpy_Geoff » Wed Apr 12, 2017 12:56

prl wrote:Is there any discernible pattern to when IceTV kills unsuspecting repeat timers? One possible point would be at the end of the second repetition of the timer. That doesn't seem to match when your Seven News/Today Tonight timer was killed off, though.
Grumpy_Geoff wrote: Is this a side effect of these timers having an "ice_timer_id" value but no corresponding entry on the Ice server?
"You show me yours, I'll show you mine - I (the Ice server) win because I'm the master and I don't have these listed"
That sounds a possibility, but the Beyonwiz side should only send information about timers set on the Beyonwiz side when the user changes them. It shouldn't even be sending anything when a repeating timer gets updated to its next firing time (which makes me suspect that the timers aren't being deleted at the end of their second run).
I've a repeating timer (for "Daniel Tiger's Neighbourhood") still present that I set on Sunday when originally testing slugahhh's issue.
It's repeated twice after the original firing, and is set to fire again in about 20 mins -
Filename calculated as: '/media/hdd/movie/20170409 1115 - ABC2_KIDS - Daniel Tiger's Neighbourhood'
Filename calculated as: '/media/hdd/movie/20170410 1115 - ABC2_KIDS - Daniel Tiger's Neighbourhood'
Filename calculated as: '/media/hdd/movie/20170411 1115 - ABC2_KIDS - Daniel Tiger's Neighbourhood'
record time changed, start prepare is now: Wed Apr 12 11:14:40 2017
That timer was never 'accepted' by IceTV though (too close to start time).

The timers from last night fired only the once, with only "ABC News" left from that lot.
The combined "Seven News / Today Tonight" timer I posted here fired only the once, then disappeared during the next day.

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

Re: Daily recordings not working.

Post by Grumpy_Geoff » Wed Apr 12, 2017 13:05

I can see one difference between my 'surviving' repeat timers and those 'deceased' that were eaten by the timer monster; the surviving timers are daily repeats (repeated="127"), whilst those deceased were weekday repeats (repeated="31").
Anything funny in the code for weekday repeats?

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

Re: Daily recordings not working.

Post by prl » Wed Apr 12, 2017 13:29

MrQuade wrote:
prl wrote:That sounds a possibility, but the Beyonwiz side should only send information about timers set on the Beyonwiz side when the user changes them. It shouldn't even be sending anything when a repeating timer gets updated to its next firing time
What is the practical difference between a user changing a timer, and the timer changing itself? Is the IceTV update linked directly to the action of the GREEN button?
My misreading of the code. :oops:

IceTV is linked to the RecordTimer instance that controls recordings by using RecordTimer's onTimerAdded/onTimerRemoved/onTimerChanged callback lists. I missed where the onTimerChanged callbacks get invoked when a repeat timer gets its time updated.

That means that Grumpy_Geoff's "you sent me an update for a timer that's already run - I'll put an end to that" scenario is a possibility, but the timing seems all wrong.
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: 32304
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Daily recordings not working.

Post by prl » Wed Apr 12, 2017 13:36

Grumpy_Geoff wrote:I can see one difference between my 'surviving' repeat timers and those 'deceased' that were eaten by the timer monster; the surviving timers are daily repeats (repeated="127"), whilst those deceased were weekday repeats (repeated="31").
Anything funny in the code for weekday repeats?
Only the bit set used to represent the repeat pattern and how the pattern is presented in the TimerEntry screen. The repeat pattern is, as I posted in the topic earlier: mon = 2^0, tue = 2^1, wed = 2^2 ... sat = 2^5, sun = 2^6. Hence 31 (0b11111) for weekday and 127 (0b1111111) for daily. A weekly timer just has that day's bit set, so "weekly on Wednesday" is 2^2 = 0b100 = 4. Non-repeating timers use 0 for the repeat pattern.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Wed Apr 12, 2017 15:13

I'm trying a test to see if it's a combination of weekday repeat and IceTV...
I disabled IceTV
I created a weekday repeat spanning 7 News & Today Tonight
Then I re-enabled IceTV

Ice doesn't (at least for now) know about this timer.

Code: Select all

<timer begin="1491990900" end="1491995400" serviceref="1:0:19:564:506:1013:EEEE0000:0:0:0:" repeated="31" rename_repeat="0" name="Seven News" description="Seven brings you the latest developments in today's top stories at home and around the world, plus finance, sport and weather updates. E CC" afterevent="auto" eit="18818" tags="Seven_News" disabled="0" justplay="0" always_zap="0" descramble="1" record_ecm="0" isAutoTimer="0">
<log code="15" time="1491970899">
record time changed, start prepare is now: Wed Apr 12 17:54:40 2017
</log>
</timer>
Let's see if it survives the next few days and not get eaten by the timer monster :)

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

Re: Daily recordings not working.

Post by prl » Wed Apr 12, 2017 15:41

Grumpy_Geoff wrote:I'm trying a test to see if it's a combination of weekday repeat and IceTV...
I disabled IceTV
I created a weekday repeat spanning 7 News & Today Tonight
Then I re-enabled IceTV

Ice doesn't (at least for now) know about this timer.
...
It will remain hidden to IceTV until the first time it is modified after IceTV is re-enabled (e.g. the next time it finishes a recording and reschedules itself).

Code: Select all

    def onTimerAdded(self, entry):
        if not self.shouldProcessTimer(entry):
            return
        reactor.callInThread(self.postTimer, entry)

    def shouldProcessTimer(self, entry):
        ...
        if config.plugins.icetv.configured.value and config.plugins.icetv.enable_epg.value:
            ...
        else:
            # IceTV is not enabled
            return False
When IceTV is re-enabled, shouldProcessTimer() can return True, and onTimerChanged(), which also tests shouldProcessTimer(), will flag the timer to IceTV.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Wed Apr 12, 2017 19:10

prl wrote:...
It will remain hidden to IceTV until the first time it is modified after IceTV is re-enabled (e.g. the next time it finishes a recording and reschedules itself).
...
Okay, but IceTV doesn't get notice of a timer for "Daniel Tiger's Neighbourhood" (or if it does, it doesn't accept it).
It is also did not get notice of a timer for ABC News from last night's cycle (or again, didn't accept it).
Here you said that the repeat wouldn't get sent

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

Re: Daily recordings not working.

Post by Grumpy_Geoff » Thu Apr 13, 2017 00:34

The timer cycled over to tomorrow -
Seven News
13.04.2017 17:55 - 13.04.2017 19:10
Every Monday, Tuesday, Wednesday, Thursday, Friday
7HD Perth
Seven brings you the latest developments in today's top stories at home and around the world, plus finance, sport and weather updates. E CC
waiting

Nothing on IceTV for Seven News.

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

Re: Daily recordings not working.

Post by prl » Thu Apr 13, 2017 10:50

Grumpy_Geoff wrote:
prl wrote:...
It will remain hidden to IceTV until the first time it is modified after IceTV is re-enabled (e.g. the next time it finishes a recording and reschedules itself).
...
Okay, but IceTV doesn't get notice of a timer for "Daniel Tiger's Neighbourhood" (or if it does, it doesn't accept it).
It is also did not get notice of a timer for ABC News from last night's cycle (or again, didn't accept it).
Here you said that the repeat wouldn't get sent
And here I corrected that, to the best of my understanding.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Thu Apr 13, 2017 13:23

prl wrote:
Grumpy_Geoff wrote:
prl wrote:...
It will remain hidden to IceTV until the first time it is modified after IceTV is re-enabled (e.g. the next time it finishes a recording and reschedules itself).
...
Okay, but IceTV doesn't get notice of a timer for "Daniel Tiger's Neighbourhood" (or if it does, it doesn't accept it).
It is also did not get notice of a timer for ABC News from last night's cycle (or again, didn't accept it).
Here you said that the repeat wouldn't get sent
And here I corrected that, to the best of my understanding.
Okay, I missed your "I missed where the onTimerChanged callbacks get invoked..."

Last night, whilst IceTV was enabled, I created a Mon-Fri/weekday repeat for "Rage". It fired and cycled over to tonight. I saw that timer state this morning.
Now, the "Rage" timer has been eaten by the Timer Monster, sometime in the last hour or so. There is a delete entry in the IceTV log (timed at 10:33), and that time entry is within the window of opportunity.
Here is the timer still up on my OWIF display -
Rage
13.04.2017 21:55 - 13.04.2017 22:40
Every Monday, Tuesday, Wednesday, Thursday, Friday
ABC ME
The very best new music releases plus a mix of classic hits and party favourites. For information about rage playlists visit the website: abc.net.au/rage #watchingrage
waiting

Still present are -
"Seven News" - Mon-Fri/weekday - created when IceTV was disabled
"Daniel Tiger's Neighbourhood" - daily - created when IceTV was enabled; but not within Ice's acceptable pre-start time.
"ABC News" - daily - created when IceTV was enabled

This may simply be a coincedence, but weekday repeats don't seem to last if they have an 'ice_timer_id' value.

User avatar
slugahhh
Apprentice
Posts: 41
Joined: Sat Mar 07, 2009 01:32
Location: Perth WA

Re: Daily recordings not working.

Post by slugahhh » Thu Apr 13, 2017 15:42

Well I scheduled a "Daily Timer" on my T3 instead of the T4. It all goes well initially. It puts the repeat timer in the schedule and fires that evening. After the event I look in the schedule and there it is. The news rescheduled for tomorrow night. Funny thing is when I get home the next day and check, the schedule and the timer is missing. Those that are testing try it over a couple of days and see if it continues to work. I am bridging 2 show being the News and Today Tonight. IceTv can be used to record both of these shows however it make a mess of your schedule on the Wiz populating a full weeks worth of these two shows straight away.
Beyonwiz V2 & T4, Samsung Q95T, Yamaha RX-A3080, Panasonic UBD-820 Blu-ray Player 4k Chromecast's

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

Re: Daily recordings not working.

Post by prl » Thu Apr 13, 2017 16:52

I'm trying to nail down exactly what happens when an repeated timer is updated to its next firing when IceTV is enabled. The first debug code I tried seemed to indicate that the IceTV EPGFetcher.onTimerChanged() method does not get called when a repeated timer's recording ends and its timer is updated to its next firing.

I'm delving a bit deeper to try to track down just why not.
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: 32304
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Daily recordings not working.

Post by prl » Fri Apr 14, 2017 10:36

OK, when a recording completes, the timer system does not call the IceTV method EPGFetcher.onTimerChanged() when a repeated timer updates its next firing time.

My confusion arose because there are four timerChanged() methods, one in each or Timer (timer list), TimerEntry, RecordTimer (record timer list) and RecordTimer entry. Only RecordTimer.timerChanged() calls the callbacks in RecordTimer.onTimerChanged[]. Updating a repeated timer's next firing calls RecordTimerEntry.timerChanged(), which doesn't trigger the callbacks. That means that IceTV won't be informed about the timer's new time.

tl;dr: when a repeated timer updates its next firing time, IceTV doesn't get told about the update.

I'm still looking for a way to reliably trigger the deletion of a repeated timer or some idea of what event triggers its deletion.
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: 32304
Joined: Tue Sep 04, 2007 13:49
Location: Canberra; Black Mountain Tower transmitters

Re: Daily recordings not working.

Post by prl » Fri Apr 14, 2017 10:58

It may be useful to enable full IceTV debugging to see whether it's an IceTV action that triggers the timer deletion (I think it's quite likely that it is). You can enable full IceTV debugging by going to the IceTV popup menu, MENU>IceTV, and pressing CH+ 4 times.

Some of the debug information can be a bulky, so it's best to have logging on the HDD when you do this. Make a note of the IceTV timer ids for the repeated timers (the ice_timer_id attribute in the timer's timers.xml entry)

If a timer gets deleted, search for its id in the log file and post the last few occurrences.

You can use something like:

grep '\[IceTV].*1492130860'

where the 1492130860 is replaced by the relevant timer's id.

You can turn IceTV debugging off by going to MENU>IceTV and pressing CH- at least 4 times.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Fri Apr 14, 2017 12:37

Debug logging and full IceTV debugging has now been enabled. You're not kidding when you said "Some of the debug information can be a bulky".
I've captured all the test repeat timers.

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

Re: Daily recordings not working.

Post by prl » Fri Apr 14, 2017 12:43

If you enable/disable IceTV with full debug on, youll get a full dump of the EPG in JSON format. That is rather big. Incremental updates won't be as big, but still can be quite large.

Note that the debug setting is volatile and gets reset on GUI restart.
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: 6440
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Daily recordings not working.

Post by Grumpy_Geoff » Fri Apr 14, 2017 14:16

I'm glad you mentioned that, as I'd rebooted to 'start afresh'. I'll have to ensure I down shut down T4 over the next day or two.
Can I hack the settings to add a debug entry? Something like -
config.plugins.icetv.{debug level}=4

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

Re: Daily recordings not working.

Post by prl » Fri Apr 14, 2017 14:47

Grumpy_Geoff wrote:I'm glad you mentioned that, as I'd rebooted to 'start afresh'. I'll have to ensure I down shut down T4 over the next day or two.
Can I hack the settings to add a debug entry? Something like -
config.plugins.icetv.{debug level}=4
You'd have to do matching hacks in the IceTV plugin. The reason that the setting isn't preserved is that it's in a normal global variable (_debug_level, defined in Plugins/SystemPlugins/IceTV/API.py), not a config variable.
Peter
T4 HDMI
U4, T4, T3, T2, V2 test/development machines
Sony BDV-9200W HT system
LG OLED55C9PTA 55" OLED TV

Paul_oz53
Wizard
Posts: 2647
Joined: Sat Jun 13, 2009 02:34
Location: Melbourne

Re: Daily recordings not working.

Post by Paul_oz53 » Fri Apr 14, 2017 15:54

prl wrote:l
I'm still looking for a way to reliably trigger the deletion of a repeated timer ...
I hope I'm wrong but wouldn't that prevent repeat timers working if you have IceTV?

That may match what peteru advised was what IceTV had insisted on but it would also mean something that is currently working for we users (at least some of the time) would cease to work. Is that really desirable?

My preference would be for IceTV not to destroy a manually set timer, ever. Failing that, for IceTV to adopt a manually set timer as it's own. But IceTV is very much based on matching text, not time.

Overwhelmingly, I record programs by name. But, every so often I record time blocks, pretty much as slugahh described.

This is not possible with IceTV or AutoTImers because these rely on matching text. A repeating timer is ideal for thìs function.

Needless to say, I would be reluctant to lose the functionality. As I said at the outset, I hope I'm wrong.
Paul
__________________________________
Paul

Beyonwiz T3, T4, 2 x U4: FW - 19.3 20211010
OverlayHD 1.70, IceTV, Foxtel IQ4
Chromecast, Denon AVR -X2400H
2 x Win7 PCs, 2 x Win10 PCs
Samsung QA65Q80TAWXXY 4K TV

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

Re: Daily recordings not working.

Post by prl » Fri Apr 14, 2017 16:45

This problem of repeating timers being deleted appears to have been caused by the changes in firmware 20170310 (also see here).

The reason I want to find a way to reliably trigger the problem is so that I can study the cause and fix it if possible.

The operation of timers set by the user on the Beyonwiz and pushed to IceTV is something of a black area for me. As far as I can tell, there's no information about what's supposed to happen in the API specs that IceTV has published. Peteru has access to earlier unpublished specs that I don't have access to, and that I understand he's not allowed to divulge.

Even if I had specs of what is supposed to happen, I've recently found a case where IceTV isn't following its own specifications.
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”