mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
37_NotifyAndroidTV.pm: fixed icon handling
git-svn-id: https://svn.fhem.de/fhem/trunk@16137 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
00173f939b
commit
e3d817d739
@ -267,8 +267,7 @@ NotifyAndroidTV_Set($$@)
|
||||
}
|
||||
Log3 $name, 5, $param->{data};
|
||||
|
||||
$param->{data} .= NotifyAndroidTV_addFormField('filename', $icon, "filename=\"fhemicon.png\"\r\nContent-Type: application/octet-stream") if( !defined($param_h->{type})
|
||||
|| ($param_h->{type} != $options->{type}{titleonly} && $param_h->{type} != $options->{type}{nameonly} ) );
|
||||
$param->{data} .= NotifyAndroidTV_addFormField('filename', $icon, "filename=\"fhemicon.png\"\r\nContent-Type: application/octet-stream") if( $param_h->{icon} || !($image || $param_h->{imageurl}) );
|
||||
$param->{data} .= NotifyAndroidTV_addFormField('filename2', $image, "filename=\"image.png\"\r\nContent-Type: application/octet-stream") if( $image );
|
||||
$param->{data} .= "--boundary--";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user