New TAP to manage the PVR using HTML/CSS/JavaScript.

TAPs für die SRP- und CRP-Serie
DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#181

Beitrag von DeltaMikeCharlie » So 15. Sep 2013, 07:39

[quote="Isarwolf"]I have three info-files in the Zip-file.[/quote]
Thanks for that.

Please try the new version (A-021) that I have just uploaded, I'm hoping that the reboots are fixed now. I am going to use your INF files so that I can test my codeset/character conversions.

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#182

Beitrag von Isarwolf » So 15. Sep 2013, 09:30

[quote="DeltaMikeCharlie"]

Please try the new version (A-021) that I have just uploaded. [/quote]


It works fine with A-021, also demo version.
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#183

Beitrag von DeltaMikeCharlie » So 15. Sep 2013, 09:42

[quote="Isarwolf"]It works fine with A-021, also demo version.[/quote]
That is good news. Thanks.

Online
Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1347
Registriert: Mo 12. Dez 2005, 19:14
Receivertyp: SRP2100, PVR5000, Vu+ Ultimo4K mit DVB-S2 + DVB-T2
Receiverfirmware: Die Aktuelle
Wohnort: Grafschaft

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#184

Beitrag von Mucki » So 15. Sep 2013, 10:36

I have also no Reboots but no Records are listing.
Gruß Mucki :)

Taps: SE, TMSArchiv, V!deotext, Callmonitor, lost+found, TMSRemote, TimeShiftSaver, NiceDisplay, FastSkip, TMSCommander, Backupsettings, FreeSatEit_TMS, TMSMount, Inf+, TMA1

Neu Ultimo4K mit SmartEPGVu+, Autotimer, AutomaticBackup, EMC, Camofs, CoolTV, AdvancedLibrary, VWeather3.
Skin: IFlatHD mit Eisman Pro Features

Benutzeravatar
Sirius
Vollzeit-Guru
Vollzeit-Guru
Beiträge: 2429
Registriert: So 8. Apr 2007, 10:05
Receivertyp: SRP-2100(TMS) / TF5500
Receiverfirmware: 08.Apr.2014 / 22.Dez.2011 PHUD
Wohnort: Hessen

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#185

Beitrag von Sirius » So 15. Sep 2013, 11:05

Thank you for the A021.

The good news:
- No reboots with this version.
- The records are now listed in the log (but only in the log)

When I pressed the Records button the VFD-display stops scrolling (TMSDisplay tap) and the seconds of the clock (SmartEPG) stands still for 30 - 40 seconds. (because of the big logging as you wrote)
No more reboot.

But the Records list in the browser is still empty.

Here is my shorted log (beginning and end is original)
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

SRP-2100(TMS) seit 12.12.2009 ... Firmware: 08.Apr.2014 (1.16.00) | WD20EURS | Harmony ONE
XStartTAP_TMS ==> TimerDiags | AcadeRC | TMSRemote | QuickPlay | FastSkip | TMSCommander | SmartEPG | SmartFiler | TMSDisplay | CallMonitor | RSSRP

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#186

Beitrag von Isarwolf » So 15. Sep 2013, 11:16

I have twenty one directories from this six cannot be opened.
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#187

Beitrag von DeltaMikeCharlie » So 15. Sep 2013, 11:25

[quote="Sirius"]The records are now listed in the log (but only in the log)[/quote]
I suspect that this issue is related to the overhead required to create the extensive logging. It could also be related to some characters that have not been handled correctly. I will remove the extra-super-improved-mega-logging(TM) and post another version soon, probably tomorrow (my time).
[quote="Isarwolf"]I have twenty one directories from this six cannot be opened.[/quote]
What do you see when you try to open the ones that will not open? What does your log show for the ones that will not open?

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#188

Beitrag von Isarwolf » So 15. Sep 2013, 12:26

TMA
Listing recorded programmes

Deutsch: 37 records found.


Demo
an error occured: maybe Toppy is off

Deutsch: 37 records found.
(37 is the number of directories and files)

