Release v1.6.0 (#324)
* Update version and changelog for v1.6.0
* Update docs
diff --git a/docs/dyn/youtube_v3.captions.html b/docs/dyn/youtube_v3.captions.html
index ecbae0f..6b5ec67 100644
--- a/docs/dyn/youtube_v3.captions.html
+++ b/docs/dyn/youtube_v3.captions.html
@@ -84,13 +84,13 @@
<code><a href="#download_media">download_media(id, onBehalfOf=None, tlang=None, onBehalfOfContentOwner=None, tfmt=None)</a></code></p>
<p class="firstline">Downloads a caption track. The caption track is returned in its original format unless the request specifies a value for the tfmt parameter and in its original language unless the request specifies a value for the tlang parameter.</p>
<p class="toc_element">
- <code><a href="#insert">insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</a></code></p>
+ <code><a href="#insert">insert(part, body=None, media_body=None, onBehalfOf=None, media_mime_type=None, sync=None, onBehalfOfContentOwner=None)</a></code></p>
<p class="firstline">Uploads a caption track.</p>
<p class="toc_element">
<code><a href="#list">list(part, videoId, onBehalfOf=None, onBehalfOfContentOwner=None, id=None)</a></code></p>
<p class="firstline">Returns a list of caption tracks that are associated with a specified video. Note that the API response does not contain the actual captions and that the captions.download method provides the ability to retrieve a caption track.</p>
<p class="toc_element">
- <code><a href="#update">update(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</a></code></p>
+ <code><a href="#update">update(part, body=None, media_body=None, onBehalfOf=None, media_mime_type=None, sync=None, onBehalfOfContentOwner=None)</a></code></p>
<p class="firstline">Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.</p>
<h3>Method Details</h3>
<div class="method">
@@ -149,7 +149,7 @@
</div>
<div class="method">
- <code class="details" id="insert">insert(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</code>
+ <code class="details" id="insert">insert(part, body=None, media_body=None, onBehalfOf=None, media_mime_type=None, sync=None, onBehalfOfContentOwner=None)</code>
<pre>Uploads a caption track.
Args:
@@ -180,6 +180,7 @@
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
+ media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
sync: boolean, The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will disregard any time codes that are in the uploaded caption file and generate new time codes for the captions.
You should set the sync parameter to true if you are uploading a transcript, which has no time codes, or if you suspect the time codes in your file are incorrect and want YouTube to try to fix them.
@@ -259,7 +260,7 @@
</div>
<div class="method">
- <code class="details" id="update">update(part, body=None, media_body=None, onBehalfOf=None, sync=None, onBehalfOfContentOwner=None)</code>
+ <code class="details" id="update">update(part, body=None, media_body=None, onBehalfOf=None, media_mime_type=None, sync=None, onBehalfOfContentOwner=None)</code>
<pre>Updates a caption track. When updating a caption track, you can change the track's draft status, upload a new caption file for the track, or both.
Args:
@@ -290,6 +291,7 @@
media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
onBehalfOf: string, ID of the Google+ Page for the channel that the request is be on behalf of
+ media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload object.
sync: boolean, Note: The API server only processes the parameter value if the request contains an updated caption file.
The sync parameter indicates whether YouTube should automatically synchronize the caption file with the audio track of the video. If you set the value to true, YouTube will automatically synchronize the caption track with the audio track.