Skip to content

Commit

Permalink
chore: release v1.5.0
Browse files Browse the repository at this point in the history
- Umstellung auf iobroker/eslint
- Neues Widget playlist
  • Loading branch information
oweitman committed Nov 28, 2024
1 parent f432878 commit a9ee510
Show file tree
Hide file tree
Showing 31 changed files with 11,808 additions and 4,077 deletions.
36 changes: 18 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"eslint.enable": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"json.schemas": [
{
"fileMatch": ["io-package.json"],
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
},
{
"fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"],
"url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
}
],
"[markdown]": {
"editor.wordWrap": "off"
}
}
{
"eslint.enable": true,
"editor.formatOnSave": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"json.schemas": [
{
"fileMatch": ["io-package.json"],
"url": "https://raw.githubusercontent.com/ioBroker/ioBroker.js-controller/master/schemas/io-package.json"
},
{
"fileMatch": ["admin/jsonConfig.json", "admin/jsonCustom.json", "admin/jsonTab.json"],
"url": "https://raw.githubusercontent.com/ioBroker/adapter-react-v5/main/schemas/jsonConfig.json"
}
],
"[markdown]": {
"editor.wordWrap": "off"
}
}
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,20 @@ you must connect the button to the player widget.
| Comma as separator | Advanced settings | A comma is used to separate the decimal places. |
| Thousands separator | Advanced settings | For large numbers, a separator is inserted every 3 places. |

### Playlist

![Number](/widgets/squeezeboxrpc/img/playlist.png)

Display the playlist from the server. If you click on an entry the playlist
is loaded and the player starts.
The widged dosent refresh automaticly, you have to press the refreshh button.

#### Attributes for Playlist

| Group | Attribute | Description |
| --------------------- | ----------------- | ----------------------------------------------------------------- |
| Player widget | General group | Selection of the player widget. |

## SendTo-Befehle

### cmdGeneral
Expand All @@ -451,7 +465,7 @@ _Alle Playlists:_

```js
async function main() {
let data = await sendToAsync("squeezeboxrpc.0", "cdmGeneral", {
let data = await sendToAsync("squeezeboxrpc.0", "cmdGeneral", {
playerid: "",
cmdArray: ["playlists", "0", "999", "tags:us"],
});
Expand All @@ -466,7 +480,7 @@ Dieser Befehl wird vom Adapter intern verwendet, um die Favoriten zu laden.

```js
async function main() {
let data = await sendToAsync("squeezeboxrpc.0", "cdmGeneral", {
let data = await sendToAsync("squeezeboxrpc.0", "cmdGeneral", {
playerid: "",
cmdArray: ["favorites", "items", "0", "999", "want_url:1", "item_id:"],
});
Expand Down Expand Up @@ -508,6 +522,11 @@ der folgenden CLI-Dokumentation enthalten:
### **WORK IN PROGRESS**
-->
### 1.5.0 (2024-11-28)

- Umstellung auf iobroker/eslint
- Neues Widget playlist

### 1.4.0 (2024-11-27)

- fix some missing objects errors
Expand Down
6 changes: 3 additions & 3 deletions .eslintignore → backup/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.prettierrc.js
**/.eslintrc.js
admin/words.js
.prettierrc.js
**/.eslintrc.js
admin/words.js
liB/squeezenode/*
76 changes: 38 additions & 38 deletions .eslintrc.json → backup/.eslintrc.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"root": true,
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": ["eslint:recommended"],
"plugins": [],
"rules": {
"no-console": "off",
"no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}
],
"no-var": "error",
"no-trailing-spaces": "error",
"prefer-const": "error",
"quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": ["error", "always"]
},
"parserOptions": {
"ecmaVersion": "latest"
},
"globals": {
"systemDictionary": true
}
}
{
"root": true,
"env": {
"es6": true,
"node": true,
"mocha": true
},
"extends": ["eslint:recommended"],
"plugins": [],
"rules": {
"no-console": "off",
"no-unused-vars": [
"error",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}
],
"no-var": "error",
"no-trailing-spaces": "error",
"prefer-const": "error",
"quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"semi": ["error", "always"]
},
"parserOptions": {
"ecmaVersion": "latest"
},
"globals": {
"systemDictionary": true
}
}
2 changes: 1 addition & 1 deletion .prettierignore → backup/.prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
package.json
package.json
package-lock.json
34 changes: 17 additions & 17 deletions .prettierrc.js → backup/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: false,
printWidth: 120,
useTabs: false,
tabWidth: 4,
endOfLine: "lf",
"overrides": [
{
"files": "*.md",
"options": {
"tabWidth": 2
}
}
]
};
module.exports = {
semi: true,
trailingComma: "all",
singleQuote: false,
printWidth: 120,
useTabs: false,
tabWidth: 4,
endOfLine: "lf",
"overrides": [
{
"files": "*.md",
"options": {
"tabWidth": 2
}
}
]
};
Loading

0 comments on commit a9ee510

Please sign in to comment.