[SOLVED] to find out what a programing riding on another program
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
to find out what a programing riding on another program
I have searched the web, but find nothing regarding this issue:
let me use clipgrab for example:
Since Clipgrab is using youtube-dl to download video. while newer version of clipgrab is using yt-dlp.
how to know if the clipgrab is using which program ?
I tried to search clipgrab in Htop, but it just does not show youtube-dl nor yt-dlp.
example2:
i would like to know what program mpv riding on when i use mpv to play youtube url.
does the mpv uses youtube-dl or yt-dlp... ? that's what i want to know..
i would like to know what program mpv riding on when i use mpv to play youtube url.
does the mpv uses youtube-dl or yt-dlp... ? that's what i want to know..
Thank you! I have learned something new from you.
I never thought of looking into man of mpv to see what the author has to say about which package does the program ride on.
and i was always go into man then execute search with "/"..
now, i know i can do a 1 line method.. using your cli.
I tried pstree, but yield no useful info in this case. I see nothing related to youtube-dl.
I just learn by example on this utility.. 1st time user. .maybe i don't know how to use it right.
Only manage to find out that mpv uses youtube-dl by default from man page using suggestion of ondoho
But this is not a permanent solution. If the author didn't write in man page.. then i won't know.
Looking into source code is not something i know how to do. so i skipped that suggestion.
Only manage to find out that mpv uses youtube-dl by default from man page using suggestion of ondoho
Then I suspect you have an older version of mpv.
Mine says:
Quote:
ytdl_path=youtube-dl
Configure paths to youtube-dl's executable or a compatible fork's. The paths
should be separated by : on Unix and ; on Windows. mpv looks in order for the
configured paths in PATH and in mpv's config directory. The defaults are
"yt-dlp", "yt-dlp_x86" and "youtube-dl". On Windows the suffix extension
".exe" is always appended.
I suppose it means: in that order.
In any case, this is configurable in ~/.config/mpv/mpv.conf.
Then I suspect you have an older version of mpv.
Mine says:
I suppose it means: in that order.
In any case, this is configurable in ~/.config/mpv/mpv.conf.
There isn't any .conf file in my ~/.config/mpv/
Is it possible to copy your mpv.conf into the specified address ? it could be possible to change which tool it uses to download youtube video in this config file. Hopefully.
so far, i have made the mpv works by made using sym link as suggested by someone on this forum.. i sym linked yt-dlp to youtube-dl (which i have renamed to otherthing).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.