mbebe / blomqvist

blomqvist
GNU General Public License v3.0
155 stars 55 forks source link

Orange TV #947

Open pbaloo opened 1 year ago

pbaloo commented 1 year ago

Orange TV nie działa KODI w wersji 20.1 wtyczka wersja 0.5, fragment logu poniżej:

023-05-16 17:06:36.777 T:62 error : .var/app/tv.kodi.Kodi/data/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(

2023-05-16 17:06:37.406 T:62 info : Skipped 1 duplicate messages.. 2023-05-16 17:06:37.406 T:62 warning : Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo. 2023-05-16 17:06:40.317 T:65 error : .var/app/tv.kodi.Kodi/data/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(

2023-05-16 17:06:40.800 T:65 info : Skipped 1 duplicate messages.. 2023-05-16 17:06:40.800 T:65 warning : Setting most video properties through ListItem.setInfo() is deprecated and might be removed in future Kodi versions. Please use the respective setter in InfoTagVideo. 2023-05-16 17:06:53.018 T:67 info : Skipped 107 duplicate messages.. 2023-05-16 17:06:53.018 T:67 error : .var/app/tv.kodi.Kodi/data/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(

2023-05-16 17:06:53.882 T:52 info : Skipped 1 duplicate messages.. 2023-05-16 17:06:53.882 T:52 info : PVR Manager: Starting cleanup of cached images. 2023-05-16 17:06:53.952 T:51 info : PVR Manager: Starting cleanup of cached images. 2023-05-16 17:06:54.058 T:52 info : PVR Manager: Cleaned up 0 cached images. 2023-05-16 17:06:54.117 T:51 info : PVR Manager: Cleaned up 0 cached images. 2023-05-16 17:06:56.292 T:67 error : .var/app/tv.kodi.Kodi/data/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(

2023-05-16 17:06:56.405 T:67 info : Skipped 1 duplicate messages.. 2023-05-16 17:06:56.405 T:67 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

2023-05-16 17:06:56.480 T:7 error : Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.orangetvgo/playtv/14135]

jon10220 commented 1 year ago

U mnie to samo niestety na RPI4b w libreelec oraz na windowssie 10 wtyczka padła na amen

shafau commented 1 year ago

Wtyczka padła, ponieważ zmienił się wygląd strony. Aktualizacja wtyczki rozwiązałaby problem.

mtr81 commented 1 year ago

plugin.video.orangetvgo-0.6.zip

jon10220 commented 1 year ago

Serdeczne dzięki za naprawę wtyczki, TV znowu działa OK testowane na RPI4b Libreelec kodi 20.1

pbaloo commented 1 year ago

Na Win 11, Linux i android również działa. Dzięki wielkie.

shafau commented 1 year ago

@mtr81 Wielkie dzięki, wtyczka ponownie działa. Dołączam listę .m3u pełnej oferty Orange TV GO. https://pastebin.com/jrmWJp6b

P.S. Wtyczka dość wolno wczytuje i odtwarza kanały (zdecydowanie wolniej niż np. Player). Można to w jakiś sposób zoptymalizować za pomocą ustawień, albo odchudzenia wtyczki?

spliner21 commented 1 year ago

Hej,

Mam od niedawna nowe konto w Orange TV Go (zmiana oferty). Nowym użytkownikom wprowadzono szyfrowanie pinu. Poświęciłem wczoraj chwilę i przeportowałem to szyfrowanie (można je było wyjąć z kodu TypeScript strony Orange TV Go). Nie jestem pewien jaki jest warunek tego, czy PIN ma być szyfrowany, czy nie. Wstępnie dodałem regułę, że jeśli numer konta zaczyna się od litery (^[A-Z]), to wtedy pin ma być zaszyfrowany, w przeciwnym przypadku leci plain text. Trzeba by to jeszcze zweryfikować. Mój numer konta zaczyna się od litery "M".

Wrzucam wtyczkę po moich poprawkach (bazowałem na wersji 0.6 z kilku komentarzy wyżej). U mnie po tych zmianach działa. plugin.video.orangetvgo-0.7.zip

mayones2 commented 1 year ago

Czy nadal działa ci ta wtyczka? Dzisiaj dostałem dane do konta OrangeTV, ustawiłem PIN, ale nie mogę się zalogować w Kodi. Mój numer konta też zaczyna się od M.

taki blad w logu InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings warnings.warn(

mtr81 commented 1 year ago

To co wkleiłeś to nie jest błąd tylko ostrzeżenie - musisz szukać innej przyczyny.

mayones2 commented 1 year ago

aaaa... ale dzisiaj już DZIAŁA :D

shafau commented 12 months ago

Macie może jakiś pomysł na uruchomienie kanałów, które są dostępne tylko na dekoderach/aplikacji na Android TV? Zmieniając deviceCat z otg na stb, lub conTv wtyczka pobiera kanały niedostępne w usłudze GO, jednak próba odtworzenia kończy się błędem "No channel sources matches the device type." kodi

mtr81 commented 12 months ago

Piszesz o apce na Android TV... Chodzi o tą aplikację? -> https://play.google.com/store/apps/details?id=com.orange.pl.orangetvgo&hl=pl&gl=US

shafau commented 12 months ago

@mtr81 nie, chodzi o tą -> https://play.google.com/store/apps/details?id=pl.orange.orangetv (apka dostępna tylko na ich boxy DV8555, ale jest link do pobrania https://apkcombo.com/downloader/#package=pl.orange.orangetv&device=tv) Orange wypuścił dekoder "4K Stream" na Androidzie ze swoją aplikacją do oglądania telewizji, która korzysta z tych samych zasobów co Orange TV GO, z taką różnicą że są dostępne wszystkie kanały. Tutaj wątek z forum Orange gdzie to rozpracowywali: https://nasz.orange.pl/t5/Dekodery-i-inne/Tranmisja-IP-TV-do-dekodera-Stream-4k/m-p/351494#M8964

mayones2 commented 11 months ago

znowu jakieś problemy z zalogowanie we wtyczce, w ich apce wszystko działa, wklejam log, może wyczytacie przyczynę


`2023-11-24 09:15:23.826 T:11256   error <general>: C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py:1056: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
                                                     warnings.warn(

2023-11-24 09:15:24.923 T:11256    info <general>: Skipped 1 duplicate messages..
2023-11-24 09:15:24.923 T:11256 warning <general>: Logowanie nie powiodło się. Otrzymana odpowiedź: MISSING_PARAM
2023-11-24 09:15:30.027 T:8020    error <general>: C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py:1056: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
                                                     warnings.warn(

2023-11-24 09:15:30.321 T:5656     info <general>: Loading skin file: DialogAddonSettings.xml, load type: KEEP_IN_MEMORY
2023-11-24 09:15:34.682 T:9428    error <general>: C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py:1056: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
                                                     warnings.warn(

2023-11-24 09:15:35.147 T:9428     info <general>: Skipped 1 duplicate messages..
2023-11-24 09:15:35.147 T:9428    error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'requests.exceptions.JSONDecodeError'>
                                                   Error Contents: Expecting value: line 1 column 1 (char 0)
                                                   Traceback (most recent call last):
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\models.py", line 971, in json
                                                       return complexjson.loads(self.text, **kwargs)
                                                     File "C:\Program Files\Kodi\system\python\Lib\json\__init__.py", line 357, in loads
                                                       return _default_decoder.decode(s)
                                                     File "C:\Program Files\Kodi\system\python\Lib\json\decoder.py", line 337, in decode
                                                       obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                                     File "C:\Program Files\Kodi\system\python\Lib\json\decoder.py", line 355, in raw_decode
                                                       raise JSONDecodeError("Expecting value", s, err.value) from None
                                                   json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\main.py", line 6, in <module>
                                                       OrangeGo()
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\orange.py", line 723, in __init__
                                                       plugin.run()
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 130, in run
                                                       self._dispatch(self.path)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 141, in _dispatch
                                                       view_func(**kwargs)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\orange.py", line 32, in root
                                                       dod, logged = loguj()
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\orange.py", line 675, in loguj
                                                       jsdata = helper.request_sess(helper.subscrlogin, 'post', headers=helper.headers, data= data, json=True, json_data = True)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\helper.py", line 225, in request_sess
                                                       return resp.json() if json else resp_text(resp)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\models.py", line 975, in json
                                                       raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
                                                   requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
                                                   -->End of Python script error report<--

2023-11-24 09:15:35.386 T:9776    error <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.orangetvgo/
2023-11-24 09:15:35.399 T:5656    error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.orangetvgo/) failed
2023-11-24 09:15:37.188 T:6276     info <general>: PVR Manager: Starting cleanup of cached images.
2023-11-24 09:15:37.525 T:6276     info <general>: PVR Manager: Cleaned up 0 cached images.
2023-11-24 09:15:39.814 T:5656    error <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-11-24 09:15:40.883 T:11800   error <general>: C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py:1056: InsecureRequestWarning: Unverified HTTPS request is being made to host 'tvgo.orange.pl'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
                                                     warnings.warn(

2023-11-24 09:15:41.506 T:11800    info <general>: Skipped 1 duplicate messages..
2023-11-24 09:15:41.505 T:11800   error <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                                    - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                                   Error Type: <class 'requests.exceptions.JSONDecodeError'>
                                                   Error Contents: Expecting value: line 1 column 1 (char 0)
                                                   Traceback (most recent call last):
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\models.py", line 971, in json
                                                       return complexjson.loads(self.text, **kwargs)
                                                     File "C:\Program Files\Kodi\system\python\Lib\json\__init__.py", line 357, in loads
                                                       return _default_decoder.decode(s)
                                                     File "C:\Program Files\Kodi\system\python\Lib\json\decoder.py", line 337, in decode
                                                       obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                                     File "C:\Program Files\Kodi\system\python\Lib\json\decoder.py", line 355, in raw_decode
                                                       raise JSONDecodeError("Expecting value", s, err.value) from None
                                                   json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

                                                   During handling of the above exception, another exception occurred:

                                                   Traceback (most recent call last):
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\main.py", line 6, in <module>
                                                       OrangeGo()
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\orange.py", line 723, in __init__
                                                       plugin.run()
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 130, in run
                                                       self._dispatch(self.path)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.routing\lib\routing.py", line 141, in _dispatch
                                                       view_func(**kwargs)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\orange.py", line 32, in root
                                                       dod, logged = loguj()
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\orange.py", line 675, in loguj
                                                       jsdata = helper.request_sess(helper.subscrlogin, 'post', headers=helper.headers, data= data, json=True, json_data = True)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\plugin.video.orangetvgo\resources\lib\helper.py", line 225, in request_sess
                                                       return resp.json() if json else resp_text(resp)
                                                     File "C:\Users\rav\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\models.py", line 975, in json
                                                       raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
                                                   requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
                                                   -->End of Python script error report<--

2023-11-24 09:15:41.724 T:7552    error <general>: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.orangetvgo/
2023-11-24 09:15:41.733 T:5656    error <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.orangetvgo/) failed`
mayones2 commented 11 months ago

https://github.com/mbebe/blomqvist/issues/1017#issuecomment-1847944562 https://github.com/mbebe/blomqvist/files/13621528/plugin.video.orangetvgo-0.9.zip

pbaloo commented 7 months ago

Witam, ponownie wtyczka przestała działać. Orange wprowadził jakieś zmiany? Poniżej fragment logu.

2024-03-31 22:15:07.981 T:13300 error : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

mtr81 commented 7 months ago

Której wersji wtyczki używasz?

pbaloo commented 7 months ago

Wtyczka: plugin.video.orangetvgo-0.9, KODI wersja 20.5.0.0, nie działa na Windows i na Androidzie

mtr81 commented 7 months ago

Staroć... Tu masz aktualną wersję -> https://github.com/mbebe/blomqvist/issues/1017#issuecomment-1965776139

pbaloo commented 7 months ago

Dzięki, działa aż miło.