@@ -90,7 +90,7 @@ public class YoutubeDLRequest {
9090 private Boolean noCacheDir ;
9191 private Boolean rmCacheDir ;
9292
93- // Thumbnail Options
93+ // VideoThumbnail Options
9494 private Boolean writeThumbnail ;
9595 private Boolean writeAllThumbnails ;
9696 private Boolean listThumbnails ;
@@ -154,9 +154,33 @@ public class YoutubeDLRequest {
154154 private Boolean netRc ;
155155 private String videoPassword ;
156156
157+ // Postprocessing Options
158+ private Boolean extractAudio ;
159+ private Integer audioFormat ;
160+ private Integer audioQuality ;
161+ private String recodeVideo ;
162+ private String postprocessorArgs ;
163+ private Boolean keepAudio ;
164+ private Boolean noPostOverwrites ;
165+ private Boolean embedSubs ;
166+ private Boolean embedThumbnail ;
167+ private Boolean addMetadata ;
168+ private Boolean metadataFromTitle ;
169+ private Boolean xattrs ;
170+ private String fixup ;
171+ private Boolean preferAvconv ;
172+ private Boolean preferFfmpeg ;
173+ private String ffmpegLocation ;
174+ private String exec ;
175+ private String convertSubs ;
176+
157177 public YoutubeDLRequest () {
158178 }
159179
180+ public YoutubeDLRequest (String url ) {
181+ this .url = url ;
182+ }
183+
160184 public YoutubeDLRequest (String directory , String url ) {
161185 this .directory = directory ;
162186 this .url = url ;
@@ -1170,6 +1194,150 @@ public void setVideoPassword(String videoPassword) {
11701194 this .videoPassword = videoPassword ;
11711195 }
11721196
1197+ public Boolean getExtractAudio () {
1198+ return extractAudio ;
1199+ }
1200+
1201+ public void setExtractAudio (Boolean extractAudio ) {
1202+ this .extractAudio = extractAudio ;
1203+ }
1204+
1205+ public Integer getAudioFormat () {
1206+ return audioFormat ;
1207+ }
1208+
1209+ public void setAudioFormat (Integer audioFormat ) {
1210+ this .audioFormat = audioFormat ;
1211+ }
1212+
1213+ public Integer getAudioQuality () {
1214+ return audioQuality ;
1215+ }
1216+
1217+ public void setAudioQuality (Integer audioQuality ) {
1218+ this .audioQuality = audioQuality ;
1219+ }
1220+
1221+ public String getRecodeVideo () {
1222+ return recodeVideo ;
1223+ }
1224+
1225+ public void setRecodeVideo (String recodeVideo ) {
1226+ this .recodeVideo = recodeVideo ;
1227+ }
1228+
1229+ public String getPostprocessorArgs () {
1230+ return postprocessorArgs ;
1231+ }
1232+
1233+ public void setPostprocessorArgs (String postprocessorArgs ) {
1234+ this .postprocessorArgs = postprocessorArgs ;
1235+ }
1236+
1237+ public Boolean getKeepAudio () {
1238+ return keepAudio ;
1239+ }
1240+
1241+ public void setKeepAudio (Boolean keepAudio ) {
1242+ this .keepAudio = keepAudio ;
1243+ }
1244+
1245+ public Boolean getNoPostOverwrites () {
1246+ return noPostOverwrites ;
1247+ }
1248+
1249+ public void setNoPostOverwrites (Boolean noPostOverwrites ) {
1250+ this .noPostOverwrites = noPostOverwrites ;
1251+ }
1252+
1253+ public Boolean getEmbedSubs () {
1254+ return embedSubs ;
1255+ }
1256+
1257+ public void setEmbedSubs (Boolean embedSubs ) {
1258+ this .embedSubs = embedSubs ;
1259+ }
1260+
1261+ public Boolean getEmbedThumbnail () {
1262+ return embedThumbnail ;
1263+ }
1264+
1265+ public void setEmbedThumbnail (Boolean embedThumbnail ) {
1266+ this .embedThumbnail = embedThumbnail ;
1267+ }
1268+
1269+ public Boolean getAddMetadata () {
1270+ return addMetadata ;
1271+ }
1272+
1273+ public void setAddMetadata (Boolean addMetadata ) {
1274+ this .addMetadata = addMetadata ;
1275+ }
1276+
1277+ public Boolean getMetadataFromTitle () {
1278+ return metadataFromTitle ;
1279+ }
1280+
1281+ public void setMetadataFromTitle (Boolean metadataFromTitle ) {
1282+ this .metadataFromTitle = metadataFromTitle ;
1283+ }
1284+
1285+ public Boolean getXattrs () {
1286+ return xattrs ;
1287+ }
1288+
1289+ public void setXattrs (Boolean xattrs ) {
1290+ this .xattrs = xattrs ;
1291+ }
1292+
1293+ public String getFixup () {
1294+ return fixup ;
1295+ }
1296+
1297+ public void setFixup (String fixup ) {
1298+ this .fixup = fixup ;
1299+ }
1300+
1301+ public Boolean getPreferAvconv () {
1302+ return preferAvconv ;
1303+ }
1304+
1305+ public void setPreferAvconv (Boolean preferAvconv ) {
1306+ this .preferAvconv = preferAvconv ;
1307+ }
1308+
1309+ public Boolean getPreferFfmpeg () {
1310+ return preferFfmpeg ;
1311+ }
1312+
1313+ public void setPreferFfmpeg (Boolean preferFfmpeg ) {
1314+ this .preferFfmpeg = preferFfmpeg ;
1315+ }
1316+
1317+ public String getFfmpegLocation () {
1318+ return ffmpegLocation ;
1319+ }
1320+
1321+ public void setFfmpegLocation (String ffmpegLocation ) {
1322+ this .ffmpegLocation = ffmpegLocation ;
1323+ }
1324+
1325+ public String getExec () {
1326+ return exec ;
1327+ }
1328+
1329+ public void setExec (String exec ) {
1330+ this .exec = exec ;
1331+ }
1332+
1333+ public String getConvertSubs () {
1334+ return convertSubs ;
1335+ }
1336+
1337+ public void setConvertSubs (String convertSubs ) {
1338+ this .convertSubs = convertSubs ;
1339+ }
1340+
11731341 protected String buildOptions () {
11741342
11751343 Map <String , String > options = new HashMap <String , String >();
0 commit comments