Support #1620
openURL to page where a timer can be created
0%
Description
Hi folks,
I'm currently programming an brief e-mail notification script that sends me a mail when something interesting is found in my local epg data. For those who are curious: https://github.com/Aikhjarto/epgnotify
In such a notification mail I would like to have a link to my vdradmin-am installation in order to directly set the corresponding timers. So, the link should directly open a prefilled timer_new_form or vdradmin-am. When the recording is set, the overview page for all timers should be displayed.
Up to now, I reverse engineered that this link needs do look like http://my.host.com:8001/vdradmin.pl?aktion=timer_new_form&epg_id=13253&vdr_id=7&referer=Li92ZHJhZG1pbi5wbD9ha3Rpb249cHJvZ19zdW1tYXJ5
My question is: what do the values of epg_id, vdr_id and referer need to be to get a correctly prefilled timer_new_form?
best regards
Aikhjarto
Updated by Aikhjarto about 11 years ago
Reading the sourcecode, i figured out that there is a channel_id next to the vdr_id available as parameter. A link like
http://vdradmin:vdradmin@linux:8001/vdradmin.pl?aktion=timer_new_form&epg_id=6227&channel_id=C-1-13-28014&referer=Li92ZHJhZG1pbi5wbD9ha3Rpb249dGltZXJfbGlzdA== with "referer" beeing a base64 encoded version of the string "./vdradmin.pl?aktion=timer_list" works pretty well.
However, with this, I do not get the navigation frame which is usually on the left. Any suggestion how the link should look like to include this navigation bar?
Updated by amair about 11 years ago
Hi,
this won't work at the moment because navigation and content are located different frames in a frameset.
You need to modify the VDRAdmin-AM sources to get that feature. If you have a working patch I can include it if you like.
Best regards,
Andreas