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.

#201

Beitrag von DeltaMikeCharlie » Do 19. Sep 2013, 21:40

[quote="Mucki"]The manual command show the records.[/quote]
Can I get a copy of the results of your manual command?

You can do this in 2 ways: If you know how to use WGET, enter the manual command and direct the results to a file. If not, just copy the results from the browser and paste them into a text file using a text editor.

I'm not sure how to do this from an iPad. But a PC or Mac should be simple.

If you don't want to post the data to the forum, you can send me a PM and I will give you my email address.

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.

#202

Beitrag von Mucki » Do 19. Sep 2013, 22:48

[quote="DeltaMikeCharlie"]Can I get a copy of the results of your manual command?

You can do this in 2 ways: If you know how to use WGET, enter the manual command and direct the results to a file. If not, just copy the results from the browser and paste them into a text file using a text editor.

I'm not sure how to do this from an iPad. But a PC or Mac should be simple.

If you don't want to post the data to the forum, you can send me a PM and I will give you my email address.[/quote]


Here it is ....
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
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.

#203

Beitrag von DeltaMikeCharlie » Do 19. Sep 2013, 23:20

Found it! Some bad control characters are still getting through. I will fix it in the next release. Thanks for your help.

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.

#204

Beitrag von DeltaMikeCharlie » Fr 20. Sep 2013, 01:44

Unfortunately, this should be working because I have already "fixed" it. Because I did not have an INF to test with, I had to generate my own sample. Obviously, that was not good enough.

Are you able to post a copy of "Abkassiert und weiter so.rec.inf" and "Aktuelle Stunde - Das Informationsmagazin fuer NRW-2.rec.inf"?

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.

#205

Beitrag von Mucki » Fr 20. Sep 2013, 07:23

DeltaMikeCharlie hat geschrieben:Unfortunately, this should be working because I have already "fixed" it. Because I did not have an INF to test with, I had to generate my own sample. Obviously, that was not good enough.

Are you able to post a copy of "Abkassiert und weiter so.rec.inf" and "Aktuelle Stunde - Das Informationsmagazin fuer NRW-2.rec.inf"?


After work you get it from me.

Edit: Here it is ... :)
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von Mucki am Fr 20. Sep 2013, 19:05, insgesamt 1-mal geändert.
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.

#206

Beitrag von Sirius » Fr 20. Sep 2013, 21:47

Today I had a little time to test A022, my feedback:

- Channel list is empty (since A018) => loading symbol for 9 seconds
- Get no Records => loading symbol for 8 seconds
- Demo does not work here (all versions) => loading symbol for 50 seconds
- the log file is very big (23,7 MB)
+ the Timer list works

The browser loaded for xx seconds (rotating circle) but the list(s) are empty.
.

Edit1: Now the toppy does not react of any key of the remote control.
(also the VFD display stops scrolling and the clock of SmartEPG stands still)

Edit2: 30 minutes later the toppy reacts of the remote control keys (it was still on and I made no reboot while this time)
Edit3: tried TMA again (2 commands) and now it does not react on the RC keys again
Edit4: 25 minutes later the toppy reacts of the RC keys again.
.
.
Zuletzt geändert von Sirius am Fr 20. Sep 2013, 22:46, insgesamt 6-mal geändert.

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
jkIT
TFtool-Guru
TFtool-Guru
Beiträge: 3194
Registriert: Sa 10. Dez 2005, 18:26
Receivertyp: TF4000 & TF5000MP & SRP-2410

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

#207

Beitrag von jkIT » Fr 20. Sep 2013, 22:46

Sirius hat geschrieben:Today I had a little time to test A022

me too :wink: :
I had no issues with the A-022
The timeout, you set in the demo, was too short. I commented it out, then it worked.
Now the toppy does not react of any key of the remote control.
I have the same behavior (also with A-014). I am not sure, but maybe this only happens, if the telnet TAP is running.
30 minutes later the toppy reacts of the remote control keys (it was still on and I made no reboot while this time)
oh, I have never waited so long :D
The only thing that worked, was the off-Button on the remote, resulting in a file-check at the next start.
Gruß jkIT

CRP-2401; SRP-2410 (aD); TF5000MP (aD); TF4000PVR (aD); TFtool, aTMSremote (Autor)

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.

#208

Beitrag von Sirius » Fr 20. Sep 2013, 22:56

jkIT hat geschrieben:I have the same behavior (also with A-014). I am not sure, but maybe this only happens, if the telnet TAP is running.
Beside TMA runs 12 other TAPs, but the telnet TAP was not running today on my toppy.

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
jkIT
TFtool-Guru
TFtool-Guru
Beiträge: 3194
Registriert: Sa 10. Dez 2005, 18:26
Receivertyp: TF4000 & TF5000MP & SRP-2410

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

#209

Beitrag von jkIT » Sa 21. Sep 2013, 00:02

ok, I discard this theory :u:
Gruß jkIT

CRP-2401; SRP-2410 (aD); TF5000MP (aD); TF4000PVR (aD); TFtool, aTMSremote (Autor)

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.

#210

Beitrag von DeltaMikeCharlie » Sa 21. Sep 2013, 02:12

I have uploaded version A-023 to play with.
  • The most notable change is that jkIT has added channels and timers to the Demo. The date/time format for the timers can be customised in the language file.
  • In index.html, I have added some debug code that will report the number of bytes returned and also the error message if the JSON data is invalid.
  • I have also added the ability to rename and delete recording files using the API. There is no public test for this at the moment, but there is code in index.html that I used to test with.
