cubii wrote: 
> Hi @all and bpa!
> 
> I installed the updated plugin on my fresh installed picore (raspi 3,
> only server) and have a usb CD-rom attached.
> It works, but realy sluggish. What  i mean is, that if i select the
> plugin CDPlayer, it takes 5 seconds to check the cd (no problem here),
> finds normaly info about it and then i select "play CD".
> 
> The CD starts playing about 1 minute later, changing tracks also takes
> very long. Is there a way to find out why this is so slow? (it worked
> with the same hardware but with max2play as server software much
> faster...)
> 
> Which logs should i check?
> EDIT: Found  explanation above, logs attached, hopefully ok?

I don't use or know details of Picore or max2play.

Please give the timings of specific action of max2play compared to
picore.

I don't know the timescale of your problem -  is it 1 sec compared to 1
minute sec, 30 secs compared to 1 minute  etc.?

It is unlikely logs will help especially without knowing what is the
comparison. (Is the time 50% or 200% longer ?) 

All CD related work is done using the cdd2wav application - plugin just
asks CDD2wav to do an actions (e.g. change track), plugin waits for
CDD2WAV to say it is ready and then plugins reads output from CDDA2WAV.

If the more responsive LMS+ CDplayer plays OK on max2play on *same* PI
hardware, *same* player (e.g. no additional transcoding),  *same*
version of LMS+CDplayer plugin *and same plugin preferences* - then
issue maybe OS specific device support / defaults. 

To see if there is a difference you should get the device info for both
max2play and picore using either the cdrecord or wodim commands
(assuming they are the systems - they may not)

Code:
--------------------
    cdrecord -prcap 
  wodim -prcap
  
--------------------


As well as the cd drive info from /proc/sys/dev/cdrom/info

Code:
--------------------
    
  cd /proc/sys/dev/cdrom/info
  
--------------------


Although CD drives can work at different speeds and there is a default
speed and perhaps CD driver for picore setting drive to run at slow
speed.

However, for "reliability" the CDplayer plugin sets the CD speed to 4. 

So CD speed should be exactly the same for max2play and picore *as long
as Picore supports the speed option*.  You can edit the CDplayer
custom-convert.conf and change the $CDSPEED" to a numeric value which
drives supports. You'll prbobably need to restart LMS for change to take
effect.


------------------------------------------------------------------------
bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to