Merge branch 'dev/1.1.x' into dev/1.2.x
This commit is contained in:
commit
20ed585c99
@ -289,7 +289,11 @@ lang=en`
|
||||
|
||||
}
|
||||
|
||||
async getDecision(directPlay) {
|
||||
async getDecisionUnmanaged(directPlay) {
|
||||
if (this.settings.streamPath === 'direct') {
|
||||
console.log("Skip get transcode decision because direct path is enabled");
|
||||
return;
|
||||
}
|
||||
let res = await axios.get(`${this.server.uri}/video/:/transcode/universal/decision?${this.transcodingArgs}`, {
|
||||
headers: { Accept: 'application/json' }
|
||||
})
|
||||
@ -307,6 +311,14 @@ lang=en`
|
||||
}
|
||||
}
|
||||
|
||||
async getDecision(directPlay) {
|
||||
try {
|
||||
this.getDecisionUnmanaged(directPlay);
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
}
|
||||
}
|
||||
|
||||
getStatusUrl() {
|
||||
let profileName=`Generic`;
|
||||
|
||||
|
||||
@ -1423,6 +1423,8 @@ module.exports = function ($timeout, $location, dizquetv, resolutionOptions) {
|
||||
scope.minBreakSize = -1;
|
||||
scope.maxBreakSize = -1;
|
||||
let breakSizeOptions = [
|
||||
{ id: 10, description: "10 seconds" },
|
||||
{ id: 15, description: "15 seconds" },
|
||||
{ id: 30, description: "30 seconds" },
|
||||
{ id: 45, description: "45 seconds" },
|
||||
{ id: 60, description: "60 seconds" },
|
||||
@ -1431,8 +1433,9 @@ module.exports = function ($timeout, $location, dizquetv, resolutionOptions) {
|
||||
{ id: 180, description: "3 minutes" },
|
||||
{ id: 300, description: "5 minutes" },
|
||||
{ id: 450, description: "7.5 minutes" },
|
||||
{ id: 600, description: "10 minutes" },
|
||||
{ id: 1200, description: "20 minutes" },
|
||||
{ id: 10*60, description: "10 minutes" },
|
||||
{ id: 20*60, description: "20 minutes" },
|
||||
{ id: 30*60, description: "30 minutes" },
|
||||
]
|
||||
scope.minBreakSizeOptions = [
|
||||
{ id: -1, description: "Min Duration" },
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
</a>
|
||||
</small>
|
||||
<small class="pull-right" style="padding: 5px;">
|
||||
<a href="https://discord.gg/U64P9MR" title='Discord' >
|
||||
<a href="https://discord.gg/FUpCyZBTDM" title='Discord' >
|
||||
<span class="fab fa-discord"></span>
|
||||
</a>
|
||||
</small>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user