[Emby direct mode] Playback always Post the PositionTicks 0 to Emby server

There are 3 API calls to report the player’s playback status to the Emby server.

See: Playback Check ins · MediaBrowser/Emby Wiki · GitHub

While playing a video stream hosted outside the Emby server (Emby server hosts the strm file but redirects the stream to another location by HTTP 302 response), the playback check-in always uses value 0 for the PositionTicks key.

Here is the packet capture from the Emby server.

❯ tshark -nnr emby1.pcap -Y “http.request.method == POST” -V | grep -E “Request URI|Member with value: PositionTicks”
Request URI: /Sessions/Playing
[Member with value: PositionTicks:0]
Request URI: /Sessions/Playing/Progress
[Member with value: PositionTicks:0]
Request URI: /Sessions/Playing/Progress
[Member with value: PositionTicks:0]
Request URI: /Sessions/Playing/Stopped
[Member with value: PositionTicks:0]

Please file a bug and get it fixed.

Thanks.