The problem is that script is executed BEFORE pvr client is even active. I changed my script above and add short delay with sleep. Try it - it works here.
Posts by vpeter
-
-
Did you even get channel id with curl? If not autoexec will not help you.
Enable kodi debug log and you will see what is happening with autoexec.
-
can you tell me the correct syntax
I fixed my code above.
But first you need to get channel list to get correct id of a program.
-
I made mistake on line 6 with jsonCmd. Now it is ok.
-
You can retrieve the channel list with command
Codecurl -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "method": "PVR.GetChannels", "params": {"channelgroupid": "alltv", "properties" :["uniqueid"]},"id": 1}' http://127.0.0.1:8080/jsonrpc
look for channel id and then use autoexec.py something like
Codeimport xbmc import xbmcgui import xbmcaddon import json import time # sleep few seconds time.sleep(5) # play a channel 149 jsonCmd = '{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"channelid":149}}}' jsonRv = xbmc.executeJSONRPC(jsonCmd)
I think last channel can be played automatically (set somewhere in pvr settings). -
-
-
could you kindly build an image for the Odroid C2?
Hope it is this: LibreELEC-Odroid_C2.aarch64-8.2.1-libcec-3953f8d.img.gz
-
Sorry but vpeter doesn't care much - he is now doing only things for personal interest. If I'm ignored then I'm ignoring back other things. Like this one.
Also I see no reason why 16GB stick would work and 128GB not. Above change just enables writing in general.
-
I think this is easier solution to your problem:
libass can read from system folder or from user home one. But obviously not from .kodi.
Before
Code11:02:53.015 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: Using default font family: (Favorit, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans 11:02:53.015 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (Favorit, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans 11:02:53.019 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: Using default font family: (Artist-Modern, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans 11:02:53.019 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (Artist-Modern, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans 11:02:53.024 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: Using default font family: (Purisa, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans 11:02:53.024 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (Purisa, 400, 0) -> /usr/share/fonts/liberation/LiberationSans-Regular.ttf, 0, LiberationSans
after
Code11:17:28.151 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (Favorit, 400, 0) -> /storage/.local/share/fonts/Favorit.ttf, 0, Favorit 11:17:28.162 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (Artist-Modern, 400, 0) -> /storage/.local/share/fonts/Artist-Modern.ttf, 0, Artist-Modern 11:17:28.164 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: Using default font family: (Purisa, 400, 0) -> /storage/.local/share/fonts/arial.ttf, 0, ArialMT 11:17:28.164 T:140242383945024 DEBUG: CDVDSubtitlesLibass: [ass] fontselect: (Purisa, 400, 0) -> /storage/.local/share/fonts/arial.ttf, 0, ArialMT
-
Would be cool to have custom xorg config at /storage/.config , so in this case additional font path can be added
You can have /storage/.config/xorg.conf.
And instead of mount bind you could use overlay which doesn't need copying file.
-
-
I think when I enabled one other module then I got pressure too. But kodi still didn't react.
Will repeat everything when time permits and fill one new issue.
-
So I build my addon with tslib-1.15-rc2 but noticed that ts_uinput daemon it doesn't work as mine. It only reports x/y coordinates but no pressure. But even with modifying ts.conf to report pressure I still can't select anything in Kodi.
-
Change project, arch and version to what you need: addons.xml.gz
Look inside and download as zip file script.moonlight-8.2.107.zip
-
Maybe I should not bother with kodi calibration at all and just call ts_calibrate before kodi is started...
-
Here, it can already be seen, that something is not quite right, because TvHeadend only sees the DVB-C part of the tuner, not the DVB-T part (on the left you can see the situation on the Wetek Play (as it should be) and to the left the situation on an AML S905X):
I think stick can only work in one mode and not both. Or this is dual tuner? In addon settings you can enable DVB-C o DVB-T and this mode is set when driver is started. If this is dual tuner then I should change this in settings. But I doubt. At least Marcus newer requested this.
-
Btw: those st1232-raw plugin is specially designed for st1232 touchscreen found on 7" display for Udoo board with i.MX6 SoC).