Posts by yoyoma2

    You could try rpi-clone Here. It uses rsync which I believe is installed already on LE. It can be run standalone in the home folder as ./rpi-clone. (No need to copy to /usr/local/sbin as in the install instructions)
    I haven't tested it on LE yet but it works on Raspbian and has the added bonus that the system doesn't have to be shutdown.

    I just used this script to clone my LibreELEC 9.2.8 micro SD card on rpi2. This project forked from the one mentioned by Iridium and was tweaked specifically for LibreELEC. I had to install Network Tools (Addons->Install from repository->LibreELEC Addons->Program add-ons->Network Tools) to get the required rsync tool.

    I put the command in a backup.sh script so I don't need to remember the arguments next time I use rpi-clone. I only had one destination micro SD card in a USB adapter so destination "sda" might be different for you if you have multiple destinations (sda, sdb, sdc...). It's fast (partitioning can be skipped if destination partitions are identical) and only content is copied not empty sectors. Also the system doesn't have to be shutdown as mentioned by Iridium.

    Bash
    #!/bin/sh
    
    # Call LibreELEC SD card cloning script that came from:
    # https://raw.githubusercontent.com/ypchen/LibreELEC-clone/master/rpi-clone
    
    /storage/.kodi/userdata/scripts/rpi-clone sda -v

    From xxx.xxx.138.49 on LibreELEC release: RPi2.arm-9.2.8 I can't install the network tools addon:

    Networking is working fine otherwise on the rpi2.

    While watching live TV in openelec, hitting up or down arrow would show, for a few seconds, the channel number, channel logo, program title, program description etc... Hitting up or down arrow again while this information was up, would perform channel up/down.

    In libreelec, hitting up or down arrow immediately performs channel up/down. How can the openelec channel info behavior be recreated? The keymap editor? Note that with very limited buttons on my remote that work with the rpi2's CEC functionality, the dual use of the arrow buttons was very convenient.

    I'm new to libreelec but have years of openelec use. Which statement was unclear? It's not possible for a script to make a playlist now to announce all messages for future unknown events. The script could only create a playlist of the single file of the message it is trying to announce now. Would this playlist call be synchronous/blocking as opposed to the single file asynchronous/nonblocking method you gave in post #4? Do playlists always play to completion even if another playlist call is made. The single file play call you gave in post #4 does not block and if a second call is made too soon, the currently playing message aborts and the second one begins. Unless the single file playlist behavior is different than the single file behavior, we have the same problem.

    Since libreelec includes command line tools for playing audio files mentioned in post #1, there must be a way to use them right?

    Sorry if I came across as a spammer. I am genuinely trying to use "paplay" or "aplay" which are part of libreelec.

    Make a playlist and play that. You need to decide based on your requirements.

    These are continuously running scripts monitoring/reporting real-time events. Unless a single file playlist will be synchronous/blocking or would play to completion should a subsequent single file playlist be sent, it's the same problem.

    Surely the included tools mentioned in post #1 can work with the proper arguments?

    I've tried both wav and mp3 but can't get anything to play from the command line/script. If a certain format works, I can convert the audio files to that. Note that libreelec (kodi) on rpi2 plays audio just fine on the hdmi tv.

    Both /usr/bin/paplay and /usr/bin/aplay are included in libreelec so how would I play an audio file on a vanilla rpi2 on an hdmi TV? Tried a bunch of command line arguments and could not play an audio file from the command line.

    Just migrated from openelec after an SD card hardware failure in my rpi2. Noticed that the licenses seem to do nothing. Booting with or without my licenses in the config.txt the same result is produced by the following:

    Code
    LibreELEC:~ # vcgencmd codec_enabled MPG2;vcgencmd codec_enabled WVC1
    MPG2=enabled
    WVC1=enabled

    Also the wiki page explaining how to check the license status is missing a newline in between vcgencmd commands.

    Congrats on a nice looking evolution of openelec.