Posts by Chris230291
-
-
I got mine from WOS, which claims nylon gears… But I swear it had “metal gears” written on the box.
Either way, good motor.
-
Here is a basic working example, using google translate (just easier for me).
Proxies are required to bypass rate limits. I find TOR works.
Python
Display Moreimport xml.etree.ElementTree as ET import concurrent.futures from deep_translator import GoogleTranslator ##################################### #CONFIG############################## desired_language = "en" translate_titles = True translate_sub_title = True translate_descriptions = True proxies = {"http": "192.168.1.200:8118", "https": "192.168.1.200:8118"} ##################################### tree = ET.parse('tv.xmltv') root = tree.getroot() programmes = root.findall("programme") def translate_programe(programme): if translate_titles: title_ele = programme.find("title") if title_ele != None: title_text = title_ele.text title_lang = title_ele.get("lang", "auto") if title_text and title_lang != desired_language: title_translated = GoogleTranslator(source=title_lang, target=desired_language, proxies=proxies).translate(title_text) ET.SubElement(programme, "title", lang=desired_language).text = str(title_translated) if translate_sub_title: sub_title_ele = programme.find("sub-title") if sub_title_ele != None: sub_title_text = sub_title_ele.text sub_title_lang = sub_title_ele.get("lang", "auto") if sub_title_text and sub_title_lang != desired_language: sub_title_translated = GoogleTranslator(source=sub_title_lang, target=desired_language, proxies=proxies).translate(sub_title_text) ET.SubElement(programme, "sub-title", lang=desired_language).text = str(sub_title_translated) if translate_descriptions: desc_ele = programme.find("desc") if desc_ele != None: desc_text = desc_ele.text desc_lang = desc_ele.get("lang", "auto") if desc_text and title_lang != desired_language: desc_translated = GoogleTranslator(source=desc_lang, target=desired_language, proxies=proxies).translate(desc_text) ET.SubElement(programme, "desc", lang=desired_language).text = str(desc_translated) with concurrent.futures.ThreadPoolExecutor() as executor: executor.map(translate_programe, programmes) ET.indent(tree, space="\t", level=0) tree.write('translated_tv.xmltv', encoding="utf-8", xml_declaration=True)This input:
XML
Display More<?xml version="1.0" encoding="UTF-8"?> <tv generator-info-name="Rytec" generator-info-url="https://forums.openpli.org" generator-info-partner="bStream-Panel"> <channel id="OUTtv.de"> <display-name lang="de">OUTtv</display-name> </channel> <programme start="20241028000500 +0200" stop="20241028001200 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E5) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Als Ren mit einer Freundin ausgeht, trifft er zufällig auf eine alte bekannte Person Kanchi Wichmann.</desc> </programme> <programme start="20241028001200 +0200" stop="20241028002200 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E6) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Einer von Rens Kurskameraden sendet widersprüchliche Signale, die Ren verwirren Kanchi Wichmann.</desc> </programme> <programme start="20241028002200 +0200" stop="20241028002900 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E7) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Ren wird dieses Mal von ihrem neuen Date zu einem besonderen Bondage-Workshop mitgenommen Kanchi Wichmann.</desc> </programme> <programme start="20241028002900 +0200" stop="20241028004000 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E8) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Ren sucht nach einer Romanze, aber in einer Welt von Tinder war Liebe noch nie so schwierig Kanchi Wichmann.</desc> </programme> <programme start="20241028004000 +0200" stop="20241028005500 +0200" channel="OUTtv.de"> <title lang="de">Dropping the Soap</title> <sub-title lang="de">[Comedy] Man Musk (S1E3) (2017) [Keine Altersangabe] [US]</sub-title> <desc lang="de">Julian will mit dem Dreh eines Werbespots beginnen, als Kit behauptet, sie soll auch im Spot sein Paul Witten Kate Mines Suzanne Friedline Michael McKiddy.</desc> </programme> <programme start="20241028005500 +0100" stop="20241028012400 +0100" channel="OUTtv.de"> <title lang="de">Boystown</title> <sub-title lang="de">[Queer, Drama] (S1E6) (2013) [Keine Altersangabe] [US]</sub-title> <desc lang="de">Jake bekommt Angst, wenn Patrick unerwartet Ryan besucht. Patrick will Aufnahmezeiten mit Ryan besprechen. Zudem erreichen Ricks Fantasien mit seinem Klienten eine neue Dimension. Und Michael versucht, T.J. zu überzeugen, dass er Rick verlassen muss J. Hunter Ackerman Albertossy Espinoza Jim Patneaude Ricky Reidling Jesse Seann Atkinson.</desc> </programme> <programme start="20241028012400 +0100" stop="20241028015200 +0100" channel="OUTtv.de"> <title lang="de">Boystown</title> <sub-title lang="de">[Queer, Drama] (S1E7) (2013) [Keine Altersangabe] [US]</sub-title> <desc lang="de">Bain soll Chris helfen, die Originalkopie seiner Audition zu stehlen. Rick versucht, T.J. zu überzeugen, dass er Therapie braucht. Und dass T.J. Antidepressiva nimmt. Schließlich geraten Rick und T.J. wieder aneinander J. Hunter Ackerman Albertossy Espinoza Jim Patneaude Ricky Reidling Jesse Seann Atkinson.</desc> </programme> <programme start="20241028015200 +0100" stop="20241028020800 +0100" channel="OUTtv.de"> <title lang="de">Dudes</title> <sub-title lang="de">[Comedy, Queer] (S1E4) (2014) [Keine Altersangabe] [US]</sub-title> <desc lang="de">David verliebt sich in Lowell, einen Yogalehrer. Tyler findet eine Lösung für seine Frustration.</desc> </programme> <programme start="20241028020800 +0100" stop="20241028031600 +0100" channel="OUTtv.de"> <title lang="de">Toy Boy</title> <sub-title lang="de">[Thriller, Drama] Im Kreis irren (S1E4) (2019) [Keine Altersangabe] [ES]</sub-title> <desc lang="de">Die Mutter eines alten Freundes wendet sich verzweifelt mit einer dringenden Bitte an Andrea. Währenddessen hat Hugo alle Hände voll damit, zu verbergen, dass er das Inferno ausgerechnet zum Zeitpunkt des erneuten Mordes verlassen hat Jesús Mosquera Cristina Castaño María Pedraza Álex Gadea Javier Mora Jose Manuel Seda.</desc> </programme> </tv>Gives:
XML
Display More<?xml version='1.0' encoding='utf-8'?> <tv generator-info-name="Rytec" generator-info-url="https://forums.openpli.org" generator-info-partner="bStream-Panel"> <channel id="OUTtv.de"> <display-name lang="de">OUTtv</display-name> </channel> <programme start="20241028000500 +0200" stop="20241028001200 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E5) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Als Ren mit einer Freundin ausgeht, trifft er zufällig auf eine alte bekannte Person Kanchi Wichmann.</desc> <title lang="en">Mixed Messages</title> <sub-title lang="en">[Queer, Comedy] (S1E5) [No age specified] [GB]</sub-title> <desc lang="en">When Ren goes out with a friend, he accidentally meets an old acquaintance, Kanchi Wichmann.</desc> </programme> <programme start="20241028001200 +0200" stop="20241028002200 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E6) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Einer von Rens Kurskameraden sendet widersprüchliche Signale, die Ren verwirren Kanchi Wichmann.</desc> <title lang="en">Mixed Messages</title> <sub-title lang="en">[Queer, Comedy] (S1E6) [No age specified] [GB]</sub-title> <desc lang="en">One of Ren's classmates sends conflicting signals that confuse Ren Kanchi Wichmann.</desc> </programme> <programme start="20241028002200 +0200" stop="20241028002900 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E7) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Ren wird dieses Mal von ihrem neuen Date zu einem besonderen Bondage-Workshop mitgenommen Kanchi Wichmann.</desc> <title lang="en">Mixed Messages</title> <sub-title lang="en">[Queer, Comedy] (S1E7) [No age specified] [GB]</sub-title> <desc lang="en">This time Ren is taken to a special bondage workshop by her new date Kanchi Wichmann.</desc> </programme> <programme start="20241028002900 +0200" stop="20241028004000 +0200" channel="OUTtv.de"> <title lang="de">Mixed Messages</title> <sub-title lang="de">[Queer, Comedy] (S1E8) [Keine Altersangabe] [GB]</sub-title> <desc lang="de">Ren sucht nach einer Romanze, aber in einer Welt von Tinder war Liebe noch nie so schwierig Kanchi Wichmann.</desc> <title lang="en">Mixed Messages</title> <sub-title lang="en">[Queer, Comedy] (S1E8) [No age specified] [GB]</sub-title> <desc lang="en">Ren is looking for romance, but in a world of Tinder, love has never been so difficult Kanchi Wichmann.</desc> </programme> <programme start="20241028004000 +0200" stop="20241028005500 +0200" channel="OUTtv.de"> <title lang="de">Dropping the Soap</title> <sub-title lang="de">[Comedy] Man Musk (S1E3) (2017) [Keine Altersangabe] [US]</sub-title> <desc lang="de">Julian will mit dem Dreh eines Werbespots beginnen, als Kit behauptet, sie soll auch im Spot sein Paul Witten Kate Mines Suzanne Friedline Michael McKiddy.</desc> <title lang="en">Dropping the Soap</title> <sub-title lang="en">[Comedy] Man Musk (S1E3) (2017) [No age specified] [US]</sub-title> <desc lang="en">Julian is about to start filming a commercial when Kit claims she should be in the commercial too Paul Witten Kate Mines Suzanne Friedline Michael McKiddy.</desc> </programme> <programme start="20241028005500 +0100" stop="20241028012400 +0100" channel="OUTtv.de"> <title lang="de">Boystown</title> <sub-title lang="de">[Queer, Drama] (S1E6) (2013) [Keine Altersangabe] [US]</sub-title> <desc lang="de">Jake bekommt Angst, wenn Patrick unerwartet Ryan besucht. Patrick will Aufnahmezeiten mit Ryan besprechen. Zudem erreichen Ricks Fantasien mit seinem Klienten eine neue Dimension. Und Michael versucht, T.J. zu überzeugen, dass er Rick verlassen muss J. Hunter Ackerman Albertossy Espinoza Jim Patneaude Ricky Reidling Jesse Seann Atkinson.</desc> <title lang="en">Boystown</title> <sub-title lang="en">[Queer, Drama] (S1E6) (2013) [No age specified] [US]</sub-title> <desc lang="en">Jake gets scared when Patrick unexpectedly visits Ryan. Patrick wants to discuss recording times with Ryan. Rick's fantasies with his client reach a new dimension. And Michael tries to convince T.J. that he has to leave Rick J. Hunter Ackerman Albertossy Espinoza Jim Patneaude Ricky Reidling Jesse Seann Atkinson.</desc> </programme> <programme start="20241028012400 +0100" stop="20241028015200 +0100" channel="OUTtv.de"> <title lang="de">Boystown</title> <sub-title lang="de">[Queer, Drama] (S1E7) (2013) [Keine Altersangabe] [US]</sub-title> <desc lang="de">Bain soll Chris helfen, die Originalkopie seiner Audition zu stehlen. Rick versucht, T.J. zu überzeugen, dass er Therapie braucht. Und dass T.J. Antidepressiva nimmt. Schließlich geraten Rick und T.J. wieder aneinander J. Hunter Ackerman Albertossy Espinoza Jim Patneaude Ricky Reidling Jesse Seann Atkinson.</desc> <title lang="en">Boystown</title> <sub-title lang="en">[Queer, Drama] (S1E7) (2013) [No age specified] [US]</sub-title> <desc lang="en">Bain is supposed to help Chris steal the original copy of his audition. Rick tries to convince T.J. that he needs therapy. And that T.J. is taking antidepressants. Eventually Rick and T.J. clash again J. Hunter Ackerman Albertossy Espinoza Jim Patneaude Ricky Reidling Jesse Seann Atkinson.</desc> </programme> <programme start="20241028015200 +0100" stop="20241028020800 +0100" channel="OUTtv.de"> <title lang="de">Dudes</title> <sub-title lang="de">[Comedy, Queer] (S1E4) (2014) [Keine Altersangabe] [US]</sub-title> <desc lang="de">David verliebt sich in Lowell, einen Yogalehrer. Tyler findet eine Lösung für seine Frustration.</desc> <title lang="en">dudes</title> <sub-title lang="en">[Comedy, Queer] (S1E4) (2014) [Not age-appropriate] [US]</sub-title> <desc lang="en">David falls in love with Lowell, a yoga teacher. Tyler finds a solution to his frustration.</desc> </programme> <programme start="20241028020800 +0100" stop="20241028031600 +0100" channel="OUTtv.de"> <title lang="de">Toy Boy</title> <sub-title lang="de">[Thriller, Drama] Im Kreis irren (S1E4) (2019) [Keine Altersangabe] [ES]</sub-title> <desc lang="de">Die Mutter eines alten Freundes wendet sich verzweifelt mit einer dringenden Bitte an Andrea. Währenddessen hat Hugo alle Hände voll damit, zu verbergen, dass er das Inferno ausgerechnet zum Zeitpunkt des erneuten Mordes verlassen hat Jesús Mosquera Cristina Castaño María Pedraza Álex Gadea Javier Mora Jose Manuel Seda.</desc> <title lang="en">Toy Boy</title> <sub-title lang="en">[Thriller, Drama] The Circle (S1E4) (2019) [No age specified] [ES]</sub-title> <desc lang="en">The mother of an old friend turns to Andrea in desperation with an urgent request. Meanwhile, Hugo has his hands full trying to hide the fact that he left the inferno just at the time of the new murder. Jesús Mosquera Cristina Castaño María Pedraza Álex Gadea Javier Mora Jose Manuel Seda.</desc> </programme> </tv>You could use string.capwords() or similar to fix captialisation, if that bothers you.
-
I have no idea about the gears… I think I remember seeing “metal gears” on the box?
I have a steel 80cm and it's fine. They claim to support up to 1.2M
I don't use e2 receivers.
-
-
I have the 2300 M3.
It has been running trouble free for years.
-
My local UK card has these times:
Code
Display More2024/10/23 03:26:01 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:FB4518819484D37A2B4CC39EB2840E6A:0F06000000000000:): found (237 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:09 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:C1D4C78BE68A2A74DA0FD7A9B4CDE18B:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:17 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:F6F6B6BC46510A37E24CF271F2266D5C:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:25 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:7EA895556652A93E81FC7C9B37FA217E:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:33 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:678604D7A2CAFFF074DFF0D1C5281F64:0F06000000000000:): found (237 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:41 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:F036E515F16D5E6DC6DF66AD78F707EF:0F06000000000000:): found (237 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:49 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:ED0E1D5801AD30C0F28739DAFE358BA3:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:26:57 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:7182032B82DA113E14E503A1E0C871E2:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:27:05 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:696282E05008782CEC7D0930D8FD6354:0F06000000000000:): found (237 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:27:13 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:F958CC3077DC40414127CB24259D5A3B:0F06000000000000:): found (237 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:27:21 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:919D4363CE82F28F69FF37B55D231E56:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:27:29 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:468DD0EE8D3AE5114F8EA58224BC6B97:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:27:37 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:DA2FFDA2FCB80B2C5A26F3B4CED06C80:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) 2024/10/23 03:27:45 6874E212 c (ecm) dvbapi (0963@000000/FFFF/1A4C/AB:E3CC09286F1A588C7FBF72789CB70C88:0F06000000000000:): found (236 ms) by sky_uk (L/1/17/17) - ComedyXtra (lg) -
Maybe someone with httptoolkit etc can check?
-
Can you see the request and the response to the IP?
-
Exactly. Especially oscam that calls foreign IP address or even make multiple CW request on multiple channels while the client is actually watching one channel.
Which builds do this?
I think it's important for users who blindly download closed source builds to know which are bad.
Personally, I build myself, and share completely open source, so it doesn't affect me.
-
Display MoreDisplay More
An open-source community can be quite demanding. I've been involved for only 20 years,
but I often get attacked and threatened just for building images for certain 'sacred' boxes.
I can fully understand what you're going through right now. Personally, I don't use OSCam much,
but I believe the OSCam community is one of the key drivers for the entire Enigma2 ecosystem.
I sincerely hope things don’t fragment further, leading to 20 different closed versions that no user can navigate,
as we already have some like that. I'm thinking of the UK stream relay, which seems to be a well-kept secret.
I can only speak on behalf of OpenATV, but I want to take this opportunity to thank you all for your excellent work.
Thanks to you, the lifespan of Enigma2 has been extended by many years for users who rely on OSCam every day.
Exactly, the reason that I entered the oscam development scene because I saw that there are many variant of oscam, for example, samur oscam, CyCeC+ oscam, nx111 oscam, etc. I wanted to gather all of these oscam and put it on only oscam, as I think this will be most beneficial to all oscam users. But it seems that all of those beggars never appreciated this. They just wanted to stick with their sacred samur oscam. As you can see it from those who liked his reply on the previous page. Some of them are really coward as I have seen him wandering around this thread when I asked him to "Like" my reply #22 above as a vote for sacking me out of the development scene, since he agreed with samur that I committed a bad code.
This is something I said for a long time.
Custom closed source builds = bad.
-
I'm thinking of the UK stream relay, which seems to be a well-kept secret.
UK a secret? It opens with vanilla OSCam no problem.
Thanks to the nameless people submitting code for us all to enjoy.
-
I think most people don't care where the code comes from.
They are just grateful to anyone who is able to contribute.
-
The oscam-emu patch is working right now.
-
Thanks for clearing things up.
I guess we can use the patch while it's still being maintained.
If not, we can just switch to NCam.
I just wish Ncam used the same defaults as OSCam and the links in the web ui to the wiki still existed!
Maybe someone close to fairbird can give a polite nudge :)
-
Why patch libdvbcsa? Is that for e2 users?
Think so, memory is not what is once was....remind me what you TVheadend guys patch for icam ?
We patch libdvbcsa for TVH.
I assume we need the patched libdvbcsa for stream relay to work with iCam?
As far as I know, it's only e2 users that use stream relay?
-
Thats not with emu support.
Display MoreDisplay MoreNeither the oscam developers have anything to say about it, but I could see it coming after reading strong discussions between developers, you can still compile some people provide oscam-emu.patch.
So it's just people being childish?
The patch it still up, just not the pre-patched version.
EDIT: I found an email address for the dev. If he replies, I'll post back.
well building the docker version is not so different now, it's actually cleaner imho.
CodeRUN \ echo "**** compile oscam ****" && \ mkdir -p /tmp/oscam && \ git clone https://git.streamboard.tv/common/oscam.git /tmp/oscam && \ cd /tmp/oscam && \ git apply /tmp/patches/oscam-emu.patch && \ ./config.shor also dont statically include the patch in the Dockerfile but rather curl it from oscam-emu repo.
ah, also, to keep the Dockerfile cleaner, take a look at the patched libdvbcsa repo so you dont have to actually include anything.
Thanks. I know I can just patch it manually, but I thought it would be safer to use the pre-patched version since the patch could need changing to support the latest version of oscam.
Why patch libdvbcsa? Is that for e2 users?
-
Neither the oscam developers have anything to say about it, but I could see it coming after reading strong discussions between developers, you can still compile some people provide oscam-emu.patch.
So it's just people being childish?
The patch it still up, just not the pre-patched version.
EDIT: I found an email address for the dev. If he replies, I'll post back.
-
is this not the same thing
https://github.com/oscam-emu/oscam-patched-oldThat's the old version, though.
Just wondering if the patched version, that is still referenced in the patch only repo, was taken down or was removed for another reason.
I was successfully building from it a few days ago, and now it's gone.
-
The repo no longer exists: https://github.com/oscam-emu/oscam-patched
But the patch only is still up: https://github.com/oscam-emu/oscam-emu
Does anyone know why it was taken down?
I was building from it.
