INTERACT FORUM
More => Old Versions => JRiver Media Center 18 for Windows => Topic started 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.
-
Did you set LAV yourself? It shouldn't do that if you choose Red October Standard or HQ?
-
I use ROHQ but also have LAV separately installed, with the tray option enabled.
-
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?
-
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.
-
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?
-
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?
-
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.
-
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.
-
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?
-
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.