Jump to content

Navigation Bar not hiding itself when accessing current session


Recommended Posts

mihirrocks9999
Posted

Basically I am trying to get the current positiontick for a video I am playing. However it seems like since it is getting the positiontick, the navigation bar doesnt disappear. Im getting the position every 1 second, through these python commands:

 url = emby_url + "Sessions?DeviceId=" + device_id + "&api_key=" + api_key
 response = requests.request("GET",url)

When I just play the video, the navigation bar hides itself automatically. Is there a api to hide the navigation bar, or am I missing something.

Posted

Hi, what navigation bar do you mean?

mihirrocks9999
Posted

The one with pause, forward, next episode, settings.

image.thumb.png.6958e9e2acc70a238fb076e637585f93.png

Posted

Did you play the video with the API?

mihirrocks9999
Posted

Yes, I used this command:

url = emby_url + "Sessions/" + session_id + "/Playing?ItemIds=" + id + "&StartPositionTicks=" + str(starttime) + "&api_key=" + api_key
response = requests.request("POST",url)

  • 2 weeks later...
Posted

Does the video start playing normally, or does it start in a paused state and require you to first click play?

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