27 lines
861 B
Python
Executable File
27 lines
861 B
Python
Executable File
import streamlit as st
|
|
from modules import file_manager, renamer, encoder
|
|
|
|
st.set_page_config(page_title="PyMedia Manager", layout="wide", page_icon="🎬")
|
|
|
|
st.title("🎬 PyMedia Manager - Central de Controle")
|
|
|
|
# CSS para melhorar visual
|
|
st.markdown("""
|
|
<style>
|
|
.stTabs [data-baseweb="tab-list"] { gap: 24px; }
|
|
.stTabs [data-baseweb="tab"] { height: 50px; white-space: pre-wrap; background-color: #f0f2f6; border-radius: 4px 4px 0 0; gap: 1px; padding-top: 10px; padding-bottom: 10px; }
|
|
.stTabs [aria-selected="true"] { background-color: #ffffff; border-bottom: 2px solid #ff4b4b; }
|
|
</style>
|
|
""", unsafe_allow_html=True)
|
|
|
|
tab1, tab2, tab3 = st.tabs(["📂 Gerenciador de Arquivos", "🏷️ Renomeador (Séries)", "⚙️ Encoder (FFmpeg)"])
|
|
|
|
with tab1:
|
|
file_manager.render()
|
|
|
|
with tab2:
|
|
renamer.render()
|
|
|
|
with tab3:
|
|
encoder.render()
|