2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-24 15:19:21 +00:00

98_DLNARenderer: fixed SyncPlay for CaskeId players

git-svn-id: https://svn.fhem.de/fhem/trunk@12169 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
dominikkarall 2016-09-18 16:03:37 +00:00
parent 63019e60c8
commit 1443e54648
2 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- bugfix: 98_DLNARenderer: fixed SyncPlay for CaskeId players
- change: 10_ZWAVE: TRANSMIT_NO_ACK is reading only (Forum #57781)
- feature: 93_DbRep: new attr readingPreventFromDel to prevent readings from
deletion when a new operation starts

View File

@ -2,6 +2,9 @@
# Author: dominik.karall@gmail.com
# $Id$
#
# v2.0.3 - 20160918
# - BUGFIX: fixed SyncPlay for CaskeId players
#
# v2.0.2 - 20160913
# - BUGFIX: fixed pauseToggle (thx@MattG)
# - BUGFIX: fixed next/previous (thx@MattG)
@ -175,7 +178,7 @@ sub DLNARenderer_Define($$) {
if(@param < 3) {
#main
$hash->{UDN} = 0;
my $VERSION = "v2.0.2";
my $VERSION = "v2.0.3";
$hash->{VERSION} = $VERSION;
Log3 $hash, 3, "DLNARenderer: DLNA Renderer $VERSION";
DLNARenderer_setupControlpoint($hash);
@ -504,7 +507,10 @@ sub DLNARenderer_play {
#start play
if($hash->{helper}{caskeid}) {
DLNARenderer_upnpPlay($hash);
if($hash->{READINGS}{sessionId}{VAL} eq "") {
DLNARenderer_createSession($hash);
}
DLNARenderer_upnpSyncPlay($hash);
} else {
DLNARenderer_upnpPlay($hash);
}
@ -827,7 +833,7 @@ sub DLNARenderer_upnpPlay {
sub DLNARenderer_upnpSyncPlay {
my ($hash) = @_;
return DLNARenderer_upnpCallAVTransport($hash, "SyncPlay", 0, 1, "REL_TIME", "", "", "", "DeviceClockId");
return DLNARenderer_upnpCallAVTransport($hash, "SyncPlay", 0, 1, "REL_TIME", "", "", "", "PUREDEVICECLOCK1");
}
sub DLNARenderer_upnpCallAVTransport {