hsmeets wrote: 
> Hi Triode,
> 
> This has been a longer standing issue for me: 
> 
> Following usecase:
> 
> I often use the search function to browse the spotify collection, when I
> do that frequently, one search after the other (and in between browsing
> the results and listening to some tracks): after a several searches the
> plugin becomes unresponsive (very slow load of cover art, track
> switching etc etc). 
> 
> Switching to my own ripped music: no problems, LMS itself seems to be
> okay but when I return to your plugin it remains very slow in response.
> Also accessing the settingspage of the plugin is slow (all others are
> fine). When I restart LMS the issue is solved until...  Today I noticed
> that when I, eventually, get to the plugin settings page and change and
> apply a setting the plugin behaves normally again. I assume the helper
> app is restarted?
> 
> The selftest says all is okay.
> 
> As a side note: 
> 
> I set the Loglevel to debug-streaming and saw these lines appear:
> 
> [17:07:19.901497] music_delivery:427 called with num_frames: 2048
> [17:07:19.901531] _streambuf_write:274 player: 0 wrote 8192 new bytes of
> 8192 min 8192
> [17:07:19.901546] music_delivery:577 streamed frames: 5289984 can't
> write: 818 rate: 52724 / 44100
> [17:07:19.902197] music_delivery:427 called with num_frames: 2048
> [17:07:19.902223] _streambuf_write:274 player: 0 wrote 8192 new bytes of
> 8192 min 8192
> [17:07:19.902238] music_delivery:577 streamed frames: 5292032 can't
> write: 818 rate: 52745 / 44100
> [17:07:19.902773] music_delivery:427 called with num_frames: 2048
> [17:07:19.902797] _streambuf_write:274 player: 0 wrote 8192 new bytes of
> 8192 min 8192
> [17:07:19.902811] music_delivery:577 streamed frames: 5294080 can't
> write: 818 rate: 52765 / 44100
> [17:07:19.903835] music_delivery:427 called with num_frames: 2048
> [17:07:19.903870] _streambuf_write:274 player: 0 wrote 8192 new bytes of
> 8192 min 8192
> [17:07:19.903885] music_delivery:577 streamed frames: 5296128 can't
> write: 818 rate: 52784 / 44100
> [17:07:19.904488] music_delivery:427 called with num_frames: 2048
> [17:07:19.904512] _streambuf_write:274 player: 0 wrote 3216 new bytes of
> 8192 min 3216
> [17:07:19.904528] _streambuf_write:285 storing remaining 4976 bytes
> [17:07:19.904541] _streambuf_write:286 state STREAMING -> BUFFERING
> [17:07:19.904577] music_delivery:577 streamed frames: 5298176 can't
> write: 818 rate: 52804 / 44100
> [17:07:19.905708] music_delivery:427 called with num_frames: 2048
> [17:07:19.905750] _streambuf_canwrite:320 player: 0 can't write error:
> Resource temporarily unavailable 11
> [17:07:19.905765] music_delivery:517 returning without writing - can't
> write
> [17:07:19.905777] music_delivery:525 streamed frames: 5298176 can't
> write: 819 rate: 52804 / 44100
> [17:07:19.905791] music_delivery:427 called with num_frames: 2048
> [17:07:19.905805] _streambuf_canwrite:320 player: 0 can't write error:
> Resource temporarily unavailable 11
> [17:07:19.905818] music_delivery:517 returning without writing - can't
> write
> [17:07:19.905829] music_delivery:525 streamed frames: 5298176 can't
> write: 820 rate: 52804 / 44100
> 
> with many of these 'can't write'  errors.
> 
> Ow, before I forget:
> 
> LMS 7.7 on Ubuntu, latest plugin version.
> 
> huib@janus:~$ uname -a
> Linux janus 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012
> x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> 
> Regards,
> 
> Huib

Can't write errors are fine if the rate is above the sample rate - it
just means there's no buffer space left.

>From what you say it sounds like it is not streaming which is the
problem but browsing?  Suggest you set the log to debug and look in the
helper app log for any other relavent messages during the problem
periods.


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to