Page 1 of 1

Object Id Format

PostPosted: Tue Jan 08, 2013 7:17 am
by kevin.trivedi
I am adding a media in the serviio server using Configuration API and i am fetching the Object Id using CDS API like A_OF^FOL_$OI1000000000300001

Is there any format to create this Object Id??, so that i can save one server call for only fetching the object id.

Re: Object Id Format

PostPosted: Tue Jan 08, 2013 9:42 am
by zip
The Object ID is a unique identifier of the CDS item (folder or item) in the browsing tree. So the same file will have different IDs when you browse to it through Movies, Titles, or Folders. It's not something like a DB id.
What are you trying to achieve?

Re: Object Id Format

PostPosted: Tue Jan 08, 2013 11:01 am
by kevin.trivedi
Yes,


After adding an media through "rest/repository". i am getting entire repository again. I am able to find the newly added record, for e.g in this case id = "30".

I am only adding Live Resource URL into the server. I need to get its respective object_id of the CDS for that online feed. Can i achieve it without the CDS call?

Re: Object Id Format

PostPosted: Tue Jan 08, 2013 11:05 am
by zip
No... the ID is generated in real time