jkaberg / tvhProxy

An small flask app to help Plex DVR connect with Tvheadend
Other
216 stars 107 forks source link

Jsonify(lineup) = error ? #48

Open Duell10111 opened 6 years ago

Duell10111 commented 6 years ago

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

TonyHoyle commented 6 years ago

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 commented 6 years ago

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