10/10/25 - It’s been so long since we’ve last seen you!
10/24/22 - In searching for the perfect day, Timmy discovers something unexpected!
9/04/22 - That childhood favorite is back in a new Timmy video.
7/31/22 - It’s time for my second new Just Like Timmy video!
7/12/22 - Why not check out my new YouTube animation channel, Just Like Timmy!
|
|
 |
|
The following page was printed from RemoteCentral.com:
| Topic: | Heres one - Reading XML output from an HDI Dune Player This thread has 42 replies. Displaying posts 31 through 43. |
|
| Post 31 made on June 24, 2024 at 21:55 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
On June 21, 2024 at 23:52, mpg7321 said...
Those lines/changes you said to change are not in the script of either the two samples you emailed me. Could you paste both page and device sript here so I can just copy them? No, as copy/paste leaves too much room for error, please check for file DuneStatus2a.xcf file I sent a few minutes back.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| OP | Post 32 made on June 24, 2024 at 22:08 |
|
Joined: Posts: RC XP: | June 2020 156 45⭐︎ |
|
|
Got it, and it locks up all three on my remotes, just like before, and yes I double checked the IP that I did not add the period again, lol I shouldn't say locked up for I could still turn the screen back on after it timed out, Besides changing the IP for my dune, configuring it to my WiFi, I also set the power button to "Jump to Home". Once uploaded to the remote, that button also did not work. I cant swear but I thought I did see data flash very quickly, then back to blank fields, I could not see what said data was. Still works just fine in my Simulator as well.
Last edited by mpg7321 on June 24, 2024 22:15.
|
|
| Post 33 made on June 24, 2024 at 23:23 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
Ok. In the simulator what is the protocol version? And as I’ve asked before, can you use a browser and copy everything you see on the browser screen and send to me in a text file to my email?
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| OP | Post 34 made on June 25, 2024 at 13:10 |
|
Joined: Posts: RC XP: | June 2020 156 45⭐︎ |
|
|
will do, give me a few days to get the data sent over, got a lot going on, as far as the simulator goes i have vs 1.4.6.14205 However I have posted earlier what I believe you are asking for, < command_result> < param name="protocol_version" value="6"/> < param name="phv_md5" value="D41D8CD98F00B204E9800998ECF8427E"/> < param name="pltv_enabled" value="0"/> < param name="playback_caption" value="Dazed and Confused (1 of 19)"/> < param name="playback_extra_caption" value="Last Day of School, May 28, 1976, 1:05 p.m."/> < param name="md5" value="AA82118DFFF0E8AC5393DA2259966DA5"/> < param name="product_id" value="tv175v"/> < param name="serial_number" value="0000-0001-6075-9349-5201-249D-8928-B3B3"/> < param name="firmware_version" value="240123_0207_r22"/> < param name="commercial_serial_number" value="EC175V001232100148"/> < param name="product_name" value="Pro Vision 4K Solo"/> < /command_result> there can be over a 100 lines of returned date based on how many sound tracks and or subtitles the file has. Of course minus the space following the very first <. What I pasted above is what I see from Edge browser.
Last edited by mpg7321 on June 25, 2024 13:17.
|
|
| Post 35 made on June 25, 2024 at 17:29 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
I dont think Simulator version has bearing but curious as to how you got that info. When I run PEP2, the Application on the Info screen shows as -. You are running protocol version 6 which is 2 versions ahead of what I have for my Dune. The only way i'll be able to troubleshoot anything for you would be for you to copy what you see in Edge and put into a text file and email me. I want the text file so that I can run locally on my system here using data from your Dune Player. Get that to me when you run into a problem in the Simulator and we'll go from there. Without that file, any help I can provide will be very, very limited.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| OP | Post 36 made on June 30, 2024 at 14:40 |
|
Joined: Posts: RC XP: | June 2020 156 45⭐︎ |
|
|
Info for the simulator, is click on Help, then about. As posted above its Protocol 6 I don't understand why you need a text file when I already posted what is displayed in a web browser two times, Not sure what your looking for? It always vary depending on how many audio tracks the file has and or how many subtitles the file contains. Besides that its all the same format just different number of lines. How ever when I get some time I will email it to you, Thanks again for all your help. Mike
|
|
| Post 37 made on June 30, 2024 at 15:11 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
M, Not trying to be difficult here. Many of the fields I see on my Dune in protocol 4 are not present in the data you pasted above for protocol 6. For example, protocol 4 has a param named "player_state". I don't see that above in your data. There should be no problems processing the text you pasted above on the remote as far as I can tell.
In fact, I took the raw data you pasted above and with previous (prior to DuneStatus2a.xcf) config files you received, there was an error in my printLine function. However, as DuneStatus2a.xcf had the line printLine(playerStatus) commented out (the source of an error), Injecting your raw data in for the response from dune, , I able to see the Dazed And Confused label along with the protocol version of 6 displayed both in the simulator and on a TSU9600 remote. Not sure why you cannot get this working on your remote. You might want to experiment using try/catch within the 'callback' function to be sure to catch any errors that might be thrown. Here's an example which I believe you've seen before. [Link: remotecentral.com] Happy to help with this over a phone call as doing it here does not seem to be making good forward progress. Lyndel
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 38 made on July 2, 2024 at 18:19 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
M, I'm seeing that beginning with Protocol Version 5 of Dune, results can be returned in JSON format which makes it much easier to parse (JSON libraries are really simple and the E4X for XML is very outdated) All commands can now return responses in JSON format -- when "result_syntax=json" parameter is specified. [Link: dune-hd.com]
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 39 made on July 7, 2024 at 19:18 |
|
Joined: Posts: RC XP: | June 2003 435 10⭐︎ |
|
|
I was going to provide my old Dune Javascript file that I used for parsing Dune XML, but the last time I used it was 2012 with Protocol version 3, so I suppose it's outdated by now...
|
|
| Post 40 made on July 8, 2024 at 18:23 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
Feel free to post it. Protocol Version 4 is also very limited, especially if you look at the content pasted above. For MG, I wrote prontoscript that will use E4X to convert the values into a JavaScript object with named properties. The irony of this whole exercise is that beginning with Protocol Version 5, Dune supports JSON natively eliminating the need for E4X. If only my Dune Solo 4K supported version 5. Lyndel
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 41 made on July 10, 2024 at 10:58 |
|
Joined: Posts: RC XP: | June 2003 435 10⭐︎ |
|
|
I did "Upload File" in the Files > Pronto Professional > ProntoScripts page. Hope that was the right place. Then, I replied to the resulting email with the file com.randman.dune.zip, which contains a ProntoScript file that I used for communicating with Dune. I used it with three of the Dune HD Smart D1 Media Players. I haven't used it in a while though (maybe since mid to late 2010's), but worked well for me back then.
|
|
| Post 42 made on July 11, 2024 at 18:33 |
|
Joined: Posts: RC XP: | August 2001 13,103 302⭐︎ |
|
|
You may need to RC Mail Daniel to get it posted.
|
Lyndel McGee Philips Pronto Addict/Beta Tester
|
|
| Post 43 made on July 22, 2024 at 09:05 |
|
Joined: Posts: RC XP: | June 2003 435 10⭐︎ |
|
|
I forwarded the email to Daniel last Wednesday. I don't see it in the Files section yet.
|
|
 |
Before you can reply to a message... |
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now. |
Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.
|
|