Skip to content

Commit

Permalink
change to cpp and add flags support
Browse files Browse the repository at this point in the history
Play by TitleID Flag

activated by empty file
/config/sys-audioplayer/flags/titleid.flag.on

than put your songs in
/config/sys-audioplayer/titles/<titleid>

and it will play only by title.

if no flag file, it will play songs from /music

Play On Boot Flag:
ativated by empty file
/config/sys-audioplayer/flags/playonboot.flag.on
  • Loading branch information
KranKRival committed Jul 27, 2019
1 parent ed075af commit b6b7de6
Show file tree
Hide file tree
Showing 4 changed files with 284 additions and 119 deletions.
84 changes: 68 additions & 16 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,76 @@
{
"version": "0.1.0",
"command": "make",
"isShellCommand": true,
"version": "2.0.0",
"tasks": [
{
"taskName": "Makefile",

// Make this the default build command.
"isBuildCommand": true,

// Show the output window only if unrecognized errors occur.
"showOutput": "always",

// Pass 'all' as the build target
"args": ["all"],

// Use the standard less compilation problem matcher.
"label": "Build Debug",
"type": "shell",
"promptOnClose": true,
"command": "make DINFO=1 -j8",
"group": "build",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": ["relative", "${workspaceRoot}"],
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"label": "Build Release",
"type": "shell",
"promptOnClose": true,
"command": "make -j8",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Clean",
"type": "shell",
"promptOnClose": true,
"command": "make clean -j8",
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
Expand Down
102 changes: 0 additions & 102 deletions source/main.c

This file was deleted.

Loading

0 comments on commit b6b7de6

Please sign in to comment.