It is not a problem to assign a unique serviceref. But it will be unique to you, to that specific box, to that specific bouquet, for as long as nothing external changes that bouquet.
Until now, every IPTV plugin I've seen generates random servicerefs when generating bouquet files, and every generation they will be different.
So please show me how you are going to guarantee that you can maintain the stability and uniqueness while you have no control whatsoever over the value of it?
This can only be done if Enigma is on control of generating the service ref, and there is a fixed algorithm for it so it always generates the same service ref for the same input.
This is a prime example of where you run into the problem of Enigma consisting of antiquated DVB centered code, in which you try to hack or shoehorn stuff in that has no relation to DVB whatsoever.
To solve this properly, you need decoupling of a "service" from the underlying "service provider", which can't be done easily because although object oriented languages are used, nothing is designed and coded in a proper object oriented way, using composition and decoupling.
edit: this is not a new problem.
E2 has known alternative services for ages. If properly designed, you would have one service, and multiple service providers providing that service. Which would make things transparant for anything consuming that service. You could even have a service provided by DVB-S, DVB-C, DVB-T and stream, and when recording the service, Enigma could transparantly select the correct service provider. EPG would also be assigned to the service, only once, instead of 4 times. A service reference would also be irrelevant, because that is abstracted, it is a parameter of an underlying service provider.
Edited by WanWizard, 5 October 2023 - 16:02.
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.