Skip to content

Commit 211f07b

Browse files
author
dogatech
committed
add debug info for viewing song info
1 parent 24d0f33 commit 211f07b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

be/src/MusicVideoService.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ vector<string> MusicVideoService::downloadAudio(const string& url) {
9999
boost::property_tree::ptree ptree;
100100
std::stringstream tmp(json);
101101
read_json(tmp, ptree);
102+
if (SoulSifterSettings::getInstance().get<bool>("app.debug")) {
103+
LOG(DEBUG) << "song info";
104+
LOG(DEBUG) << json;
105+
}
102106

103107
Song* song = new Song();
104108
Album* album = new Album();

fe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "SoulSifter",
33
"version": "1.5.1",
44
"description": "DJ & music organization app.",
5-
"build": 2999,
5+
"build": 3000,
66
"main": "main.js",
77
"scripts": {
88
"fe:build": "vite build",

0 commit comments

Comments
 (0)