You've already forked RadioPlayer
mirror of
https://github.com/radio95-rnt/RadioPlayer.git
synced 2026-02-26 13:52:00 +01:00
bruh
This commit is contained in:
@@ -34,10 +34,9 @@ class Module(ActiveModifier):
|
||||
official = True
|
||||
if song.startswith("!"):
|
||||
song = song[1:]
|
||||
official = False # NOT FLOATINGPOINTERROR
|
||||
official = False
|
||||
|
||||
song = Path(song).absolute()
|
||||
return song, official
|
||||
return Path(song).absolute(), official
|
||||
|
||||
if len(songs):
|
||||
song, official = get_song()
|
||||
@@ -61,7 +60,6 @@ class Module(ActiveModifier):
|
||||
|
||||
logger.info(f"Playing {song.name} instead, as instructed by toplay")
|
||||
|
||||
|
||||
if len(songs):
|
||||
# There are more tracks on the temp list
|
||||
new_song, new_official = get_song(False)
|
||||
@@ -93,7 +91,6 @@ class Module(ActiveModifier):
|
||||
elif future.day > now.day: # late night goes mid day, as it starts at midnight
|
||||
logger.warning("Skipping track as it the next day")
|
||||
return (None, None), None
|
||||
|
||||
return (self.last_track, next_track), False
|
||||
|
||||
activemod = Module()
|
||||
Reference in New Issue
Block a user