krathalan / apparmor-profiles

Krathalan's AppArmor profiles for Arch Linux
GNU General Public License v3.0
38 stars 8 forks source link

Unable to play YouTube videos through MPV with youtube-dl. #3

Closed coolio321 closed 2 years ago

coolio321 commented 2 years ago

After installing the MPV apparmor profile and not modifying the profile, I get the following error after trying to play a YouTube video with MPV:

[ipc] Could not bind IPC socket [ytdl_hook] [ytdl_hook] youtube-dl failed: not found or not enough permissions Failed to recognize file format.

It plays the same video fine when the profile is disabled. Any ideas on what could cause this? I don't use a fork of youtube-dl like yt-dlp.

krathalan commented 2 years ago

I just pushed a new commit, please try with the latest mpv profile from 5d832fb. I need to update the readme; I just deprecated the youtube-dl profile and I want to make a new profile for yt-dlp soon.

coolio321 commented 2 years ago

I just pushed a new commit, please try with the latest mpv profile from 5d832fb. I need to update the readme; I just deprecated the youtube-dl profile and I want to make a new profile for yt-dlp soon.

That seems to have fixed it! Thank you for responding so quickly!