Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

DVBViewer and LCDSmartie

General discussion about LCD Smartie.

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351

Post Reply
dcologne
Posts: 8
Joined: October 7th, 2008, 10:41 am

DVBViewer and LCDSmartie

Post by dcologne »

Hallo ,

I am working with LCDSmartie for a few days and it is realy nice.
But using LCDSmartie there comes up an problem.
I am using a program named DVBViewer for watching TV which
comes up with his own plugin to drive my LCD.
Every time i am running DVBViewer and LCDSmartie at the same time
there is a mix of both on the LCD. (normal)

IS there a possibility to adjust it in the LCDSmartie :?:

Something like this :

If DVBViewer.exe = 1 then stop LCDSmartie action

If DVBViewer.exe = 0 then start LCDSmartie action

Is this possible and if yes what is the correct syntax for that :?:


Thank you and my regards
dcologne
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

You could do this.

Search the forum for a plugin that can check if a process is running, I think it was caller process lister.
Then enable an empty screen, assign it to theme 2 and set it as sticky then make an action to go to that theme if your program is running and go to the next theme if your program is not running.
dcologne
Posts: 8
Joined: October 7th, 2008, 10:41 am

Post by dcologne »

Hallo,

thank you for your answer.
I will test this and then report the results.

My regards
dcologne
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

No problem!
Good luck and please share the results.
dcologne
Posts: 8
Joined: October 7th, 2008, 10:41 am

Post by dcologne »

Hallo,

ok, I have loaded this plugin and it is running. I can see all running
processes in my display.
But I am not a expert in programming. Can you help me with
the correct syntax. The condions are:

a) process to take care is "DVBViewer"

b) If DVBViewer is running then show an empty screen
(No LCDSmartie action)

c) If DVBViewer is not running show screen 1
(normal LCDsmartie action, in my case
Screen 1 to 5)

Can you give me the exact syntax for that and where to put exactly.

Also can you explain to me what is the difference between
Screeens and Themes.What can one do with Themes :?:


Thank you and my regards
dcologne
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

you have to insert a blank screen, let's say screen number 20

then insert the following action in the Actions TAB:

IF $dll(processes,2,DVBViewer,1) > 0 then GotoScreen(20)

If DVBViewer is running then Smartie will show screen 20, an empty screen.


To answer your other question:
You can assign Screens to Themes and then switch between Themes according to your needs. This way you can have a gaming theme, a standby theme and a DVB theme, all showing stats accordingly.
You can use the processes plugin to switch themes.
Because a theme can have more Screens you can cycle trough information rather than having just one screen assigned to an action.

You'll figure it out!
dcologne
Posts: 8
Joined: October 7th, 2008, 10:41 am

Post by dcologne »

Hallo ,

thank you for your help but it is not working :cry:

I am using Windows Vista, is there something special about that :?:

My regards
dcologne
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

What do you mean it's not working?
You get garbled text on the LCD or is Smartie not jumping to the empty screen?
bluesign2k
Posts: 2
Joined: October 2nd, 2008, 3:21 pm

Post by bluesign2k »

caesar wrote:...then insert the following action in the Actions TAB:

IF $dll(processes,2,DVBViewer,1) > 0 then GotoScreen(20)

If DVBViewer is running then Smartie will show screen 20, an empty screen...
I tried to do something similar to this last night, I found that some of the instructions are not quite as they are documented. For example:

$dll(processes,2,myprocess,)
gives the same response as
$dll(processes,1,myprocess,)

To do what dcologne is trying to do, I had to use:
$dll(processes,3,myprocess,)

Therefore I think if you use the following it shoud do what you want:
IF $dll(processes,3,DVBViewer,) > 0 then GotoScreen(20)
dcologne
Posts: 8
Joined: October 7th, 2008, 10:41 am

Post by dcologne »

Hallo ,

and here are the results of the german jury,
caesar, bluesign2k and dcologne are 12 points :D

So, what I did :

1) assign an empty screen (20) and set it to "sticky"

2) actions:

If $dll(processes,3,DVBViewer,) = 0 then GotoScreen(2)
(normal Smartie action)

If $dll(processes,3,DVBViewer,) = 0 then DisableScreen(20)

If $dll(processes,3,DVBViewer,) = 1 then EnableScreen(20)

If $dll(processes,3,DVBViewer,) = 1 then GotoScreen(20)

If one do it like this it is working.


But what I have found is that there is a very special behaviour if you
use LCDSmartie together with Windows-Vista.

First case : The UAC in Windows is switched to on.
You can make your own adjustments in LCDSmartie and
everything is fine.

After that you switch the UAC in Windows to off and reboot your computer.

This results in you will loose your adjustments which you have made before in LCDSmartie and LCDSmartie comes like you have used it
the first time without any adjustments of your own.

The config.ini comes up totally different in both cases.

So, I think it would be much better for Windows-Vista user if one
could install LCDSmartie like you do when you install a normal
software.

But anyway, it is working now and I like you say thank you to all
helping hands.

My regards from Germany
dcologne
Post Reply