2022-05-20 09:40:29 +01:00
<?xml version="1.0" encoding="utf-8"?>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" lang = "en" xml:lang = "en" >
< head >
2022-09-05 16:54:06 +01:00
<!-- 2022 - 09 - 05 Mon 16:54 -->
2022-05-20 09:40:29 +01:00
< meta http-equiv = "Content-Type" content = "text/html;charset=utf-8" / >
< meta name = "viewport" content = "width=device-width, initial-scale=1" / >
< title > Lezzo secret wiki< / title >
< meta name = "generator" content = "Org mode" / >
< meta name = "author" content = "bparodi" / >
< link rel = "stylesheet" type = "text/css" href = "./stylesheet.css" / >
< / head >
< body >
< div id = "content" >
< h2 > [ Lezzo secret wiki ]< / a > < / h2 >
2022-09-05 16:54:06 +01:00
< div id = "outline-container-org380e091" class = "outline-2" >
< h2 id = "org380e091" > < b > ~< / b > Sonarr< / h2 >
< div class = "outline-text-2" id = "text-org380e091" >
2022-05-20 09:40:29 +01:00
< p >
Sonarr è un software che permette di automatizzare il download di
serie tv e anime tramite torrent e usenet.
< / p >
< p >
È stato installato da bparodi quando si è reso conto che la sua
istanza di jellyfin aveva molti problemi ad indicizzare alcuni anime e
serie tv.
< / p >
< p >
Quindi Sonarr è utilizzato principalmente per la funzione di download
dei metadati e mass renaming.
< / p >
< / div >
2022-09-05 16:54:06 +01:00
< div id = "outline-container-org0b0c2bb" class = "outline-3" >
< h3 id = "org0b0c2bb" > Come usare Sonarr< / h3 >
< div class = "outline-text-3" id = "text-org0b0c2bb" >
2022-05-20 09:40:29 +01:00
< p >
paperetta.local ha tre utenti le cui istanze usano come data path la
home dell'utente e dato che sono utilizzate solo sporadicamente non
vengono eseguite in background.
< / p >
< table border = "2" cellspacing = "0" cellpadding = "6" rules = "groups" frame = "hsides" >
< colgroup >
< col class = "org-left" / >
< col class = "org-left" / >
< col class = "org-left" / >
< / colgroup >
< thead >
< tr >
< th scope = "col" class = "org-left" > Utente< / th >
< th scope = "col" class = "org-left" > Libreria< / th >
< th scope = "col" class = "org-left" > Porta< / th >
< / tr >
< / thead >
< tbody >
< tr >
< td class = "org-left" > sonarr< / td >
< td class = "org-left" > anime/series< / td >
< td class = "org-left" > < a href = "http://paperetta.local:8988" > 8988< / a > < / td >
< / tr >
< tr >
< td class = "org-left" > sonarr2< / td >
< td class = "org-left" > tv-series/running< / td >
2022-09-05 16:54:06 +01:00
< td class = "org-left" > < a href = "http://paperetta.local:8987" > 8989< / a > < / td >
2022-05-20 09:40:29 +01:00
< / tr >
< tr >
< td class = "org-left" > sonarr3< / td >
< td class = "org-left" > tv-series/over< / td >
< td class = "org-left" > < a href = "http://paperetta.local:8986" > 8986< / a > < / td >
< / tr >
< / tbody >
< / table >
< p >
Per eseguire un'istanza di Sonarr:
< / p >
< pre class = "example" >
su - sonarr
start-sonarr
< / pre >
< p >
Lo script in particolare fa questo:
< / p >
< pre class = "example" >
#!/usr/bin/env python3
import os
import sys
user = os.environ.get('USER')
if not user.startswith('sonarr'):
print('Not a sonarr* user')
sys.exit(2)
else:
home = os.environ.get('HOME')
cmd = f'mono /usr/lib/sonarr/bin/Sonarr.exe /data={home}'
os.system(cmd)
< / pre >
< / div >
< / div >
2022-09-05 16:54:06 +01:00
< div id = "outline-container-org79cc9bd" class = "outline-3" >
< h3 id = "org79cc9bd" > Naming scheme< / h3 >
< div class = "outline-text-3" id = "text-org79cc9bd" >
2022-05-20 09:40:29 +01:00
< p >
Assurdo che non ci sia un modo per avere solamente {Quality}.
< / p >
< p >
Questo è il naming scheme utilizzato al momento:
< / p >
< pre class = "example" >
{Series TitleYear} - S{season:00}E{episode:00} - {absolute:000} - {Episode CleanTitle} [{Preferred Words }]{[MediaInfo VideoDynamicRangeType]}[{MediaInfo VideoBitDepth}bit]{[MediaInfo VideoCodec]}[{Mediainfo AudioCodec} { Mediainfo AudioChannels}]{MediaInfo AudioLanguages}
< / pre >
< p >
Questo è il naming scheme consigliato da: < a href = "https://trash-guides.info/Sonarr/Sonarr-recommended-naming-scheme/" > https://trash-guides.info/Sonarr/Sonarr-recommended-naming-scheme/< / a >
< / p >
< pre class = "example" >
{Series TitleYear} - S{season:00}E{episode:00} - {absolute:000} - {Episode CleanTitle} [{Preferred Words }{Quality Full}]{[MediaInfo VideoDynamicRangeType]}[{MediaInfo VideoBitDepth}bit]{[MediaInfo VideoCodec]}[{Mediainfo AudioCodec} { Mediainfo AudioChannels}]{MediaInfo AudioLanguages}{-Release Group}
The Series Title! (2010) - S01E01 - 001 - Episode Title 1 [iNTERNAL HDTV-720p v2][HDR10][10bit][x264][DTS 5.1][JA]-RlsGrp
< / pre >
< / div >
< / div >
< / div >
< / div >
< div id = "postamble" class = "status" >
< p class = "author" > Author: bparodi< / p >
< / div >
< / body >
< / html >