Jump to content

Retrieve channel stream info using API


SuppaMan

Recommended Posts

Hi!
Can the data of the channel stream (SID, NID, PID, etc...) be retrieved using the DMS API?
According to the API wiki, the two ids of the channels are composed with some of these data, but no way to obtain them directly...
If not, are there plans to include these?

Link to comment

Try in the browser on the server PC http://localhost:8089/api/getchannelsxml.html?tuner=1

 

It outputs the channel list as XML with all relevant tuner data. If you want to retrieve this information for a single channel, you need to pass its zero based channel number or Channel ID or EPG Channel ID to the API by appending &number=... or &id=... or &epgid=... to the URL, e.g.

 

http://localhost:8089/api/getchannelsxml.html?tuner=1&number=0

 

Link to comment
17 hours ago, SuppaMan said:

According to the API wiki

 

It's not up-to-date. You may also want to check the DMS API Change Log. It describes all API changes/additions since Recording Service 1.30 Beta. Let the browser search for getchannelsxml in order to see what you can do with it.

 

Link to comment

Interesting, I'll look into it. If needed, I can update the wiki (since I'm writing my own python library to communicate with the DMS, I have to look into the updated API calls)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...