From bce1db0d69d6794428d15ac81e8599ee90532a9f Mon Sep 17 00:00:00 2001 From: vbs2 <> Date: Sun, 25 Jan 2015 13:27:46 +0000 Subject: [PATCH] 70_XBMC: renamed is3DFile to 3dfile and added documentation git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7709 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/70_XBMC.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FHEM/70_XBMC.pm b/FHEM/70_XBMC.pm index 3a4d3fcec..b93b6da96 100644 --- a/FHEM/70_XBMC.pm +++ b/FHEM/70_XBMC.pm @@ -347,7 +347,7 @@ sub XBMC_ResetMediaReadings($) readingsBulkUpdate($hash, "playlist", "" ); readingsBulkUpdate($hash, "type", "" ); readingsBulkUpdate($hash, "year", "" ); - readingsBulkUpdate($hash, "is3DFile", "" ); + readingsBulkUpdate($hash, "3dfile", "" ); readingsBulkUpdate($hash, "currentAlbum", "" ); readingsBulkUpdate($hash, "currentArtist", "" ); @@ -638,7 +638,7 @@ sub XBMC_CreateReading($$$) { $key = 'currentMedia'; my $is3D = XBMC_is3DFile($hash, $value); - XBMC_CreateReading($hash, "is3DFile", $is3D ? "on" : "off"); + XBMC_CreateReading($hash, "3dfile", $is3D ? "on" : "off"); } elsif($key =~ /(album|artist|track|title)/) { $key = 'current' . ucfirst($key); @@ -1509,6 +1509,7 @@ sub XBMC_HTTP_Request($$@)