-
Notifications
You must be signed in to change notification settings - Fork 7
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
Unneeded escaping in ToJSON? #22
Comments
Handy. The editor re-encoded the escaped url when I posted, making it look correct. Te CetonProxy URL looks like this |
Would you be able to provide the Emby log?
On Nov 17, 2020, at 5:06 PM, DanAustinGH <notifications@github.com> wrote:
Handy. The editor re-encoded the escaped url when I posted, making it look correct. Te CetonProxy URL looks like this
http://:ip-address:port/auto/v61
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#22 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOSF7PGSXHVR5S45FARNJGLSQMM4JANCNFSM4TZJKCHA>.
|
The log is not super helpful, but attached at the bottom. One of the lead Emby developers has confirmed that they might not be handling escaped URLs properly. I am not sure that they will spend much time on it, as physical HDHR does not escape its URLs and examining a couple of the other HDHR proxy/emulators, they do not escape URLs either. The little bit of research I have completed suggests that the URL should be escaped in a JSON response, but if the device being emulated doesn't escape them, software that supports that device likely won't either. Emby doesn't use the XML formats, but they look fine. I do wonder if adding the VideoCodec and AudioCodec fields might speed up tuning. It looks like fixing the discover.json will be fairly straight forward. The TLineup.ToJSON would be a bit harder, but I think I get the gist of that function and making a loop to construct a raw string seems the 'right' solution. Emby log (no other errors in the log) |
Cool...thanks for posting it. Just want to compare it with my setup. I also use Emby and channel discovery works...curious what the difference is. |
Would you be down to do a quick Zoom conference? If so, my email is under my profile. Would like to check something out on your setup. |
I (very) rarely use zoom, but have it up and running. I can email you a meeting id if that was your thought |
User error. Emby can ask physical HDHR for just the channels marked as Favorite, and I assumed that the selection process in the GUI was in fact setting favorites, not setting 'only these channels'. Clearing the 'Favorites Only' option in Emby has is working as expected. Might be worth a foot note in the documentation to not set that option if using Emby. |
Nice. It was good talking....and glad it was a simple fix. 👍 |
I am trying to use this with Emby. While not 100% certain. it appears that Emby does not like the escape characters being added to the JSON output, which prevents a clean discovery and a failure to integrate the channels into the EPG. Being neither a JSON or Delphi expert, not sure if this is an easy fix or complicated...
True HDHR (works)
{"GuideNumber":"61","GuideName":"kasw wb","VideoCodec":"MPEG2","AudioCodec":"AC3","Favorite":1,"URL":"http://192.168.1.16:5004/auto/v61"},
CetonProxy (Fails, no guide entries created)
{"GuideNumber":"61","GuideName":"kasw wb","URL":"http://192.168.1.1:5004/auto/v61"}
The text was updated successfully, but these errors were encountered: