2012-03-07, 10:13
jimk72 Wrote:after further testing I have found those songs when selected using xbmc there is no thumb so the DB has no entry for that song but if my program tells xbmc to play it using the song ID a thumb shows up in xbmc but no thumb is sent when requesting it. What I think may be happening is the mp3 files this happens on are around 3-4mb more than the rest and I believe they have imbeded thumbnails. I think xbmc reads the tag of the file and displays the image when just playing but if selected from library no image shows.Thanks for this very thorough investigation. Looks like it's a problem in XBMC in general that the embedded covers are not always retrieved. Can you create a feature request ticket (or is it a bug, I'm not sure myself) to improve handling of embedded covers? If they would be extracted as soon as an album is added to the music library they could be used by JSON-RPC as well.
more testing i found:
If I play the song from the library no image shows up but using files the album image shows up.
I am not sure how many people have mp3s with embeded album thumbs in them so It may be no big deal.
I have over 25,000 and there are only about 30 that I found that did this.
dmogle Wrote:Sorry if this question has been asked elsewhere, hours of searching have yielded no results. I'm poking around the jsonrpc api over tcp on a Dharma install (still jsonrpc v2) and I can use all the commands without username/password authentication. Is this the intended functionality or do I have something weird in my settings that's allowing un-authenticated clients access? Thanks in advance.
The only authentication you can enable right now (both in Dharma and in Eden) is when accessing the webserver itself (see Settings -> Network). But in that case you will have to authenticate every access to the webserver whether it is to access a webinterface or use JSON-RPC. I have plans to implement some kind of authentication for JSON-RPC which will allow a client to specify which permissions it requires and then prompt the user with the possibility to accept or reject a client. But that probably won't even make it into Eden+1 (although I already have done a lot of work for it).