Added support for Audiobookshelf

This commit is contained in:
Luc Timmerman
2022-11-23 19:54:28 +01:00
parent 2648a3a6dc
commit afb80f46f8
6 changed files with 45 additions and 2 deletions

View File

@@ -52,6 +52,14 @@ class UserGroupSetup:
self.create_config_dir('mylar')
os.system('sudo usermod -a -G mediacenter mylar')
def audiobookshelf(self):
os.system(
'sudo useradd audiobookshelf -u 13009'
' && sudo mkdir -pv ' + self.root_dir + 'data/{media,torrents}/audiobooks -m 775'
)
self.create_config_dir('audiobookshelf')
os.system('sudo usermod -a -G mediacenter audiobookshelf')
def prowlarr(self):
os.system('sudo useradd prowlarr -u 13006')
self.create_config_dir('prowlarr')