Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

fixed issue 165 #167

Merged
merged 3 commits into from Jan 4, 2016
Merged

fixed issue 165 #167

merged 3 commits into from Jan 4, 2016

Conversation

ghost
Copy link

@ghost ghost commented Dec 31, 2015

Bugfix to the issue #165

@@ -215,7 +215,12 @@ private static string GetAdaptiveStreamMap(JObject json)
{
JToken streamMap = json["args"]["adaptive_fmts"];

return streamMap.ToString();
// bugfix: adaptive_fmts is missing in some videos, use url_encoded_fmt_stream_map instead
Copy link
Owner

Choose a reason for hiding this comment

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

Please fix the formatting to adhere to the same style as the rest of the project

@@ -215,6 +215,11 @@ private static string GetAdaptiveStreamMap(JObject json)
{
JToken streamMap = json["args"]["adaptive_fmts"];

// bugfix: adaptive_fmts is missing in some videos, use url_encoded_fmt_stream_map instead
if (streamMap == null) {
Copy link
Owner

Choose a reason for hiding this comment

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

@detroxx92 Move the bracket here to the next line

@ghost
Copy link
Author

ghost commented Jan 2, 2016

Welp didn't saw this in the first place :)

flagbug added a commit that referenced this pull request Jan 4, 2016
@flagbug flagbug merged commit 2658161 into flagbug:master Jan 4, 2016
@flagbug
Copy link
Owner

flagbug commented Jan 4, 2016

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants