2016-05-28, 14:07
Hey there,
I'm having a strange issue regarding the start of the playback of music. In short, the delay between issuing the playback of music (mp3) via any remote control (CEC, keyboard, yatse) and the start of the actual playback is kind of exactly 30s. The playback of tv shows, movies etc. is not affected by this issue, i.e. playback of movies start immediately. I have all the media on a NAS connected via LAN and also the mysql database is on the same NAS. The NAS is mounted on the kodi machine on startup via CIFS and it is configured to spin down the drives after 15min of no access.
I have searched for similar issues on the forum and found a thread describing a similar problem which was related to not having an internet connection. There, the whole access to the library was slow and could be resolved by adding the hostnames of the mysql server to the hosts file or disable the reverse lookup in the mysql server (I believe). Since I recently moved and I also had no internet connection for some time, I applied the hints posted there and it resolved the issues of having slow access to the library. However, my present issue seems not to be connected to this behaviour.
Here is the information with a numbering (roughly) according to the sticky post
1. Here is the kodi debug log as well as some mysql debug log which was recorded not parallel to the kodi log but the entries would be the same
kodi log
mysql log
In the debug log at 10:44:25 I issued the playback (line 76 CEC command) then nothing happens for about 30s (even the gui seems to be locked) and then at 10:44:55 the playback started (line 116). In the mysql log two entries appear when issuing a playback also with 30s separation.
3/7. The kodi revision is Kodi 16.0 Feb-20-2016-Git:a5f3a99 on ubuntu 16.04 LTS with kernel version 4.4.0-22-generic updated 2016-05-28. kodi has been installed via ppa
4/5/6. I'm using x84_64 on a Zotac box with an Intel® Atom CPU D2700 @ 2.13GHz, a GeForce GT 520M and 2042716 kB of RAM. I also have two DVB tuners connected and I'm running VDR on the same machine which I also access via kodi. But I guess VDR is not interfering with kodi on that level.
8/9. I was not able up to now to disable all the addons since it seems that restarting kodi solves the issue temporarily. That's also the reason why the logs are older. The issue went away after I rebooted the machine but reappeared some time later. I can also do a on my headless kodi box which resolves the issue for some time but not permanently. To me, it looks like one just has to wait a certain time and the issue appears. As I said in the beginning I'm not having this issue with movies which are also stored together with the video mysql database on the same NAS. Hence I have no clue, where to start to isolate the issue. I suspect that it is not he NAS and the spin down of the drives since this should affect also the playback of movies. I have not installed to may additional music add ons (Artist Slideshow, Last.fm, Last.fm slideshow, Universal Artist/Album scraper) but I never use those slideshow add-ons. I can disable them in the future to isolate the issue if necessary.
I would be glad if someone has a hint how to solve this issue since it is quite annoying when playing continuous cd and having 30s pause between the songs.
Cheers
I'm having a strange issue regarding the start of the playback of music. In short, the delay between issuing the playback of music (mp3) via any remote control (CEC, keyboard, yatse) and the start of the actual playback is kind of exactly 30s. The playback of tv shows, movies etc. is not affected by this issue, i.e. playback of movies start immediately. I have all the media on a NAS connected via LAN and also the mysql database is on the same NAS. The NAS is mounted on the kodi machine on startup via CIFS and it is configured to spin down the drives after 15min of no access.
I have searched for similar issues on the forum and found a thread describing a similar problem which was related to not having an internet connection. There, the whole access to the library was slow and could be resolved by adding the hostnames of the mysql server to the hosts file or disable the reverse lookup in the mysql server (I believe). Since I recently moved and I also had no internet connection for some time, I applied the hints posted there and it resolved the issues of having slow access to the library. However, my present issue seems not to be connected to this behaviour.
Here is the information with a numbering (roughly) according to the sticky post
1. Here is the kodi debug log as well as some mysql debug log which was recorded not parallel to the kodi log but the entries would be the same
kodi log
mysql log
In the debug log at 10:44:25 I issued the playback (line 76 CEC command) then nothing happens for about 30s (even the gui seems to be locked) and then at 10:44:55 the playback started (line 116). In the mysql log two entries appear when issuing a playback also with 30s separation.
3/7. The kodi revision is Kodi 16.0 Feb-20-2016-Git:a5f3a99 on ubuntu 16.04 LTS with kernel version 4.4.0-22-generic updated 2016-05-28. kodi has been installed via ppa
4/5/6. I'm using x84_64 on a Zotac box with an Intel® Atom CPU D2700 @ 2.13GHz, a GeForce GT 520M and 2042716 kB of RAM. I also have two DVB tuners connected and I'm running VDR on the same machine which I also access via kodi. But I guess VDR is not interfering with kodi on that level.
8/9. I was not able up to now to disable all the addons since it seems that restarting kodi solves the issue temporarily. That's also the reason why the logs are older. The issue went away after I rebooted the machine but reappeared some time later. I can also do a
Code:
service lightdm restart
I would be glad if someone has a hint how to solve this issue since it is quite annoying when playing continuous cd and having 30s pause between the songs.
Cheers