Posts by tokul

    mc updated to newer version? 11 generic-legacy reacts differently and more annoyingly to paste (Shift+Ins) command. I don't recall screen flashing on paste in v10. If it was redrawing screen before, now redraw is slowed down to the point where human eye can catch it.

    Are you saying Raspberry Pi tools is supposed to provide an orderly software shutdown? It doesn't.

    Are you saying in order to have orderly shutdown, you need to install a hardware switch on those IO pins and make some file modifications?

    I am not saying that to have orderly shutdown, you need hardware switch on io pins. I only told that if RPi is powered off via menu, it will need that switch or other way to cut off power to restart. I did assume that tools addon is required and you are free to fact check me on that.

    So far you kept claiming that Kodi power off does not work without providing any information to investigate it further. If you are here for blue twitter checkmark, they have other blue thing too on some posts. My RPi3B+ does not restart, if I use power off option in Kodi. It shutdowns. I don't remember its firmware version. Original RPi3B+ with 1 meg of ram. It does not have any extra hardware mods.

    Checked Pi 4 Model B Rev 1.2 too. 2023 Jan 11 bootloader. It shutdowns via Kodi menu even without RPi tools addon. Technically hardware is not shutdown. It is halted.

    Install raspberry pi tools from repo. Pi3B+ shutdowns, if Kodi power off is used in libreelec 10. You would have to remove power after that to get it reboot. Click link does talk about adding missing button to Pi.

    "with most computers that is a no-no."

    Modern operating systems have features in place to handle abrupt power loss. power off is not recommended, but options for doing it are there and in some cases it is the only recovery option that you have. With libreelec it is even easier cause OS is on readonly file system. Your biggest power off problem would be with attached NTFS storage devices.

    Code
    for file in `find . -name *avi`; do 
     name=basename($file,'.avi')
      echo "<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>\n<movie>\n    <title>$name</title>\n    <uniqueid type="home" default="true">$file</uniqueid>\n</movie>" > $name.nfo
    done

    add code to handle directory and spaces in filenames or put all your videos in one dir. Above code is just basic untested logic.

    NFO files/Templates - Official Kodi Wiki

    Based on Kodi wiki only title and uniqueid are required for movies.

    Windows machine might default to public network configuration and browsing will not work.

    Enabling DNLA service in kodi can make kodi library available without smb/cifs. if your goal is to view it and not to make changes in it.

    Windows network browsing tended to work some time ago, if samba server was acting as WINS machine on the network and was set to win master negotiations vs Windows workstations. Microsoft probably changed its SMB protocols since those olde days.

    X11 is basically dead and new features are not implemented. For example everything around HDR is a complete nogo at X11.

    RPi and all other ARM devices never used X11 at all at LE.

    Then Libreelec probably should not be running dead software on x86 builds.

    Topic asks for GUI, which is not web ajax based and not just CLI and you are doing your best at not mentioning X forwarding.

    HTTP_USER_AGENT : Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0

    Hi Tokul,

    I was asking where the KODI settings are kept (i.e. the source folder for rsync-ing)

    /storage is definitely NOT the correct answer for KODI, otherwise I wouldn't be asking

    my /storage folder has nothing but 2 folders - /downloads and /docker (including docker related logs).

    So, how do I clone/rsync my KODI settings from the old to the new LE installation?

    Writeable data storage for settings is in /storage. There is no way for others to guess which extra addons you got loaded on your system and where they store their data.

    Sorry, forgot to ask - how do I clone my Kodi settings with rsync?

    i.e. what is the source file/directory?

    Thanks!

    rsync -av -e ssh /storage/. root@new-libreelec-ip:/storage

    rsync(1) - Linux man page

    > what is the source file/directory?

    He did say "/storage"

    If you are concerned about privacy, just install new setup and all the plugins instead of copying data from your personal system. /storage will have your personal data and history. From recovery perspective you should learn to recreate your setup without having old system.

    Renaming font files won't magically provide fonts, if skin is coded in to use Arial. arialuni.ttf font name differs from arial.ttf and name is set inside the file. System should be selecting any font with code set available in displayed character range. If you were running x86 libreelec with x windows, I would say that you could put fonts in /storage/.fonts and not in /storage/.kodi/media/Fonts. I think rpi arm build does not use x windows and I can't tell how fonts work there.

    Problem with filenames is that you might have them written not in Unicode or in different unicode character set and no fiddling with fonts will fix it. Unless skin is hardcoded to use specific font for filename display. It is computer curse for having fifteen and one standard for character display and no automatic way for telling which character set is used in plain text.

    I have copied arial.ttf from Windows 11 to that folder on RPi4 with LibreElec 10.0.2 but still no Thai. Only placeholders.

    How can i enable it?

    Thank you!

    arial.ttf does not support Thai. You are probably looking for arial unicode. I don't remember atm if that bigger Arial (Unicode.odf) variant got Thai code pages. If you start Character Map on Windows 11 (if you can find it in that !@#$ start menu UI), it got search option for Unicode range. Arial on Win11 got no Thai support. Just checked. I don't have Thai support enabled on my Win11 to check which fonts they add to the system to support it. Microsoft Store shows Mitr Light font.

    https://www.fontsquirrel.com/fonts/list/language/thai lists other two fonts.

    More on Thai fonts at https://slice-of-thai.com/fonts/

    Microsoft got page about it too. https://learn.microsoft.com/en-us/typograp…ws_11_font_list

    You need other fonts. Not Arial.

    You are coming from niche language region and you probably know better which fonts support your language than most westerners do.

    We there is no ROI to buy, so need to resort back to the Nuc and my original question still stands do I go new or just grab another Gemini or keep the NUC5 Pentium.

    Thanks.

    New NUC models, NUC7 Gemini or NUC5 will run libreelec. It is your decision how much you want to cut costs. If your existing hardware works and provides all the features that you need, nothing stops you from continuing to use it. If it breaks, then you can always make a new decision about getting new kit from price range acceptable by you.