Coder Social home page Coder Social logo

scan devices about catt HOT 7 OPEN

idonotknowwhatimdoing avatar idonotknowwhatimdoing commented on August 29, 2024
scan devices

from catt.

Comments (7)

skorokithakis avatar skorokithakis commented on August 29, 2024

Hmm, that's odd. Can you try again and paste the output here?

from catt.

idonotknowwhatimdoing avatar idonotknowwhatimdoing commented on August 29, 2024
PS C:\Users\cattvm> catt scan
Scanning Chromecasts...
192.168.10.40 - MiTV-MSSP1 - Xiaomi MiTV-MSSP1
192.168.10.59 - MiTV-MSSP1 - Xiaomi MiTV-MSSP1
PS C:\Users\cattvm> catt scan --json-output
{
    "MiTV-MSSP1": {
        "services": "{ServiceInfo(type='mdns', data='MiTV-MSSP1-c20c57ec53bd6d67916b246e3ceddbc4._googlecast._tcp.local.')}",
        "uuid": "c20c57ec-53bd-6d67-916b-246e3ceddbc4",
        "model_name": "MiTV-MSSP1",
        "friendly_name": "MiTV-MSSP1",
        "host": "192.168.10.59",
        "port": 8009,
        "cast_type": "cast",
        "manufacturer": "Xiaomi"
    }
}
PS C:\Users\cattvm>

I have a theory. This may be due to non-unique device names. There will be an opportunity to check later

from catt.

idonotknowwhatimdoing avatar idonotknowwhatimdoing commented on August 29, 2024
PS C:\Users\theds> catt scan
Scanning Chromecasts...
10.10.100.20 - Android TV - Xiaomi MiTV-MSSP1
10.10.100.13 - Главная спальня - Google Inc. Chromecast
PS C:\Users\theds> catt scan --json-output
{
    "Android TV": {
        "services": "{ServiceInfo(type='mdns', data='MiTV-MSSP1-0fb4e8df2847080c958cda51e4f1544a._googlecast._tcp.local.')}",
        "uuid": "0fb4e8df-2847-080c-958c-da51e4f1544a",
        "model_name": "MiTV-MSSP1",
        "friendly_name": "Android TV",
        "host": "10.10.100.20",
        "port": 8009,
        "cast_type": "cast",
        "manufacturer": "Xiaomi"
    },
    "\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u043f\u0430\u043b\u044c\u043d\u044f": {
        "services": "{ServiceInfo(type='mdns', data='Chromecast-02cbbbbb3be56653f903518b09d91c8b._googlecast._tcp.local.')}",
        "uuid": "02cbbbbb-3be5-6653-f903-518b09d91c8b",
        "model_name": "Chromecast",
        "friendly_name": "\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u043f\u0430\u043b\u044c\u043d\u044f",
        "host": "10.10.100.13",
        "port": 8009,
        "cast_type": "cast",
        "manufacturer": "Google Inc."
    }
}
PS C:\Users\theds>

Work fine on another location with unique devices names.

from catt.

skorokithakis avatar skorokithakis commented on August 29, 2024

Ah, yep! That would do it. This will be tricky to fix without breaking the API...

from catt.

idonotknowwhatimdoing avatar idonotknowwhatimdoing commented on August 29, 2024

Ah, yep! That would do it. This will be tricky to fix without breaking the API...

If I rename the devices using the TV interface, will that solve my problem?

from catt.

skorokithakis avatar skorokithakis commented on August 29, 2024

It should, yes.

from catt.

idonotknowwhatimdoing avatar idonotknowwhatimdoing commented on August 29, 2024

Thx! I'll be able to check it out next week. After that, I will add the result here.

from catt.

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.