Infobar and extended CAS info visualization
-
- Interessierter
- Beiträge: 57
- Registriert: Samstag 17. Mai 2014, 17:28
- Sonstiges: GM990
Infobar and extended CAS info visualization
Greetings,
so far there no such thing as "one standard" for ecm.info/logs output, so support for many different CAS "plugins" constantly becoming "pain in the ass", especially in such monolith GUI, as Neutrino.
Thus, as one from alternative ways - call from Neutrino code external script/binary, and then read its output.
Proof of concept - in attached files. What do you think about it?
so far there no such thing as "one standard" for ecm.info/logs output, so support for many different CAS "plugins" constantly becoming "pain in the ass", especially in such monolith GUI, as Neutrino.
Thus, as one from alternative ways - call from Neutrino code external script/binary, and then read its output.
Proof of concept - in attached files. What do you think about it?
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von Benny am Donnerstag 16. Oktober 2014, 00:23, insgesamt 2-mal geändert.
-
- Developer
- Beiträge: 4189
- Registriert: Sonntag 2. November 2003, 12:36
Re: Infobar and extended EMU/CAS info visualization
I think there is no support for anything related to illegal activities in this forum.
This does not need to be discussed.
This does not need to be discussed.
-
- Interessierter
- Beiträge: 57
- Registriert: Samstag 17. Mai 2014, 17:28
- Sonstiges: GM990
Re: Infobar and extended EMU/CAS info visualization
Discussion about "how to parse some text files - within Neutrino code or by external means" is "illegal"? Well, sorry - i don't knew about it.seife hat geschrieben: no support for anything related to illegal activities in this forum.
-
- Contributor
- Beiträge: 1623
- Registriert: Donnerstag 10. Januar 2002, 20:03
Re: Infobar and extended EMU/CAS info visualization
What do you understand under "EMU"? We read this as EMULATOR and this is illegal, no discussion!
Na schönen Dank Herr Schwanke!
Ein toller Sommer!
Ein toller Sommer!
-
- Interessierter
- Beiträge: 57
- Registriert: Samstag 17. Mai 2014, 17:28
- Sonstiges: GM990
Re: Infobar and extended EMU/CAS info visualization
You're too focused on one (familiar, banned?) word or sentence. If i used word "ass" within post, this not always mean, that i literally spoke about men or women arses.doc hat geschrieben:We read this as EMULATOR and this is illegal
Not a problem, i'm not planning to discuss EMU/CS/etc related stuff.doc hat geschrieben:no discussion!
Main issue is pure technical: how to better (easier, including an end-user experience, etc) parse irregular text file - within Neutrino (by c++ code) or by external means. That's all.
Update: i altered first post/topic title, if you so concerned about certain words. This is, of course, some sort of hypocrisy - but if it helps in solving main issue - why not.
-
- Moderator english
- Beiträge: 2458
- Registriert: Donnerstag 20. Dezember 2001, 00:00
Re: Infobar and extended CAS info visualization
Hello Benny,
This is the official neutrino forum that started the whole story when legally utilizing the original DBOX.
Discussion on circumventing payment on Pay TV are neither wanted or allowed within this community.
As a guest I would assume you would respect this and do not try and talk around it or dress this up so it does not sound like what you originally have in mind.
Best Regards
PT-1
This is the official neutrino forum that started the whole story when legally utilizing the original DBOX.
Discussion on circumventing payment on Pay TV are neither wanted or allowed within this community.
As a guest I would assume you would respect this and do not try and talk around it or dress this up so it does not sound like what you originally have in mind.
Best Regards
PT-1
-
- Interessierter
- Beiträge: 57
- Registriert: Samstag 17. Mai 2014, 17:28
- Sonstiges: GM990
Re: Infobar and extended CAS info visualization
Look, i talk about one thing only - about Neutrino interface. I'm not asking nor offering all of this "illegal" stuff, and i really don't understand, where did you seePT-1 hat geschrieben:I would assume you would respect this and do not try and talk around it
in my initial post.Discussion on circumventing payment
No offence, but you're a third man in the topic, who speaks about things, "about which we do not speak here", but not a word on main topic. Do you really think that i'm right person to blame?
-
- Contributor
- Beiträge: 1623
- Registriert: Donnerstag 10. Januar 2002, 20:03
Re: Infobar and extended CAS info visualization
Only changing the topic isn't enough if you try to be honest.
Short look into your diff ...Once again, what do you think is the meaning for EMU ... ? If you want to display a CAS why is it named "*emu*"?
I would say, go back to the start and respect especially the words from PT-1! Please come up with some constructive or I will close this topic.
Some technical words, why the hack you guys want to open files from the /bin folder? You know that /bin is for? That's a really no go.
Short look into your diff ...
Code: Alles auswählen
+ if (g_settings.casystem_display == 1) {
paintCA_bar(0,icon_space_offset);
- icon_space_offset = 0;
+ showEMUinfo();
...
@@ -805,6 +814,7 @@ void CInfoViewerBB::showIcon_CA_Status(int notfirst)
paint_ca_icons(caids[i], (char *) (found ? yellow : white), icon_space_offset);
}
}
+ showEMUinfo();
}
}
...
+void CInfoViewerBB::showEMUinfo()
+{
+ char *emu_string = "";
+ FILE *pp;
+ pp = popen("/bin/ecm", "r");
+ if (pp != NULL) {
+ char *line;
+ char buf[1000];
+ line = fgets(buf, sizeof buf, pp);
+ if (line != NULL)
+ emu_string=line;
+ }
I would say, go back to the start and respect especially the words from PT-1! Please come up with some constructive or I will close this topic.
Some technical words, why the hack you guys want to open files from the /bin folder? You know that /bin is for? That's a really no go.
Na schönen Dank Herr Schwanke!
Ein toller Sommer!
Ein toller Sommer!
-
- Developer
- Beiträge: 4189
- Registriert: Sonntag 2. November 2003, 12:36
Re: Infobar and extended CAS info visualization
popen() is "fork a command in a pipe and read stdout via the file handle".
Anyway. The only way to get this into clear land is if this thread suddenly turns around and we talk about CI modules Everything else is most likely off topic and not welcome in this forum.
It is not only about circumvention of access control methods, it's also about the algorithms that those emulators emulate. Those are intellectual property protected by patents and copyright.
Anyway. The only way to get this into clear land is if this thread suddenly turns around and we talk about CI modules Everything else is most likely off topic and not welcome in this forum.
It is not only about circumvention of access control methods, it's also about the algorithms that those emulators emulate. Those are intellectual property protected by patents and copyright.
-
- Interessierter
- Beiträge: 57
- Registriert: Samstag 17. Mai 2014, 17:28
- Sonstiges: GM990
Re: Infobar and extended CAS info visualization
In this code? Well, how about "Extended Media UUID"? I'm curious - do you really a person, not a some sort of SPAM filter, which react on known words?doc hat geschrieben:Once again, what do you think is the meaning for EMU ... ?
Why i can't pick function/variable naming in my own way? Moreover, why i must suppose/care, that someone can see 'bad' word within this name?If you want to display a CAS why is it named "*emu*"?
Be my guest. But not a word about "constructive", a bloody dictator! =)I will close this topic.
You mean "for binaries"? Really don't care about, and if you look at /bin in any Linux distro - not only me.You know that /bin is for?
And, this is bad? If so, why? (if you look not only at diff, but on shell script files, there some 'grep' inside - i.e its output piped to Neutrino)seife hat geschrieben:popen() is "fork a command in a pipe and read stdout via the file handle".
This was my original intention when i writed the first post - get expert comments on this "draft", so thanks in advance.
Even easier - we talk about text files. We can write some text into, parse it, and draw some stuff on screen according to.and we talk about CI modules
-
- Contributor
- Beiträge: 1623
- Registriert: Donnerstag 10. Januar 2002, 20:03
Re: Infobar and extended CAS info visualization
Hmm, three person say something different than you ... who could be more wrong ...
So I take the the "Dictator" card, it seems everything is checked.
So I take the the "Dictator" card, it seems everything is checked.
Na schönen Dank Herr Schwanke!
Ein toller Sommer!
Ein toller Sommer!