Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMD_Shows should return both TVDBID and SHOW_NAME regardless of sort order #712

Merged
merged 1 commit into from
Aug 15, 2013

Conversation

seanstar12
Copy link

If making a search using id i.e. '/api/1234/?cmd=shows&sort=id', the return object yields:

{"data":{ "71489": { "air_by_date": 0... 

which makes parsing the data much more difficult than just including the variables in the return object. With the changes provided, it would allow the return object usable without having to parse through and pull out the 'id' or 'show_name' from a loop.

When making an API call, CMD_Shows returns an object of objects thus making grabbing required information difficult to obtain. These modifications would make of the information available.

midgetspy added a commit that referenced this pull request Aug 15, 2013
CMD_Shows should return both TVDBID and SHOW_NAME regardless of sort order
@midgetspy midgetspy merged commit 6d68e2b into midgetspy:development Aug 15, 2013
thezoggy added a commit to thezoggy/Sick-Beard that referenced this pull request Sep 8, 2013
thezoggy added a commit to thezoggy/Sick-Beard that referenced this pull request Sep 8, 2013
thezoggy added a commit to thezoggy/Sick-Beard that referenced this pull request Sep 8, 2013
gborri pushed a commit to gborri/Sick-Beard that referenced this pull request Aug 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants