Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding API methods for adding captioning files #1

Closed
wants to merge 1 commit into from
Closed

Adding API methods for adding captioning files #1

wants to merge 1 commit into from

Conversation

amhed
Copy link

@amhed amhed commented Jul 23, 2015

No description provided.

#endregion

#region AddCaptioning
public void AddCaptioning(string captionFileUrl, long videoId, string filename)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method will allow posting a subtitle file that resides on an external URL

@amhed
Copy link
Author

amhed commented Jul 23, 2015

I tried following the already-existing style for this library, instead of imposing Rev's. You can safely ignore formatting comments.

@denmarkin I would like your input here as well.

{
IDictionary<string, object> serialized = new Dictionary<string, object>();

serialized["complete"] = Complete;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This is ugly. Yes, it can be resolved with json.net and simple conversion settings, but it was done like this everywhere else, so I followed convention.

@amhed amhed closed this Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant