- volume slider of device will be grabbed on start
- if no music is playing, device list will appear that keeps searching
This commit is contained in:
13
program.py
13
program.py
@@ -38,7 +38,7 @@ spotify = spotipy.Spotify(auth=token)
|
||||
# Create the tkinter window
|
||||
root = ttk.Tk()
|
||||
root.title("Media Controller")
|
||||
root.attributes("-topmost", True)
|
||||
root.attributes("-fullscreen", True)
|
||||
root.overrideredirect(1)
|
||||
# root.geometry("380x160")
|
||||
sv_ttk.use_dark_theme()
|
||||
@@ -193,10 +193,13 @@ progress_bar = tk.Progressbar(root, orient=ttk.HORIZONTAL, length=300)
|
||||
#track_label = tk.Label(root, text="")
|
||||
|
||||
|
||||
# root.grid_rowconfigure(1, weight=1)
|
||||
# root.grid_columnconfigure(0)
|
||||
# root.grid_columnconfigure(1)
|
||||
# root.grid_columnconfigure(2)
|
||||
root.grid_rowconfigure(0, weight=1)
|
||||
root.grid_rowconfigure(1, weight=1)
|
||||
root.grid_rowconfigure(2, weight=1)
|
||||
root.grid_rowconfigure(3, weight=1)
|
||||
root.grid_columnconfigure(0, weight=1)
|
||||
root.grid_columnconfigure(1, weight=1)
|
||||
root.grid_columnconfigure(2, weight=1)
|
||||
|
||||
# frame.pack()
|
||||
# frame2.pack()
|
||||
|
||||
Reference in New Issue
Block a user