e-alfred / ocdownloader

ocDownloader - AGPL-licensed multi-protocol download manager for Nextcloud using ARIA2, youtube-dl and Curl (supports Youtube, BitTorrent, HTTP, FTP)
https://github.com/e-alfred/ocdownloader
GNU Affero General Public License v3.0
375 stars 85 forks source link

Youtube videos are missing metadata #211

Open gerroon opened 3 years ago

gerroon commented 3 years ago

Hi

This app can download Youtube videos fine using the system's youtube-dl but the downloaded videos seem to be missing metadata as if they are all stripped off. I use the same youtube-dl binary and it has no problem with grabbing the embedded metadadata.

I am using Nextcloud on Debian Testing X64,Nextcloud 20.0.10, Apache/2.4.46 and mariadb Ver 15.1 and php 7.4.11

The main info that seems to be missing is the "title" So a media server like Jellyfin can't add the videos properly.

I am not a Php dev but I am wondering which file and lines that i can edit to change the default youtube-dl parameters so that I can pass my own flags to make sure this works as intended?

Ideally it would be nice if the app accepts custom youtube-dl flags.

thanks