Jump to content

AFTV not showing in remote control


Nathanio

Recommended Posts

Nathanio

I'm using the latest server and AFTV Emby Tv beta but noticed that I can't select the device in remote control. It's not showing in active devices either?

post-4181-0-95642800-1443251559_thumb.png

Edited by Nathanio
Link to comment
Share on other sites

Nathanio

Yup. Was watching the grand Prix from recorded TV at the time. Connected to the server and was playing live TV, recorded and movies all happily.

Link to comment
Share on other sites

Nathanio

Just to add to this that I've also noticed that the resume information isn't showing on the server. For instance I watch a TV episode (mp4 blu-ray rip) on the AFTV, stop and move to another room and start watching via webpage on laptop. It's not remembered that I'd got 7:47 and started from the beginning. I guess that makes sense if the server doesn't see the remote control functions. 

Link to comment
Share on other sites

Just to add to this that I've also noticed that the resume information isn't showing on the server. For instance I watch a TV episode (mp4 blu-ray rip) on the AFTV, stop and move to another room and start watching via webpage on laptop. It's not remembered that I'd got 7:47 and started from the beginning. I guess that makes sense if the server doesn't see the remote control functions. 

 

No, that would be something completely unrelated actually and something I cannot reproduce so we need to investigate what is wrong in your setup.  I just did that very process - started something on the Fire and stopped it then brought up the home page in the web client and there was that item - first in my resume list.

 

Are you bringing the web client up fresh or was it already sitting on the page?  Are you sure you are logged in to the same user on both devices?

Link to comment
Share on other sites

Nathanio

Hi ebr,

 

Just upgraded the server to .6 dev version and checked AFTV version (1.105a). Can see in webpage but no remote control option still.

post-4181-0-88879100-1443678533_thumb.jpg

Link to comment
Share on other sites

Hmmm.... says it was last seen 6 minutes ago.  If you interact with the app on the FTV, does it then show up in the cast menu?

 

560d372a331dd_ftvcast.png

Link to comment
Share on other sites

Nathanio

Hi Ebr,

 

I have looked at this evening again and tried trawling the logs. Currently sat watching a recorded TV program through Emby on the AFTV (and doing a great job). Checked the server status page in an incognito window (to get a full pull from the server) and it doesn't even list the AFTV this time. 

 

Searched the logs for AFTB and found this :

2015-10-01 19:45:33.7736 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/system/info/public?format=json
	Ip: 192.168.0.176:33943. Headers: User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:33.7892 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 15.5997 ms.
	Url: http://192.168.0.1:8096/mediabrowser/system/info/public?format=json
2015-10-01 19:45:33.8828 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/Connect/Exchange?format=json&ConnectUserId=4181
	Ip: 192.168.0.176:33943. Headers: X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:33.8828 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 0 ms.
	Url: http://192.168.0.1:8096/mediabrowser/Connect/Exchange?format=json&ConnectUserId=4181
2015-10-01 19:45:33.8984 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/system/info?format=json
	Ip: 192.168.0.176:33943. Headers: X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:33.9140 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 15.5997 ms.
	Url: http://192.168.0.1:8096/system/info?format=json
2015-10-01 19:45:33.9608 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/users/d1cbbf2b0aa34b6bafdbea5d8415a24e?format=json
	Ip: 192.168.0.176:33943. Headers: X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:33.9608 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 0 ms.
	Url: http://192.168.0.1:8096/mediabrowser/users/d1cbbf2b0aa34b6bafdbea5d8415a24e?format=json
2015-10-01 19:45:34.1012 Debug - HttpServer: HTTP POST http://192.168.0.1:8096/mediabrowser/Sessions/Capabilities/Full
	Ip: 192.168.0.176:33943. Headers: X-Emby-Authorization=MediaBrowser Client="AndroidTv", DeviceId="b766f59f4bea4355", Device="Amazon AFTB", Version="1.1.05a", UserId="d1cbbf2b0aa34b6bafdbea5d8415a24e",X-MediaBrowser-Token=da64fd418863411996587f536e925365,Content-Type=application/json,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip,Content-Length=8302
2015-10-01 19:45:34.1168 Debug - HttpServer: Web Socket ws://192.168.0.1:8096/mediabrowser?api_key=da64fd418863411996587f536e925365&deviceId=b766f59f4bea4355
	Ip: 192.168.0.176:58254. Headers: Connection=Upgrade,Host=192.168.0.1:8096,Sec-WebSocket-Key=ZlcfSnCzRjR72VMrHlfGWQ==,Sec-WebSocket-Version=8,Upgrade=websocket
2015-10-01 19:45:34.1168 Debug - HttpServer: Web socket connection allowed
2015-10-01 19:45:34.1168 Warn - SessionWebSocketListener: Unable to determine session based on url: /mediabrowser?api_key=da64fd418863411996587f536e925365&deviceId=b766f59f4bea4355
2015-10-01 19:45:34.1324 Info - App: Udp message sent to 192.168.0.176:60023
2015-10-01 19:45:34.2260 Info - App: Udp message sent to 192.168.0.176:60023
2015-10-01 19:45:34.3040 Debug - HttpServer: HTTP Response 204 to 192.168.0.176. Response time: 202.7961 ms.
	Url: http://192.168.0.1:8096/mediabrowser/Sessions/Capabilities/Full
