Hello. I have 3 readers in my box, can I set one of them priority, that oscam should read first? I tried in oscam.dvbapi, but it doesn't work
Oscam priority
- milus1983
- Thread is marked as Resolved.
-
-
Hello.
You must use the so-called "lb_weight" - card priority based on the card response speed and will be adjusted by setting your "lb_weight" value from the table (see URL link).
http://www.streamboard.tv/wiki…ig/oscam.server#lb_weight
To enable the "lb_weight" feature you must to use the "oscam.conf" file:
http://www.streamboard.tv/wiki…Config/oscam.conf#lb_mode
You can also set which satellite channels will be used on a specific reader. Add the predefined user variabales from your "oscam.services" files to the reader as dedicated services or as denied services (with an exclamation mark before the variable name).
http://www.streamboard.tv/wiki…/en/Config/oscam.services
http://www.streamboard.tv/wiki…fig/oscam.server#services
It is possible also use filter of this channels on some users:
-
I used oscam.services, set srvid and it doesn't work
-
Do you have the correct ServiceID codes and possibly the correct CAIDs (if you use also those CAIDs / but you don't have to) in your "oscam.services" file ? Do you have the correct file format "oscam.services" ?
If you simply want to increase the "lb_weight" of a reader in "oscam.server", simply add "lb_weight" to the reader. Be sure to enable the function in the file "oscam.conf", item "lb_mode = 1". That would probably be the best solution in your case.
If you simply want to assign different channel SIDs to specific card readers, then of course it will be better to use "oscam.services".
However, "lb_weight" is linked to some other features in Oscam, and more care should be taken when using "lb_weight". Advanced info for "lb_weight" can be found here:
http://www.streamboard.tv/wiki/OSCam/en/Loadbalancing
Show your oscam cfg files, if you can. Of course, do not forget to overwrite login credentials + hostnames / IP addresses with some characters ("x" or "*").
-
oscam.server
Code[reader] label = SMART HD+ protocol = internal device = /dev/sci0 group = 2 caid = 0B01 services = services1
oscam.sevices
Code[services1] caid=0B01 provid=000000 srvid=3ABD,0C22,113B,3DCD,3DD7,3DD3,3391,339A,339B,3393,3394,3D66,3D60,3333,3D59,429D,427B,3DD2,10EA,3AB8,377E,3781,0C25,12C6,3DCE,3DD0,10EB,13EF,377F,3AB9,0DB1,3D67,3D5C,4288,3D5F,1CB6,32E0,377D,4293,00023ABD,0C22,113B,3DCD,3DD7,3DD3,3391,339A,339B,3393,3394,3D66,3D60,3333,3D59,429D,427B,3DD2,10EA,3AB8,377E,3781,0C25,12C6,3DCE,3DD0,10EB,13EF,377F,3AB9,0DB1,3D67,3D5C,4288,3D5F,1CB6,32E0,377D,4293,0002
-
I recommend not to use special characters in the reader label ! For example, change it to "smart_hd_plus". The reader label is used most often and is not suitable if there is an empty space. For example in the "oscam.user" file for "au" entry (example: au = smart_hd_plus, remote_reader_3).
So you have enabled channel list "services1" for "SMART HD+". But this is the wrong reasoning logic. You enabled channels + also to other channels that are allowed already - i.e. all channels are allowed. So nothing happened. You have to disable this channel list for a secondary reader for which you do not want these channels to be decoded. The entry is as follows: services = !services1 (exclamation mark at the beginning).
A note - if you do not need to specify CAID and PROVID then you can leave these items empty ... that is:
Code[services1] caid = provid = srvid = 3ABD,0C22,113B,3DCD,3DD7,3DD3,3391,339A,339B,3393,3394,3D66,3D60,3333,3D59,429D,427B,3DD2,10EA,3AB8,377E,3781,0C25,12C6,3DCE,3DD0,10EB,13EF,377F,3AB9,0DB1,3D67,3D5C,4288,3D5F,1CB6,32E0,377D,4293,00023ABD,0C22,113B,3DCD,3DD7,3DD3,3391,339A,339B,3393,3394,3D66,3D60,3333,3D59,429D,427B,3DD2,10EA,3AB8,377E,3781,0C25,12C6,3DCE,3DD0,10EB,13EF,377F,3AB9,0DB1,3D67,3D5C,4288,3D5F,1CB6,32E0,377D,4293,0002
I have them empty and it works. On the Internet it is said that these items are required (apparently they may remain blank after the "equals" sign, but they must be listed in the "services" section).
-
Ok, thank you. What value set to lb_weight in oscam.server?
-
You must also add one entry to the "oscam.conf" file.
Please read it above. I've already written everything. Even two times and also with URL links.
:wink:
-
My speed is 350 , so lb weight will be 100, example to oscam.server - lb_weight = 100 ?
-
Sorry, unfortunately I do not use lb_weight. All the URL links you already had above. Just click on them and see how it works. Also see "lb_mode". Perhaps Mode 3 will be more convenient than Mode 1 (in your case).
I don't even know your problem or your decoder cards. Because you didn't write them down. So that's why I can't help you better.
If you do not set any weight in the reader, the default is "lb_weight = 100". Depending on where you want to set a higher priority, you must adjust the weight. If you want to increase the priority, you have to count the reader response and calculate the value according to the table to be suitable for other readers. It's complicated. I do not use lb_weight, so I will not give you a precise advice. Unfortunately.
If you want to use it, you'll have to learn it. There is no free online setting. For a specific situation, it is necessary to use a specific setting.
You must also consider the "preferlocalcards" item in the "oscam.conf" file. You didn't mention the file "oscam.conf" and I don't know what you got there, so I can't advise you again. Sorry. Mention of the "preferlocalcards" item is in the URL http://www.streamboard.tv/wiki/OSCam/en/Loadbalancing which I mentioned above:
QuoteThe possible readers are sorted by the computed LB_WERT values (smaller first), and the reader is selected as follows:
- If "Prefer local cards" is selected, the first lb_nbest number of readers are selected, which are not proxies.
- If we haven't selected lb_nbest readers yet, the remaining readers are assigned in sequence, until lb_nbest readers are reached.
- After selecting lb_nbest readers, the fallback readers are assigned (lb_nfb).
(streamboard.tv is overloaded now and can't be opened, sometimes it happens, so wait a minute if the page doesn't open)
-
Ok, 'prefer local cards' set to position "2" in config solved problem. Thank you.
Next question is that, what should I do to prefer suitable reader in second box, which will be working on home multioom and will reshare permissions from main box? Should I put services in oscam.server?
-
Your softcam clients connect logically to your softcam server. The Softcam server must take care of the priority of the card reader itself. This means that the softcam-server will provide softcam clients with the appropriate decoded ECM - according to the priorities set in the softcam server.
There is no need to configure the Softcam client. With softcam clients, you only request a decoded ECM and that's all your LAN clients need.
Of course, if you have other external card readers on any softcam client, then you can make settings according to the client's needs. I don't see any problem in that.
-
You can also set which satellite channels will be used on a specific reader. Add the predefined user variabales from your "oscam.services" files to the reader as dedicated services or as denied services (with an exclamation mark before the variable name).
http://www.streamboard.tv/wiki…/en/Config/oscam.services
http://www.streamboard.tv/wiki…fig/oscam.server#services
It is possible also use filter of this channels on some users:
Hi, this is my case! I don't have local cards. My services file is up-to-date (downloaded from this forum).
I have 2 remote readers: A) works well with S*Y DE but badly with NC+ ; B) works well with NC+ but badly with S*Y DE .
Is it possible to set priority on satellite channels? I read Oscam wiki but It's a bit hard for a noob like me! :)
-
I don't know exactly what you need, so I can't even give you advice.
What does "working badly" mean ?
Will some services (channels) stop working ? Will latency of server response time increase ? Do channels start lagging and the client no longer reconnects to the server ?
For softcam server overload problems, it is best to set lb_weight for each reader, but first enable this function in the oscam.conf file by lb_mode item: http://www.streamboard.tv/wiki…g/oscam.conf#Loadbalancer I recommend reading all about Loadbalancing: http://www.streamboard.tv/wiki/OSCam/en/Loadbalancing
If this is only a problem with poor connectivity, then it should be sufficient to set the timeout of your softcam client connection to the softcam server or set one reader as fallback (http://www.streamboard.tv/wiki…en/Config/oscam.#fallback server).
The priority for CAID, PROVID, SRVID and even CHID (not to confuse CHID with SRVID) can be set in the oscam.dvbapi file: http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.dvbapi can be a little tricky to set up.
-
What does "working badly" mean ?
Will some services (channels) stop working ? Will latency of server response time increase ? Do channels start lagging and the client no longer reconnects to the server ?
For softcam server overload problems, it is best to set lb_weight for each reader, but first enable this function in the oscam.conf file by lb_mode item: http://www.streamboard.tv/wiki…g/oscam.conf#Loadbalancer I recommend reading all about Loadbalancing: http://www.streamboard.tv/wiki/OSCam/en/Loadbalancing
If this is only a problem with poor connectivity, then it should be sufficient to set the timeout of your softcam client connection to the softcam server or set one reader as fallback (http://www.streamboard.tv/wiki…en/Config/oscam.#fallback server).
The priority for CAID, PROVID, SRVID and even CHID (not to confuse CHID with SRVID) can be set in the oscam.dvbapi file: http://www.streamboard.tv/wiki/OSCam/en/Config/oscam.dvbapi can be a little tricky to set up.
It means that reader don't open or freeze on some channels (because, for example, my friend's server don't have patch for s*y de).
Example: when i am on S*y sport 1 (which works well with reader A), sometimes oscam connect on reader B (with high ECM or black screen). It's possible to "tell" to Oscam that on this channel i want to load only reader A?
P.S. Sorry for my terrible english, i hope to be understandable...
-
If you want to assign only certain services (channels) for a specific Oscam reader, the "oscam.services" file is for this purpose: http://www.streamboard.tv/wiki…/en/Config/oscam.services In this file you will define the services (channels) to some set of "services".
You then apply this set of "services" in the "oscam.server" file, under a specific reader: http://www.streamboard.tv/wiki…fig/oscam.server#services It's easy.
To reject defined services, use the exclamation point at the beginning of the definition (services = !skyde_channels).
You can generate "oscam.services" for example. also here: http://kos.hdsat.pl/ First you mark the SkyDE provider for example and then click on the "oscam.services" button. However, I recommend verifying all included Service IDs in the file, as they may not always be all correct !
More info about configuration can be found here:
-
Wow this looks too difficult for me as i don't understand anything of what to add in the oscam files. Sorry i'm really a dumbass in this.
OSCam Support Forum
Configs, discussion, downloads and guides for OSCam Softcam.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!