Hi,

On Wed, Nov 29, 2023 at 2:48 PM Tim via users <users@lists.fedoraproject.org> wrote:
On Wed, 2023-11-29 at 11:02 -0500, Alex wrote:
> I contacted silicondust support, and they said any application that
> supports DNLA will work, but apparently weren't able to tell me how
> vlc specifically is being spawned. It's definitely launched by
> HDHomeRun, but I can't find anything in the documentation or any
> local config files that describes how that's happening.

If you open VLC's media information window (in the tools menu), when it
is connected, does it give you any useful info about the stream it's
currently playing?

It just displays "udp://127.0.0.1:5000" in the Title.

I could guess that their box has some kind of webserver that you may be
able to aim VLC at (using the box's IP address).

It does, but there's no ability to control which app is used.

This was also confirmed by silicondust support in a roundabout way, at least. They said there's no ability to configure which app is used.

It appears to me that it's hardcoded/compiled into the HDHomeRun app. strings and strace on a running binary appears to confirm this.

Oh, I've also now looked at the fedora SRPM and see that it's hardcoded:

$ grep -r vlc *
src/Viewer.cpp: ExeName = "vlc";
src/Viewer.cpp: OSStatus appStatus = LSFindApplicationForInfo(kLSUnknownCreator, CFSTR("org.videolan.vlc"), NULL, NULL, &appURL);
src/Viewer.cpp: g_string_sprintf(DebugPrefix, "%08lX-%u vlc:", (unsigned long)Dev->DeviceID, Dev->TunerIndex);

I also tried to follow the instructions on starting vlc first from the command-line, so I can later try it with smplayer, but couldn't get it to work:
https://forum.silicondust.com/forum/viewtopic.php?t=1924

Thanks,
Alex