sudipghimire533 / ytui-music

Youtube client in terminal for music ( lightweight youtube client )
GNU General Public License v2.0
467 stars 19 forks source link

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

Open GiveMeFox opened 11 months ago

GiveMeFox commented 11 months ago
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 commented 10 months ago

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 commented 10 months ago

what config where is it

sudipghimire533 commented 10 months ago
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 commented 10 months ago

where is the template config file I cannot find one

GiveMeFox commented 9 months ago

where is the template config file I cannot find one

no idea that's what I was trying to understand

RannyBergamotte commented 8 months ago

where is the template config file I cannot find one

same here, i'm lost

SantiM5 commented 8 months ago

This solved for me https://github.com/sudipghimire533/ytui-music/issues/20