Jump to content


Photo

Autotimer and Alternative Services


  • Please log in to reply
23 replies to this topic

#1 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 10 November 2024 - 05:00

Should the Autotimer plugin work OK with channels that have alternative services?

 

I am seeing two similar problems:

 

1) Cannot add channels that have alternative services to the channels (services) list to search in an autotimer. Same behaviour happens from OpenWebIf and using remote control. They add, but disappear when closing and saving.

 

2) Autotimer will not scan and add timers on any channel with alternative services that is in a bouquet selected for that autotimer.

 

This is using OpenPLi 9.0-release (2024-10-11-release-9.0). Alternatives are the same channel but from different tuners (DVB-T / DVB-S). If the alternatives are removed, then the channel is searched and matches found OK, doesn't matter if the DVB-T or -S version is used, it will work OK as long is there is no alternative set. The overide found with alternative setting (either global or per autotimer) has no effect. Changing the order of primary and alternative services also makes no difference.

 

Also, enabling the debug log to /tmp/ in the autotime settings doesn't create a log file there.

 

Have been seeing this issue for a few months but only really started looking at it today. Was there a change in OpenPLi 9 that would affect how alternative services are handled, as I'm sure this used to wok OK with previos PLi versions.

 

Is anyone else seeing a similar problem?



Re: Autotimer and Alternative Services #2 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 10 November 2024 - 14:12

Give an example of an autotimer.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #3 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 11 November 2024 - 03:43

This is an autotimer created with a specified channel to search on:

 <timer name="Infomercials" match="Infomercials" enabled="yes" avoidDuplicateDescription="2" searchForDuplicateDescription="1" descShortEqualExt="yes" searchCase="sensitive" overrideAlternatives="1">
 </timer>

The channel specified uses alternatives:

#NAME Sky Open
#SERVICE 1:0:1:3FA:3:A9:6400000:0:0:0:
#SERVICE 1:0:19:57E:21:222A:EEEE0000:0:0:0:

That channel shows in userbouquet.favourites.tv as

#SERVICE 1:134:1:0:0:0:0:0:0:0:FROM BOUQUET "alternatives.1_0_1_3FA_3_A9_6400000_0_0_0_.tv" ORDER BY bouquet

Obviously missing from the saved XML is the

 <serviceref>  </serviceref>

tags that you would expect from a saved channel, so it looks like autotimer is not creating the timer properly.

 



Re: Autotimer and Alternative Services #4 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 11 November 2024 - 06:28

Ok,wait.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #5 littlesat

  • PLi® Core member
  • 57,107 posts

+698
Excellent

Posted 11 November 2024 - 16:19

I'm afraid autotimer and alternative services never worked.... E.g. EPG (source) could already be different....


Edited by littlesat, 11 November 2024 - 16:19.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Autotimer and Alternative Services #6 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 11 November 2024 - 19:37

Done

[autotimer] fixed not save in autotimer.xml alternatives ref

develop image


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #7 littlesat

  • PLi® Core member
  • 57,107 posts

+698
Excellent

Posted 11 November 2024 - 20:09

Are you sure this really could work? Which epg should be compared in alternatives.

Edited by littlesat, 11 November 2024 - 20:09.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Autotimer and Alternative Services #8 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 12 November 2024 - 04:34

I'm afraid autotimer and alternative services never worked.... E.g. EPG (source) could already be different....

I have generally found it works fine for many years, and only started seeing problems a few months ago. I hadn't bothered to do any troubleshooting until very recently, so that's why I wondered if it was related to OpenPLi 9.

 

Out of interest, which service is chosen to display EPG data in graphical multi EPG? Is it the first service in the alternatives list?



Re: Autotimer and Alternative Services #9 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 12 November 2024 - 04:35

Thank you! Will that change make it to a release image?



Re: Autotimer and Alternative Services #10 WanWizard

  • PLi® Core member
  • 70,359 posts

+1,807
Excellent

Posted 12 November 2024 - 04:38

If the EPG is different for channels in alternatives, I would say they are not alternatives at all?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Autotimer and Alternative Services #11 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 12 November 2024 - 05:01

I've seen occasional differences between different versions of a channel with EPG data, but usually close enough to not be a problem.



Re: Autotimer and Alternative Services #12 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 12 November 2024 - 06:24

 

Out of interest, which service is chosen to display EPG data in graphical multi EPG? Is it the first service in the alternatives list?

