Files
tkinter_player/tkinter_app/src/main.py

20 lines
541 B
Python

#!/usr/bin/env python3
"""
Main entry point for the tkinter-based signage player application.
This file acts as the main executable for launching the tkinter player.
"""
import os
import sys
# Add the current directory to the path so we can import our modules
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
# Import the player module from player_app.py
from player_app import SimpleMediaPlayerApp
if __name__ == "__main__":
import tkinter as tk
root = tk.Tk()
player = SimpleMediaPlayerApp(root)
player.run()