Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Wayland using the "--platform" command line parameter #159

Closed
major-mayer opened this issue Oct 24, 2021 · 3 comments
Closed

Support Wayland using the "--platform" command line parameter #159

major-mayer opened this issue Oct 24, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@major-mayer
Copy link

Is your feature request related to a problem? Please describe.
I would like to use Jellyfin Media Player with native Wayland support without the need to specify environment variables.
This can be a bit tricky inside .desktop files. Most other QT-based applications allow this too.

Describe the solution you'd like
Start Jellyfin with Wayland support by doing this:

~ >>> jellyfinmediaplayer --platform wayland                                   
jellyfinmediaplayer: Unknown option 'platform'.

This should not lead to an error but instead do the same like:

QT_QPA_PLATFORM=wayland jellyfinmediaplayer

Describe alternatives you've considered
None

Additional context
None

@major-mayer major-mayer added the enhancement New feature or request label Oct 24, 2021
@major-mayer
Copy link
Author

major-mayer commented Jan 12, 2022

Anything new about this?
The reason i am asking is that i don't get Jellyfin running using native Wayland mode from a .desktop file.
It looks like this:

[Desktop Entry]
Version=1.1
Type=Application
Name=Jellyfin Media Player
Comment=Desktop client for Jellyfin
Icon=com.github.iwalton3.jellyfin-media-player
Exec=env QT_QPA_PLATFORM=wayland jellyfinmediaplayer %c %i
Actions=DesktopF;DesktopW;TVF;TVW;
Categories=AudioVideo;Player;TV;Video;

[Desktop Action DesktopF]
Name=Desktop [Fullscreen]
Exec=jellyfinmediaplayer --fullscreen --desktop

[Desktop Action DesktopW]
Name=Desktop [Windowed]
Exec=jellyfinmediaplayer --windowed --desktop

[Desktop Action TVF]
Name=TV [Fullscreen]
Exec=jellyfinmediaplayer --fullscreen --tv

[Desktop Action TVW]
Name=TV [Windowed]
Exec=jellyfinmediaplayer --windowed --tv

When i try to start Jellyfin simply nothing happens.
The command that i use works from the terminal tho... Anyone got an idea?
Using a simple argument would be much easy of course.

iwalton3 added a commit that referenced this issue Jan 16, 2022
@iwalton3
Copy link
Member

I have released this in this pre-release: https://github.com/jellyfin/jellyfin-media-player/releases/tag/v1.7.0-pre3

@major-mayer
Copy link
Author

Wonderful, thank you very much ❤️ 👍
As soon as this is release officially i will test it (I need to wait until the AUR package gets updated).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants