Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to parse apptoken #3

Closed
omski opened this issue Aug 15, 2020 · 12 comments
Closed

unable to parse apptoken #3

omski opened this issue Aug 15, 2020 · 12 comments

Comments

@omski
Copy link

omski commented Aug 15, 2020

Hi,

seit ca. einer Woche meckert die API und heute habe ich mal ins Log geschaut was los ist.
Dort sah ich folgende Fehlernachricht:

IGN_MAX: false
ERROR.... Unable to parse apptoken json data (trying old apptoken method now...)
INFO... LOGIN OK!
INFO... YOUR ACCOUNT TYPE: RESELLER

==== API STARTED! =====

Version 1.3.7 ist auf einen Raspy mit aktuellem Kodi installiert.

Ich verwende Telerising mit 1und1tv, den Server habe ich testweise auch schon gewechselt.

Habe gesehen die V 1.3.7 ist ja auch erst eine gute Woche raus... hat vllt was damit zu tun?

Merci und schöne Grüße!

@sunsettrack4
Copy link
Collaborator

Der Login ist okay, somit ist alles in Ordnung. 1und1 TV benutzt noch ein älteres Backend, damit funktioniert der neuere Zattoo Login-Prozess nicht.

@sunsettrack4
Copy link
Collaborator

@DeBaschdi Kann es sein, dass bei einem "Error" im Log eine Fehlermeldung in Kodi erscheint?

@sunsettrack4 sunsettrack4 reopened this Aug 15, 2020
@omski
Copy link
Author

omski commented Aug 15, 2020

Hab mal das Debug Log angemacht aber es ist auch damit nicht mehr zu sehen als das:

020-08-15 22:44:59.529 T:1823560560 NOTICE: [Telerising API 1.3.7] Machine is armv7l
2020-08-15 22:45:03.239 T:2665735024 NOTICE: Previous line repeats 2 times.
2020-08-15 22:45:03.575 T:1823560560 NOTICE: [Telerising API 1.3.7] Starting API....
2020-08-15 22:45:15.176 T:1823560560 ERROR: [Telerising API 1.3.7] Please check Telerising Logfile for Details

@DeBaschdi
Copy link
Owner

Ja, wenn ein "ERROR" im Log auftaucht, spuckt das Addon einen Fehler aus, ist zusätzlich "restart on failure" aktiviert, startet das Addon im loop neu durch....

@sunsettrack4
Copy link
Collaborator

Okay, somit funktioniert die API einwandfrei. Das Addon müsste die entsprechende Fehlermeldung ignorieren können, wenn der Login im zweiten Anlauf erfolgreich ist.

Der Prozess wurde geändert, da es leider unterschiedliche Backends bei den Resellern gibt und die API natürlich alle Varianten abdecken muss.

@DeBaschdi
Copy link
Owner

Wieso so kompliziert?
Da der Fehler keiner ist, reicht ein "Notice" als Logmeldung.
Das Addon soll bei einem echten "ERROR" stoppen bzw neu starten, finde ich praktisch.

@sunsettrack4
Copy link
Collaborator

Letztendlich ist ein fehlgeschlagener Login-Versuch ein Fehler. Ich habe die Meldung nun trotzdem abgeändert, schließlich ist der Login-Prozess ja in diesem Fall noch nicht komplett abgeschlossen.

Siehe: sunsettrack4/telerising@f733127
Neue Version: 0.3.8

@omski
Copy link
Author

omski commented Aug 15, 2020

Das die Kommunikation zum 1und1 Backend nicht (mehr) funktioniert ist mit der Version > 0.3.7 also normal?

@sunsettrack4
Copy link
Collaborator

sunsettrack4 commented Aug 15, 2020

Bitte ggf. das kommende Addon-Update abwarten, dann hat sich das Problem erledigt. Die Kommunikation zum 1und1-Backend funktioniert einwandfrei, es geht hierbei nur um das Zusammenspiel zwischen API und Kodi-Addon.

@omski
Copy link
Author

omski commented Aug 21, 2020

V0.3.8 habe ich installiert aber das Problem besteht weiterhin.
Einzige Änderung: anstatt eines Errors wird nun INFO im Log ausgegeben.

@sunsettrack4
Copy link
Collaborator

Welches Problem besteht weiterhin? Es gibt keinen ERROR, somit sollte das Addon durchlaufen.

@omski
Copy link
Author

omski commented Aug 21, 2020

Alles gut war mein Fehler. TvHeadend hat die API zum Laden der Playlist nicht erreicht aber das war ein Konfigurationsproblem und hatte nichts mit telerising zu tun.
Vielen Dank für den Support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants