Adding HTTP(S) source for music ?
#1
Hi,
I would like to add a HTTP(S) source for my music but it doesn't add anything to library. If I use a local folder with the same music files, it's added without problem. But when I add it from HTTPS source, it scans the source but add nothing to library.
I get this error in the log :
Quote:2019-10-22 23:59:39.808 T:6456 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(sources) in sources://music.tbn
2019-10-22 23:59:45.215 T:3392  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:00
2019-10-22 23:59:45.242 T:6456 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(sources) in sources://music.t
Is there a way to add HTTPS source for music ? I don't have any issue with Movies.
Thank you !
Reply
#2
Please provide the entire log.

Also a screenshot of your Add Network Location screen. (The one where you are adding the Protocol, server name etc)
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Here is the log with debug enabled : https://paste.kodi.tv/ifativuhot.kodi
Here is the screenshot : @Karellen- Link removed for security
I replaced my personal informations with generic names.
Files are tagged with Musicbrainz Picard and the same music files work without any issue if I use a local folder so it's not a tag problem.
Thank you !
Edit : The log is from Windows but same issue with Kodi for Android
Reply
#4
The issue is a fundamental one - Kodi music library does not try to read tags from internet streamed data, and it sees any URL starting "https://" (or "http://" and several other things)  as an internet stream. Hence while it locates those files correctly (and could play them) it does not add them to the library because it doesn't read the tags.


Now I'm sure there are users that play muisc from remote sources, and hopefully one of them will come and talk about doing that. There are probably addons that supprt this, but there may be other ways too.
Reply
#5
Thank you for this information, I hope Smile
Is there a list of protocols seen as Internet stream ? Perhaps I could switch to WebDAV if it's supported.
Reply
#6
The list of protocols seen as Internet stream is
PHP Code:
if (CURL::IsProtocolEqual(protocol"http") || CURL::IsProtocolEqual(protocol"https") ||
CURL::IsProtocolEqual(protocol"tcp") || CURL::IsProtocolEqual(protocol"udp") ||
CURL::IsProtocolEqual(protocol"rtp") || CURL::IsProtocolEqual(protocol"sdp") ||
CURL::IsProtocolEqual(protocol"mms") || CURL::IsProtocolEqual(protocol"mmst") ||
CURL::IsProtocolEqual(protocol"mmsh") || CURL::IsProtocolEqual(protocol"rtsp") ||
CURL::IsProtocolEqual(protocol"rtmp") || CURL::IsProtocolEqual(protocol"rtmpt") ||
CURL::IsProtocolEqual(protocol"rtmpe") || CURL::IsProtocolEqual(protocol"rtmpte") ||
CURL::IsProtocolEqual(protocol"rtmps"))
return 
true
Reply
#7
Thank you so WebDAV should work. I'll try to use it.
Reply
#8
WebDAV is OK, it scans and add items to library Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Adding HTTP(S) source for music ?0