From a7d63037bbbf5d4a6e6376d6cb9dd58946be6274 Mon Sep 17 00:00:00 2001 From: vayalil <36435907+vayalil@users.noreply.github.com> Date: Fri, 16 Feb 2018 21:03:05 +1100 Subject: [PATCH 1/2] Add files via upload --- youtube_dl/options.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/options.py b/youtube_dl/options.py index f1938a165..ce9391d89 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -818,6 +818,7 @@ def parseOpts(overrideArguments=None): metavar='METADATA', dest='metafromuser', default=False, help='Allows the user to specify key/value pairs for encoding metadata, sepatated by equal sign.' 'Example: --metadata "album = Movie Title artist = Various artists year = "2010"' + 'Note:- Should be used with --add-metadata to write the specified data to the video/audio file' 'Also tries to capture artist information from the file description, if otherwise not available') postproc.add_option( '--metadata-from-title', From 71f59dc6e0413465995fcc7528bbbcd6cd601804 Mon Sep 17 00:00:00 2001 From: vayalil <36435907+vayalil@users.noreply.github.com> Date: Fri, 16 Feb 2018 21:03:54 +1100 Subject: [PATCH 2/2] Add files via upload --- youtube_dl/postprocessor/metadatafromuser.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/youtube_dl/postprocessor/metadatafromuser.py b/youtube_dl/postprocessor/metadatafromuser.py index ec4c6154b..6c048e808 100644 --- a/youtube_dl/postprocessor/metadatafromuser.py +++ b/youtube_dl/postprocessor/metadatafromuser.py @@ -1,11 +1,6 @@ -#!/usr/bin/env python2 -# -*- coding: utf-8 -*- """ Created on Fri Feb 9 16:23:16 2018 - -@author: Niras C. Vayalil """ - from __future__ import unicode_literals from .common import PostProcessor import re