INTERACT FORUM

More => Old Versions => JRiver Media Center 18 for Windows => Topic started by: audioriver on February 15, 2013, 08:48:13 am

Title: LAV tray icons show up during import (thumbnail creation)
Post by: audioriver on February 15, 2013, 08:48:13 am
During media import, all LAV tray icons keep popping up in my system. I'm not sure if it delays the process or not, but it'd be nice to not have them show up, while still keeping the option enabled for all other purposes.
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: JimH on February 15, 2013, 09:04:49 am
Did you set LAV yourself?  It shouldn't do that if you choose Red October Standard or HQ?
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: audioriver on February 15, 2013, 09:06:48 am
I use ROHQ but also have LAV separately installed, with the tray option enabled.
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Matt on February 15, 2013, 09:11:47 am
I'm a little confused by this.

ROHQ should auto-configure LAV, and a standalone install and settings won't matter.

Are you sure you're not in 'Custom' video mode?
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: audioriver on February 15, 2013, 09:21:29 am
Did a new install of MC in a fresh Windows installation, and started using it in Custom video mode. Started importing my audio/video files, but stopped the process and imported my previous library backup. Now, on both RO/ROHQ mode, the icons show up. I'm not sure if the icons showed up in RO/ROHQ before the import process, hadn't tried it.
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Matt on February 15, 2013, 09:27:03 am
We could auto-configure LAV with a call to ILAVVideoSettings::SetTrayIcon(FALSE), but I'm sort of surprised we would need to when you're not using Custom video mode.

Nevcairiel, if you happen to see this, do you have any ideas?
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Hendrik on February 15, 2013, 10:42:00 am
Hm, in what order do you call the things?
The tray icons are created when the filter joins the graph, maybe thats before you configure it?
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Matt on February 15, 2013, 10:51:06 am
Hm, in what order do you call the things?
The tray icons are created when the filter joins the graph, maybe thats before you configure it?

I believe it's like this:
Create
Add to graph
Configure
Connect

We never talk to filters before putting them in the graph since our code basically merges those two steps.
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Hendrik on February 15, 2013, 12:14:31 pm
I see. That explains why it creates the tray icon there. I will make it hide the tray icon again when runtime config mode is engaged, a bit ugly, but what can you do. I want to show the icon when the filters enter the graph, and not only when they connect to pins or somehting like that.
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Matt on February 15, 2013, 12:16:57 pm
We could also special case LAV filter creation, so that it gets configured (or maybe just the tray icon setting is called) before it's put in the graph?
Title: Re: LAV tray icons show up during import (thumbnail creation)
Post by: Hendrik on February 15, 2013, 12:43:15 pm
You would just need to enable runtime config before its put into the graph, and it loads the default settings, which have the tray icon disabled. Thats a cleaner solution for sure, but i'll add the code that hides the tray icon when runtime is enabled anyway, because its supposed to reset everything to defaults, and that includes this. Of course if no icon was created, it won't matter.