Wallpaper Engine

Wallpaper Engine

Minimalistic Music Player (Media integration support)
stop progress bar from over extending?
hi,firstly this asset has been so fun to work with! I've use it in my own pokemon wallpaper and I messed around a bunch and made something cool!

however, I do have 1 issue. when a song is playing and then you play another audio (like youtube) the progress bar continues to progress. it goes far beyond the limits it is meant to and will eventually cross the entire screen.

I was wondering if there is a way for me to either stop the progress bar when the scene is muted or if theres a way to make the bar not exceed the limit of its own background

thank you :)
< >
Showing 1-9 of 9 comments
Rhy  [developer] 23 Aug, 2022 @ 8:36am 
Hey, glad you‘re enjoying it! Your issue sounds weird since it shouldn’t move at all once it’s paused or none of the files are playing (the bar does not depend on any other input than the Playstatus of the loaded tracks)

When it goes farther than it should, did you have the music paused or just set the volume to 0? There was an issue with that where wallpaper engine gave false info about the play status, which should be solved in the beta.
Last edited by Rhy; 23 Aug, 2022 @ 8:40am
spaghettibrain 24 Aug, 2022 @ 6:11am 
okay so I have it so that wallpaper engine will automatically pause songs when another audio source is playing (ie. spotify)

so, when I have my wallpaper playing one of the tracks through your player and then I start playing a song on spotify/youtube the music pauses.
I know its pausing and not muting because when I stop the spotify/youtube audio, the wallpaper audio picks up again from exactly where it left off.

The issue is that the progress bar will continue to extend endlessly, at least until the wallpaper song actually reaches its end, to which the progress bar will reset for whatever song plays next. For good measure I'll take a look at the beta to see if anything changes or fixes.
spaghettibrain 24 Aug, 2022 @ 6:26am 
updating to the beta defo helped. the progress bar doesn't go further than it should now. although it does continue to move until it reaches the max size and then starts going through every single song at rapid speed. Thats much better than a big bar going across the screen tho!

it moving is still obviously unintended so I'll see if there's anything else I can do to fix the issue
spaghettibrain 24 Aug, 2022 @ 6:44am 
Sorry for spamming you lol, i keep finding things.

Following up on the comment about the beta...
Because the bar still moves and starts to skip tracks it means that it is cutting songs short.
If I play another audio for a couple seconds and turn it off, the wallpaper audio seems to pick up where it left off but in actuality its shaved off the time I was pause, off the end of the song.

even removing "time+=engine.frametime;" from the update function doesnt stop it from skipping and cutting songs short. So wherever it is getting the info about how long a song has been playing, if not that, seems to be the issue
Rhy  [developer] 24 Aug, 2022 @ 8:49am 
Are you by chance having a faster playback rate set?
That often is an issue with frametime
Last edited by Rhy; 24 Aug, 2022 @ 8:54am
spaghettibrain 24 Aug, 2022 @ 9:47am 
nope its set as 100
spaghettibrain 24 Aug, 2022 @ 10:36am 
after doing some more digging, it seems the playStatus variable isn't changing to false when it should be. pausing the music manually works fine but playing another audio doesn't change it despite it auto pausing the music through the actual wallpaper engine settings
Rhy  [developer] 24 Aug, 2022 @ 11:37am 
That’s strange, I believe the variable is being changed in the function that checks whether any of the loaded tracks are playing. Maybe you can locate it.

If you believe this to be a wallpaper engine related issue (due to .isPlaying() being incorrect) you can test it in your own code and report it here https://steamhost.cn/steamcommunity_com/app/431960/discussions/1/3449213285568597331/

However I can‘t really check it out myself in the next weeks..
If you think it’s a problem with the asset itself, link me an example of your wallpaper and I try it out as soon as I get the time to :/
Last edited by Rhy; 24 Aug, 2022 @ 11:39am
spaghettibrain 24 Aug, 2022 @ 12:19pm 
okay well thank you so much for your help! again, this is an amazing asset!!!!
< >
Showing 1-9 of 9 comments
Per page: 1530 50