Path to Files on internal storage

  • Hello! First time caller.

    I have LibreELEC installed on a Raspberry Pi Zero W for a very limited, almost decorative use-case. I'd like to keep files on the MicroSD card and use Home Assistant triggers to play different files under different conditions.

    I've searched far and wide and can't seem to divine the file path to these files so that Home Assistant can play them. I've uploaded them to the default "Videos" folder that appears on my network when accessing Kodi and I'm able to see and play the files from the Kodi UI, but can't get the files to play via a remote command from Home Assistant. I'm integrated correctly. I can control other aspects of my Kodi instance in Home Assistant, but have not been able to find the right file path to get media play.

    Any help would be greatly appreciated. Thank you!

  • Thank you so much chewitt

    Gave that a go, but I'm getting the same result. Kodi seems to appear to receive the command and the player loading icon even spins for a moment, but ultimately fails to play. I'm able to play the same file from the Kodi UI.

    Share: \\LIBREELEC\Videos\window.mp4

    Path: /storage/videos/window.mp4


    I'm using on older Kodi (18.9 Leia) because I'm running this on a Pi Zero W. Wondering if this is an issue with the Home Assistant Kodi integration and the older version of Kodi. Perhaps a bug in the Play Media service.

    I'll look to pull logs on both and see if that illuminates it further.

  • Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link