maxileith / homebridge-appletv-enhanced

Homebridge plugin that exposes Apple TVs with features that should be native to Apple HomeKit.
MIT License
135 stars 1 forks source link

App list is displayed incorrectly #469

Open onkben opened 5 days ago

onkben commented 5 days ago

Preconditions

Current Situation

After reinstalling the plugin, it does not show me any apps from the Apple TV, but only InputSource1 to xxx. How can I change this?

Logs

[6/23/2024, 11:59:19 AM] [Apple TV Enhanced] [I] Python check: Python 3.10.12 is installed and supported by the plugin.
[6/23/2024, 11:59:19 AM] [Apple TV Enhanced] [I] Python check: Virtual environment already exists.
[6/23/2024, 11:59:23 AM] [Apple TV Enhanced] [I] Python check: Virtual environment is using the systems default python environment. Continuing ...
[6/23/2024, 11:59:37 AM] [Apple TV Enhanced] [I] Python check: Venv pip version: 24.1
[6/23/2024, 11:59:37 AM] [Apple TV Enhanced] [I] Python check: Checking if there is an update for venv pip ...
[6/23/2024, 11:59:37 AM] [Apple TV Enhanced] [I] Python check: Venv pip is up-to-date
[6/23/2024, 12:00:05 PM] [Apple TV Enhanced] [I] Python check: Python requirements are satisfied.
[6/23/2024, 12:00:05 PM] [Apple TV Enhanced] [I] Python check: Finished
[6/23/2024, 12:00:05 PM] [Apple TV Enhanced] [I] Platform: Starting device discovery ...
[6/23/2024, 12:01:41 PM] [Apple TV Enhanced] [I] Platform: Adding Apple TV Heimkino (5E:43:2F:B3:62:4C)
[6/23/2024, 12:01:42 PM] [Apple TV Enhanced] [I] Heimkino (5E:43:2F:B3:62:4C): verifying credentials ...
[6/23/2024, 12:02:18 PM] [Apple TV Enhanced] [I] Heimkino (5E:43:2F:B3:62:4C): Credentials are still valid. Continuing ...
[6/23/2024, 12:02:18 PM] [Apple TV Enhanced] [I] Heimkino (5E:43:2F:B3:62:4C): Exposing Apple TV as accessory of type Apple TV.
[6/23/2024, 12:02:39 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): Finished initializing
[6/23/2024, 12:02:40 PM] Apple TV Heimkino 08FE is running on port 34710.
[6/23/2024, 12:02:40 PM] Please add [Apple TV Heimkino 08FE] manually in Home app. Setup Code: 278-36-948
[6/23/2024, 12:03:08 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Active State: on
[6/23/2024, 12:03:09 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Media Type State: unknown
[6/23/2024, 12:03:09 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): Current App: com.google.ios.youtube
[6/23/2024, 12:03:10 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: playing
[6/23/2024, 12:09:07 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: paused
[6/23/2024, 12:09:37 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): Current App: com.amazon.aiv.AIVApp
[6/23/2024, 12:09:38 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: playing
[6/23/2024, 12:25:13 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: paused
[6/23/2024, 12:25:18 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: playing
[6/23/2024, 12:32:55 PM] [Apple TV Enhanced] Initializing AppleTVEnhanced platform...
[6/23/2024, 12:32:55 PM] [Apple TV Enhanced] [I] Platform: Finished initializing platform: Apple TV Enhanced
[6/23/2024, 12:32:57 PM] [Apple TV Enhanced] [I] Update check: The update checker is configured to check for updates every 60 minutes, excluding betas. Auto updating is turned on.
[6/23/2024, 12:33:11 PM] [Apple TV Enhanced] [I] Update check: You are using the latest version of AppleTV Enhanced (excluding betas): 1.4.1-2
[6/23/2024, 12:33:11 PM] [Apple TV Enhanced] [I] Python check: Starting python check.
[6/23/2024, 12:33:11 PM] [Apple TV Enhanced] [I] Python check: plugin dir exists.
[6/23/2024, 12:33:12 PM] [Apple TV Enhanced] [I] Python check: Python 3.10.12 is installed and supported by the plugin.
[6/23/2024, 12:33:13 PM] [Apple TV Enhanced] [I] Python check: Virtual environment already exists.
[6/23/2024, 12:33:17 PM] [Apple TV Enhanced] [I] Python check: Virtual environment is using the systems default python environment. Continuing ...
[6/23/2024, 12:33:32 PM] [Apple TV Enhanced] [I] Python check: Venv pip version: 24.1
[6/23/2024, 12:33:32 PM] [Apple TV Enhanced] [I] Python check: Checking if there is an update for venv pip ...
[6/23/2024, 12:33:33 PM] [Apple TV Enhanced] [I] Python check: Venv pip is up-to-date
[6/23/2024, 12:33:59 PM] [Apple TV Enhanced] [I] Python check: Python requirements are satisfied.
[6/23/2024, 12:33:59 PM] [Apple TV Enhanced] [I] Python check: Finished
[6/23/2024, 12:33:59 PM] [Apple TV Enhanced] [I] Platform: Starting device discovery ...
[6/23/2024, 12:35:34 PM] [Apple TV Enhanced] [I] Platform: Adding Apple TV Heimkino (5E:43:2F:B3:62:4C)
[6/23/2024, 12:35:34 PM] [Apple TV Enhanced] [I] Heimkino (5E:43:2F:B3:62:4C): verifying credentials ...
[6/23/2024, 12:36:15 PM] [Apple TV Enhanced] [I] Heimkino (5E:43:2F:B3:62:4C): Credentials are still valid. Continuing ...
[6/23/2024, 12:36:16 PM] [Apple TV Enhanced] [I] Heimkino (5E:43:2F:B3:62:4C): Exposing Apple TV as accessory of type Apple TV.
[6/23/2024, 12:36:51 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): Finished initializing
[6/23/2024, 12:36:52 PM] Apple TV Heimkino 08FE is running on port 52282.
[6/23/2024, 12:36:52 PM] Please add [Apple TV Heimkino 08FE] manually in Home app. Setup Code: 278-36-948
[6/23/2024, 12:37:31 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Active State: on
[6/23/2024, 12:37:32 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Media Type State: unknown
[6/23/2024, 12:37:32 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): Current App: com.amazon.aiv.AIVApp
[6/23/2024, 12:37:32 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: paused
[6/23/2024, 1:04:42 PM] [Apple TV Enhanced] [I] Apple TV Fernbedienung (5E:43:2F:B3:62:4C): New Device State: playing

Configuration

{
    "name": "Apple TV Enhanced",
    "mediaTypes": [
        "music",
        "tv",
        "unknown",
        "video"
    ],
    "deviceStates": [
        "idle",
        "loading",
        "paused",
        "playing",
        "seeking",
        "stopped"
    ],
    "deviceStateDelay": 0,
    "avadaKedavraAppAmount": 20,
    "disableVolumeControlRemote": false,
    "setTopBox": false,
    "discover": {
        "multicast": true,
        "unicast": [
            "192.168.2.61"
        ]
    },
    "forceVenvRecreate": false,
    "logLevel": 3,
    "updateCheckLevel": "stable",
    "autoUpdate": "on",
    "deviceSpecificOverrides": [
        {
            "overrideMediaTypes": false,
            "overrideDeviceStates": false,
            "overrideDeviceStateDelay": false,
            "deviceStateDelay": 0,
            "overrideRemoteKeysAsSwitch": false,
            "overrideAvadaKedavraAppAmount": false,
            "avadaKedavraAppAmount": 15,
            "overrideCustomInputURIs": false,
            "overrideDisableVolumeControlRemote": false,
            "disableVolumeControlRemote": false,
            "overrideSetTopBox": false,
            "setTopBox": false
        }
    ],
    "platform": "AppleTVEnhanced"
}

Operating System

Mac Os

Operating System: Bits

64-bit

Operating System: Distribution

Apple TV

Operating System: Distribution Version

Apple TV Os

Docker

yes

Docker Image

None

Docker Image Tag

2024-01-08

Homebridge Version

1.7

Homebridge Config UI Version

v4.5

Homebridge Storage Path

/var/lib/

Homebridge Apple TV Enhanced Version

1.4.1-2

Node Version

v20.11.1

NPM Version

10.2.4

Python Version

3.10

PIP Version

22.0.2

HDMI Hops

Ambeo Soundbar +

Audio Output

yes

Same Subnet

yes

Additional Context

No response

github-actions[bot] commented 5 days ago

❗ Action required

There are a few problems with your opened issue. Please fix them by editing the issue:

Often the problem you are experiencing will be solved by simply making your environment compliant with the requirements (fulfilling the pre-checks).

🔍 Have you already considered the following?

🔁 Rerun

After editing the issue, the checks will be run again.

Under no circumstances should the issue be adjusted untruthfully. If the issue cannot fulfill the pre-checks, your environment is simply not supported.

If you do not adjust the issue accordingly, the issue will be automatically closed after 60 days of inactivity.

maxileith commented 5 days ago

You cannot expect me to answer your support request if you do not provide the necessary information. Debug logs and correct environment information is a must.