gpodder / gpodder

The gPodder podcast client.

Home Page:http://gpodder.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How Can I Add Other Media / Video Players with as the default Windows 11 Media Player

TheNightRider12 opened this issue · comments

How can I add other Media / Video players to be able to be used with gPodder? I currently have VLC and Windows Media Player 11 installed, however I am wanting to use the default Media Player that comes with Windows 11. However, I cannot figure out how to get that player to be able to use with gPodder. Any help is appreciated. The issue may be that it's a Windows Store based app, I am not sure.
Thank you.

You might have to edit https://github.com/gpodder/gpodder/blob/master/src/gpodder/gtkui/desktopfile.py#L110 to add other media players on Windows. First you will need to find "desktopfile.py" in gpodder's installed files. If you get it working, please post the line here, or submit a PR, and I can make it available in future releases.

Hm. Well I found the registry key(s) for the Media Player. However, when I add the Registry key to the path,
such as
('Media Player', ('audio', 'video'), r'HKEY_CLASSES_ROOT\AppXybm0hz3h6qr4z6wdaaefvpq136awdq2e\Shell\open\command')
It doesn't want to show up in the preferences. This may be due to it being a Microsoft Store app and something being weird there. I do not know. I do have the Media Player set as my default app, but I cannot stream anything to it from gPodder. I can only download the podcasts. The stream button is grayed out.

Do the logs show a useful HKEY error when running gpodder in debug mode https://gpodder.github.io/docs/windows.html#debugging-gpodder-on-windows?

So it says that it cannot find the path specified. That to me means that I found the wrong registry key to add. Given that, I am not sure where to find the correct registry key for the Media Player that comes with Windows to then add to gPodder. I am not too experienced with this.

There are some "shell\open\command" entries at https://learn.microsoft.com/en-us/answers/questions/241852/use-windows-media-plaeyer-64-bit-by-default, does one of them work?

I’m at work currently. But I can take a look at those more when I get home. Will be a bit. But I will follow up when I’m home and can test them out

Only entry that "worked" was HKEY_CLASSES_ROOT\WMP11.AssocProtocol.MMS\shell\open\command but that just opens the old Windows Media Player. The legacy version. I cannot seem to find a way to get it to work with the Media Player that comes default with Windows 10 & 11.