Skip to content

Commit 56aa701

Browse files
committed
Remove bad concerts feature
1 parent 56a11e9 commit 56aa701

File tree

4 files changed

+1
-183
lines changed

4 files changed

+1
-183
lines changed

CHANGELOG.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ Music Caster Changelog
22

33
5.25.1
44
- [Fix] Settings save/load ?
5+
- [Fix] Typing
56

67
5.25.0
78
- [Fix] Forwards compatibility for v6

src/gui/views.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
460441
def VideoTab(devices):
461442
select_files = t('Select Files')
462443
layout = [

src/modules/concert_api.py

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

src/music_caster.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3751,9 +3751,6 @@ def read_main_window():
37513751
# main window settings tab
37523752
elif main_event == 'open_email':
37533753
open_in_browser(create_support_email_url())
3754-
elif main_event in 'concerts_email':
3755-
# TODO
3756-
open_in_browser(create_support_email_url())
37573754
elif main_event == 'open_github':
37583755
open_in_browser('https://github.com/elibroftw/music-caster')
37593756
elif main_event == 'web_gui':

0 commit comments

Comments
 (0)