style: 💄 format other files

Signed-off-by: Eric Nemchik <eric@nemchik.com>
pull/1410/head
Eric Nemchik 2 months ago
parent b568a5b181
commit 3b6261b45c
No known key found for this signature in database

@ -9,21 +9,30 @@
<PhotoProfile container="jpeg" /> <PhotoProfile container="jpeg" />
</TranscodeTargets> </TranscodeTargets>
<DirectPlayProfiles> <DirectPlayProfiles>
<VideoProfile container="mkv" codec="vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> <VideoProfile container="mkv" codec="vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4"
<VideoProfile container="mp4" codec="hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca"
<VideoProfile container="asf" codec="wmv3,wmv3,vc1" audioCodec="wmav2,wmav2,wmapro,wmavoice,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="avi" codec="h264,msmpeg4v3,mpeg4,mjpeg" audioCodec="mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> <VideoProfile container="mp4" codec="hevc,h265,mpeg1video,mpeg2video,h264,mpeg4"
<VideoProfile container="mpeg" codec="h264,mpeg1video,mpeg2video" audioCodec="mp2,mp3,ac3,eac3,aac,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac,truehd,dca"
<VideoProfile container="flv" codec="h264" audioCodec="aac,ac3,eac3,mp3,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="mpegts" codec="h264,mpeg2video,vc1" audioCodec="mp2,mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs"/> <VideoProfile container="asf" codec="wmv3,wmv3,vc1" audioCodec="wmav2,wmav2,wmapro,wmavoice,pcm"
<VideoProfile container="wtv" codec="mpeg2video" audioCodec="ac3,eac3,aac,pcm"/> subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="3gpp" codec="h264,mpeg4" audioCodec="aac,he-aac"/> <VideoProfile container="avi" codec="h264,msmpeg4v3,mpeg4,mjpeg"
audioCodec="mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="mpeg" codec="h264,mpeg1video,mpeg2video"
audioCodec="mp2,mp3,ac3,eac3,aac,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="flv" codec="h264" audioCodec="aac,ac3,eac3,mp3,pcm"
subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="mpegts" codec="h264,mpeg2video,vc1"
audioCodec="mp2,mp3,ac3,eac3,dca,pcm" subtitleCodec="srt,ass,smi,ssa,subrip,pgs" />
<VideoProfile container="wtv" codec="mpeg2video" audioCodec="ac3,eac3,aac,pcm" />
<VideoProfile container="3gpp" codec="h264,mpeg4" audioCodec="aac,he-aac" />
<MusicProfile container="mp4" codec="aac" /> <MusicProfile container="mp4" codec="aac" />
<MusicProfile container="mp3" codec="mp2,mp3" /> <MusicProfile container="mp3" codec="mp2,mp3" />
<MusicProfile container="flac" codec="flac" /> <MusicProfile container="flac" codec="flac" />
<MusicProfile container="ogg" codec="vorbis" /> <MusicProfile container="ogg" codec="vorbis" />
<MusicProfile container="ac3" codec="ac3"/> <MusicProfile container="ac3" codec="ac3" />
<MusicProfile container="wav" codec="pcm"/> <MusicProfile container="wav" codec="pcm" />
<PhotoProfile container="jpeg,gif,bmp,png" /> <PhotoProfile container="jpeg,gif,bmp,png" />
</DirectPlayProfiles> </DirectPlayProfiles>
<ContainerProfiles> <ContainerProfiles>

@ -3,13 +3,13 @@
"short_name": "Guidarr", "short_name": "Guidarr",
"description": "Guides mainly for Sonarr/Radarr/Bazarr and everything related to it.", "description": "Guides mainly for Sonarr/Radarr/Bazarr and everything related to it.",
"icons": [ "icons": [
{ {
"src": "img/logo.png", "src": "img/logo.png",
"sizes": "512x512", "sizes": "512x512",
"type": "image/png" "type": "image/png"
} }
], ],
"theme_color": "#4051B5", "theme_color": "#4051B5",
"background_color": "#2E303E", "background_color": "#2E303E",
"display": "standalone" "display": "standalone"
} }

@ -6,4 +6,4 @@ mkdocs-material==9.5.14
mkdocs-minify-plugin==0.8.0 mkdocs-minify-plugin==0.8.0
mkdocs-redirects==1.2.1 mkdocs-redirects==1.2.1
mkdocs-include-markdown-plugin==6.0.4 mkdocs-include-markdown-plugin==6.0.4
mkdocs-markdownextradata-plugin==0.2.5 mkdocs-markdownextradata-plugin==0.2.5

