Posts by PhilippeB

    chewitt Sir, you are a genius and I bow so low to your "grandeur" !


    It worked like a charm. Since i have a vanilla installation, I just input :

    Code
    CinePhil:~/.kodi/temp # getedid create
    The system is rebooting in 15 seconds
    CinePhil:~/.kodi/temp #


    Now regardless the order I power my devices, and even tried with my head upside down, it works all the time.

    The ultimate fix would be an option in Kodi GUI 'memorize my current video setting' - this would be awesome. Though command line will fix it forever now.


    You just got yourself a credit for many beers when you pass in town :)

    Ok, so probably not the typical firmware bug, but I risk a post here because I have been struggling with this for at least two years, with 2 different hardwares and many LE versions, I cannot seem to find a solution.

    I use my systems as follow:

    1. Always leave the LE unit on,

    2. When I want to listen, I power both the AMP and the TV.

    3. When i'm done, i power off both the TV and the AMP, leaving LE always on.

    4. All systems are plugged in 'series' LE -> AMP -> TV


    On setup #1, this works 100% of the time, Is a LE 12.0.2 installed on a minisforum N100 + Yamaha RXV4A + LG C2.

    On setup #2, this work 0% of the time, same LE 12.0.2 installed on same minisforum N100 + Yamaha RXA4 + LG G1


    -> I only get successful after rebooting the LE unit a couple of times, with both the TV and the AMP powered, I eventually get a 'video signal' . Otherwise it is the AMP splash screen that i get.

    -> Once i get the signal, everything remain stable for hours, no problem. If i power down either the TV or the amplifier, the sequence has to be redone again.

    -> I set AMP as 'passthrough' - for no processing, it did not help.
    always shows 'no signal' when it doesn't work (it cannot detect LE it seems)
    will show 4:4:4 (8 bits) when LE is detected

    -> I tried to tell LE "blank the other screens" in case the video was defaulting to 'the other port' (minisforums come with 2 HDMI ports)
    No help

    -> I had the same problem with different hardware (minisforum NAB5 with a i5 gen 12)


    So the constant seems to be my Yamaha AMP not able to 'see' LE video, only if the unit is booting but not when displaying the UI
    So i don't know at this point if LE 'emits' video or not, it seems not from what the amplifier tells.
    One funny thing, is that the setup that works 100% of the time, there is no 'AMP splash screen' - it is a cheaper model, and works better. The RXA4 is a higher end model and frankly seems to work like crap.

    All firmwares in all units are up to date.


    Is there a hidden option to tell LE to leave video on all the time ? (though i would'nt see why it would put it off)
    It seems to me it shuts it OFF and never detect again when the rest of the system gets powered on, for whatever reasons.


    Thaaaaaank youuuuu ! :P


    I am attaching boot logs for system#1(100% ok) and system#2 (100% fail) if any help

    Yes this is what I do.

    I will study this. I'm trying to build for starters, for now the build fails (tried both top of develop branch and 11.0.1)

    I am thinking the network share should use asymetric authentication, setup one time and never able to read them after.

    I'll post my findings if any, long way to go but i am a patient person.

    I would like to say yes and yes, but i will answer no and yes.

    kodi needs write access to 'export media DB' in multiple files where the files are stored where the media lives.

    Exporting in multiple files is the only way i found to keep the .nfo files that say what media you listened and what you did not, which is kinda usefull if you have a large DB and migrating to a new hardware. (Sorry for being off topic, just wanted to give a thourough answer) but you are right, kid could delete ;)

    Hi guys. Thank you for your answers chewitt

    Some updates:


    I realize that LibreElec is the outside "Shell" and Kodi is the app doing the thing, so I should have posted my concerns to a Kodi forum instead, sorry about that. Then maybe Kodi is not the faulty one, maybe it's Samba.
    At this point, we are getting philosophical about it.

    I confirm that I was not looking at the right unit (I have two) and the faulty one had both avahi and samba enabled. That is now off.

    **However**

    Kodi still is using SAMBA mounts to access my NAS where my media files are located right ?
    So let's not confuse "Accessing Kodi" through SAMBA from my laptop, and "Accessing my NAS from KODI" (which will continue to happen even with SAMBA off, this has nothing to do with mounts).

    Credentials are still being stored in clear, and anybody can 'get' to these credentials by many means.
    For example, you can see them by simply using KODI UI (Gear) -> File Manager -> passwords.xml (or mediasources.xml).

    Now any friend's kid in visit to my home can get access to my NAS by simply playing with my TV remote control, which gives me the creeps. The fact that libreElec that is using Kodi that is using SAMBA punches a hole in my network security.

    Credentials should NEVER (ever) be stored in clear. A breach is a breach, who ever is responsible should at least look into it I think. Documenting the fact that it exists doesn't protects the less skilled users.

    - A 33 year experienced embedded developer specialized in Linux/openWRT and on the cyber security comitee, aka "low/no Linux skilled user" ;)

    Thank you chewitt . So i guess the answer is that we should use something else than Samba to be more secure correct ?


    BTW i never enabled SAMBA in the first place (Samba to access LE device)
    The folder i was refereing to was visible in windows because the device probably multicasts a XML shema to be discoverable on the network. It is something i used to do in the past to make one on my embedded device visible to a windows network.

    Hi. I observed that my LibreElec device (latest version) was visible on my windows PC so i started to fool around the folders just to learn about its structure...

    I rapidly noticed that in /Userdata/passwords.xml, the credentials to my NAS are saved in clear (!)

    This is not good, even if documented... really not good ;(

    akaylor I was able to install LE 12.0.1 in a record time (below 5 minutes) with your steps, so thank you ALOT for that.

    I can see LE through proxMox console web interface and everything runs as expected so far.


    Now the 1million$ question: Can it passthrough video and audio directly to a physical HDMI port ?

    Currently if I connect a physical monitor to the PC node running ProxMox, i see ProxMox login console which make sense.

    What i'm trying to do is install proxMox on current home theater setups (i have 2) and continue using them as LE setups + use these setups CPUs to run other task on them when I don't use them to watch movies.

    So they would become permanently part of my ProxMox cluster, and still fullfill their primary roles of LE setups.

    Thank you,

    Philippe

    Klojum yes sorry about this i do suffer ADHD and sometimes a bit of keyboard errors. Also i am french so translating as it goes :)

    I first removed source the 'correct' way using the GUI and even though it seemed to do the job correctly (source was gone in the gui) as soon as i shutdown my nas, kodi will post an error message on powerup, obviously still looking for my nas.

    I know that because if i power up my nas, error message goes aways and the other way around.

    It is only after seeing that the gui onviously did not completely removed my nas that i went through the xml files removing any reference to it, there was no videos only music.

    Thanxs

    i once had a source pointing to my nas but each time my nas was poewered down this would generate a "cant connect to host error message on kodi startup.

    I then remove the source and added local hd instead, same problem. Everytime i boot LE now k0di complains qbout not being able tomdonnect to the source. But there is no source to connect to anymore si ce i removed the connection, but it always co plains u less i leave my nas opened.

    Is there a way to ssh that out ?

    Thanxs