SuppaMan Posted April 3, 2022 Share Posted April 3, 2022 Hi! I'd like to use the api provided with the Media Server to retrieve the current day's EPG, but i can't find any information on how to input the date in the query parameter. The only information I got is that it is in float64, but I never hear of this format. Can you help me? Quote Link to comment
Griga Posted April 4, 2022 Share Posted April 4, 2022 vor 9 Stunden schrieb SuppaMan: The only information I got is that it is in float64, but I never hear of this format. Since the Media Server is developed with Delphi, the API uses the Delphi TDateTime format: https://docwiki.embarcadero.com/Libraries/Sydney/en/System.TDateTime Searching the web for TDateTime yields more information, if you need it. I think the API should be extended in a way that enables passing date and time in a more convenient format, e.g. something close to ISO 8601. Quote Link to comment
SuppaMan Posted April 4, 2022 Author Share Posted April 4, 2022 Thank you very much! I agree that the date should be passed in a more common way, but for now... it works Quote Link to comment
Griga Posted April 4, 2022 Share Posted April 4, 2022 vor 11 Minuten schrieb SuppaMan: I agree that the date should be passed in a more common way ISO date/time as input format will be available in the next release. It has been coded today 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.