[GH-ISSUE #5647] youtube-dl: cannot use AtomicParsley metadata downloader #3054

Open
opened 2026-05-05 09:41:54 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @mYnDstrEAm on GitHub (Feb 7, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5647

Description

See https://github.com/ytdl-org/youtube-dl/issues/30922

When I use a command like this firejail youtube-dl --extract-audio --embed-thumbnail --audio-format best -i -o '/path/%(title)s.%(ext)s' https://www.youtube.com/watch?v=GhJNXlMsPG4 I get the error ERROR: AtomicParsley was not found. Please install but only when using firejail.

AtomicParsley is installed and located in /usr/bin

echo "noblacklist /usr/bin/AtomicParsley" >> ~/.config/firejail/youtube-dl.local did not solve this

Steps to Reproduce

  1. Run the above command to embed a picture into the track data
  2. See console output

Expected behavior

All youtube-dl functionalities should work properly with the firejail profile

Actual behavior

Metadata embedding doesn't work with firejail

Behavior without a profile

Additional context

Environment

  • Linux distribution and version: Debian 11
  • Firejail version: 0.9.72

Checklist

  • The issues is caused by firejail (i.e. running the program by path (e.g. /usr/bin/vlc) "fixes" it).
  • I can reproduce the issue without custom modifications (e.g. globals.local).
  • The program has a profile. (If not, request one in https://github.com/netblue30/firejail/issues/1139)
  • The profile (and redirect profile if exists) hasn't already been fixed upstream.
  • I have performed a short search for similar issues (to avoid opening a duplicate).
    • I'm aware of browser-allow-drm yes/browser-disable-u2f no in firejail.config to allow DRM/U2F in browsers.
  • I used --profile=PROFILENAME to set the right profile. (Only relevant for AppImages)

Log

Originally created by @mYnDstrEAm on GitHub (Feb 7, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5647 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description See https://github.com/ytdl-org/youtube-dl/issues/30922 When I use a command like this `firejail youtube-dl --extract-audio --embed-thumbnail --audio-format best -i -o '/path/%(title)s.%(ext)s' https://www.youtube.com/watch?v=GhJNXlMsPG4` I get the error `ERROR: AtomicParsley was not found. Please install` but only when using firejail. AtomicParsley is installed and located in /usr/bin `echo "noblacklist /usr/bin/AtomicParsley" >> ~/.config/firejail/youtube-dl.local` did not solve this ### Steps to Reproduce 1. Run the above command to embed a picture into the track data 2. See console output ### Expected behavior All youtube-dl functionalities should work properly with the firejail profile ### Actual behavior Metadata embedding doesn't work with firejail ### Behavior without a profile ### Additional context ### Environment - Linux distribution and version: Debian 11 - Firejail version: 0.9.72 ### Checklist - [x] The issues is caused by firejail (i.e. running the program by path (e.g. `/usr/bin/vlc`) "fixes" it). - [x] I can reproduce the issue without custom modifications (e.g. globals.local). - [x] The program has a profile. (If not, request one in `https://github.com/netblue30/firejail/issues/1139`) - [x] The profile (and redirect profile if exists) hasn't already been fixed [upstream](https://github.com/netblue30/firejail/tree/master/etc). - [x] I have performed a short search for similar issues (to avoid opening a duplicate). - [ ] I'm aware of `browser-allow-drm yes`/`browser-disable-u2f no` in `firejail.config` to allow DRM/U2F in browsers. - [ ] I used `--profile=PROFILENAME` to set the right profile. (Only relevant for AppImages) ### Log
Author
Owner

@rusty-snake commented on GitHub (Feb 7, 2023):

echo "noblacklist /usr/bin" >> ~/.config/firejail/youtube-dl.local did not solve this

If /usr/bin would be blacklisted, how could you execute youtube-dl?

<!-- gh-comment-id:1421284900 --> @rusty-snake commented on GitHub (Feb 7, 2023): > echo "noblacklist /usr/bin" >> ~/.config/firejail/youtube-dl.local did not solve this If `/usr/bin` would be blacklisted, how could you execute youtube-dl?
Author
Owner

@rusty-snake commented on GitHub (Feb 7, 2023):

Does firejail --private-bin=atomicparsley /usr/bin/youtube-dl work?

<!-- gh-comment-id:1421286685 --> @rusty-snake commented on GitHub (Feb 7, 2023): Does `firejail --private-bin=atomicparsley /usr/bin/youtube-dl` work?
Author
Owner

@mYnDstrEAm commented on GitHub (Feb 7, 2023):

It's in ~/.local/bin/youtube-dl according to which youtube-dl (recently reinstalled it with pip).

No, it says Error: no suitable /usr/bin/youtube-dl executable found.

<!-- gh-comment-id:1421287538 --> @mYnDstrEAm commented on GitHub (Feb 7, 2023): It's in `~/.local/bin/youtube-dl` according to `which youtube-dl` (recently reinstalled it with pip). No, it says `Error: no suitable /usr/bin/youtube-dl executable found`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3054
No description provided.