Skip to content

Commit

Permalink
Merge pull request #2426 from MediaBrowser/beta
Browse files Browse the repository at this point in the history
Beta
  • Loading branch information
LukePulverenti authored Jan 27, 2017
2 parents e3c4bea + ae47fac commit 11bffb3
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 18 deletions.
20 changes: 11 additions & 9 deletions MediaBrowser.Api/Playback/BaseStreamingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2737,16 +2737,18 @@ protected string GetInputModifier(StreamState state, bool genPts = true)

private string GetDecoderFromCodec(string codec)
{
if (string.Equals(codec, "mp2", StringComparison.OrdinalIgnoreCase))
{
return null;
}
if (string.Equals(codec, "aac_latm", StringComparison.OrdinalIgnoreCase))
{
return null;
}
return null;

//if (string.Equals(codec, "mp2", StringComparison.OrdinalIgnoreCase))
//{
// return null;
//}
//if (string.Equals(codec, "aac_latm", StringComparison.OrdinalIgnoreCase))
//{
// return null;
//}

return codec;
//return codec;
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<div class="fieldDescription checkboxFieldDescription">${LabelDownloadInternetMetadataHelp}</div>
</div>
<div class="selectContainer fldMetadataLanguage hide" style="margin-top:3em;">
<select is="emby-select" id="selectLanguage" label="${LabelMetadataDownloadLanguage}" required="required"></select>
<select is="emby-select" id="selectLanguage" label="${LabelMetadataDownloadLanguage}"></select>
</div>
<div class="selectContainer fldMetadataCountry hide">
<select is="emby-select" id="selectCountry" label="${LabelCountry}" required="required"></select>
<select is="emby-select" id="selectCountry" label="${LabelCountry}"></select>
</div>
<div class="checkboxContainer checkboxContainer-withDescription chkSaveLocalContainer hide">
<label>
Expand Down
18 changes: 11 additions & 7 deletions MediaBrowser.WebDashboard/dashboard-ui/scripts/editorsidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,17 @@
collectionType: node.li_attr.collectiontype
};

if (eventData.itemType != 'livetv' && eventData.itemType != 'mediafolders' && eventData.serverItemType != 'UserView' && eventData.serverItemType != 'CollectionFolder' && !eventData.collectionType) {

this.dispatchEvent(new CustomEvent('itemclicked', {
detail: eventData,
bubbles: true,
cancelable: false
}));
if (eventData.itemType != 'livetv' && eventData.itemType != 'mediafolders') {

// We'd like to prevent these from being editable but this removes the ability to perform a top level refresh
//if (eventData.serverItemType != 'UserView' && eventData.serverItemType != 'CollectionFolder' && !eventData.collectionType)
{
this.dispatchEvent(new CustomEvent('itemclicked', {
detail: eventData,
bubbles: true,
cancelable: false
}));
}
}
}

Expand Down

0 comments on commit 11bffb3

Please sign in to comment.