Why do you think that could get an incorrect provider? Channel id is unique.
I think, in case, when lamedb is not actual ?
Edited by ims, 22 March 2015 - 17:51.
Posted 22 March 2015 - 20:11
Not allone lamedb... in a userbouquet there could be different channels from different providers....
I suggest it is better to create a softlink on serviceref... (So to do it really right)
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 23 March 2015 - 12:41
And what is the probability that lamedb isnt actual?
If the channel is in a bouquet what the user used regularly, then it is likely that this channel is actual in lamedb. If the channel is not used, then which worried that it will not show the correct information?
What do you think with the softlink on serviceref? Create a link with the provider name? How it will work if need both the channel and the provider picons? I do't think that someone will do it.
Or I can understand correctly, and with this that issue is closed, and no changes can be expected (especially in .cpp)?
Posted 24 March 2015 - 07:55
Edited by littlesat, 24 March 2015 - 07:59.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 24 March 2015 - 10:41
Can you post that renderer here....?
This renderer PiconProv which I have been using is identical standard renderer Picon, just looking for picons in the folder piconProv to easier manage them. But of course for this can also be used standard penderer Picon.
nothing better than for ServiceName2
Do you understand something from python, and looked in ServiceName2 code?
Remember the way it is made slows down the performance, but it seems nobody cares
I am worried about performance, so I hope that you will find a way how to add this in cpp.
Edited by Taapat, 24 March 2015 - 10:42.
Posted 24 March 2015 - 10:55
you can get the provider name from a specific service via service name.... and then simply look at this service name to the specific picon with the same name (and remove special chars and make it lower case)... and not look for references or so... Then no loops are required at all in python.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 24 March 2015 - 14:11
If you are talking about Picons by 'Service name':
Very nice option but it works only for users who use latin characters.
First of all, as I wrote in another topic, it will not work if in the name of the channel is, for example, the Cyrillic symbol. Maybe someone has an idea how to use such names. Maybe could be used translit from here: https://github.com/j2a/pytils to replace the symbols, but I think, that replace it one by one, is slowly. If it would be acceptable for one picon, then build the channel list with picons, not seem a good idea. Maybe someone else has a better and faster solution?
Posted 24 March 2015 - 18:52
The code is not mine, so I do not understand it 100%, so I added loop count and an additional print, to see how deep is the loop for provider and services in reality.
I walk around my bouquets, in which are channels from different providers.
I found that the provider is found immediately and there is not any loop, but for most services it is from 1 to about 15, the largest 30.
So the reality is not so bad.
Maybe you can add the code from my pach with big TODO?
He should not have any effect on standard provider using.
Posted 26 March 2015 - 08:52
BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod
Posted 26 March 2015 - 11:07
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Posted 26 March 2015 - 16:20
lamedb not provider Viasat
1st Baltic Ch. Estonia
p:,c:001839,c:031839,c:01183a,C:0000
183f:00320000:000d:0055:128:0
1st Baltic Ch. Lithuania
p:,c:00184d,c:03184d,c:01184e,C:0000
1856:00320000:000d:0055:1:0
REN-TV LIETUVA
p:,c:001861,c:031861,c:011862,C:0000
186a:00320000:000d:0055:1:0
2boom,implemented without the emergence provider lamedb
Edited by maigais, 26 March 2015 - 16:22.
BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod
Posted 26 March 2015 - 16:54
Then this should be added in lamedb.... ...
for streams this is different. Streams are not in lamedb.... So you should add some functionality for this one.... That is the structured way to do it...
E.g. what i did today... checking in a channelname on endswith("3D") is easy.... adding a flag to do it in a structured way less easy, but a more stuctured way...
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
0 members, 5 guests, 0 anonymous users