You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Linux version: Arch
- Kernel Version: 6.12.7-arch1-1
- GPU Model: Intel Iris
- Mesa/GPU Driver Version: 4.6
- Window Manager and Version: 47
- Source of mpv: Arch Repo
- Latest known working version: N/A
- Issue started after the following happened: N/A
Reproduction Steps
Using two different test configs:
Config 1:
gpu-context=x11
[AudioFiles]
profile-cond = not p["user-data/AudioFiles-applied"]
geometry=25%
Config 2:
gpu-context=x11
[AudioFiles]
profile-cond = (filename:match"%.mp3$" or filename:match"%.m4a$") ~= nil and not p["user-data/AudioFiles-applied"]
geometry=25%
Expected Behavior
Using config 1, playing an m4a file apply the profile, and then skipping the the next track will not re-apply the profile
Using config 2, skipping to next track does cause the profile to be re-applied
This can be fixed by adding: input-commands = set user-data/AudioFiles-applied 1
Actual Behavior
I think there are 2 issues here:
p["user-data/AudioFiles-applied"] returns true even when the input-commands line is left out
There is inconsistency with the profile-cond when using and. The two configs should give the same results (assuming either a mp3 or m4a file), but they don't. Including the filename:match part causes the user-data part to be ignored in the and statement
I carefully read all instruction and confirm that I did the following:
I tested with the latest mpv version to validate that the issue is not already fixed.
I provided all required information including system and mpv version.
I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of --log-file=output.txt.
I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
I attached the full, untruncated log file.
I attached the backtrace in the case of a crash.
The text was updated successfully, but these errors were encountered:
mpv Information
Other Information
Reproduction Steps
Using two different test configs:
Config 1:
Config 2:
Expected Behavior
Using config 1, playing an m4a file apply the profile, and then skipping the the next track will not re-apply the profile
Using config 2, skipping to next track does cause the profile to be re-applied
This can be fixed by adding:
input-commands = set user-data/AudioFiles-applied 1
Actual Behavior
I think there are 2 issues here:
p["user-data/AudioFiles-applied"]
returnstrue
even when theinput-commands
line is left outThere is inconsistency with the profile-cond when using
and
. The two configs should give the same results (assuming either amp3
orm4a
file), but they don't. Including thefilename:match
part causes theuser-data
part to be ignored in theand
statementLog File
config1.txt
config2.txt
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: