2020-11-25, 04:02
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
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.
bash:
~/Music/Jet$ tree
.
└── Get Born
├── 1-01 Last Chance.mp3
├── 1-02 Are You Gonna Be My Girl.mp3
├── 1-03 Rollover D.J..mp3
├── 1-04 Look What You've Done.mp3
├── 1-05 Get What You Need.mp3
├── 1-06 Move On.mp3
├── 1-07 Radio Song.mp3
├── 1-08 Get Me Outta Here.mp3
├── 1-09 Cold Hard Bitch.mp3
├── 1-10 Come Around Again.mp3
├── 1-11 Take It or Leave It.mp3
├── 1-12 Lazy Gun.mp3
├── 1-13 Timothy.mp3
├── 1-14 Sgt. Major.mp3
├── 2-01 Are You Gonna Be My Girl (acoustic version).mp3
├── 2-02 Bruises (demo).mp3
├── 2-03 Hey Kids.mp3
├── 2-04 Move On (live).mp3
├── 2-05 Cold Hard Bitch (live).mp3
├── 2-06 You Don't Look the Same (demo).mp3
├── 2-07 Look What You've Done (live).mp3
└── folder.jpg
1 directory, 22 files
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:
bash:
~/Music/Jet$ python -m http.server --bind 172.16.15.89 8080
Serving HTTP on 172.16.15.89 port 8080 (http://172.16.15.89:8080/) ...
172.16.15.78 - - [25/Nov/2020 10:54:53] "GET / HTTP/1.1" 200 -
172.16.15.78 - - [25/Nov/2020 10:55:04] "GET /Get%20Born/ HTTP/1.1" 200 -
172.16.15.78 - - [25/Nov/2020 10:55:04] "GET /Get%20Born/ HTTP/1.1" 200 -
172.16.15.78 - - [25/Nov/2020 10:55:04] "GET / HTTP/1.1" 200 -
172.16.15.78 - - [25/Nov/2020 10:55:04] "GET / HTTP/1.1" 200 -
I can
Code:
172.16.15.78 - - [25/Nov/2020 10:56:35] "GET /Get%20Born/ HTTP/1.1" 200 -
172.16.15.78 - - [25/Nov/2020 10:56:39] "HEAD /Get%20Born/1-01%20Last%20Chance.mp3 HTTP/1.1" 200 -
172.16.15.78 - - [25/Nov/2020 10:56:40] "GET /Get%20Born/1-01%20Last%20Chance.mp3 HTTP/1.1" 200 -
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.