Posts by Mario77

    Same problem here, but worse, the remove unsafe chars and windows compatible filename options only seems to work with the filename not the folder name (actually it might work intermittently which is even odder). But the problem is I am using exFat formatted external drive so any recording with for example a : in like New: xxx fails when trying to create this directory. I moved away from formatting the external drive with a linux format as every time I had a power cut the drive would get corrupted. exfat doesn't do this, but now there is the problem with filenames. I am really struggling to find a solution. Ay thoughts appreciated

    Your issue is the way you are setting up your recordings...

    If you are just recording from epg your recordings directory is going to be exactly as it s showing in the epg..

    Your solution is that when you set a recordings go to your auto recordings menu from tvheadend pvr and edit the directory otherwise do it from the tvheadend UI ...menu digital video recorder-autorecs and edit/fix your directory from there..

    The screen is still black while booting even after I've removed the file. Only LibreELEC (official): 11.0.1 is written at the top left corner so it was with oemsplash.png.

    Looks like something unpredictable had happened when I've put the file into the /flash folder.

    Don't know whether I should report a bug.

    Actually there was something strange going on...I have tried one image then rebooted and it showed ok...then deleted the first and tried another image and rebooted and had both showing one after the other...anyway then I deleted the last image and rebooted and it still showed on boot even after being deleted..

    Workaround when you change and test image do not reboot but power off then power on again..as it will show even after deleting so probably you are getting a black screen from an old image you was testing..try unplugging your Rpi and test your image again it should work..

    Ok. So I have been able to create the playlist perennialseries.m3u and moved it to the loaction /storage/.kodi/userdata/playlists/video

    I then tried entering code into the Terminal but nothing happens. Do I need to then type something to call the function to run

    If you saved the playlist from kodi ui there will be no need to move it as iy will e saved in the playlists folder by default.

    Do you know which gpio you r using for motion detection?Did you change that in the script?

    Preferably if you want video to loop you will have to add it to a playlist,you do that from kodi menu and then the path has to be that of the playlist..


    SO you make a small playlist and move it to

    Code
    /storage/.kodi/userdata/playlists/video
    Quote

    #EXTCPlayListM3U::M3U

    #EXTINF:0,perennialseries.mp4

    /var/media/T7/perennialseries.mp4

    and name it perennialseries.m3u

    then in the script line 24

    Code
    xbmc.executebuiltin("PlayMedia(/storage/.kodi/userdata/playlists/video/perennialseries.m3u)")

    Ah, really sorry have tried searching everywhere for this information - it's very basic, but how can I see the file path? My video is called "perennialseries.mp4" and is located on an external SSD called "T7" which is plugged into my Raspberry Pi. I can't seem to find the file path information anywhere.

    Is it in a directory/folder on the ssd?

    If not it should be

    /var/media/T7/perennialseries.mp4

    Thanks so much Mario, will try this and see how it goes. Just checking - do I need to enter this code via SSH Terminal on my Mac?

    Sorry never touched a mac in my life...but if you have access to your libreelec via ssh terminal just copy all the following code at once and paste it in your terminal...you might need to press enter more then once for all commands to run...

    Dont forget to change MOTION_PIN = 11 to your motion detector pin you are using...

    Something to start with...

    Just to give you an idea what you need...

    change pin 11 to your motion gpio pin...remove debugging when done if you don't want logging...

    not tested..


    Now I just seen that you wanted to pause and play not stop and play so you might need to change some of the script but at least try and see if it works this way..

    I setted up the bluetooth connection in the described way but my sound is super distorted and cuts off, especially in the beginning after connecting. Anybody with the same problem or know a solution?

    Try this:

    First connect your bluetooth source from LE settings addon..then run this..

    Bash
    #!/bin/sh
    systemctl stop kodi
    pactl load-module module-udev-detect 2>/dev/null
    sink=`pactl list short sinks | grep 'alsa' | awk '{print $2}' | grep 'hdmi'`
    source=`pactl list short sources | grep bluez | awk '{print $2}'`
    pactl set-default-sink $sink
    pactl set-default-source $source
    systemctl start kodi

    Probably a corrupted profile.json of the Audio Profiles add-on

    remove it's settings directory ,reboot and set it up again..

    Code
    rm -rf /storage/.kodi/userdata/addon_data/script.audio.profiles

    if that doesn't work

    Code
    rm -rf /storage/.kodi/userdata/addon_data/script.audio.profiles && rm /storage/.kodi/userdata/guisettings.xml