Skip to content

Commit

Permalink
Revert "auto_profiles.lua: actually exit when no auto profiles are de…
Browse files Browse the repository at this point in the history
…fined"

This reverts commit 5dc4047 as it causes
Plex HTPC to play the first file you select without audio.
  • Loading branch information
mitzsch committed Dec 7, 2024
1 parent 86220c1 commit 2aa3c37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion player/lua/auto_profiles.lua
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ mp.observe_property("profile-list", "native", function (_, profiles_property)
load_profiles(profiles_property)

if #profiles < 1 and mp.get_property("load-auto-profiles") == "auto" then
exit()
-- make it exit immediately
_G.mp_event_loop = function() end
return
end

Expand Down

0 comments on commit 2aa3c37

Please sign in to comment.