Git Product home page Git Product logo

Comments (4)

palinek avatar palinek commented on June 3, 2024

že si má plugin zjistit mac adresu a tu odeslat jako sériové číslo, pokud selže, tak má vygenerovat pomocí picosha2.h hash, který odešle místo sériového čísla

No. If we can't get the MAC address, we use a dummy value -> https://github.com/palinek/pvr.sledovanitv.cz/blob/Matrix/src/apimanager.cpp#L271. But we don't want to disclose MAC address of the device to sledovanitv. Therefore the "serial" is assembled as the SHA256 hash of the original string (MAC address or dummy).

přidat do nastavení políčko serial, které by si mohl uživatel sám nastavit

This is a good idea and I'll try to implement it this way -> user will be able to override device ID (MAC address) in configuration. But note that this new feature won't get into Leia (18.*) as there is a feature freeze and just bugs are backported.

@ksooo Am I right with the "feature freeze" statement?

from pvr.sledovanitv.cz.

Efkovole avatar Efkovole commented on June 3, 2024

If I understood it correctly, the module should find out the MAC address and generate SHA according to it and send it to TV. If it does not detect the MAC address, will it use the following read code and generate SHA from it?
"MC-> Log (LOG_NOTICE," Unable to get MAC address, using dummy for serial ");
macAddr = "11223344"; "

Yes, if you run on two devices with kodi, so do television freeze

from pvr.sledovanitv.cz.

palinek avatar palinek commented on June 3, 2024

if you run on two devices with kodi, so do television freeze

Only if MAC address detection fails on both devices.

from pvr.sledovanitv.cz.

Efkovole avatar Efkovole commented on June 3, 2024

Yes, that's exactly how it happens, see. log. This problem is on all android devices. Or, at least I suppose, since I tried the add-on on 3 different android devices.

from pvr.sledovanitv.cz.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.