@@ -127,7 +127,6 @@ def MainWindow(playing_status, settings, title: str, artist: str, album: str, al
127127 ]
128128 if settings ['experimental_features' ]:
129129 tabs .append (VideoTab (video_devices ))
130- tabs .append (ConcertsTab ())
131130 tabs .extend ((
132131 LibraryTab (music_lib , LISTBOX_HEIGHT , alternate_bg , vertical_gui , show_album_art ),
133132 PlaylistsTab (settings ['playlists' ], vertical_gui , show_album_art ),
@@ -439,24 +438,6 @@ def SettingsTab(settings, web_ui_url):
439438 return Sg .Tab (t ('Settings' ), layout , key = 'tab_settings' )
440439
441440
442- def ConcertsTab ():
443- from modules .concert_api import MockConcertScraper
444- scraper = MockConcertScraper ()
445- artist_counts = scraper .get_artist_counts ()
446- # Sort artists by count (most frequent first) and take top 10
447- artists = sorted (artist_counts .items (), key = lambda x : x [1 ], reverse = True )[:10 ]
448- # Format as "Artist (count)" for display
449- artists = [f"{ artist } ({ count } )" for artist , count in artists ]
450- link_params = {'text_color' : LINK_COLOR , 'font' : FONT_LINK , 'click_submits' : True }
451- layout = [
452- [Sg .Text (t ('Concerts are a future feature. Stay tuned for updates!' ), font = FONT_MED , justification = 'center' )],
453- [Sg .Text (t ('Top Artists:' ), font = FONT_NORMAL )],
454- [Sg .Listbox (artists , size = (50 , 10 ), text_color = GuiContext .fg , background_color = GuiContext .bg , font = FONT_NORMAL , disabled = True )],
455- [Sg .Text (f'Contact: { EMAIL } ' , ** link_params , key = 'concerts_email' )]
456- ]
457- return Sg .Tab (t ('Concerts' ), [[Sg .Column (layout , pad = (5 , 20 ))]], key = 'tab_concerts' )
458-
459-
460441def VideoTab (devices ):
461442 select_files = t ('Select Files' )
462443 layout = [
0 commit comments