Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Jsonify(lineup) = error ? #48

Open
Duell10111 opened this issue Feb 10, 2018 · 2 comments
Open

Jsonify(lineup) = error ? #48

Duell10111 opened this issue Feb 10, 2018 · 2 comments

Comments

@Duell10111
Copy link

I get an HTTP 500 error with jsonify(lineup) using json.dumps resolves my problem ;)

@TonyHoyle
Copy link

jsonify no longer supports encoding arrays, for (bogus in my view) security reasons.

I changed the jsonify line to
try:
return Response(json.dumps(lineup), mimetype='application/json');
except Exception as e:
print('An error occured: ' + repr(e))

@christianuhlmann
Copy link

which tvheadend version do you use?
i get the same error with unstable Tvheadend 4.3-1159~gc64482d65

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants