home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
WebService and Mobile Access
[WebService] General Media Access Webservice
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Shukuyen" data-source="post: 776349" data-attributes="member: 74313"><p>Hi there,</p><p></p><p>I started researching GMA for integration in CouchPotato and want to say thank you for coding this!</p><p>There are some things that came to mind, maybe you will find this feedback helpful:</p><p></p><ul> <li data-xf-list-type="ul"> It would be useful (correct) if the response content type could be set to application/json (for the json endpoints, of course)</li> <li data-xf-list-type="ul"> Some services don't return valid JSON: GetEpisodesCount, GetSeriesCount</li> <li data-xf-list-type="ul"> Responses for invalid parameters are not consistent. Sometimes you get an exception, then an empty array and then even nothing. This is a little confusing <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></li> <li data-xf-list-type="ul"> Parameters aren't always consistent. For example most of the time it's "seasonNumber" but in GetEpisodesCountForSeason it is "season".</li> </ul><p></p><p>Those are just some small nitpicky things, but I think it would make the service even better if those were considered.</p><p></p><p></p><p>Also I started documenting the JSON endpoints on my way of playing with the service. You can find that here:</p><p><a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/Remote_Access/GmaWebservice/Service_Endpoints" target="_blank">Service Endpoints - MediaPortal Wiki</a></p><p></p><p>Please feel free to extend and correct that, if I missed or got something wrong. It's mostly tv series for now.</p></blockquote><p></p>
[QUOTE="Shukuyen, post: 776349, member: 74313"] Hi there, I started researching GMA for integration in CouchPotato and want to say thank you for coding this! There are some things that came to mind, maybe you will find this feedback helpful: [LIST] [*] It would be useful (correct) if the response content type could be set to application/json (for the json endpoints, of course) [*] Some services don't return valid JSON: GetEpisodesCount, GetSeriesCount [*] Responses for invalid parameters are not consistent. Sometimes you get an exception, then an empty array and then even nothing. This is a little confusing :) [*] Parameters aren't always consistent. For example most of the time it's "seasonNumber" but in GetEpisodesCountForSeason it is "season". [/LIST] Those are just some small nitpicky things, but I think it would make the service even better if those were considered. Also I started documenting the JSON endpoints on my way of playing with the service. You can find that here: [url=http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/17_Extensions/Remote_Access/GmaWebservice/Service_Endpoints]Service Endpoints - MediaPortal Wiki[/url] Please feel free to extend and correct that, if I missed or got something wrong. It's mostly tv series for now. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
WebService and Mobile Access
[WebService] General Media Access Webservice
Contact us
RSS
Top
Bottom