Results 1 to 6 of 6

Thread: SID expires??

  1. #1
    Join Date
    Oct 2012
    Location
    Herselt, Belgium
    Posts
    122

    SID expires??

    I am working with the REST api in Emby. But sometimes for some reason I don't get any information back.
    I just debugged and waited for some time.

    When I do then a call to the webservice with a SID that I generated at startup. It doesn't work. If I generate a new sid. It's working again.
    Does the SID expires at some time?

  2. #2
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,945
    Are you using it on a LAN, or across the internet? They do expire after some period of time, but on a LAN it should automatically reactivate the SID if you attempt to use one after it has expired.

  3. #3
    Join Date
    Oct 2012
    Location
    Herselt, Belgium
    Posts
    122
    In this example it's over the internet.. How long will it be active?

  4. #4
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,945
    From memory, I think it's valid for 5 minutes from the last call. ie, it'll only become invalid if it's been more than 5 minutes since your made a call with that SID.

  5. #5
    Join Date
    May 2006
    Location
    Canada
    Posts
    28,166
    Quote Originally Posted by Svekke View Post
    In this example it's over the internet.. How long will it be active?
    For most use cases it wouldn't make sense to connect Emby to NextPVR over the Internet, since you would be streaming the raw feed and then Emby would have to transcode it in near real time. I would be much wiser to connect to a remote Emby instance.

    Martin

  6. #6
    Join Date
    Nov 2003
    Location
    NextPVR HQ, Wellington, New Zealand
    Posts
    89,945
    Yeah, that's true.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •