Skip to content

Commit

Permalink
jeedom 4.2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
guirem committed Dec 1, 2021
1 parent 3f74d17 commit c5a66c4
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
plugin data dedicated folder
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion resources/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
tts_cacheenabled = True
tts_speed = 1.2
tts_cachefolderweb = os.path.abspath(os.path.join(
os.path.dirname(os.path.dirname(__file__)), 'tmp'))
os.path.dirname(os.path.dirname(__file__)), 'data/cache'))
tts_cachefoldertmp = os.path.join('/tmp/jeedom/', 'googlecast_tts')
tts_gapi_url = 'https://www.google.com/speech-api/'
tts_gapi_key = 'none'
Expand Down
2 changes: 1 addition & 1 deletion resources/googlecast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ def generate_warmupnotif():
except Exception:
logging.debug("WARMUPNOTIF------Touching file failed !")
pass
urltoplay = globals.JEEDOM_WEB+'/plugins/googlecast/tmp/'+file+'.mp3'
urltoplay = globals.JEEDOM_WEB+'/plugins/googlecast/data/cache/'+file+'.mp3'
except Exception as e:
logging.error(
"WARMUPNOTIF------Exception while generating warmupnotif file : %s" % str(e))
Expand Down

0 comments on commit c5a66c4

Please sign in to comment.