Kodi Community Forum

Full Version: CD Ripping stops after 1st track
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7
Hi,
I'm using Kodi on Raspberry, by means of Openelec stable.
I connected a CD reader to raspberry via USB, and tried to rip a couple of CD in the music library.
Kodi can see the CD, it fetches correct data from the network, but it stops after ripping the first track.
This only happens on Raspberry, I tried exactly the same CD reader with Kodi on a PC, and it works fine.

Any idea?
Can I help with logs?
Where can I fetch them from?

Claudio
Afraid I don't know much about CD ripping.
From log you have a number of these:
Code:
01:01:20 T:2911953984   DEBUG: ### [XBMC LCDproc] - Open 127.0.0.1:13666
01:01:20 T:2911953984   ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
01:01:20 T:2911953984   ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 32 seconds.

Probably not related but I'd try disabling LCDproc just in case.

This is the problem:
Code:
01:03:43 T:2855916608   ERROR: CDDARipper: Error ripping cdda://local/01.cdda
but it doesn't give much detail. Not sure if enabling any of the component specific debug settings will help.

Have you played with the options in settings/music/Audio CDs? Perhaps try different audio encoders?
(2015-01-26, 22:24)popcornmix Wrote: [ -> ]Afraid I don't know much about CD ripping.
From log you have a number of these:
Code:
01:01:20 T:2911953984   DEBUG: ### [XBMC LCDproc] - Open 127.0.0.1:13666
01:01:20 T:2911953984   ERROR: ### [XBMC LCDproc] - Connect: Caught exception, aborting.
01:01:20 T:2911953984   ERROR: ### [XBMC LCDproc] - Connect failed. Retry in 32 seconds.

Probably not related but I'd try disabling LCDproc just in case.

This is the problem:
Code:
01:03:43 T:2855916608   ERROR: CDDARipper: Error ripping cdda://local/01.cdda
but it doesn't give much detail. Not sure if enabling any of the component specific debug settings will help.

Have you played with the options in settings/music/Audio CDs? Perhaps try different audio encoders?

You are right,
I need to dig a little bit on that.
I doubt that it has to do with the HW, as the same CD reader used to rip the same disk twice on an x86 PC without any problem.
It could be lame that has a bug on ARM.
I'm going to run other tests with other encoders, and check what happens.
About LCDProc, I guess it looks for a non existing LCD display. Either I disable it, or I buy that display ;-)

Thanks.
Claudio
How are you powering the CD drive? Directly by the rpi USB?
(2015-01-27, 01:15)ActionA Wrote: [ -> ]How are you powering the CD drive? Directly by the rpi USB?

No,
the CD player is a Lacie Porsche Design, equipped with a BenQ DVD/CD recorder and using its own power supply.
Internal interface is PATA, external is USB 2.0
I found something bad.
Raspberry does restart when encoding FLAC, or even just when playing CD.
I replaced 3 different power supply and noticed no difference.
Nothing I can see in /var/log, unluckily.
You should check the Kodi log.
(2015-01-28, 10:44)Claudio.Sjo Wrote: [ -> ]I found something bad.
Raspberry does restart when encoding FLAC, or even just when playing CD.
I replaced 3 different power supply and noticed no difference.
Nothing I can see in /var/log, unluckily.

The Pi reboots, or Kodi restarts? Bit of a difference, so please be specific...
(2015-01-28, 15:09)Milhouse Wrote: [ -> ]
(2015-01-28, 10:44)Claudio.Sjo Wrote: [ -> ]I found something bad.
Raspberry does restart when encoding FLAC, or even just when playing CD.
I replaced 3 different power supply and noticed no difference.
Nothing I can see in /var/log, unluckily.

The Pi reboots, or Kodi restarts? Bit of a difference, so please be specific...

The Kodi log, I have already posted above.
Pi reboots when econding FLAC or MP3, with different timings.
The same happens when playing music directly from the CD.
Info page on Kodi tells CPU use of 100% constantly, then after a while it reboots.

I guess for having more info, I need to use something different than Openelec.
(2015-01-28, 15:55)Claudio.Sjo Wrote: [ -> ]Pi reboots when econding FLAC or MP3, with different timings.
The same happens when playing music directly from the CD.
Info page on Kodi tells CPU use of 100% constantly, then after a while it reboots.

You are sure it is a reboot? (with a reboot you should see the "rainbow" splash screen and a ssh connection will be disconnected).
If it is a reboot then it must be power supply related.
Hi,
it's not a reboot.
Kodi restarts.
I'm going to enable debugging though
Too bad, Kodi writes nothing in the log when dying.
The tail of the log is
Code:
20:57:10 T:2856191040    INFO: Finished ripping cdda://local/01.cdda
20:57:10 T:2856191040    INFO: Start ripping track cdda://local/02.cdda to /storage/music/Herbie Hancock/Herbie Hancock - The Piano/02. Herbie Hancock - On Green Dolphin Street.flac
20:57:10 T:2856191040   DEBUG: CFileCache::Open - opening <02.cdda> using cache
20:57:10 T:2874143808  NOTICE: Thread JobWorker start, auto delete: true
20:57:10 T:2856191040   DEBUG: ADDON: Dll Initializing - Flac Audio Encoder
20:57:10 T:2856191040   DEBUG: Calling TransferSettings for: Flac Audio Encoder
20:57:10 T:2789082176  NOTICE: Thread FileCache start, auto delete: false
20:57:10 T:3043356672   DEBUG: ------ Window Init (DialogExtendedProgressBar.xml) ------

and then the new log starts in this way

Code:
20:57:26 T:3042750464  NOTICE: special://profile/ is mapped to: special://masterprofile/
20:57:26 T:3042750464  NOTICE: -----------------------------------------------------------------------
20:57:26 T:3042750464  NOTICE: Starting Kodi (14.0 Git:ad747d9). Platform: Linux ARM 32-bit
20:57:26 T:3042750464  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
20:57:26 T:3042750464  NOTICE: Kodi compiled Dec 26 2014 by GCC 4.9.2 for Linux ARM 32-bit version 3.17.7 (200967)
20:57:26 T:3042750464  NOTICE: Running on OpenELEC (official) - Version: 5.0.0, kernel: Linux ARM 32-bit version 3.17.7
...
...


any suggestions on what to log further?
New test, this time just playing the CD, no encoding

tail of the old log
Code:
21:08:53 T:3042750464   DEBUG: CGUIInfoManager::SetCurrentSong(cdda://local/01.cdda)
21:08:53 T:3042750464   DEBUG: LoadMusicTag: loading tag information for file: cdda://local/01.cdda
21:08:53 T:3042750464   DEBUG: Xcddb::queryCDinfo discid [a20c3e0b] already cached
21:08:53 T:3042750464   DEBUG: Loading additional tag info for file cdda://local/01.cdda
21:08:53 T:3042750464   DEBUG: Xcddb::queryCDinfo discid [a20c3e0b] already cached
21:08:53 T:3042750464   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
21:08:53 T:3042750464   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
21:11:51 T:3042750464   DEBUG: CAnnouncementManager - Announcement: OnScreensaverActivated from xbmc
21:11:51 T:3042750464   DEBUG: GOT ANNOUNCEMENT, type: 4, from xbmc, message OnScreensaverActivated
21:11:51 T:3042750464   DEBUG: ------ Window Init () ------

and the new log starts exactly as previously.

How can I catch the reason why Kodi restarts?
Pages: 1 2 3 4 5 6 7