DVBViewer plugin
Posted: November 26th, 2007, 12:19 am
This plugin can be used to obtain DVBViewer status. Everything is achieved using just one function:
$dll(DVBViewer,9,<queries>,<match_string>)
where <queries> is a semi-colon separated list of DVBViewer query strings. The plugin will try each query string in turn and display the first one that is non-null and not matching <match_string>. The query strings are just strings where identifiers starting with # map to DVBViewer properties. Use dvbvspy and the GetTags button to see the available properties.
Examples:
$dll(DVBViewer,9,#selecteditem,)
Current OSD selection.
$dll(DVBViewer,9,#currentwindow,)
Current OSD window.
if $dll(DVBViewer,9,#selecteditem,) > "" Then GotoScreen(19)
Go to screen 19 if OSD is active.
$dll(DVBViewer,9,#TV.Now.title;#Media.title,)
Title of the current TV event (if watching TV) or media file.
$dll(DVBViewer,9,#TV.Now.percentage;#percentage,-1)% of $dll(DVBViewer,9,#TV.Timeshift.duration;#TV.Now.duration,)
Percentage and total time for both live TV and recordings.
$dll(DVBViewer,9,[Rec] #Recording.Status;,[Rec] inactive)$dll(DVBViewer,9,#channelname,)
Channel name, preceded by "[Rec] " if a recording is in progress.
$dll(DVBViewer,9,<queries>,<match_string>)
where <queries> is a semi-colon separated list of DVBViewer query strings. The plugin will try each query string in turn and display the first one that is non-null and not matching <match_string>. The query strings are just strings where identifiers starting with # map to DVBViewer properties. Use dvbvspy and the GetTags button to see the available properties.
Examples:
$dll(DVBViewer,9,#selecteditem,)
Current OSD selection.
$dll(DVBViewer,9,#currentwindow,)
Current OSD window.
if $dll(DVBViewer,9,#selecteditem,) > "" Then GotoScreen(19)
Go to screen 19 if OSD is active.
$dll(DVBViewer,9,#TV.Now.title;#Media.title,)
Title of the current TV event (if watching TV) or media file.
$dll(DVBViewer,9,#TV.Now.percentage;#percentage,-1)% of $dll(DVBViewer,9,#TV.Timeshift.duration;#TV.Now.duration,)
Percentage and total time for both live TV and recordings.
$dll(DVBViewer,9,[Rec] #Recording.Status;,[Rec] inactive)$dll(DVBViewer,9,#channelname,)
Channel name, preceded by "[Rec] " if a recording is in progress.