@ -11,7 +11,7 @@
/* remove bottom navigation */ /* remove bottom navigation */
.md-footer__inner:not([hidden]) { .md-footer__inner:not([hidden]) {
display: none display: none;
} }
/* Change color of links */ /* Change color of links */
@ -23,13 +23,14 @@
footer.sponsorship { footer.sponsorship {
text-align: center; text-align: center;
hr { hr {
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
} }
/*Better table view */ /*Better table view */
th, td { th,
td {
border: 1px solid var(--md-typeset-table-color); border: 1px solid var(--md-typeset-table-color);
border-spacing: 0; border-spacing: 0;
border-bottom: none; border-bottom: none;
@ -42,10 +43,11 @@ th, td {
} }
.md-typeset__table table:not([class]) { .md-typeset__table table:not([class]) {
display: table; display: table;
font-size: .74rem; font-size: 0.74rem;
border-right: none; border-right: none;
} }
.md-typeset__table table:not([class]) td, .md-typeset__table table:not([class]) th { .md-typeset__table table:not([class]) td,
.md-typeset__table table:not([class]) th {
padding: 9px; padding: 9px;
} }
@ -56,7 +58,7 @@ th, td {
/* dark mode alternating table bg colors */ /* dark mode alternating table bg colors */
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) { [data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
background-color: hsla(var(--md-hue),25%,25%,1) background-color: hsla(var(--md-hue), 25%, 25%, 1);
} }
[data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) { [data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
color: #f8f8f8; color: #f8f8f8;

@ -1,38 +1,45 @@
.headerlink { .headerlink {
--permalink-size: 20px; /* for font-relative sizes, 0.6em is a good choice */ --permalink-size: 20px; /* for font-relative sizes, 0.6em is a good choice */
--permalink-spacing: 4px; --permalink-spacing: 4px;
width: calc(var(--permalink-size) + var(--permalink-spacing)); width: calc(var(--permalink-size) + var(--permalink-spacing));
height: var(--permalink-size); height: var(--permalink-size);
vertical-align: middle; vertical-align: middle;
background-color: var(--md-default-fg-color--lighter); background-color: var(--md-default-fg-color--lighter);
background-size: var(--permalink-size); background-size: var(--permalink-size);
mask-size: var(--permalink-size); mask-size: var(--permalink-size);
-webkit-mask-size: var(--permalink-size); -webkit-mask-size: var(--permalink-size);
mask-repeat: no-repeat; mask-repeat: no-repeat;
-webkit-mask-repeat: no-repeat; -webkit-mask-repeat: no-repeat;
visibility: visible; visibility: visible;
mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg>'); mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg>');
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg>'); -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg>');
} }
[id]:target .headerlink { [id]:target .headerlink {
background-color: var(--md-typeset-a-color); background-color: var(--md-typeset-a-color);
} }
.headerlink:hover { .headerlink:hover {
background-color: var(--md-accent-fg-color) !important; background-color: var(--md-accent-fg-color) !important;
} }
@media screen and (min-width: 76.25em) { @media screen and (min-width: 76.25em) {
h1, h2, h3, h4, h5, h6 { h1,
display: flex; h2,
align-items: center; h3,
flex-direction: row; h4,
} h5,
h6 {
display: flex;
align-items: center;
flex-direction: row;
}
.headerlink { .headerlink {
order: -1; order: -1;
margin-left: calc(var(--permalink-size) * -1 - var(--permalink-spacing)) !important; margin-left: calc(
} var(--permalink-size) * -1 - var(--permalink-spacing)
} ) !important;
}
}

File diff suppressed because one or more lines are too long

@ -3,26 +3,25 @@ currentAttempt=0
totalAttempts=10 totalAttempts=10
delay=15 delay=15
while [ $currentAttempt -lt $totalAttempts ] while [ $currentAttempt -lt $totalAttempts ]; do
do currentAttempt=$(($currentAttempt + 1))
currentAttempt=$(( $currentAttempt + 1 ))
echo "Attempt $currentAttempt of $totalAttempts..." echo "Attempt $currentAttempt of $totalAttempts..."
result=$(iptables-save) result=$(iptables-save)
if [[ $result =~ "-A DOCKER -i docker0 -j RETURN" ]]; then if [[ $result =~ "-A DOCKER -i docker0 -j RETURN" ]]; then
echo "Docker rules found! Modifying..." echo "Docker rules found! Modifying..."
iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER
iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL ! --dst 127.0.0.0/8 -j DOCKER
echo "Done!" echo "Done!"
break break
fi fi
echo "Docker rules not found! Sleeping for $delay seconds..." echo "Docker rules not found! Sleeping for $delay seconds..."
sleep $delay sleep $delay
done done

@ -1,12 +1,17 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
{{ super() }} {{ super() }}
<footer class="sponsorship"> <footer class="sponsorship">
<hr> <hr />
<a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"><img src="/img/buy-me-a-coffee.png" alt="Buy me a coffee" width="137" height="39"> <a href="https://github.com/sponsors/TRaSH-" title="Buy me a Coffee"
</a> ><img
<hr> src="/img/buy-me-a-coffee.png"
</footer> alt="Buy me a coffee"
width="137"
height="39"
/>
</a>
<hr />
</footer>
{% endblock %} {% endblock %}

Loading…
Cancel
Save