Jump to content

Can't get selected File in OSD using Commands.ini


FEFX

Recommended Posts

Hi,

 

when I try to get the filename of the selected osd-item, as described in com-interface-documentation,

I always get the first file in my recordings-folder - it does not matter which recording is actually selected.

 

I'm using Dvb script:

 

[RecCmd]

Test=ShowFilename.vbs

 

 

My vbs-script "ShowFilename.vbs", taken from com-interface-documentation:

 

sub main(Filename)

osd.showinfoinTVpic Filename,5000

end sub

 

 

As an example, I select a recording called "Auf den Punkt", hit commands, select "Test"

A message appears: "D:\Aufnahmen\11-21_12-12-00_TW1_ORF SPORT PLUS.ts" which is the first file in D:\Aufnahmen when viewing files by name.

 

The message SHOULD have said: "D:\Aufnahmen\12-01_16-45-01_NDR FS MV_Auf den Punkt.ts"

 

 

What is wrong here?

 

Thanks

Felix

Edited by FEFX
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...