SuppaMan Posted January 3, 2023 Share Posted January 3, 2023 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? Quote Link to comment
Griga Posted January 3, 2023 Share Posted January 3, 2023 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 Quote Link to comment
SuppaMan Posted January 4, 2023 Author Share Posted January 4, 2023 Thank you!! That's exactly what I was looking for Sorry, I didn't noticed the "tuner" parameter 😕 Quote Link to comment
Griga Posted January 4, 2023 Share Posted January 4, 2023 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. Quote Link to comment
SuppaMan Posted January 4, 2023 Author Share Posted January 4, 2023 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) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.