first service

 

 

Thank you! Will that change make it to a release image?

 

For image 9.0 add AutoTimerConfiguration.py manually

 

 

If the EPG is different for channels in alternatives, I would say they are not alternatives at all?

for autotimer yes(not add new timer)

 

Problem for alternative

this commit

AutoTimer - fixed parse services and bouquets for using via Partnerbox

Attached Files


Edited by Dimitrij, 12 November 2024 - 06:38.

GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #13 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 12 November 2024 - 06:40

Thank you so much. Do I replace /usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerConfiguration.pyc with this?



Re: Autotimer and Alternative Services #14 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 12 November 2024 - 06:45

Thank you so much. Do I replace /usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerConfiguration.pyc with this?

Simple add /usr/lib/enigma2/python/Plugins/Extensions/AutoTimer/AutoTimerConfiguration.py and restart GUI.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #15 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted 12 November 2024 - 07:54

Excellent, thanks :)

 

That has solved the problem of not being able to add alternative services to specific autotimers.

 

I am still finding that autotimer does not find matches on a channel with alternatives when that channel is part of a bouquet specified to search.

 

So with this service

#NAME Sky Open
#SERVICE 1:0:1:3FA:3:A9:6400000:0:0:0:
#SERVICE 1:0:19:57E:21:222A:EEEE0000:0:0:0:

in the bouquet userbouquet.favourites.tv as

#SERVICE 1:134:1:0:0:0:0:0:0:0:FROM BOUQUET "alternatives.1_0_1_3FA_3_A9_6400000_0_0_0_.tv" ORDER BY bouquet

and the autotimer includes

<bouquet>1:7:1:0:0:0:0:0:0:0:FROM BOUQUET &quot;userbouquet.favourites.tv&quot; ORDER BY bouquet</bouquet>

The timer will only find matches on simple services without alternatives.

 

I can work around it by adding the alternative channels as that works now (thank you!). I don't know if this would be a straightforward fix?



Re: Autotimer and Alternative Services #16 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 12 November 2024 - 08:40

"AutoTimer Editor" -->"Override found with alternative service" set yes?


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #17 littlesat

  • PLi® Core member
  • 57,107 posts

+698
Excellent

Posted 12 November 2024 - 13:30

Please let me know when it is relevant to merge the change request....

 

Note I never/ever liked how this was implemented.... better see a kind of list with alternative services like we do with the green button... instead of tons of 'mini' alternative lists with alternative services per service.... and then in case a service could not be reached check in the alternatives if there is an alternative and not add alternative 'minilists' in the bouquet lists.... Then this also could be done with 'one' type of config file... and we also could do a kind of automatic matcher that creates the 'general list' with alternatives.... and then you also do not have any problem with EPGs and service lists.... as it works 'on the run'....

Maybe better to remove this stuff and replace it.... (then just like I did with approx with the ICAM changes search for alternatives when no source could be found based on one alternative list).... Where you also e.g. can add IPTV streams etc....

This exists for a long time on my wish-list....


Edited by littlesat, 12 November 2024 - 13:36.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Autotimer and Alternative Services #18 WanWizard

  • PLi® Core member
  • 70,359 posts

+1,807
Excellent

Posted 12 November 2024 - 15:12

If it needs backporting to 9.0-release, and it is possible, the pinning needs to be updated.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Autotimer and Alternative Services #19 Dimitrij

  • PLi® Core member
  • 10,291 posts

+347
Excellent

Posted 12 November 2024 - 17:15

Beanie

 

The timer will only find matches on simple services without alternatives.

 

I can work around it by adding the alternative channels as that works now (thank you!). I don't know if this would be a straightforward fix?

 


 

 

Yes,need includes alternative as service in autotimer.

Separately from the bouquet, otherwise it will be a very complicated check for each event.


GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K


Re: Autotimer and Alternative Services #20 Beanie

  • Senior Member
  • 75 posts

0
Neutral

Posted Yesterday, 05:45

"AutoTimer Editor" -->"Override found with alternative service" set yes?

Have tried with this to to both yes and no. Does not seem to make a difference either way.

 

Using the example above in post 15 it won't find a match where there is the specified bouquet to search, and the match should be on a channel with alternatives.

 

I have manually checked that there are matches available on that channel, and they exist in each of the two channels listed in the alternative.




9 user(s) are reading this topic

0 members, 9 guests, 0 anonymous users