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

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

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

#221

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

Deutsch: No records found. 0 bytes returned. Error: SyntaxError: JSON Parse error: Unexpected EOF.
Well, at least we have a clue now. It looks like TMA1 is not returning any data to the standard page, but it is returning data to the Demo.

I will think about it in a week. Time for some more logging on the TAP!

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.

#222

Beitrag von Sirius » Sa 21. Sep 2013, 23:59

Test of the demo (looks same as Isarwolf)

+ Channel switching works
+ Show Timer works
- Starting playback of records does not work (the file is marked blue, but no playback)
+ Sorting Records by Name, Size, Date, Channel works (thanks for this feature!) :up:

Enjoy your holidays
Zuletzt geändert von Sirius am So 22. Sep 2013, 00:02, insgesamt 1-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

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

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

#223

Beitrag von DeltaMikeCharlie » Sa 28. Sep 2013, 09:47

I have uploaded version A-024 to experiment with.

There are not a lot if visible changes to the default interface in this release.
  • The API has been updated to allow timers to be created/modified/deleted. The GUI has not been updated yet, but there hidden code in index.html that proves that these new features work.
  • The config page has been updated to set a default favourites group. If this value is set, then the default interface only returns channels from the selected group in the order that they are listed within the group.
    /api?function=channels&action=get!favourites=MyFavs&
  • The channels JSON response has been updated to indicate the favourites group used, if applicable.
  • The channels JSON response has also been updated to return a "logoid" property that will be used in an upcoming logo feature.
  • The language file has been changed as well as a small amount of code changed to adjust to the way that JavaScript uses non-ISO day numbers.
jkIT has done some more wonderful work on the Demo.
  • The Demo interface has a new Remote control page. All of the button values have not been defined yet, and those buttons appear slightly dimmer. (This is because I did not give jkIT all of the API key codes!)
  • The Demo files list now has formatted file sizes and can start playback from the beginning of a recording.
  • Error messages have also been added.
I am in the process of writing a configuration TAP that, amongst other things, will search for logo files in LIL and JPEG format and write the images into a single PNG image sprite file and associated CSS. Once this is complete, the Channel buttons can have logos on them (again) and the timers/recordings can also show logos where appropriate.

A lot more work needs to be done on logos, especially with transparency. It may just be the Australian LIL logo pack that I have, but none of the logos that I have tried appear to be transparent. I may also consider searching for PNG as well as LIL and JPEG. Because JPEG does not support transparency, I may also have to implement a "transparent colour" feature to artificially make a certain colour appear to be transparent.

Be careful and power-cycle your PVR after use.

Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1355
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.

#224

Beitrag von Mucki » Sa 28. Sep 2013, 10:31

Wow ! Great !!!! :shock:
Thank You !
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: 472
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

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

#225

Beitrag von DeltaMikeCharlie » So 29. Sep 2013, 09:38

I have been working on creating/editing/deleting timers via the GUI and I started to think: How many people have to manage timers on multiple PVRs?

I personally have multiple PVRs, that's why I built the "remote units" feature into TMSTimer. I also know at least one person that has 3 PVRs.

First question: How many people have multiple Topfield PVRs in their house?
Second question: Would it be useful to be able to copy/move timers between PVRs?

Firstly, I'm thinking of adding a new setting called "pvrname". It could be something like "Living Room" or "Children's Room" or "Upstairs", etc, and would appear in the browser's title.

Secondly, I'm thinking about adding the ability to save a timer into a cookie on the local pc/tablet/smartphone. If you have a browser session open to two PVRs, then you could use that cookie to transfer a timer between the two. Naturally, there would need to be some work to ensure that the correct channel, etc, was chosen because there is no guarantee that the services lists are identical.

Perhaps it does not even have to be a cookie, just an area to copy/paste the raw JSON data between browser windows.

Perhaps the two TMA1 TAPs could talk to each other and create a consolidated list to be presented to the browser?

Is anybody interested in features like these?

Benutzeravatar
Twilight
Zauberküchencheflehrling mit extra Butter
Zauberküchencheflehrling mit extra Butter
Beiträge: 64941
Registriert: Fr 9. Dez 2005, 09:17
Receivertyp: 1 x SRP 2100(TMS) TFIR und .1 x SRP 2410 M
Wohnort: Wien Umgebung

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

#226

Beitrag von Twilight » So 29. Sep 2013, 09:46

i have two in use :)

twilight

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.

#227

