mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +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
|
# 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) {
|
if (open my $fh, '>', $m3uFileLocal) {
|
||||||
my $ttsText = uri_escape("Lirumlarumlöffelstielwerdasnichtkannderkannnichtviel");
|
my $ttsText = uri_escape("Lirumlarumlöffelstielwerdasnichtkannderkannnichtviel");
|
||||||
my $ttsLink = $ttsLinkTemplate;
|
my $ttsLink = $ttsLinkTemplate;
|
||||||
@ -4781,6 +4782,7 @@ sub FRITZBOX_fritztris($)
|
|||||||
<b>Get</b>
|
<b>Get</b>
|
||||||
<ul>
|
<ul>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
<li><code>get <name> ringTones</code>
|
<li><code>get <name> ringTones</code>
|
||||||
<br>
|
<br>
|
||||||
Shows the list of ring tones that can be used.
|
Shows the list of ring tones that can be used.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user