Project

General

Profile

Actions

Support #1620

open

URL to page where a timer can be created

Added by Aikhjarto about 11 years ago. Updated about 11 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/16/2013
Due date:
% Done:

0%

Estimated time:
0:30 h

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

Actions #1

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?

Actions #2

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

Actions

Also available in: Atom PDF