Quote:
Originally Posted by slapcat
For anyone using Pusspounder's CapMyFreeCamsNodeJS I believe I have fixed a couple issues within the program that was preventing the update.yml from properly working. I would just send this to him but I couldn't figure it out on that website so I'll just drop it here.
In Main.js -> selectMyModels change line ~166 to (the nm variables to uid)
Code:
config.includeModels = _.reject(config.includeModels, function(uid) {
var model = _.findWhere(onlineModels, {uid: uid});
And do the same for exclude models, change nm to uid. I haven't actually tested that cause I don't see the purpose in excluding, but I imagine it works now. This will make it so the models can enter the main model list instantly rather than needing a restart.
Oh Also, I made a simple thing for finding ID's in the profiles.myfreecams.com domain. When you click on the ID it copies it to your clipboard automatically. Tampermonkey/Greasemonkey script
|
Hey, I've just figured it out, the problem you mentioned is not a problem. The update.yml was developed to work only with models names, because usually users do not know ids, but know model's names.
As I mentioned before another version does not have the updates.yml. You can include/exclude models by name or uid (however this is not described in readme file):
http://<ip>:9080/models/include?nm=<name>
http://<ip>:9080/models/exclude?nm=<name>
http://<ip>:9080/models/include?uid=<uid>
http://<ip>:9080/models/exclude?uid=<uid>