Beitrag von Isarwolf » So 29. Sep 2013, 10:02

Demo Version

The remote control is not correct in Opera and Firefox only in Chrome.
The keys V+ and V- are inverted. The function is correct.
All keys are working correct.
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
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.

#228

Beitrag von Sirius » So 29. Sep 2013, 12:02

DeltaMikeCharlie hat geschrieben: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).
I made this with the A023 to see when TMA shows the 'Records' list again (the demo works with all files).
When I moved files beginning with Z* until O* into a subdirectory, then TMA shows the Records list.
I think TMA does not like some of the 'Odysseus' files (see attachement, the episode 8_12 is OK).


Then I moved back some record files into root and looked if the Records list works.
I get a records list up to 270 records. Then I had problems, sometimes I had no records list, somtimes it was ok (without changes of the files).

Code: Alles auswählen

A023:
Deutsch: 215 records found. 444669 bytes returned. Error: None.
Deutsch: 216 records found. 446741 bytes returned. Error: None.
Deutsch: 220 records found. 455057 bytes returned. Error: None.
Deutsch: 232 records found. 479262 bytes returned. Error: None.
Deutsch: 248 records found. 511563 bytes returned. Error: None.
Deutsch: 249 records found. 513414 bytes returned. Error: None.
Deutsch: 255 records found. 525222 bytes returned. Error: None.
Deutsch: 265 records found. 542848 bytes returned. Error: None.
Deutsch: 263 records found. 539696 bytes returned. Error: None.
Deutsch: 270 records found. 554452 bytes returned. Error: None.
Deutsch: 270 records found. 554452 bytes returned. Error: None.
EDIT: Wrong - the files are OK, see Post #230!
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von Sirius am So 29. Sep 2013, 13:39, insgesamt 3-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
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.

#229

Beitrag von Isarwolf » So 29. Sep 2013, 12:25

[quote="Sirius"]
I think TMA does not like some of the 'Odysseus' files (see attachement, the episode 8_12 is OK).[/quote]


I have all twelve records of Odysseus in a directory and I have no problems.


That is the name of file
Odysseus (10_12) - 2013-07-04 21-40.rec
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
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.

#230

Beitrag von Sirius » So 29. Sep 2013, 13:34

Isarwolf hat geschrieben:I have all twelve records of Odysseus in a directory and I have no problems.

You are right Isarwolf. :up:

Now I have removed all records to a subdirectory.
And leave only the Odysseus files in Datafiles and the Records list works now with these files. :eek:

Sorry for my wrong alarm.
Zuletzt geändert von Sirius am So 29. Sep 2013, 14:08, insgesamt 1-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: 3207
Registriert: Sa 10. Dez 2005, 18:26
Receivertyp: TF4000 & TF5000MP & SRP-2410

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

#231

Beitrag von jkIT » So 29. Sep 2013, 13:38

Isarwolf hat geschrieben:Demo Version
The keys V+ and V- are inverted. The function is correct.
All keys are working correct.

Thanks, I wrested the keys in all three remote-layouts
The remote control is not correct in Opera and Firefox only in Chrome.
Can you give more details on that?
Gruß jkIT

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

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.

#232

Beitrag von Isarwolf » So 29. Sep 2013, 15:01

jkIT hat geschrieben:
Can you give more details on that?


I have made a screenshot.
I have found also the reason. I have scaled the site to 120%. (The eyes are old). If I go back to 110% no problems.

I have just tested it on the tablet and there it is also not correct, but I have no possibility to change the scaling.

Zusatz II

Strange, Only with 100% it will not be shown correct. From 150% to 200% and more the remote control will be shown correct. :confused:
Du hast keine ausreichende Berechtigung, um die Dateianhänge dieses Beitrags anzusehen.
Zuletzt geändert von Isarwolf am So 29. Sep 2013, 17:10, insgesamt 2-mal geändert.
Grund: Zusatz
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
Wolfman
Ewige Jungfrau, Schachtelsatzkönigin und missverstandener Aushilfsexbajuware
<span title=Stets unschuldige(r) Anheizergeselle(in)>Ewige Jungfrau, Schachtelsatzkönigin und missverstandener Aushilfsexbajuware</span>
Beiträge: 17377
Registriert: Sa 7. Okt 2006, 04:05
Receivertyp: SRP2410M, SRP 2410,Reserve 2410 M SE,Halde TMS,TF5500,TF6000
Receiverfirmware: s. Sig
Wohnort: Ba-Wü (OAK)

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

