Author Topic: Odd recordings on Beyonwiz T4  (Read 1061 times)

Offline prl

  • Guru
  • *****
  • Posts: 3395
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #15 on: October 07, 2020, 11:54:28 AM »
The first thing I checked was if the USB dongle was being detected, in Openwebif the USB tuner was recognised. One is only DVB-T, the other two are DVB-T/T2; only one support DVB-C if I recall correctly.

The "Recording failed: Can't allocate program source (e.g. tuner)" error happens at tuner allocation in the recording prepare time (starting 20sec before the start of the recording). The tuner may not have been accessible then, but was accessible again when you checked.
Peter
Beyonwiz T4 in-use
Beyonwiz T2, T3 & T4 for testing

Offline prl

  • Guru
  • *****
  • Posts: 3395
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #16 on: October 07, 2020, 11:57:31 AM »
BTW, I recently changed my padding from 5/25min to 5/24 min - this reduces tuner allocation contention between recordings from different broadcasters where the scheduled start time of the second is 30 min after the start time of the first.

Offline IanL-S

  • Guru
  • *****
  • Posts: 1060
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #17 on: October 07, 2020, 01:50:29 PM »
I suspect part of the problem may be long pre- and post padding, but why it should start happening now is unclear.

Found the email for latest instance, and the error was timed 20 seconds before the recording started.

Ian
« Last Edit: October 07, 2020, 02:25:27 PM by IanL-S »
IceTV: 2xTRF-2400 + 2xTF7100HDPVRtPlus + SKIPPA [RIP] + T2 + U4
No IceTV: a few Toppys
Synology NAS
Check out the oztoppy wiki and oztoppy Forum for Toppy help

Offline prl

  • Guru
  • *****
  • Posts: 3395
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #18 on: October 07, 2020, 03:27:23 PM »
Found the email for latest instance, and the error was timed 20 seconds before the recording started.

That's in line with the error being produced at recording setup time, which starts 20 seconds before the recording start time.

The ability to make the recording is tested when the recording timer is created by IceTV, and each time it is is modified (when the program start or end times change, for example). Not having enough tuners to add or change the recording generates a different error message back to IceTV, "Timer conflict" errors.

So it definitely seems that between when the timer was created, modified, or near-in-time recordings were created or modified), the number of available tuners has changed, most likely by the failure to detect the USB timer.

Offline grumpy_geoff

  • Senior Member
  • ****
  • Posts: 152
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #19 on: October 07, 2020, 03:54:30 PM »
..., but why it should start happening now is unclear.

The USB tuner isn't hot-swappable, so if you bumped the connection then it'd not be available for use even if you re-inserted it correctly.  You must then reboot.

Offline IanL-S

  • Guru
  • *****
  • Posts: 1060
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #20 on: October 07, 2020, 05:43:35 PM »
@grumpy_geoff, so you have to reboot rather than restart the GUI?

As far as I am aware all three have been rebooted in the last two or three days. Will give them another go just to be sure.

Ian

Offline grumpy_geoff

  • Senior Member
  • ****
  • Posts: 152
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #21 on: October 07, 2020, 06:30:32 PM »
@grumpy_geoff, so you have to reboot rather than restart the GUI?


If the USB tuner is in a non-terrestrial mode (one of DVB-C, DVB-C2, or DVB-S2) then a GUI restart will usually get the mode re-assigned (assuming the tuner is detected).
A reboot is needed to reload the drivers et. al. if the tuner is removed and then replaced.  I think it's something like the USB drivers are quick to detect the removal and thus the DVB drivers unload, but on re-insert the DVB drivers don't reload (thus a boot is required).  Apparently the USB tuner stuff is quite an entangled "maze".

Offline IanL-S

  • Guru
  • *****
  • Posts: 1060
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #22 on: October 08, 2020, 10:18:08 AM »
Would I be correct to assume that if the USB Tuners show the correct settings (DVB-T or DVB-T2) in Openwebif that the turner is both recognised and working?

Ian

Offline grumpy_geoff

  • Senior Member
  • ****
  • Posts: 152
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #23 on: October 08, 2020, 12:04:24 PM »
Would I be correct to assume that if the USB Tuners show the correct settings (DVB-T or DVB-T2) in Openwebif that the turner is both recognised and working?

Not necessarily, that's just enigma2 detailing what was there at the last GUI start, but it may not be operational.
The below entries are from the "messages" log file when I unplugged the USB tuner, you can see from the second line that the tuner instance was nuked (the "r820t" reference is because I am using a Rafael Micro R820T / Realtek RTL2832U tuner/demodulator USB dongle).
Code: [Select]
Oct  8 07:58:16 beyonwizt2 user.info kernel: usb 1-1.7: USB disconnect, device number 3
Oct  8 07:58:16 beyonwizt2 user.info kernel: r820t 0-001a: destroying instance

I plugged the tuner back in after roughly one second of being unplugged and the tuner still shows up in OWIF, as possibly the USB interface is available but the tuner interface has gone as per above.  It can still be set as the preferred tuner, but a zap to a service fails to tune (as expected).   
After restarting the GUI, the USB tuner isn't available in Setup>>Tuners>>Tuner configuration.  After a reboot, it's back to being available.

Offline IanL-S

  • Guru
  • *****
  • Posts: 1060
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #24 on: October 08, 2020, 03:29:36 PM »
Thanks for the clarification, it much appreciated. So if in doubt, do a GUI restart to confirm the configuration.

Ian

Offline grumpy_geoff

  • Senior Member
  • ****
  • Posts: 152
    • View Profile
Re: Odd recordings on Beyonwiz T4
« Reply #25 on: October 08, 2020, 06:52:30 PM »
So if in doubt, do a GUI restart to confirm the configuration.

Actually, the only way to be sure is to force the use of the USB tuner to see if it's available.  Either (i) go into Setup>>Tuners>>Tuner allocation and set Tuner C as the preferred tuner, or (ii) set off two recordings on different broadcast networks.  Then zap to a broadcaster not currently being used as this will force the USB tuner to be used, then check live TV on that new broadcaster; if it works then fine, if not then reboot.  Then reset Tuner allocation back to "auto" if you used method (i).
The reason for the above is sometimes a GUI restart is enough, and at other times it's not (likely to do with how messed up the drivers get).


Share via facebook Share via twitter

xx
Image oddities in Recommendations

Started by prl on Smart Recording on Android

0 Replies
864 Views
Last post February 18, 2019, 06:31:11 PM
by prl
xx
Odd recommendation for "The Cry"

Started by prl on IceTV EPG Content

0 Replies
362 Views
Last post February 08, 2019, 01:27:43 PM
by prl
xx
Odd reccmmendation for The Day (Aka De Dag)

Started by prl on IceTV EPG Content

2 Replies
523 Views
Last post October 29, 2018, 12:56:53 PM
by prl
xx
Odd Squad marathon ABC ME Mon 15-Jan Perth

Started by grumpy_geoff on IceTV EPG Content

0 Replies
4141 Views
Last post January 10, 2018, 01:32:18 PM
by grumpy_geoff