Code Monkey home page Code Monkey logo

iobroker.mpd's Introduction

Logo

ioBroker.mpd adapter

Donate Donate

Connect to a music player daemon server, send commands, emit events.

Documentation

See also the MPD Protocol Documentation.

Changelog

1.0.6

  • (instalator) update tests
  • (algar42) Increase timeout for SayIt to allow playing files longer than 10 secs

1.0.5

  • (instalator) fix error state

1.0.4

  • (instalator) Changed the appearance of the settings
  • (instalator) Added support compact mode
  • (instalator) Refactoring

1.0.2

  • (twonky) support admin3

1.0.0

  • (instalator) Up to stable

0.2.4

  • (instalator) change for sayit

0.2.3

  • (instalator) change log level for send command change replay fix replay online radio fix error

0.2.2

  • (instalator) fix replay in sayit

0.2.1

  • (instalator) fix different error fix time fix messagebox added smooth volume for sayit if is play music

0.2.0

  • (instalator) Big change for SayIt

0.1.7

  • (instalator) change role media.pos to media.track

0.1.6

  • 05.01.2017 (instalator) fix error for sayit

0.1.4

  • 05.01.2017 (instalator) fix error

0.1.3

  • 02.01.2017 (instalator) fix clear playlist\nadded file manager

0.1.2

  • 02.01.2017 (instalator) change for playlist widgets

0.1.1

  • 02.01.2017 (instalator) fix error sendTo text2speech change error level (NOT connected) change progressbar to seek fix mute refactor default object

0.1.0

  • 22.12.2016 (instalator) change structure

0.0.13

  • 21.12.2016 (instalator) clearTag(), adding states - progressbar and mute

0.0.12

  • 19.12.2016 (instalator) add support sayit. add state addplay

0.0.11

  • 18.12.2016 (instalator) add tests

0.0.10

  • 15.12.2016 (instalator) add update status if play, to check whether the value has changed, fix error, fix different cmd

0.0.3

  • 14.12.2016 (instalator) fix send command change functions parse add function status mpd

0.0.2

  • 13.12.2016 (instalator) Add send command

0.0.1

  • 11.12.2016 (instalator) initial adapter

License

The MIT License (MIT)

Copyright (c) 2021 instalator [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

iobroker.mpd's People

Contributors

instalator avatar

Watchers

 avatar  avatar

Forkers

lopromise

iobroker.mpd's Issues

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/instalator/iobroker.mpd

  • [E003] Repository must have name ioBroker.adaptername, but now io"b"roker is in lowercase
  • [E004] No adapter name found in URL: https://raw.githubusercontent.com/instalator/iobroker.mpd/main
  • [E020] Name of adapter in package.json must be lowercase and be equal to "iobroker.". Now is "undefined"
  • [E019] Invalid repository URL: https://github.com/instalator/ioBroker.mpd. Expected: git+https://github.com/instalator/iobroker.mpd.git
  • [E103] common.name in io-package.json must be equal to "". Now is mpd
  • [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: {"en":"mpd client adapter","de":"MPD Client Adapter","ru":"Клиентский адаптер MPD","pt":"Adaptador de cliente MPD","nl":"MPD-clientadapter","fr":"Adaptateur client MPD","it":"Adattatore client MPD","es":"Adaptador de cliente MPD","pl":"klienta adapter Мурзя ","zh-cn":"对客户适配器"}
  • [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: {"en":"mpd client adapter","de":"MPD Client Adapter","ru":"Клиентский адаптер MPD","pt":"Adaptador de cliente MPD","nl":"MPD-clientadapter","fr":"Adaptateur client MPD","it":"Adattatore client MPD","es":"Adaptador de cliente MPD","pl":"klienta adapter Мурзя ","zh-cn":"对客户适配器"}
  • [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: {"en":"mpd client adapter","de":"MPD Client Adapter","ru":"Клиентский адаптер MPD","pt":"Adaptador de cliente MPD","nl":"MPD-clientadapter","fr":"Adaptateur client MPD","it":"Adattatore client MPD","es":"Adaptador de cliente MPD","pl":"klienta adapter Мурзя ","zh-cn":"对客户适配器"}
  • [E145] No news found for actual version 2.0.0
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json
  • [E154] common.dependencies must contain{"js-controller": ">=2.0.0"} or {"js-controller": ">=3.0.0"}
  • [E200] Not found on npm. Please publish
  • [E802] No topics found in the repository. Please go to "https://github.com/instalator/iobroker.mpd", press the settings button beside the about title and add some topics.

I have also found warnings that may be fixed if possible.

  • [W400] Cannot find "" in latest repository

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Object type mismatch

I recently discovered thousands of INFO messages in the iobroker log:
State value to set for "mpd.0.elapsed" has to be type "number" but received type "string"
State value to set for "mpd.0.seek" has to be type "number" but received type "string"

How can I fix this? When manually changing the object type to string in iobroker it gets reverted as soon as the adapter is restarted.
Changing it in "/opt/iobroker/node_modules/iobroker.mpd/io-package.json" does not help either.

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.