@Mucki

Thanks for the INF files. Unfortunately, they worked perfectly on my system. Either I asked for the wrong files, or there is a big difference in our system firmware causing this problem. I'm sure that it is the character set / control code problem, I just can't seem to find it.

The next test would be very big, and I understand if you choose not to do it. But . . . . You could move all of your recordings into a subdirectory and then move them back one by one until you get failure on TMA1. Then post the INF for the last recording that you moved back (the one that caused the failure).

@Sirius

I have removed all of the heavy logging. I have also added another "escape" function to the channels listing. I hope that this helps. I also added the debugging messages to index.html as described above.

@jkIT & @Sirius

I also get freezing, but only after I compile a new version and then unload/reload the TAP a number of times. If I load once and then test, TMA1 runs fine for hours, no freezing, remote works OK, all as it should be. You will notice that at the telnet console, the "Alive" messages stop during a freeze. This means that the PVR firmware has stopped sending TAP_EventHandler() events to TMA1, basically, the PVR stops talking to me! I don't know why this happens. This is why I recommend power-cycling after each test.

Finally, I am going on holidays for about a week from tomorrow. I will have limited internet access over that time and I may be able to answer some questions, but I will not be able to deliver version updates.

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.

#211

Beitrag von Isarwolf » Sa 21. Sep 2013, 09:22

DeltaMikeCharlie hat geschrieben:I have uploaded version A-023 to play with.


It works well, also the Demo Version.

Thanks. I wish you nice holydays.
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
xyzzyx
TAPPortierer
TAP<font color=DarkRed>Portierer</font>
Beiträge: 2099
Registriert: Sa 6. Jun 2009, 18:35
Receivertyp: SRP-2100 (TMS), **** Duo²
Receiverfirmware: verschiedene
Kontaktdaten:

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

#212

Beitrag von xyzzyx » Sa 21. Sep 2013, 09:48

I do not want to test the TAP out right now.
But it sounds interesting.
Could anybody attach some screenshots, please?
MfG,
xyzzyx

Die Liste meiner portierten und meiner eigenen TAPs findet man hier

:bounce: Download: Homepage :bounce: Installieren: TAPtoDate :bounce: Beschreibungen: Topfield TAP-Seite :bounce:

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.

#213

Beitrag von Sirius » Sa 21. Sep 2013, 10:25

A023 - The Channel list works now.

Records and Demo seems to be not working here on the first quick test - but I had only 15 Minutes for testing, more this evening.

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

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.

#214

Beitrag von DeltaMikeCharlie » Sa 21. Sep 2013, 11:33

[quote="xyzzyx"]Could anybody attach some screenshots, please?[/quote]

There is nothing to see on the PVR, and the web page is a work-in-progress.

Here are 2 examples of the channels listing, as you can see, they contain the same information, but look very different. With the right HTML/CSS/JavaScript, you can do whatever you want.
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.

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.

#215

Beitrag von DeltaMikeCharlie » Sa 21. Sep 2013, 11:37

[quote="Sirius"]A023 - The Channel list works now.[/quote]
Progress at last!

Perhaps you could try the same test that I suggested to Mucki to see which recording is responsible. Do you see an error message on the standard web page for the recording listing?

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.

#216

Beitrag von Mucki » Sa 21. Sep 2013, 13:12

Sirius hat geschrieben:A023 - The Channel list works

Yes, this is correct ! :hello: also on the Demo !
The Demosite looks very good !!
Zuletzt geändert von Mucki am Sa 21. Sep 2013, 13:16, insgesamt 1-mal geändert.
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
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.

#217

Beitrag von Isarwolf » Sa 21. Sep 2013, 14:50

Demo Version

I just see that the weekday does not correspond with the date.

That Means "So. 21.09 17:12" must be Sa. Is wrong at all dates.

In this moment i can only change channels but I cannot start records.
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
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.

#218

Beitrag von Mucki » Sa 21. Sep 2013, 14:57

[quote="Isarwolf"]Demo Version

I just see that the weekday does not correspond with the date.

That Means "So. 21.09 17:12" must be Sa. Is wrong at all dates.

In this moment i can only change channels but I cannot start records.[/quote]


Ja, mit dem Datum hast du recht. Ich kann in der Demo alle Files, Unterverzeichnisse und die externe Platte sehen.
Auch das starten aus den Unterverzeichnissen klappt einwandfrei.
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.

#219

Beitrag von DeltaMikeCharlie » Sa 21. Sep 2013, 22:14

[quote="Isarwolf"]Demo Version
I just see that the weekday does not correspond with the date.
That Means "So. 21.09 17:12" must be Sa. Is wrong at all dates.[/quote]


I will need to refer to the author of the demo for this one. I suspect that the date function and the date array have different starting points.

The date array in the language file starts at Monday (ISO 8601). I suspect that the JavaScript date function uses Sunday as the first day of the week (normally US).

It would be easier to change the order in the language file I think.

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.

#220

Beitrag von Sirius » Sa 21. Sep 2013, 22:48

I don't know why - but now the demo works! :hello:
First time that I can see the demo (Records work also in the demo) - looks great!

But in the normal mode the Records are still not shown.
The error message is:
Listing recorded programmes

Deutsch: No records found. 0 bytes returned. Error: SyntaxError: JSON Parse error: Unexpected EOF.

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

Gesperrt

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