Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 955cc0a

Browse files
fixed path to load images
1 parent 16474ba commit 955cc0a

File tree

3 files changed

+7
-157
lines changed

3 files changed

+7
-157
lines changed

‎Music-Player-App/.gitignore‎

Lines changed: 0 additions & 129 deletions
This file was deleted.

‎Music-Player-App/LICENSE‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎Music-Player-App/main.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ def close_window_fully1():
193193

194194
# main_window.geometry("600x300")
195195
main_window.title("Rockerz")
196-
main_window.iconbitmap(r"assests/rockerz.ico")
196+
main_window.iconbitmap("./Music-Player-App/assests/rockerz.ico")
197197

198198
left_frame = Frame(main_window)
199199
left_frame.pack(side=RIGHT, padx=30, pady=20)
@@ -228,26 +228,26 @@ def close_window_fully1():
228228
canvas = Frame(right_frame)
229229
canvas.pack(pady=5)
230230

231-
pic = PhotoImage(file="assests/images/play.png")
231+
pic = PhotoImage(file="./Music-Player-App/assests/images/play.png")
232232
play_button1 = ttk.Button(canvas, image=pic, command=Play_music)
233233
play_button1.grid(row=0, column=0, padx=5)
234234

235-
pic1 = PhotoImage(file="assests/images/stop.png")
235+
pic1 = PhotoImage(file="./Music-Player-App/assests/images/stop.png")
236236
stop_button1 = ttk.Button(canvas, image=pic1, command=Stop_music)
237237
stop_button1.grid(row=0, column=1, padx=5)
238238

239-
pic2 = PhotoImage(file="assests/images/pause.png")
239+
pic2 = PhotoImage(file="./Music-Player-App/assests/images/pause.png")
240240
pause_button1 = ttk.Button(canvas, image=pic2, command=pause_music)
241241
pause_button1.grid(row=0, column=2, padx=5)
242242

243243
bottom_canvas = Frame(right_frame)
244244
bottom_canvas.pack(padx=30, pady=30)
245-
pic3 = PhotoImage(file="assests/images/rewind.png")
245+
pic3 = PhotoImage(file="./Music-Player-App/assests/images/rewind.png")
246246
rewind_button1 = ttk.Button(bottom_canvas, image=pic3, command=rewind_music)
247247
rewind_button1.grid(row=0, column=0, pady=10)
248248

249-
pic4 = PhotoImage(file="assests/images/002-mute.png")
250-
pic5 = PhotoImage(file="assests/images/001-volume.png")
249+
pic4 = PhotoImage(file="./Music-Player-App/assests/images/002-mute.png")
250+
pic5 = PhotoImage(file="./Music-Player-App/assests/images/001-volume.png")
251251
vol_button1 = ttk.Button(bottom_canvas, image=pic5, command=mute_music)
252252
vol_button1.grid(row=0, column=1)
253253

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /