Move server details print to info command
MODIFY
plextraktsync/commands/info.py
plextraktsync/commands/info.py
@@ -26,4 +26,5 @@ def info():
print(f"Log Dir: {log_dir}")
plex = factory.plex_api()
+ print(f"Plex Server version: {plex.version}, updated at: {plex.updated_at}")
print(f"Enabled {len(plex.library_sections)} libraries in Plex Server: {plex.library_section_names}")

MODIFY
plextraktsync/commands/sync.py
plextraktsync/commands/sync.py
def sync_all(walker: Walker, plex: PlexApi, runner: Sync, dry_run: bool):
- click.echo(f"Plex Server version: {plex.version}, updated at: {plex.updated_at}")
-
runner.sync(walker, dry_run=dry_run)

Move server details print to info command