Posts by teranex

    Update: I found the problem: file permissions. The missing files where -rw------- instead of -rw-r--r--.


    I have all my music on a WD MyCloud, which is added in LibreElec as a NFS drive.
    Several of my music albums are missing. For example, for Hank Mobley Kodi only shows 8 albums while I have 14, which are all in the same directory (artist/album). All the files are rips form my CD's, mostly in Ogg Vorbis.
    It seems for some reason Kodi does not recognize some of the vorbis files as music files. When I browse through the files section to the directory of a 'missing' album, I can see the files, but can not start playing them.
    The files have the same permissions and also very similar metadata:

    This is an example which is not recognized:

    While this one is recognized:

    The files are on a WD MyCloud which includes a DLNA server (Twonky). When I use BubbleUPnP on an Android device to select the first song (2 - Justine.ogg) and select Kodi as the DLNA renderer it plays without any problems..
    [hr]
    When I try to play one of the unrecognized tracks through the files section I see the following appear in kodi.log

    Code
    00:05:35 14858.634766 T:1962795008   ERROR: Open - failed to open source <nfs://192.168.1.165/nfs/Music/Owned CD's/Hank Mobley/Soul Station/3 - Dig Dis.mp3>
    00:05:35 14858.634766 T:1962795008   ERROR: Init: Error opening file nfs://192.168.1.165/nfs/Music/Owned CD's/Hank Mobley/Soul Station/3 - Dig Dis.mp3
    00:05:35 14858.634766 T:1962795008   ERROR: CAudioDecoder: Unable to Init Codec while loading file nfs://192.168.1.165/nfs/Music/Owned CD's/Hank Mobley/Soul Station/3 - Dig Dis.mp3
    00:05:35 14858.634766 T:1962795008 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder

    A few days ago I started playing with Libreelec on a Raspberry Pi 3, which connected to my network using the built-in wifi to stream files from my WD MyCloud. Even-though the RPi is only 8 meters away from the router (Asus AC3200) videos, and even music, would often stutter. While rsync-ing some videos to the Pi over SSH I noticed that the speed was extremely slow (less than 300kb/s). Using the iw-tools on libreelec I saw varying connection speeds for the wifi ranging from over 40Mbps to only 5.5Mbps. This made me conclude that the built-in wifi can't give me a stable enough wifi-connection for stable streaming, probably due to the small antenna. Have other people experienced similar bad network performance with the built-in wifi?

    I still had a wifi extender (Linksys RE2000) lying around, so I added that to my network and connected the Pi to one of it's ethernet ports. This has given me very smooth streaming so far.

    Since i'd prefer not to use the wifi extender I'm thinking about buying a wifi USB dongle, such as 300Mbps / 5 GHz Dual Band USB WiFi Adapter with 2: Amazon.co.uk: Electronics, but I'm wondering how Libreelec handles two available wifi cards? Can you choose which network card to use? Would it use the one it sees first (probably the built-in one)? Or would I have to disable the built-in one by blacklisting the kernel modules or something?

    Update: I bought the mentioned wifi-usb dongle and it works like a charm.