Jump to content

Problem with "Watched" status in Android TV app (Shield)


Recommended Posts

Posted (edited)

Hello

I have a weird problem with the "watched" status on my Nvidia Shield. If I watch a move or an episode of a series the status does not change to "watched" after its done. Toggling it manually does not work either. 

I can also say that watched status works perfectly if I watch something on my other clients which is web, IOS(iphone) and IOS (ipad).

This problem persisted for me for a while through some versions to the Shield TV app and have been going on for a while.

Steps taken on my own:

  • Tried beta version of the app
  • Reinstalled the app
  • Tried looking into some logs for info but couldnt find anything

I would appreciate if anyone could point me in the right direction to solve this issue.

Edited by tonyvitek
Posted

Hi there, can you please provide an example? Thanks !

Posted
1 hour ago, ebr said:

Hi.  Please manually mark an item as watched and then  follow the instructions to send a log from the app and also provide the server log from that same time.

Thanks.

 

 

Ok I tried to manually mark an episode and I have sent in the logs.

Thanks for helping

Posted
2 hours ago, ebr said:

and also provide the server log from that same time

Hi.  Can you please provide that?

There are a lot of errors trying to update information on your server.  Do you have any sort of security watchdog type software that might be interfering with these requests?

Posted
20 hours ago, ebr said:

Hi.  Can you please provide that?

There are a lot of errors trying to update information on your server.  Do you have any sort of security watchdog type software that might be interfering with these requests?

Sorry I missed that part. I resend the logs and attached the serverlog. No security watchdog software should interfere afaik.

embyserver.txt

Posted

Hi.  I think this is unrelated but you may have a problem with your certificate:

	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
	 ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid

 

As for your specific issue - it is very strange.  All attempts to update information on your server are returning a 404.  Not really sure how that could happen.

If you go to the web app and bring up an item detail page on any episode and then, in the URL in the browser replace the itemID with

560746

and then hit 'enter'.  Do you see the item you were playing in that log?

Posted
3 minutes ago, ebr said:

Hi.  I think this is unrelated but you may have a problem with your certificate:

	System.Net.Http.HttpRequestException: System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
	 ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: NotTimeValid

 

As for your specific issue - it is very strange.  All attempts to update information on your server are returning a 404.  Not really sure how that could happen.

If you go to the web app and bring up an item detail page on any episode and then, in the URL in the browser replace the itemID with

560746

and then hit 'enter'.  Do you see the item you were playing in that log?

Ok i will look into the certificate but I am pretty sure its valid. Using a letsenrypt one and it expires in late september. 

Yes when I enter that ID it takes me to the episode i did the manual test on.

Posted
1 minute ago, tonyvitek said:

Using a letsenrypt one and it expires in late september

Ensure that is this Sep and that the entire chain is valid.  There was an issue with LE certs last September where some of the intermediates became invalid.

2 minutes ago, tonyvitek said:

Yes when I enter that ID it takes me to the episode i did the manual test on.

Okay so this is really weird.  I just noticed the post is coming in via http on 8096 but the response is going back via https on 8920...

 

2022-08-25 15:32:29.011 Info Server: http/1.1 POST http://xx.xx.xx.xx:8096/emby/Users/xxxxxxx/PlayedItems/560746?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 11; SHIELD Android TV Build/RQ1A.210105.003)
...
2022-08-25 15:32:29.014 Debug Server: http/2 Response 404 to host2. Time: 0ms. https://xx.xx.xx.xx:8920/emby/Users/xxxxxx/PlayedItems/560746?format=json

There is no reverse-proxy or anything involved here?

Is this a remote connection?  Because it is using the remote address for your server.

Posted (edited)
31 minutes ago, ebr said:

Ensure that is this Sep and that the entire chain is valid.  There was an issue with LE certs last September where some of the intermediates became invalid.

Okay so this is really weird.  I just noticed the post is coming in via http on 8096 but the response is going back via https on 8920...

 

2022-08-25 15:32:29.011 Info Server: http/1.1 POST http://xx.xx.xx.xx:8096/emby/Users/xxxxxxx/PlayedItems/560746?format=json. UserAgent: Dalvik/2.1.0 (Linux; U; Android 11; SHIELD Android TV Build/RQ1A.210105.003)
...
2022-08-25 15:32:29.014 Debug Server: http/2 Response 404 to host2. Time: 0ms. https://xx.xx.xx.xx:8920/emby/Users/xxxxxx/PlayedItems/560746?format=json

There is no reverse-proxy or anything involved here?

Is this a remote connection?  Because it is using the remote address for your server.

No reverse-proxy. It is LAN but clients are on a different subnet from server. But as I said, it is only the shield client that has this problem.

Edited by tonyvitek
  • 2 weeks later...

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...