Posts: 265
Joined: Feb 2004
Reputation:
0
nad
Retired Team-Kodi Member
Posts: 265
Have you managed to get what you want with your original #4 request (downloading a file)?
I'm not exactly sure what you want to do but I usually just use FileCopy to copy the file to a directory on xbmc which is accessible from the web server and then use native http to access the file.
Posts: 1,363
Joined: Feb 2008
Reputation:
33
Bram77
Skilled Python Coder
Posts: 1,363
Can a developer please answer my last question?
I've deleted my music database and did a complete rescan (it took about two days) and the results are still the same. I'm stuck in XBMControl development because of this.
It looks like some albums don't get an id (even though I thought they all did), which seems odd to me.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Perhaps some don't have a strAlbum?
Have you tried doing a compare to see what the reason is for it (i.e. which albums are returning with strAlbum compared to which ones are being returned with idAlbum).
Posts: 1,363
Joined: Feb 2008
Reputation:
33
Bram77
Skilled Python Coder
Posts: 1,363
I'm terribly sorry. I've found the cause for the inconsistent results. I was replacing "<field>" and "<li>" with "|" because windows doesn't allow the "|" character in file and directory names. But the character can be Id3 tags, I didn't think of that. So that was the reason why I was getting more album title results then I was expecting (or actually, less idAlbum results).
I'm a C# noob and hadn't figured out yet how to split a sting by a string, so I thought I wa forced to use a char. Now I've learned how to use a string with the Split() function. All is well.
Again... sorry ... I was getting pretty frustrated. My bad!