#233

Beitrag von Wolfman » So 29. Sep 2013, 19:18

DeltaMikeCharlie hat geschrieben:

First question: How many people have multiple Topfield PVRs in their house?


I have two in use
Second question: Would it be useful to be able to copy/move timers between PVRs?
In the Past I would have found that useful From Time to Time ;)
SRP 2410M FW 10.01.2013 FastSkip, SmartEPG, RebuildNav, ND_TMS, Timerdiags, SmartFiler_TMS, lost+found, SmartDecrypter, TMSRemote
TMS , 2410 M SE stille Reserve
SRP 2410 FW 02/13 FastSkip, SmartEPG, RebuildNav, ND_TMS, Timerdiags, dbFit, SmartFiler_TMS
Der Fehler sitzt zwar meist vor dem Bildschirm, aber
Bitte nicht alles, was ich verzapfe tierisch ernst nehmen :o

Benutzeravatar
Mucki
Quelle des Wissens
Quelle des Wissens
Beiträge: 1355
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.

#234

Beitrag von Mucki » So 29. Sep 2013, 19:21

I have one in use. :D :
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
Twilight
Zauberküchencheflehrling mit extra Butter
Zauberküchencheflehrling mit extra Butter
Beiträge: 64941
Registriert: Fr 9. Dez 2005, 09:17
Receivertyp: 1 x SRP 2100(TMS) TFIR und .1 x SRP 2410 M
Wohnort: Wien Umgebung

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

#235

Beitrag von Twilight » So 29. Sep 2013, 19:40

Mucki hat geschrieben:I have one in use. :D:


that was not the question :D

twilight

Benutzeravatar
jkIT
TFtool-Guru
TFtool-Guru
Beiträge: 3207
Registriert: Sa 10. Dez 2005, 18:26
Receivertyp: TF4000 & TF5000MP & SRP-2410

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

#236

Beitrag von jkIT » So 29. Sep 2013, 20:59

Isarwolf hat geschrieben:I have made a screenshot.
I have found also the reason. I have scaled the site to 120%. (The eyes are old). If I go back to 110% no problems.

Thank you, this helped a lot.

I uploaded a patch with the files, which should fix the layout problem as well as the wrested buttons.
Gruß jkIT

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

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.

#237

Beitrag von Isarwolf » So 29. Sep 2013, 21:26

jkIT hat geschrieben:Thank you, this helped a lot.

I uploaded a patch with the files, which should fix the layout problem as well as the wrested buttons.


Many thanks.
Now it works on Laptop as well as Tablet.
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: 472
Registriert: Di 7. Mai 2013, 05:11
Wohnort: Australia

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

#238

Beitrag von DeltaMikeCharlie » So 29. Sep 2013, 21:59

Sirius hat geschrieben:Now I have removed all records to a subdirectory.
And leave only the Odysseus files in Datafiles and the Records list works now with these files.

One thing that I noticed is that you have 270 recordings in your DataFiles directory. I do not know about most people, but for me, this is a lot.

Perhaps there is a size limit or timeout that is coming into effect here.

I think that I will need to replicate 270+ recordings on my PVR to see if I can discover where this limit may be.

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.

#239

Beitrag von Sirius » So 29. Sep 2013, 23:11

I had about 330 records in Datafiles (see #114) und had since some versions of TMA no Records list.

Then I reduced the number of records to (half) about 165 in Datafiles and the Records list works again.

Then I increased the number of records step by step up to 270 and sometimes it works, sometimes not
When not then with the error message:
"Deutsch: No records found. 0 bytes returned. Error: SyntaxError: JSON Parse error: Unexpected EOF."


(next weekend I will move my episodes into subdirectories, as you suggested in #115)
.
Zuletzt geändert von Sirius am Mo 30. Sep 2013, 07:12, 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

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

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

#240

Beitrag von DeltaMikeCharlie » Mo 30. Sep 2013, 14:00

I have tried to recreate the problem on my PVR.

I have created a subdirectory with 700 files in it returning >1MB of JSON data and I can not get TMA1 to fail.

I have tried FireFox, IE, Opera and Safari and all list the 700 recordings correctly.

Some responses have taken >12 seconds and 1 even took almost 5 minutes (while I was copying files) and it still worked OK.

My test was made copying the same recording 700 times, so it may not have been 100% accurate.

I do not intend to abandon the investigation, but I think that the number of files and the quantity of data are now less likely to be contributing factors.

Gesperrt

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