mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-09 23:55:10 -05:00
.env format
This commit is contained in:
29
.env.example
29
.env.example
@@ -126,13 +126,26 @@ SPOTIFY_IMPORT_SYNC_START_MINUTE=15
|
||||
# Example: If plugin runs at 4:15 PM and window is 2 hours, checks from 4:00 PM to 6:00 PM
|
||||
SPOTIFY_IMPORT_SYNC_WINDOW_HOURS=2
|
||||
|
||||
# Playlists configuration (JSON array format - combines name, ID, and local track position)
|
||||
# Playlists configuration (SIMPLE FORMAT - recommended for .env files)
|
||||
# Comma-separated lists - all three must have the same number of items
|
||||
#
|
||||
# 1. Playlist IDs (get from Jellyfin playlist URL: https://jellyfin.example.com/web/#/details?id=PLAYLIST_ID)
|
||||
SPOTIFY_IMPORT_PLAYLIST_IDS=
|
||||
#
|
||||
# 2. Playlist names (as they appear in Jellyfin)
|
||||
SPOTIFY_IMPORT_PLAYLIST_NAMES=
|
||||
#
|
||||
# 3. Local track positions (optional - defaults to "first" if not specified)
|
||||
# - "first": Local tracks appear first, external tracks at the end
|
||||
# - "last": External tracks appear first, local tracks at the end
|
||||
SPOTIFY_IMPORT_PLAYLIST_LOCAL_TRACKS_POSITIONS=
|
||||
#
|
||||
# Example with 4 playlists:
|
||||
# SPOTIFY_IMPORT_PLAYLIST_IDS=4383a46d8bcac3be2ef9385053ea18df,ba50e26c867ec9d57ab2f7bf24cfd6b0,8203ce3be9b0053b122190eb23bac7ea,7c2b218bd69b00e24c986363ba71852f
|
||||
# SPOTIFY_IMPORT_PLAYLIST_NAMES=Discover Weekly,Release Radar,Today's Top Hits,On Repeat
|
||||
# SPOTIFY_IMPORT_PLAYLIST_LOCAL_TRACKS_POSITIONS=first,first,last,first
|
||||
#
|
||||
# Advanced: JSON array format (use only if you can't use the simple format above)
|
||||
# Format: [["PlaylistName","JellyfinPlaylistId","first|last"],...]
|
||||
# - PlaylistName: Name as it appears in Jellyfin (e.g., "Discover Weekly", "Release Radar")
|
||||
# - JellyfinPlaylistId: Get from playlist URL: https://jellyfin.example.com/web/#/details?id=PLAYLIST_ID
|
||||
# - first|last: Where to position local tracks relative to external tracks
|
||||
# - "first": Local tracks appear first, external tracks at the end (default)
|
||||
# - "last": External tracks appear first, local tracks at the end
|
||||
# Example with 2 playlists:
|
||||
# Note: This format may not work in .env files due to Docker Compose limitations
|
||||
# SPOTIFY_IMPORT_PLAYLISTS=[["Discover Weekly","4383a46d8bcac3be2ef9385053ea18df","first"],["Release Radar","ba50e26c867ec9d57ab2f7bf24cfd6b0","last"]]
|
||||
SPOTIFY_IMPORT_PLAYLISTS=
|
||||
|
||||
Reference in New Issue
Block a user