Commit 021b5cc
ytdl_hook.lua: set the title in metadata
93fe7a5 made global_tags work with all_formats=yes, so do like
suggested in 8ea7aa5 and set the title via tags.
This makes available in ${metadata/title}, even if you set
--force-media-title separately.
--force-media-title is also set when self_redirecting_url is true, but
tags seem not to be set in this case and I don't know where to find such
videos to test. It was originally added to close #5313, but the URL
linked there no longer loads.1 parent aec426a commit 021b5cc
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
730 | 731 | | |
731 | 732 | | |
732 | 733 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | 734 | | |
738 | 735 | | |
739 | 736 | | |
| |||
0 commit comments