This is announced if a directory can not be opened

An extract of log file I appended. The name of directory is "Verschiedenes"
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#189

Beitrag von Isarwolf » So 15. Sep 2013, 12:47

I have found the malefactor.
It is a file named "Dämmfieber". If a delete this i have no problems "Verschiedenes" to open.

I have added a log.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#190

Beitrag von DeltaMikeCharlie » So 15. Sep 2013, 22:43

[quote="Isarwolf"]I have added a log.[/quote]
Thanks for the log files.

I have traced the issue to the character set in the event name field in the INF. I need to make sure that this field, and others like it, are all converted to UTF8.

I will fix it over the next few days when I get some free time.

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#191

Beitrag von DeltaMikeCharlie » Di 17. Sep 2013, 22:36

Version A-022 is now available.

I have updated the recordings JSON data so that all of the text fields are correctly processed (I hope) so that unwanted control codes (code page) are filtered, extended characters are translated to UTF8 and the wanted control codes (cr, lf, tab, etc) are "escaped".

I used the log files posted to manually edit an INF on my PVR to contain the control codes that caused the error and they appear to be fixed. I also used the INF files posted directly on my PVR and they seem fine too.

One thing: The PVR stores the event title and description as a single text block with an offset to the beginning of the description. There is a small chance that the event description characters won’t translate to UTF8 correctly IF it expected to use the code page data from the preceding title field. We will have to wait and see.

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#192

Beitrag von Isarwolf » Mi 18. Sep 2013, 11:34

DeltaMikeCharlie hat geschrieben:Version A-022 is now available.


I have installed A-022 and it works well.
With the Demo-Version I can not open all directories.


The translation of "One Time" is "Einmalig"

Thanks and best regards
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#193

Beitrag von DeltaMikeCharlie » Mi 18. Sep 2013, 22:36

[quote="Isarwolf"]With the Demo-Version I can not open all directories.[/quote]
Are you able to open all directories with the normal recordings listing? For the directories that don?t work with the Demo, what do you see when you type in the command manually?

http://<PVR IP>:8000/api?funtion=files&action=get!dir=/DataFiles/ZZZZZZ&

[quote="Isarwolf"]The translation of "One Time" is "Einmalig"[/quote]
Fixed in the next version.

Online
Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1347
Registriert: Mo 12. Dez 2005, 19:14
Receivertyp: SRP2100, PVR5000, Vu+ Ultimo4K mit DVB-S2 + DVB-T2
Receiverfirmware: Die Aktuelle
Wohnort: Grafschaft

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#194

Beitrag von Mucki » Do 19. Sep 2013, 07:12

With the new Version I also have no records.
Gruß Mucki :)

Taps: SE, TMSArchiv, V!deotext, Callmonitor, lost+found, TMSRemote, TimeShiftSaver, NiceDisplay, FastSkip, TMSCommander, Backupsettings, FreeSatEit_TMS, TMSMount, Inf+, TMA1

Neu Ultimo4K mit SmartEPGVu+, Autotimer, AutomaticBackup, EMC, Camofs, CoolTV, AdvancedLibrary, VWeather3.
Skin: IFlatHD mit Eisman Pro Features

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#195

Beitrag von DeltaMikeCharlie » Do 19. Sep 2013, 10:26

@Mucki: Can you also try the manual command to see if the problem is restricted to one or more directories?

What browser are you using? Have you tried a different browser?

Also, are you using the standard web page or the Demo?

My theory is that you are still getting data, but the JSON format is invalid because of character formatting.
Zuletzt geändert von DeltaMikeCharlie am Do 19. Sep 2013, 10:30, insgesamt 1-mal geändert.

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#196

Beitrag von Isarwolf » Do 19. Sep 2013, 10:34

[quote="DeltaMikeCharlie"]Are you able to open all directories with the normal recordings listing? For the directories that don?t work with the Demo, what do you see when you type in the command manually?
[/quote]


I think it is the numbers of files if a directory has more than 32 files it will not be opened with Demo Version.

