mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +00:00
FRITZBOX: attr global modpath
git-svn-id: https://svn.fhem.de/fhem/trunk@10982 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0d6c6d85e7
commit
1c892d15cc
@ -771,7 +771,8 @@ sub FRITZBOX_API_Check_Run($)
|
||||
|
||||
|
||||
# Check if m3u can be created and the URL tested
|
||||
my $m3uFileLocal = AttrVal( $name, "m3uFileLocal", "./www/images/".$name.".m3u" );
|
||||
my $globalModPath = AttrVal( "global", "modpath", "." );
|
||||
my $m3uFileLocal = AttrVal( $name, "m3uFileLocal", $globalModPath."/www/images/".$name.".m3u" );
|
||||
if (open my $fh, '>', $m3uFileLocal) {
|
||||
my $ttsText = uri_escape("Lirumlarumlöffelstielwerdasnichtkannderkannnichtviel");
|
||||
my $ttsLink = $ttsLinkTemplate;
|
||||
@ -4781,6 +4782,7 @@ sub FRITZBOX_fritztris($)
|
||||
<b>Get</b>
|
||||
<ul>
|
||||
<br>
|
||||
|
||||
<li><code>get <name> ringTones</code>
|
||||
<br>
|
||||
Shows the list of ring tones that can be used.
|
||||
|
Loading…
x
Reference in New Issue
Block a user