smplayer-dev / smplayer

Free Media Player for Windows, Linux and Mac OS with YouTube support.
https://smplayer.info
GNU General Public License v2.0
674 stars 95 forks source link

Ignoring the MPV config #429

Open guglovich opened 2 years ago

guglovich commented 2 years ago

Describe the bug The player ignores the settings in /mpv/encoding-profiles.conf

To Reproduce I added hwdec=auto-safe to the config so that 4K doesn't glitch with me. For MPV this helped, but SMPlayer ignores or doesn't use MPV config at all. Correct me if this is common behaviour, then I'll create a bug report regarding file playback.

Your Enviroment

Logs log.txt

smplayer-dev commented 2 years ago

https://github.com/smplayer-dev/smplayer/discussions/364

mysteryx93 commented 2 years ago

There has been some change in this regards after I created that other thread by simply removing --no-config, but there are some weird behaviors.

  1. SMPlayer would fail to load MPV videos (only audios) but MPV would work. The solution was to delete ~/.config/mpv folder. This tells me there was some configuration loaded that caused conflicts. Stand-alone MPV worked fine with those configs.

  2. After deleting MPV config folder, "Play files from start" option doesn't work. It's resuming playback to a previous location. Perhaps it's inheriting a MPV default config value?

jouven commented 1 year ago

This issue is still present, it was fixed in 22.2.0 but it came back in 22.7.0 It's very evident for me because keep-open=yes in the mpv.conf file is ignored, meaning smplayer closes the video after reaching the end. If I downgrade, to 22.2.0 the previous version in the arch repo, it doesn't happen.

smplayer-dev commented 1 year ago

Version 22.7.0 uses --no-config by default but if can be changed in smplayer.ini setting disable_player_config to false.