FAQ  •  Register  •  Login

Object Id Format

<<

kevin.trivedi

User avatar

Streaming enthusiast

Posts: 25

Joined: Tue Dec 25, 2012 6:21 am

Post Tue Jan 08, 2013 7:17 am

Object Id Format

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

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 08, 2013 9:42 am

Re: Object Id Format

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

kevin.trivedi

User avatar

Streaming enthusiast

Posts: 25

Joined: Tue Dec 25, 2012 6:21 am

Post Tue Jan 08, 2013 11:01 am

Re: Object Id Format

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

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 08, 2013 11:05 am

Re: Object Id Format

No... the ID is generated in real time

Return to Third-party tools integration

Who is online

Users browsing this forum: No registered users and 14 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.