whyboris/Video-Hub-App

Is it possible to rename a hub?

digeomel opened this issue · 1 comments

I'm creating hubs per hard drive, and I name each hub after the volume name of the HDD. Recently I needed to change some volume name, and the corresponding hub name. I'm assuming this functionality is not built-in to the UI. So, if I rename the hub folder name and the .vha2 file(s), also replacing the path to the folder inside the JSON, is it enough?

Sorry there is no UI element for this process, but it's as you guessed - you just need to replace the string in the .vha2 file and the accompanying folder name.

So, if your hub is called my hub, open the .vha2 in your text editor, search for the string "hubName"; you'll find something like "hubName":"my hub" and replace it with a new name ("hubName":"my new hub name"). Then rename the vha-my hub folder to vha-my new hub name and the file my hub.vha2 to my new hub name.vha2. Reopen VHA; for some reason it will complain (small error modal in the center), but should show you the "new hub wizard" screen and on the left you should click Load from file and select the new hub 🚀

Cheers!