Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset whats playing #157

Open
wobblewoo opened this issue Jan 12, 2024 · 1 comment
Open

Reset whats playing #157

wobblewoo opened this issue Jan 12, 2024 · 1 comment
Labels
question Ask for help setting up or running a VSMP waiting for info Dev waiting for reply from issue author before more work can be done

Comments

@wobblewoo
Copy link

Hello

Love this project but i have a question

Is there any way to reset what's playing so that it starts from the beginning each time its turned off?

I can see a 'nowPlaying' file which doesn't seem to do anything although it does contain the name of a file - but not the one that's currently playing.

I can also see a 'progress' folder, but again this doesn't do much if i edit the files in there.

Many thanks

W

@wobblewoo wobblewoo added the question Ask for help setting up or running a VSMP label Jan 12, 2024
@robweber
Copy link
Collaborator

What arguments are you using to start the program? That might help narrow things down.

Based on a quick glance in the code I think using --start 0 would do what you're asking. The conditional seems to indicate that at startup the --start arg will override any previous progress stored in the progress file. If you're playing from a directory you may also need to clear out the nowPlaying file to restart at the top of the directory.

I didn't test any of this but shouldn't be too hard to give it a try.

@robweber robweber added the waiting for info Dev waiting for reply from issue author before more work can be done label Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Ask for help setting up or running a VSMP waiting for info Dev waiting for reply from issue author before more work can be done
Projects
None yet
Development

No branches or pull requests

2 participants