ソースを参照

[mopidy] Swap local media for jellyfin media

Colin Powell 3 年 前
コミット
7b4996d5cd
1 ファイル変更9 行追加13 行削除
  1. 9 13
      ansible/roles/mopidy/templates/mopidy.conf.j2

+ 9 - 13
ansible/roles/mopidy/templates/mopidy.conf.j2

@@ -10,12 +10,6 @@ media_dirs =
     /var/lib/mopidy/media
 follow_symlinks = true
 
-[local]
-enabled = true
-library = json
-media_dir = /var/lib/mopidy/media
-scan_follow_symlinks = true
-
 [m3u]
 playlists_dir = /var/lib/mopidy/playlists
 
@@ -51,25 +45,27 @@ zeroconf = Mopidy MPD server on $hostname
 command_blacklist = listall,listallinfo
 default_playlist_scheme = m3u
 
+[jellyfin]
+hostname = jellyfin.local
+username = secstate
+password = {{mopidy_jellyfin_password}}
+libraries = Music
+albumartistsort = False (Optional: will default to True if left undefined)
+album_format = {ProductionYear} - {Name} (Optional: will default to "{Name}" if left undefined)
+
 [spotify]
 username = 1259345154
 password = {{mopidy_spotify_pass}} 
 client_id = 35a0ba20-960d-4a0d-8051-0b5616052b90
-client_secret = Ql_SaFO-rVA0Eknmb7cj2aj67VlFXRva3XH5zz-g8vE=
+client_secret = {{mopidy_spotify_client_secret}}
 
 [spotify_web]
-username = 1259345154
-password = starlit imaginary humid landing
 client_id = 35a0ba20-960d-4a0d-8051-0b5616052b90
 client_secret = {{mopidy_spotify_client_secret}}
 
 [soundcloud]
 auth_token = {{mopidy_soundcloud_auth_token}}
 
-[scrobbler]
-username = secstate
-password = {{mopidy_scrobbler_pass}}
-
 [podcast]
 enabled = true
 browse_root = https://gpodder.net/user/secstate/list/secstates-list.opml