Rogério Brito
01b9d2b490
extractor: youtube: Allow format number as output template.
...
Since many video formats map to the same extension, we get problems when
trying to download more than one format of the same audio/video with the
same ID.
This commit introduces a numeric version of the template of the video
format, which can help users who start downloading with a format (say, 720p
mp4), stop and then resume with another format (say, 360p mp4). See:
* http://bugs.debian.org/689294
* http://bugs.debian.org/643831
An output template like '%(title)s-%(id)s.%(format_num)s.%(ext)s' would,
unmistakenly, solve such problems.
This is also helpful to know what format was effectively downloaded when a
user expected something else (like, for instance, in issue #1578 or many of
its duplicates).
Another application of this is in separate downloads of audio video (as in
issue #1612 ).
Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
2013-10-18 18:30:57 -03:00
..
2013-10-17 08:20:58 +02:00
2013-08-28 12:47:38 +02:00
2013-09-29 20:59:19 +02:00
2013-09-14 14:45:04 +02:00
2013-07-08 02:12:20 +02:00
2013-10-13 14:21:13 +02:00
2013-07-03 16:36:36 +02:00
2013-06-27 20:46:46 +02:00
2013-10-05 16:12:29 +02:00
2013-09-16 20:38:48 +02:00
2013-07-23 11:41:05 +02:00
2013-10-17 01:02:17 +02:00
2013-08-27 01:00:17 +05:00
2013-09-10 12:13:22 +02:00
2013-09-12 21:56:36 +02:00
2013-10-11 20:38:26 +02:00
2013-08-28 10:20:37 +02:00
2013-08-21 03:50:56 +02:00
2013-10-04 11:14:10 +02:00
2013-10-18 00:49:45 +02:00
2013-07-17 14:39:02 +02:00
2013-07-13 12:26:05 +02:00
2013-07-12 22:12:04 +02:00
2013-10-04 14:07:29 +02:00
2013-09-05 10:08:17 +02:00
2013-09-03 12:03:19 +02:00
2013-06-23 21:06:20 +02:00
2013-07-08 22:40:42 +02:00
2013-09-14 14:45:04 +02:00
2013-09-20 16:55:50 +02:00
2013-07-12 22:12:04 +02:00
2013-06-27 20:22:00 +02:00
2013-07-12 22:12:04 +02:00
2013-07-24 14:39:21 +02:00
2013-09-23 11:24:33 +02:00
2013-10-10 19:37:17 +02:00
2013-09-18 23:32:37 +02:00
2013-10-04 07:47:40 +02:00
2013-10-04 11:30:47 +02:00
2013-07-15 21:33:45 +02:00
2013-09-20 13:05:34 +02:00
2013-10-14 16:46:07 +02:00
2013-07-14 14:29:15 +02:00
2013-10-18 11:44:57 +02:00
2013-10-05 16:38:33 +02:00
2013-07-01 18:52:19 +02:00
2013-08-27 10:25:38 +02:00
2013-09-17 21:10:57 +02:00
2013-09-11 17:36:23 +02:00
2013-06-27 20:46:46 +02:00
2013-10-02 20:59:34 +02:00
2013-07-25 09:52:58 +02:00
2013-06-27 20:32:02 +02:00
2013-07-18 13:12:27 +02:00
2013-10-12 22:22:31 +02:00
2013-10-07 14:33:23 +02:00
2013-06-25 22:04:44 +02:00
2013-06-27 20:46:46 +02:00
2013-08-02 15:26:11 +08:00
2013-07-25 10:10:37 +02:00
2013-09-13 19:52:56 +02:00
2013-07-12 22:12:04 +02:00
2013-09-21 13:50:52 +02:00
2013-08-31 22:35:39 +02:00
2013-09-06 18:08:07 +02:00
2013-08-28 14:24:42 -05:00
2013-09-14 14:26:42 +02:00
2013-10-10 19:53:44 +02:00
2013-08-04 11:10:57 +02:00
2013-06-27 20:46:46 +02:00
2013-08-02 21:09:17 +02:00
2013-09-05 10:53:40 +02:00
2013-07-12 22:12:04 +02:00
2013-08-27 12:38:57 +02:00
2013-09-18 22:14:43 +02:00
2013-10-11 14:33:26 +02:00
2013-10-12 13:11:03 -04:00
2013-09-16 20:58:36 +02:00
2013-09-03 11:51:01 +02:00
2013-08-22 11:57:21 +02:00
2013-06-27 20:46:46 +02:00
2013-10-06 16:23:06 +02:00
2013-06-27 20:46:46 +02:00
2013-10-06 16:39:35 +02:00
2013-06-28 18:51:00 +02:00
2013-08-24 21:10:03 +02:00
2013-10-12 22:22:31 +02:00
2013-07-26 13:00:59 +02:00
2013-10-04 11:33:14 +02:00
2013-10-16 16:57:40 +02:00
2013-07-18 15:31:50 +02:00
2013-08-21 21:51:58 +02:00
2013-09-10 11:19:58 +02:00
2013-09-09 19:56:16 +02:00
2013-09-14 21:41:49 +02:00
2013-09-24 21:39:38 +02:00
2013-06-27 20:46:46 +02:00
2013-07-01 18:52:19 +02:00
2013-08-21 19:20:27 +02:00
2013-07-10 23:36:30 +02:00
2013-09-14 11:14:40 +02:00
2013-10-15 08:22:59 +02:00
2013-07-24 21:51:08 -05:00
2013-10-17 08:20:58 +02:00
2013-10-04 10:32:34 +02:00
2013-07-30 11:19:07 +02:00
2013-07-17 11:18:14 +02:00
2013-07-24 10:52:24 +02:00
2013-09-14 14:45:04 +02:00
2013-10-18 11:16:20 +02:00
2013-06-30 13:52:20 +02:00
2013-07-12 22:12:04 +02:00
2013-08-29 13:41:59 +02:00
2013-09-13 22:05:29 +02:00
2013-06-27 20:46:46 +02:00
2013-09-02 11:54:09 +02:00
2013-07-09 11:11:55 +02:00
2013-10-08 21:25:38 +02:00
2013-09-16 20:58:36 +02:00
2013-10-06 07:12:47 +02:00
2013-10-12 22:22:31 +02:00
2013-08-22 23:23:52 +02:00
2013-10-14 01:32:47 -04:00
2013-10-15 12:05:13 +02:00
2013-07-12 22:12:04 +02:00
2013-08-28 12:47:38 +02:00
2013-10-15 08:12:30 +02:00
2013-07-19 20:43:44 +02:00
2013-06-27 20:46:46 +02:00
2013-07-30 11:10:17 +02:00
2013-09-17 23:08:01 +02:00
2013-06-27 20:46:46 +02:00
2013-06-27 20:46:46 +02:00
2013-10-10 21:01:45 +02:00
2013-07-13 12:07:07 +02:00
2013-10-13 15:55:05 +02:00
2013-10-06 16:23:06 +02:00
2013-10-18 18:30:57 -03:00
2013-09-28 15:43:34 +02:00