Skip to content

Commit

Permalink
fix(smc-output): hold yer horasies
Browse files Browse the repository at this point in the history
I need to open the firewall before this works
  • Loading branch information
hairmare committed Dec 11, 2023
1 parent dfbe07b commit 06f702c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions nowplaying/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,16 @@ def get_track_handler(self): # pragma: no cover
)
)
)
handler.register_observer(
SmcFtpTrackObserver(
options=SmcFtpTrackObserver.Options(
hostname=self.options.dab_smc_ftp_hostname,
username=self.options.dab_smc_ftp_username,
password=self.options.dab_smc_ftp_password,
if self.options.dab_smc:
handler.register_observer(
SmcFtpTrackObserver(
options=SmcFtpTrackObserver.Options(
hostname=self.options.dab_smc_ftp_hostname,
username=self.options.dab_smc_ftp_username,
password=self.options.dab_smc_ftp_password,
)
)
)
)

return handler

Expand Down

0 comments on commit 06f702c

Please sign in to comment.