Well since last message on what Yatse did send was not clear a more detailed one
( BTW 40% of Yatse users are rpi ones and no it does not slow rpi bla bla bla despite the defamation
)
Anyway here's logs of what Yatse does but with no Yatse running, pure curl queuing 13 songs : near 10 secs.
All that on a medium local database of 1200 albums. But with an overclocked rpi B and a class 10 fast sdcard.
Nothing connected on port 9090 too to consume notifications either.
As you can see in the logs, the first network access to the media location is done when the player start to play and needs access to mp3.
So slowness is 100% related to Xbmc internals / databases access and not to the content of the media directory in this music case.
The test was made when rpi is on the setup screen to activate debug mode.
When debug mode is off, it's 1,5 sec faster.
The query :
Quote:[{"jsonrpc":"2.0","id":1,"method":"Playlist.Clear","params":{"playlistid":0}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2944}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2945}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2946}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2947}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2948}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2949}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2950}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2951}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2952}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2953}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2954}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2955}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2956}}},{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"playlistid":0,"position":1}}}]
The pure http / network data :
curl --trace-time --verbose -H "Content-Type: application/json" -d @curl2.txt http //192.168.0.9:80/jsonrpc (Removed : to disable autolinking)
Quote:10:16:29.250000 * About to connect() to 192.168.0.9 port 80 (#0)
10:16:29.250000 * Trying 192.168.0.9... connected
10:16:29.265000 > POST /jsonrpc HTTP/1.1
10:16:29.265000 > User-Agent: curl/7.23.1 (x86_64-pc-win32) libcurl/7.23.1 OpenS
SL/0.9.8r zlib/1.2.5
10:16:29.265000 > Host: 192.168.0.9
10:16:29.265000 > Accept: */*
10:16:29.265000 > Content-Type: application/json
10:16:29.265000 > Content-Length: 1448
10:16:29.265000 > Expect: 100-continue
10:16:29.265000 >
10:16:29.281000 < HTTP/1.1 100 Continue
10:16:38.531000 < HTTP/1.1 200 OK
10:16:38.531000 < Content-Length: 586
10:16:38.531000 < Content-Type: application/json
10:16:38.531000 < Date: Thu, 12 Jun 2014 08:16:41 GMT
10:16:38.531000 <
[{"id":1,"jsonrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{
"id":1,"jsonrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{"i
d":1,"jsonrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{"id"
:1,"jsonrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{"id":1
,"jsonrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{"id":1,"
jsonrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{"id":1,"js
onrpc":"2.0","result":"OK"},{"id":1,"jsonrpc":"2.0","result":"OK"},{"id":1,"json
rpc":"2.0","result":"OK"}]
10:16:38.531000 * Connection #0 to host 192.168.0.9 left intact
10:16:38.531000 * Closing connection #0
The Xbmc logs with details on curl / json activated.
There's 2 hours and some sec diff in time since net time did not worked when I setup this test rpi.
Empty lines means not needed logs data, but nothing was removed in the main part to confirm no other access from Yatse or anything
Quote:07:04:58 35.154659 T:3058802688 NOTICE: Starting XBMC (14.0-ALPHA1 Git:0efea90). Platform: ARM Linux 32-bit
07:04:58 35.155018 T:3058802688 NOTICE: Using Release XBMC x32 build, compiled May 4 2014 by GCC 4.9.0 for ARM Linux 32-bit 3.14.2
07:04:58 35.173672 T:3058802688 NOTICE: Running on Linux 32-bit (OpenELEC_Helix (Milhouse) - Version: devel-20140503235917-r18335-gb2d3626, 3.14.2 armv6l)
08:16:31 4328.187012 T:2709517392 DEBUG: webserver: request received for /jsonrpc
08:16:31 4328.194824 T:2709517392 DEBUG: JSONRPC: Incoming request: [{"jsonrpc":"2.0","id":1,"method":"Playlist.Clear","params":{"playlistid":0}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2944}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2945}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2946}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2947}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2948}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2949}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2950}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2951}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2952}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2953}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2954}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2955}}},{"jsonrpc":"2.0","id":1,"method":"Playlist.Add","params":{"playlistid":0,"item":{"songid":2956}}},{"jsonrpc":"2.0","id":1,"method":"Player.Open","params":{"item":{"playlistid":0,"position":1}}}]
08:16:31 4328.215820 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
08:16:31 4328.216309 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
08:16:32 4328.836914 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:32 4328.837402 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:33 4329.467773 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:33 4329.468750 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:33 4330.073730 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:33 4330.074219 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:34 4330.685059 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:34 4330.685547 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:34 4331.295898 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:34 4331.296875 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:35 4332.009766 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:35 4332.010742 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:36 4332.614746 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:36 4332.615723 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:36 4333.222168 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:36 4333.227051 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:37 4333.845215 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:37 4333.845703 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:38 4334.478027 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:38 4334.478516 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:38 4335.095703 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:38 4335.096680 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:39 4335.708008 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:39 4335.708984 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:40 4336.338379 T:3058802688 DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
08:16:40 4336.338867 T:3058802688 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
08:16:40 4336.343262 T:3058802688 DEBUG: CPlayerCoreFactory::GetPlayers(nfs://192.168.0.51/volume3/RED/music/Brit Pop/Blur/Albums/[1999] 13/Blur - 13 - 02 - Bugman.mp3)
08:16:40 4336.360840 T:3058802688 DEBUG: SECTION:LoadDLL(libnfs.so.1)
08:16:40 4336.369141 T:3058802688 DEBUG: Loading: libnfs.so.1
08:16:40 4336.542480 T:3058802688 DEBUG: NFS: Context for 192.168.0.51/volume3/RED not open - get a new context.
08:16:40 4336.752441 T:3058802688 DEBUG: NFS: Connected to server 192.168.0.51 and export /volume3/RED