Version 0.2.0 stable

This commit is contained in:
Marko Oldenburg 2017-05-23 21:23:13 +02:00
parent 5a82e60788
commit 2eaceb4bb9
3 changed files with 17 additions and 14 deletions

View File

@ -38,7 +38,7 @@ use JSON qw(decode_json);
use Encode qw(encode_utf8);
my $version = "0.1.80";
my $version = "0.2.0";

View File

@ -32,7 +32,19 @@
#################################
######### Wichtige Hinweise und Links #################
#
## Das JSON Modul immer in einem eval aufrufen
# $data = eval{decode_json($data)};
#
# if($@){
# Log3($SELF, 2, "$TYPE ($SELF) - error while request: $@");
#
# readingsSingleUpdate($hash, "state", "error", 1);
#
# return;
# }
##
##
##
#
@ -45,17 +57,16 @@ use warnings;
#use Data::Dumper;
my $missingModul = "";
my $missingModulNet = "";
eval "use Net::Telnet;1" or $missingModul .= "Net::Telnet ";
eval "use JSON;1" or $missingModul .= "JSON ";
eval "use Encode;1" or $missingModul .= "Encode ";
eval "use IO::Socket::Multicast;1" or $missingModulNet .= "IO::Socket::Multicast ";
eval "use IO::Socket::Multicast;1" or $missingModul .= "IO::Socket::Multicast ";
my $version = "0.1.80";
my $version = "0.2.0";
my %heosCmds = (
'enableChangeEvents' => 'system/register_for_change_events?enable=',

View File

@ -39,7 +39,7 @@ use Encode qw(encode_utf8);
use URI::Escape;
#use Data::Dumper;
my $version = "0.1.80";
my $version = "0.2.0";
@ -1148,10 +1148,6 @@ sub HEOSPlayer_makeImage($$) {
<li>channelDown- switches to previous favorite</li>
<li>clear queue - clears the queue</li>
<li>deletePlaylist &ltmyList&gt - clears playlist &ltmyList&gt</li>
<li>getNowPlayingMedia - get media info from now playing stream</li>
<li>getPlayMode - get player mode (repeat|shuffle)</li>
<li>getPlayState - get player state (play|pause|stop)</li>
<li>getPlayerInfo - get player info (pid, gid, network, ...)</li>
<li>set &lthp1&gt groupWithMember &lthp2&gt - creates group with hp1 as leader and hp2 as member</li>
<li>input sid[,cid][,mid] - set input source-id[,container-id][,media-id] </li>
<ul>
@ -1248,10 +1244,6 @@ sub HEOSPlayer_makeImage($$) {
<li>channelDown- schaltet auf vorherigen Favoriten in der Favoritenliste um</li>
<li>clear queue - l&oumlscht die Warteschlange</li>
<li>deletePlaylist &ltmyList&gt - l&oumlscht die Playlist &ltmyList&gt </li>
<li>getNowPlayingMedia - holt die Mediainfo vom aktuell abgespielten Mediastream</li>
<li>getPlayMode - holt den Player-Modus (repeat|shuffle)</li>
<li>getPlayState - holt den Player-Status (play|pause|stop)</li>
<li>getPlayerInfo - holt Player-Info (pid, gid, network, ...)</li>
<li>set &lthp1&gt groupWithMember &lthp2&gt - erzeugt eine Gruppierung mit hp1 als Leader und hp2 als Mitglied</li>
<li>input sid[,cid][,mid] - setze input source-id[,container-id][,media-id] </li>
<ul>