mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 05:15:42 -04:00
chore: set env LOG_LEVEL default to 4
This commit is contained in:
202
tvapp2/index.js
202
tvapp2/index.js
@@ -60,7 +60,7 @@ const envUrlRepo = process.env.URL_REPO || `https://git.binaryninja.net/binaryni
|
|||||||
const envStreamQuality = process.env.STREAM_QUALITY || `hd`;
|
const envStreamQuality = process.env.STREAM_QUALITY || `hd`;
|
||||||
const envFilePlaylist = process.env.FILE_PLAYLIST || `playlist.m3u8`;
|
const envFilePlaylist = process.env.FILE_PLAYLIST || `playlist.m3u8`;
|
||||||
const envFileEPG = process.env.FILE_EPG || `xmltv.xml`;
|
const envFileEPG = process.env.FILE_EPG || `xmltv.xml`;
|
||||||
const LOG_LEVEL = process.env.LOG_LEVEL || 8;
|
const LOG_LEVEL = process.env.LOG_LEVEL || 4;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Define > Externals
|
Define > Externals
|
||||||
@@ -752,242 +752,242 @@ const server = http.createServer((req, res) => {
|
|||||||
@keyframes scale-in
|
@keyframes scale-in
|
||||||
{
|
{
|
||||||
from {
|
from {
|
||||||
transform: scale(1, 1);
|
transform: scale(1, 1);
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
transform: scale(1.1, 1.1);
|
transform: scale(1.1, 1.1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.container
|
.container
|
||||||
{
|
{
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container nav
|
.container nav
|
||||||
{
|
{
|
||||||
margin-left: -8px;
|
margin-left: -8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.container .about
|
.container .about
|
||||||
{
|
{
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-bottom: 4vh;
|
padding-bottom: 4vh;
|
||||||
font-size: 1.6vmin;
|
font-size: 1.6vmin;
|
||||||
line-height: 2.5vmin;
|
line-height: 2.5vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb
|
.breadcrumb
|
||||||
{
|
{
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
padding: 0rem 1rem;
|
padding: 0rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb .breadcrumb-item a
|
.breadcrumb .breadcrumb-item a
|
||||||
{
|
{
|
||||||
color: #4caf50;
|
color: #4caf50;
|
||||||
}
|
}
|
||||||
|
|
||||||
html
|
html
|
||||||
{
|
{
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
a
|
a
|
||||||
{
|
{
|
||||||
color: #FF0E7F !important;
|
color: #FF0E7F !important;
|
||||||
text-decoration: underline dotted #606060;
|
text-decoration: underline dotted #606060;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover
|
a:hover
|
||||||
{
|
{
|
||||||
color: #FFF !important;
|
color: #FFF !important;
|
||||||
text-decoration: underline dotted #FF0048;
|
text-decoration: underline dotted #FF0048;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
p
|
p
|
||||||
{
|
{
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header .logo
|
.header .logo
|
||||||
{
|
{
|
||||||
animation-name: fade-in, scale-in;
|
animation-name: fade-in, scale-in;
|
||||||
animation-duration: 1s, 0.5s;
|
animation-duration: 1s, 0.5s;
|
||||||
animation-timing-function: ease-in, linear;
|
animation-timing-function: ease-in, linear;
|
||||||
animation-direction: alternate, alternate;
|
animation-direction: alternate, alternate;
|
||||||
animation-iteration-count: infinite, 1;
|
animation-iteration-count: infinite, 1;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
opacity: 0.5;
|
opacity: 0.5;
|
||||||
transform: scale(1.1);
|
transform: scale(1.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer
|
.footer
|
||||||
{
|
{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
padding-bottom: 20px;
|
padding-bottom: 20px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
background-color: #151515;
|
background-color: #151515;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer a,
|
.footer a,
|
||||||
.footer a:focus,
|
.footer a:focus,
|
||||||
.footer a:hover
|
.footer a:hover
|
||||||
{
|
{
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer a
|
.footer a
|
||||||
{
|
{
|
||||||
color: #f7296c;
|
color: #f7296c;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar
|
.navbar
|
||||||
{
|
{
|
||||||
padding: 15px 1rem;
|
padding: 15px 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header
|
.header
|
||||||
{
|
{
|
||||||
background-color: #a82147;
|
background-color: #a82147;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
height: 55px;
|
height: 55px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header .navbar-brand
|
.header .navbar-brand
|
||||||
{
|
{
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header a
|
.header a
|
||||||
{
|
{
|
||||||
color: #FFF !important;
|
color: #FFF !important;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
padding-left: 7px;
|
padding-left: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#breadcrumbs::before
|
#breadcrumbs::before
|
||||||
{
|
{
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white' width='19px' height='19px'%3E%3Cdefs%3E%3Cstyle%3E.fa-secondary%7Bopacity:.4%7D%3C/style%3E%3C/defs%3E%3Cpath class='fa-primary' d='M160 384H512c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H394.5c-17 0-33.3-6.7-45.3-18.7L322.7 50.7c-12-12-28.3-18.7-45.3-18.7H160c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64z'%3E%3C/path%3E%3Cpath class='fa-secondary' d='M24 96c13.3 0 24 10.7 24 24V344c0 48.6 39.4 88 88 88H456c13.3 0 24 10.7 24 24s-10.7 24-24 24H136C60.9 480 0 419.1 0 344V120c0-13.3 10.7-24 24-24z'%3E%3C/path%3E%3C/svg%3E");
|
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512' fill='white' width='19px' height='19px'%3E%3Cdefs%3E%3Cstyle%3E.fa-secondary%7Bopacity:.4%7D%3C/style%3E%3C/defs%3E%3Cpath class='fa-primary' d='M160 384H512c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H394.5c-17 0-33.3-6.7-45.3-18.7L322.7 50.7c-12-12-28.3-18.7-45.3-18.7H160c-35.3 0-64 28.7-64 64V320c0 35.3 28.7 64 64 64z'%3E%3C/path%3E%3Cpath class='fa-secondary' d='M24 96c13.3 0 24 10.7 24 24V344c0 48.6 39.4 88 88 88H456c13.3 0 24 10.7 24 24s-10.7 24-24 24H136C60.9 480 0 419.1 0 344V120c0-13.3 10.7-24 24-24z'%3E%3C/path%3E%3C/svg%3E");
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb-item.active
|
.breadcrumb-item.active
|
||||||
{
|
{
|
||||||
color: #6c757d;
|
color: #6c757d;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.breadcrumb
|
.breadcrumb
|
||||||
{
|
{
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-container
|
.header-container
|
||||||
{
|
{
|
||||||
padding-top: 30px;
|
padding-top: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#list a,
|
#list a,
|
||||||
#list a:focus
|
#list a:focus
|
||||||
{
|
{
|
||||||
color: #FFF !important;
|
color: #FFF !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#list a:hover
|
#list a:hover
|
||||||
{
|
{
|
||||||
color: #ff275d !important;
|
color: #ff275d !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#list colgroup
|
#list colgroup
|
||||||
{
|
{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#list .filename
|
#list .filename
|
||||||
{
|
{
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
table
|
table
|
||||||
{
|
{
|
||||||
margin-bottom: 10vh !important;
|
margin-bottom: 10vh !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table thead th a
|
.table thead th a
|
||||||
{
|
{
|
||||||
color: #9b9b9b !important;
|
color: #9b9b9b !important;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table td, .table th
|
.table td, .table th
|
||||||
{
|
{
|
||||||
padding: .75rem;
|
padding: .75rem;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
border-top: 0px solid #dee2e6;
|
border-top: 0px solid #dee2e6;
|
||||||
font-size: 1.6vmin;
|
font-size: 1.6vmin;
|
||||||
line-height: 2.5vmin;
|
line-height: 2.5vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table thead tr
|
.table thead tr
|
||||||
{
|
{
|
||||||
border-bottom: 2px solid #575757;
|
border-bottom: 2px solid #575757;
|
||||||
background-color: #181818;
|
background-color: #181818;
|
||||||
color: #717171;
|
color: #717171;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table thead th
|
.table thead th
|
||||||
{
|
{
|
||||||
vertical-align: bottom;
|
vertical-align: bottom;
|
||||||
border-bottom: 0px solid #575757;
|
border-bottom: 0px solid #575757;
|
||||||
font-size: 1.6vmin;
|
font-size: 1.6vmin;
|
||||||
line-height: 2.5vmin;
|
line-height: 2.5vmin;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-hover tbody tr:hover
|
.table-hover tbody tr:hover
|
||||||
{
|
{
|
||||||
background-color: rgba(155, 155, 155, 0.075);
|
background-color: rgba(155, 155, 155, 0.075);
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-accent
|
.text-accent
|
||||||
{
|
{
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #d0c273;
|
color: #d0c273;
|
||||||
}
|
}
|
||||||
|
|
||||||
#warning-firewall
|
#warning-firewall
|
||||||
{
|
{
|
||||||
background-color: #0F0F0F57;
|
background-color: #0F0F0F57;
|
||||||
padding: 2vh;
|
padding: 2vh;
|
||||||
margin-bottom: 2vh;
|
margin-bottom: 2vh;
|
||||||
font-size: 1.6vmin;
|
font-size: 1.6vmin;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
border: 1px dashed #FF6C00;
|
border: 1px dashed #FF6C00;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#warning-localhost
|
#warning-localhost
|
||||||
{
|
{
|
||||||
background-color: #0F0F0F57;
|
background-color: #0F0F0F57;
|
||||||
padding: 2vh;
|
padding: 2vh;
|
||||||
font-size: 1.6vmin;
|
font-size: 1.6vmin;
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
border: 1px dashed #FF0048;
|
border: 1px dashed #FF0048;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
line-height: 25px;
|
line-height: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
span.notice
|
span.notice
|
||||||
@@ -1032,11 +1032,11 @@ const server = http.createServer((req, res) => {
|
|||||||
|
|
||||||
code
|
code
|
||||||
{
|
{
|
||||||
font-size: 96%;
|
font-size: 96%;
|
||||||
color: #ff4985;
|
color: #ff4985;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
padding-right: 5px;
|
padding-right: 5px;
|
||||||
padding-left: 4px;
|
padding-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark)
|
@media (prefers-color-scheme: dark)
|
||||||
@@ -1044,7 +1044,7 @@ const server = http.createServer((req, res) => {
|
|||||||
#list a,
|
#list a,
|
||||||
#list a:focus,
|
#list a:focus,
|
||||||
#list a:hover {
|
#list a:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user