2015-10-01 19:45:35.3023 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/system/info/public?format=json
	Ip: 192.168.0.176:33943. Headers: User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:35.3179 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 15.5997 ms.
	Url: http://192.168.0.1:8096/mediabrowser/system/info/public?format=json
2015-10-01 19:45:35.3647 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/Connect/Exchange?format=json&ConnectUserId=4181
	Ip: 192.168.0.176:33943. Headers: X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:35.3647 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 0 ms.
	Url: http://192.168.0.1:8096/mediabrowser/Connect/Exchange?format=json&ConnectUserId=4181
2015-10-01 19:45:35.3959 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/system/info?format=json
	Ip: 192.168.0.176:33943. Headers: X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:35.4115 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 15.5997 ms.
	Url: http://192.168.0.1:8096/system/info?format=json
2015-10-01 19:45:35.4583 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/users/d1cbbf2b0aa34b6bafdbea5d8415a24e?format=json
	Ip: 192.168.0.176:33943. Headers: X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:35.4583 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 0 ms.
	Url: http://192.168.0.1:8096/mediabrowser/users/d1cbbf2b0aa34b6bafdbea5d8415a24e?format=json
2015-10-01 19:45:35.5675 Debug - HttpServer: HTTP POST http://192.168.0.1:8096/mediabrowser/Sessions/Capabilities/Full
	Ip: 192.168.0.176:33943. Headers: X-Emby-Authorization=MediaBrowser Client="AndroidTv", DeviceId="b766f59f4bea4355", Device="Amazon AFTB", Version="1.1.05a", UserId="d1cbbf2b0aa34b6bafdbea5d8415a24e",X-MediaBrowser-Token=da64fd418863411996587f536e925365,Content-Type=application/json,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip,Content-Length=8302
2015-10-01 19:45:35.6143 Debug - HttpServer: HTTP Response 204 to 192.168.0.176. Response time: 46.7991 ms.
	Url: http://192.168.0.1:8096/mediabrowser/Sessions/Capabilities/Full
2015-10-01 19:45:35.6767 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/Users/Public?format=json
	Ip: 192.168.0.176:33943. Headers: X-Emby-Authorization=MediaBrowser Client="AndroidTv", DeviceId="b766f59f4bea4355", Device="Amazon AFTB", Version="1.1.05a", UserId="d1cbbf2b0aa34b6bafdbea5d8415a24e",X-MediaBrowser-Token=da64fd418863411996587f536e925365,User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:35.6767 Debug - HttpServer: HTTP Response 200 to 192.168.0.176. Response time: 0 ms.
	Url: http://192.168.0.1:8096/mediabrowser/Users/Public?format=json
2015-10-01 19:45:36.2695 Debug - HttpServer: HTTP GET http://192.168.0.1:8096/mediabrowser/Users/38b44e4616684cca89529c10f99b5518/Images/Primary?MaxHeight=370&EnableImageEnhancers=true
	Ip: 192.168.0.176:33943. Headers: User-Agent=Dalvik/1.6.0 (Linux; U; Android 4.2.2; AFTB Build/JDQ39),Host=192.168.0.1:8096,Connection=Keep-Alive,Accept-Encoding=gzip
2015-10-01 19:45:36.2695 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
	*** Error Report ***
	Version: 3.0.5724.6
	Command line: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe -service
	Operating system: Microsoft Windows NT 6.1.7601 Service Pack 1
	Processor count: 8
	64-Bit OS: True
	64-Bit Process: False
	Program data path: C:\Users\Administrator\AppData\Roaming\Emby-Server
	Application Path: C:\Users\Administrator\AppData\Roaming\Emby-Server\system\MediaBrowser.ServerApplication.exe
	Kids does not have an image of type Primary
	MediaBrowser.Common.Extensions.ResourceNotFoundException
	   at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, IHasImages item, Boolean isHeadRequest)
	   at MediaBrowser.Api.Images.ImageService.Get(GetUserImage request)
	   at lambda_method(Closure , Object , Object )

The box is on a static lease from the routers DHCP server. 

 

Have tried rebooting the AFTV and same result. Restarted the Emby service this morning when updated to latest dev server. 

Link to comment
Share on other sites

Nathanio

Round two for this evening. 

 

As a hunch I tried clearing cache and data on the app on the AFTV. This appears to have fixed it!

 

Sorry didn't try this sooner!

 

 

post-4181-0-87810200-1443728386_thumb.jpg

Link to comment
Share on other sites

Okay, so something is getting cached that probably shouldn't be.  It is probably inside the common libs though so may take some digging to find.  Thanks.

  • Like 1
Link to comment
Share on other sites

Nathanio

Do you need anything from me to help at all ebr? I'm just so pleased with how well it is all working. The WAF is starting to come up high!

Link to comment
Share on other sites

Not at this time.  Thanks for continuing to dig on it.  I'm just glad you got it going and it is working out well for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...