Well I have a daughter which is asking to watch the very same movie every now and then haha.
But I guess a similar command might allow to open a playlist
Well I have a daughter which is asking to watch the very same movie every now and then haha.
But I guess a similar command might allow to open a playlist
In the ADB add-on log I get:
Error: could not install smartsocket listener: Address already in use
ADB server didnât ACK
When I press any button nothing happensâŚ
Im looking to get the screen state as a sensor?
Is it possible to know if lets say that the android is in sleep mode or something?
Anyone knows why this occurs:
" Error: could not install smartsocket listener: Address already in use
ADB server didnât ACK
I tried everything, my remote seems to be creating the shield state as shield_3 (how can I delete shield, shield1, shield2 so that it starts from scratch), maybe that is why itâs having this issueâŚ
Used the code from @mcfrojd github replaced entity: media_player.shield and entity_id: media_player.shield to entity: media_player.shield_3 and entity_id: media_player.shield_3 but none of my buttons work when pressed (no error shows up but nothing happens).
What version of hassio are you running?
First of all you need to get the adb addon to run without errors.
Try to stop all your other addons, restart adb and check the log, maybe one other addon uses a port that adb needs.
I run adb on port 8037 because the port 5037 was used of another addon.
I think the appended â_3â is because the previous Android TV integration created entries in the device registry. Try going to Configuration > Entity Registry and deleting the media_player.shield*
entries, then restart.
Some of this might not hold true for the current releaseâs component, but it will hold true in the next release.
How would I go about changing the port?
Ok I tried that before but it didnât fix the error. Going to try again. Funny my buttons with shortcuts work ( YouTube, Netflix, emby) but none of the others. Trying to figure it out nowâŚ
After changing the port to 8037 I still get the error I posted earlier but now I also get this error when I press any button including the shortcut buttons that worked earlier:
Failed to call service androidtv/adb_command. ERROR: connecting to 127.0.0.1:5555 [Errno 111] Connection refused. Is adb running on your computer?
What does your mediaplayer settings look like?
This is mine:
---
############################################################################
## Control Nvidia Shield TV
## Use adb-addon from Community Addons
############################################################################
media_player:
- platform: androidtv
host: 192.168.111.11
name: Shield
adb_server_ip: 127.0.0.1
adb_server_port: 8037
apps:
"org.xbmc.kodi": "Kodi"
"com.netflix.ninja": "Netflix"
"com.spotify.tv.android": "Spotify"
"com.google.android.tvlauncher": "Homescreen"
"com.google.android.youtube.tv": "Youtube"
"tv.twitch.android.app": "Twitch"
"se.svt.android.svtplay": "SVT Play"
"se.tv4.tv4playtab": "TV4 Play"
Is it possible to start Kodi live tv with adb?
yes just like that but with my shields ip in host.
I keep getting:
error: could not install smartsocket listener: Address already in use
Even though itâs 8037 nowâŚ
Did you try stop all other addons and restart adb.
If you still get that same error message i have no idea.
So all seems working now but for some reason I can see the remote only on my Windows PC, I get this error on my phones and tablets:
https://imgshare.io/image/2019-03-26-8-49-51.HZFaO
Something to do with layout-card but like I said itâs all good on my Windows PC, this error only shows up on my mobile devices.
Ok, might be a cache error, missing custom card or something.
But that problem has nothing to do with the ADB add-on, so you have to try to get help in another thread.
Another issue that occurs randomly. I keep losing the media_player.shield after some restarts, how can I get it back? Sometimes I have to reboot/restart several times until it shows upâŚ
some times when i restart my homeassitant by turning it off and on or either by rebooting hassio from its system
i get this error
[09:08:02] INFO: Starting the Android Debug Bridge serverâŚ
error: could not install smartsocket listener: Address already in use
[09:08:04] INFO: Starting the Android Debug Bridge serverâŚ
error: could not install smartsocket listener: Address already in use
[09:08:05] INFO: Starting the Android Debug Bridge serverâŚ
error: could not install smartsocket listener: Address already in use
after restarting adb addon
[09:09:12] INFO: Starting the Android Debug Bridge serverâŚ
error: could not install smartsocket listener: Address already in use
ADB server didnât ACK