-
Notifications
You must be signed in to change notification settings - Fork 11
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
sideview.mediaDirectory not updating media output directory #8
Comments
Hey, can you tell me if you were using a manim.cfg file or not? Note: if you've changed this from the settings, this is going to be your default media directory If you're not using a manim.cfg file, you have to edit the media directory, opening up the run time configurations menu: If your'e using the manim.cfg file, add an option for mediaDir. |
No I wasn't using a manim.cfg file. I went to the vscode settings using the |
Ah, okay. If I understood you correctly, you want the video output to be in the absolute path. The best way to do that as of right now is by making a configuration file in your working directory. Your workspace is let's say Inside the cfg file, make a CLI header and set the video dir inside there Which should look like: [CLI]
video_dir=C:\Users\Sam\Desktop\VSCode\ManimCE\videos\{module_name}\480p15 Restart your job or editor and then run it. |
It worked, thanks !! |
Hi, one more thing, every time I run the extension, an empty directory spawns in my workspace. Any way to fix that? |
You can find all the configuration options here https://docs.manim.community/en/stable/tutorials/configuration.html#the-config-files As for the empty folder, I need more context, what is it named? And also please paste the log you get when you run the extension |
Thnx for the documentation :) The empty folder is (which I just checked is apparently not completely empty) is named
|
Ah that's because we've only changed the video directory and not the media directory that encompasses the video itself, naturally. Must add a Then delete the excess folder, and restart your job or your editor. |
Thank you so much !! |
Is there any way to output the log in the terminal instead of the output window? |
Yes, it's currently being worked on with other few things, I've made a separate issue on this so that I can post an answer there once stable v0.0.13 which this will be in gets released. |
For some reason my output keeps coming in the default media directory, despite me updating the sideview.mediaDirectory to be a subfolder of one of my folders with a different name
The text was updated successfully, but these errors were encountered: