Initial commit: modular Streamlit media viewer with Jellyfin, SSH tools, and docs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
"""Convenience Streamlit entrypoint.
|
||||
|
||||
The real application lives in :mod:`media_library_viewer.app` under ``src/`` so
|
||||
that the project can be packaged and reused by other frontends later. This file
|
||||
keeps the simple development command working:
|
||||
|
||||
streamlit run app.py
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
SRC = Path(__file__).resolve().parent / "src"
|
||||
if str(SRC) not in sys.path:
|
||||
sys.path.insert(0, str(SRC))
|
||||
|
||||
from media_library_viewer.app import main # noqa: E402
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user