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

Support adding your own DB's #52

Open
KuromeSan opened this Issue Nov 3, 2018 · 5 comments

Comments

Projects
None yet
3 participants
@KuromeSan

KuromeSan commented Nov 3, 2018

No description provided.

@devingDev

This comment has been minimized.

devingDev commented Nov 3, 2018

maek ur own

@devnoname120 devnoname120 changed the title from use a non-shit homebrew database to Support Brewology as a DB Nov 3, 2018

@devnoname120

This comment has been minimized.

Owner

devnoname120 commented Nov 3, 2018

@KuromeSan Please show some respect for other developers' work, even if they have shortcomings.

@devingDev

This comment has been minimized.

devingDev commented Nov 3, 2018

btw u can mod it to use your own database

@KuromeSan

This comment has been minimized.

KuromeSan commented Nov 3, 2018

honestly. it should just support adding a custom location for a database ^-^

@KuromeSan KuromeSan changed the title from Support Brewology as a DB to Support adding your own DB's Nov 3, 2018

@devnoname120

This comment has been minimized.

Owner

devnoname120 commented Nov 3, 2018

It already does in the code:

vhbb/src/macros.h

Lines 7 to 14 in 1f54827

#define API_ENDPOINT std::string("https://rinnegatamante.it/vitadb/list_hbs_yaml.php")
#define API_LOCAL std::string("ux0:/data/VitaHbBrowser/homebrews.yaml")
#define ICONS_FOLDER std::string("ux0:/data/VitaHbBrowser/icons")
#define ICON_URL_PREFIX std::string("https://rinnegatamante.it/vitadb/icons/")
#define SERVER_BASE_URL std::string("https://rinnegatamante.it/vitadb/")
#define SCREENSHOTS_FOLDER std::string("ux0:/data/VitaHbBrowser/screenshots")

Feel free to do a pull request to put it in an external configuration file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment