Skip to content

Conversation

@OliBomby
Copy link
Contributor

Every good beatmap at least has a background

@Liam-DeVoe
Copy link
Collaborator

Thanks!

@OliBomby would you be interested in the commit bit on slider? I have less time to maintain it that I used to and you've sent good PRs over the years.

Comment on lines 2578 to 2586
background = None
video = None
if 'Events' in groups:
for line in groups['Events']:
if line.startswith('0'):
background = line.split('\"')[1]
elif line.startswith('Video') or line.startswith('1'):
video = line.split('\"')[1]

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can there ever be more than one background or video? I supported multiple in #69. I only ask because it matters whether we expose .background or .backgrounds to the user.

Copy link
Contributor Author

@OliBomby OliBomby Sep 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did some tests in osu! stable and it seems to only load the first background in the file and for videos im not sure, because it seems to support multiple videos but the second video wouldn't play for me, at most showing a black screen or a single frame.

I have a vague memory of some issue thread that wanted to fix multiple videos, but I can't find it.

@OliBomby
Copy link
Contributor Author

would you be interested in the commit bit on slider? I have less time to maintain it that I used to and you've sent good PRs over the years.

I use slider for my projects so it would be nice to have the ability to quickly make changes and push out new versions on pip. However i don't plan on actively closing issues beyond the ones I encounter in my projects.

@Lekuruu
Copy link

Lekuruu commented Oct 9, 2025

Hi, whats the current state on this? I would love to see this getting merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants