Kodi fails to scan music from Web server directory (HTTP) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: Kodi fails to scan music from Web server directory (HTTP) (/showthread.php?tid=358670) |
Kodi fails to scan music from Web server directory (HTTP) - getborn - 2020-11-25 I have some music files that I've ripped from my CDs. I've processed them via Picard, so they are tagged correctly.
I'm serving these files via a HTTP server. For example purposes, I'm using a Python HTTP server, but I've tried this with other servers with the same result. I'm running Kodi on a Google TV set top box. When I point Kodi to the above server, it lists the files correctly, but fails to scan them into the library - in other words, they do not appear in the Music section. Here's some output from the server:
I can Code:
As you can see, Kodi is connecting to the server, listing the files and streaming them correctly, but for some reason it isn't scanning the files into the music library. Can anybody suggest why it's not doing the scan? If I connect to the same server via SSH, then the music files get scanned into the library correctly. I could use SSH as a work-around, but it's slower than HTTPS, so I'd prefer not to. So, the problem is not with the files. It's likely a problem either with Kodi or the HTTP server I'm using, but like I said, I tried multiple servers and got the same result, so I suspect it may be a problem with Kodi. RE: Kodi fails to scan music from Web server directory (HTTP) - wsnipex - 2020-11-25 it only works with "standard" html index lists, like those produced by apache, (I think nginx) and lighthttpd RE: Kodi fails to scan music from Web server directory (HTTP) - getborn - 2020-11-26 (2020-11-25, 11:06)wsnipex Wrote: it only works with "standard" html index lists, like those produced by apache, (I think nginx) and lighthttpdThank you for your reply. I installed Apache locally to serve the same files and pointed Kodi to it. Unfortunately, I got the same result: Kodi sees the individual files, but does not scan them into the music library. From what I understand, all that Kodi can get from the html index lists are the file names in each subdirectory and their file sizes. It seems to be doing that just fine regardless of the server being used (I tried several). The part Kodi is failing to do - getting the artist/album names, etc. - that should come from reading each individual file and extracting the MP3 tags. I'm not sure why it's not doing that - do you have any other ideas? RE: Kodi fails to scan music from Web server directory (HTTP) - wsnipex - 2020-11-26 please provide a Debug Log RE: Kodi fails to scan music from Web server directory (HTTP) - getborn - 2020-11-26 (2020-11-26, 08:24)wsnipex Wrote: please provide a Debug Log Sure, please see https://paste.kodi.tv/nuyocacuto.kodi I did some more digging and it sounds like I may have found a bug (long story: the open-source ffprobe can extract MP3 tags from my URLs, but Kodi can't), so I opened a ticket in the issue tracker. https://github.com/xbmc/xbmc/issues/18866 RE: Kodi fails to scan music from Web server directory (HTTP) - DaveBlake - 2020-11-26 (2020-11-25, 04:02)getborn Wrote: I have some music files that I've ripped from my CDs. I've processed them via Picard, so they are tagged correctly.Kodi can not tell the difference between continuous streams served over http and ordinary tagged music files, hence files served via http can not be scanned into the music library. It isn't a bug but by design. You can play the http served music files via file view, just like you can play music streams, but not add them to the music library. What you can try is WebDAV, not something I have done myself but I can see in the code that files served as dav:// and davs:// (with correct certificates) will be scanned into the library. RE: Kodi fails to scan music from Web server directory (HTTP) - kiai - 2022-09-14 Hello, i have exactly the same problem with WEBDAV from 1und1. Is there a solution in the meanwhile ? I think i didnt habe the problem before matrix |