(sorry for my English I will try to explain as clearly as possible)
I would like to read numbers from a .txt file and then expand the .stro file with this "{enter}"
since JREPL is quite complex, is it possible to add {enter} after the numbers?
or could some other solution be found?
actually as long as i can run it from .bat i would be interested in any solution
reading time.txt file then
create this load.stro file
inside time.txt
3546
then the load.stro file should look like this
3546{enter}
since I would run it several times a day, is it possible to avoid repeating it?
3546{enter}
2231{enter}
I could only get so far:
Code: Select all
@echo off
docker run -it screenbreak/singlefile-dockerized http://kodi:kodi@192.168.1.10:8080 > log.html
xidel -s log.html -e "<div class='playing-time-current'>{inner-html()}</div>" > time.txt
jrepl ":" "" /f "time.txt" /o -
Thanks in advance for your ideas and help!