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

Ytui was unable to find the audio directory & Invalid format of config file #37

Open
GiveMeFox opened this issue Jul 29, 2023 · 7 comments

Comments

@GiveMeFox
Copy link

GiveMeFox commented Jul 29, 2023

Invalid format of config file. Deserialize message: missing field `toggle_play` at line 5 column 3
Cannot get config file. Use default config? [yes/no] yes
Ytui was unable to find the audio directory.You can try re-run by setting YTUI_MUSIC_DIR variable or downloading the template config file.
  1. After setting the variable nothing happens
  2. Where can I download the default config, and why isn't it created when ytui-music is run for the first time, or the config file is missing?
  3. There's an info_config.txt file but its missing contents for ShortcutKeys and that's why this error occurs
@sudipghimire533
Copy link
Owner

You should be able to run it with default config. Make sure you delete your old config and re-run again.

Currently, config fo old version is not valid in new version so you have to re-configure so

@GiveMeFox
Copy link
Author

what config where is it

@sudipghimire533
Copy link
Owner

sudipghimire533 commented Aug 19, 2023

Platform Value Example
Linux $XDG_CONFIG_HOME or $HOME/.config /home/alice/.config
macOS $HOME/Library/Application Support /Users/Alice/Library/Application Support
Windows {FOLDERID_RoamingAppData} C:\Users\Alice\AppData\Roaming

In that folder there have to be "yrui-music" folder. delete all files inside that

@BunnyBotDev
Copy link

where is the template config file I cannot find one

@GiveMeFox
Copy link
Author

where is the template config file I cannot find one

no idea that's what I was trying to understand

@RannyBergamotte
Copy link

RannyBergamotte commented Oct 16, 2023

where is the template config file I cannot find one

same here, i'm lost

@SantiM5
Copy link

SantiM5 commented Nov 5, 2023

This solved for me #20

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

No branches or pull requests

5 participants