rogro82 / PiPup

Enhanced notifications for Android TV
237 stars 71 forks source link

Does not work on SONY KJ-49X8000H BRAVIA 4K UR3 (Android TV 10) #57

Open sengokyu opened 6 months ago

sengokyu commented 6 months ago

Hello,

I installed from Play store. The server seems working, but no toaster appeared.

Here is my instruction:

% curl -X POST -H 'Content-Type: application/json' -d '{
  "duration": 30,
  "position": 0,
  "title": "Your awesome title",
  "titleColor": "#0066cc",
  "titleSize": 20,
  "message": "What ever you want to say... do it here...",
  "messageColor": "#000000",
  "messageSize": 14,
  "backgroundColor": "#ffffff",
  "media": { "image": {
    "uri": "https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/cfcc3137009463.5731d08bd66a1.png", "width": 480
  }}
}' -v http://192.168.144.129:7979/notify
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 192.168.144.129:7979...
* Connected to 192.168.144.129 (192.168.144.129) port 7979 (#0)
> POST /notify HTTP/1.1
> Host: 192.168.144.129:7979
> User-Agent: curl/7.87.0
> Accept: */*
> Content-Type: application/json
> Content-Length: 406
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK 
< Content-Type: text/plain
< Date: Thu, 14 Dec 2023 09:42:50 GMT
< Connection: keep-alive
< Content-Length: 342
< 
* Connection #0 to host 192.168.144.129 left intact
PopupProps(duration=30, position=TopRight, backgroundColor=#ffffff, title=Your awesome title, titleSize=20.0, titleColor=#0066cc, message=What ever you want to say... do it here..., messageSize=14.0, messageColor=#000000, media=Image(uri=https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/cfcc3137009463.5731d08bd66a1.png, width=480))

My environment:

RapidCompiler commented 5 months ago

Hey I have a very similar TV and I was able to get it to work on mine. Click here for a very detailed explanation on this and let me know if you get stuck somewhere. The only problem I've encountered now is that I'm unable to play the live feed from my camera on my TV when a media source is playing (example Netflix). Make sure you install the APK from desertblade's repository. The forum should have more details on this.

trendstyle commented 3 months ago

@RapidCompiler @sengokyu

Hey I have a very similar TV and I was able to get it to work on mine. Click here for a very detailed explanation on this and let me know if you get stuck somewhere. The only problem I've encountered now is that I'm unable to play the live feed from my camera on my TV when a media source is playing (example Netflix). Make sure you install the APK from desertblade's repository. The forum should have more details on this.

I have the very same issue,!!, for months and monthsa i went crazy (because i stream my live feeds to MULTIPLE tvs across the house at once, and everynight the same thing, when the kids went to bed, i would set it all up and every tv, would stream, .. but then in the morning, it wouldnt appear on one tv, but would appear on another, then ...not the other etc etc, for the longest time i thought it had something to do with network access for to the rtsp stream, only to finally figure out.. its any bloody streaming service in the background will stop it running!!!< grr extremely frustrating!,

also i now use TVoverlay, much nicer interface and more clever and pretty then pipUP, without the ADB setup/disconnect hassles. https://github.com/gugutab/TvOverlay/tree/main

but this also suffers the same issue,

also both solutions occasionally dont render the stream from time to time without any apparent reason. going crazy over hear in AUS!