This I can see if the directory will not be opened.
an error occured: maybe Toppy is off

Deutsch: 17 records found.

The command does not function.
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#197

Beitrag von DeltaMikeCharlie » Do 19. Sep 2013, 10:45

I had a similar error with the demo but it seemed to fix itself. At the time, I thought that it was a timeout issue.

The Demo uses jQuery and I don’t know that package very well. It could be that some more fine-tuning is required. I will need to speak to the author of the Demo.

Benutzeravatar
Isarwolf
Vielantworter
Vielantworter
Beiträge: 825
Registriert: Fr 8. Dez 2006, 17:19
Receivertyp: TF5200PVRC 08.12.2006
CRP 2401 C+ 21.05.2011
CRP 2401 C+ 24.02.2017
Receiverfirmware: TF5200 01.12.2006
CRP 2401 C+ 42031_2012Sept14
Wohnort: KDG Oberbayern

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#198

Beitrag von Isarwolf » Do 19. Sep 2013, 10:57

[quote="DeltaMikeCharlie"]At the time, I thought that it was a timeout issue.
[/quote]


That is also my idea. But I am no computer expert.
I have made more test and found, if there are more than 30 files, sometimes it opens sometimes not.
CRP-2401CI+: Autostart: 'TimerDiags V3.4g' 'AutoExtender' 'SmartEPG_TMS V7.0e' 'Automove V2.1 Beta 3' 'BetterVideoText V0.33' 'FastSkip TMS 3.7' 'INFplus 1.2 Beta 3' 'Liza V1.6' 'QStart 1.2' 'RebuildNAV/RecCopy V5.3' 'SmartFiler_TMS 3.0' 'TMSDisplay V2.3a' 'TMSRemote V4.1' 'Webcontrol 2.0' 'lost+found V2.0'
TF5200: | iTina 1.04 L3 | Improbox t3 a.5 | Filer 2.30 |

DeltaMikeCharlie
WebController
WebController
Beiträge: 469
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#199

Beitrag von DeltaMikeCharlie » Do 19. Sep 2013, 11:37

It may not be the actual number of files. Perhaps it depends on the length of the programme names and programme descriptions because this will change: 1) The amount of data returned and 2) The time required to build the JSON data response.

It may also depend on your browser and platform. Perhaps certain browsers/platforms allocate more/less buffer space to JSON objects.

These are actually very good results. Because we are still at the proof-of-concept stage, these results have taught us that we may need to be very careful with timeouts and things like that. Perhaps the files data needs to be returned in multiple smaller blocks, for example.

Online
Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1347
Registriert: Mo 12. Dez 2005, 19:14
Receivertyp: SRP2100, PVR5000, Vu+ Ultimo4K mit DVB-S2 + DVB-T2
Receiverfirmware: Die Aktuelle
Wohnort: Grafschaft

AW: New TAP to manage the PVR using HTML/CSS/JavaScript.

#200

Beitrag von Mucki » Do 19. Sep 2013, 19:38

[quote="DeltaMikeCharlie"]@Mucki: Can you also try the manual command to see if the problem is restricted to one or more directories?

What browser are you using? Have you tried a different browser?

Also, are you using the standard web page or the Demo?

My theory is that you are still getting data, but the JSON format is invalid because of character formatting.[/quote]

Hello,
The manual command show the records. I'm using Safari or Atomic.
With the standard and the demo i get no records.
Gruß Mucki :)

Taps: SE, TMSArchiv, V!deotext, Callmonitor, lost+found, TMSRemote, TimeShiftSaver, NiceDisplay, FastSkip, TMSCommander, Backupsettings, FreeSatEit_TMS, TMSMount, Inf+, TMA1

Neu Ultimo4K mit SmartEPGVu+, Autotimer, AutomaticBackup, EMC, Camofs, CoolTV, AdvancedLibrary, VWeather3.
Skin: IFlatHD mit Eisman Pro Features

Gesperrt

Zurück zu „SRP/CRP TAP-Bereich“