View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jul 13, 2007 1:21 pm 
Offline
Joined: Fri Jun 08, 2007 5:41 am
Posts: 25
I have build my own KRP Dragon 2.0, and I am trying it out. I want to import an audio CD. I open the tray, place the disk on the tray, then choose 'Import CD' from the menu. The tray closes, and I can hear the drive spinning up. It then shows the KM background for a second, and ejects the disk.

I also tried going to Import CD first, then putting a CD in, but same deal -- the album information is never retrieved, and it just spits it out again.

I somehow did manage to rip a CD once, but I had to try repeatedly -- hardly something I would force on a prospective customer!

How do I get 'Import CD' to work consistently?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 4:18 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
Not sure now to fix it yet, but if you can provide some extra information we might be able to help. Can you exit the frontend, open an Xterm (press Alt X), and tell us the output of
Code:
mythfrontend -v media

when you do Import CD?

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 7:19 pm 
Offline
Joined: Fri Jun 08, 2007 5:41 am
Posts: 25
Thanks very much for your reply.

Not sure how I am supposed to Import CD while outside the frontend, so I did this:

<Turn on Dragon>
Go to CD/DVD > Import CD
<import CD screen appears>
Open tray, place CD on tray, close tray
<drive spins up, ejects disk>
Esc, Esc, Yes, Exit now
Alt + X
$ mythfrontend -v media
<frontend starts again, but if I press Alt + tab it shows XTerm with an updating field:>
2007-07-19 11:16:50.772 /dev/cdrom Tray open
<user pushes button to close tray with CD still on it>
Disk OK...
Current status MEDIASTAT_OPEN
found an audio disk
Media status changed... New status is: MEDIASTAT_USABLE old status was MEDIASTAT_OPEN
Posting MediaEvent
Found a handler
New DB connection, total: 2
Connected to database 'mythconverg' at host: localhost
metadata.o: You don't seem to have any tracks. That's ok with me if it's ok with you.
Disk OK...
Disk OK...
Disk OK...
<etc...>

Well, it's not OK with me, that's a legit audio CD. Why doesn't KnoppMyth see the tracks?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 8:50 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Possibly this issue? http://svn.mythtv.org/trac/changeset/13651/branches/release-0-20-fixes


Top
 Profile  
 
 Post subject: huh?
PostPosted: Wed Jul 18, 2007 11:21 pm 
Offline
Joined: Fri Jun 08, 2007 5:41 am
Posts: 25
tjc wrote:


Thanks for the reply.

I don't understand the page you linked to; I don't see R5F1 mentioned anywhere... what is "release-0-20"?

I'm just a humble OEM builder -- from what I read about KRP, I was under the impression KM was ready for deployment... now it looks more and more like it is still in very early stages of development.

I have installed different Media Centre software on another PC, called 'Meedio', but I wasn't happy with it; Still, it can at least read CDs. I expected more from KnoppMyth, frankly. I'm willing to put the effort in, since - on paper - it promises features not available anywhere else.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 19, 2007 3:16 am 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
marco75 wrote:
found an audio disk
Media status changed... New status is: MEDIASTAT_USABLE old status was MEDIASTAT_OPEN
Posting MediaEvent
Found a handler
New DB connection, total: 2
Connected to database 'mythconverg' at host: localhost
metadata.o: You don't seem to have any tracks. That's ok with me if it's ok with you.
Disk OK...
Well, it's not OK with me, that's a legit audio CD. Why doesn't KnoppMyth see the tracks?


It says that when MythMusic knows there is a disk there, but hasn't been asked to read its tracks yet. You will need to do a few more things:
* Alt Tab to the MythFrontend window, and select "Import CD"
* Quickly Alt Tab back to the Xterm window to see the extra debug output related to trying to open the CD
* Crtl S to stop the output scrolling past in the window (Ctrl Q enables it again)

The "Disk OK" lines should stop when you do the "Import CD" function. There may not be anything printed out after that, but I am hoping that there is an error line

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 19, 2007 4:45 am 
Offline
Joined: Fri Jun 08, 2007 5:41 am
Posts: 25
Turn on Dragon
Exit MythTV
Alt+X <xterm>
$ su mythtv
$ mythfrontend -v media
<MythTV starts again>
Alt + Tab <puts xterm in front of MythTV>
Ctrl + S <stops xterm output>
Shift + PageUp <scrolls xterm output up, so far it displays the following:>
$ mythfrontend -v media
Using runtime prefix = /usr
DPMS is disabled
New DB connection, total: 1
Connected to database 'mythconverg' at host: localhost
Total desktop dim: 1024x768, with 1 screen[s].
Using screen 0, 1024x768 at 0,0
Current Schema Version: 1160
mythfrontend version: 0.20.20060828-4 www.mythtv.org
Enabled verbose msgs: important general media
Total desktop dim: 1024x768, with 1 screen[s].
Using screen 0, 1024x768 at 0,0
Switching to square mode (blootube)
Using the Qt painter
mythtv: could not connect to socket
mythtv: no such file or directory
lirc_init failed for mythtv, see preceding messages
Could not initialise /dev/input/js0
open: No such file or directory
ioctl JSIOCGAXES: Bad file descriptor
Loading from: /usr/share/mythtv/themes/blootube/base.xml
Loading from: /usr/share/mythtv/themes/default/base.xml
Registering Internal as a media playback plugin.
Registering Internal MythDVD DVD Media handler as a media handler ext()
Mediamonitor: Adding /dev/cdrom
MediaMonitorUnix::GetCDROMBlockDevices() returning hda
MediaMonitor: AddDevice() -- Not adding '/dev/hda', it appears to be a duplicate.
Registering MythDVD VCD Media Handler as a media handler ext()
Registering MythGallery Media Handler 1/2 as a media handler ext()
Registering MythGallery Media Handler 2/2 as a media handler ext(gif,jpg,png)
MonitorRegisterExtensions(0x100, gif,jpg,png)
adding: ATA:0,0,0 -- DVDRW LH-18A1P
Failed to run 'cdrecord --scanbus'
Registering MythMusic Media Handler 1/2 as a media handler ext()
Registering MythMusic Media Handler 2/2 as a media handler ext(ogg,mp3,aac,flac)
MonitorRegisterExtensions(0x40, ogg,mp3,aac,flac)
SIP listening on IP Address 10.1.1.18:5060 NAT address 10.1.1.18
SIP: Cannot register; proxy, username or password not set
Starting media monitor.
/dev/cdrom No disc
<Aside: Can I install Klipper and Firefox on the Dragon to save myself all this typing in the future? My arm's about to fall off!>
Ctrl + Q <resumes output>
Alt + Tab <Back to MythTV>
Open tray, place audio CD on tray, choose 'Import CD', press Enter
<tray closes. disk spins up. pause. tray ejects>
<xterm output>
/dev/cdrom No disc
/dev/cdrom Tray open
Media status changed... New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NODISK
/dev/cdrom Tray open <repeats>
New DB connection, total: 2
Connected to database 'mythconverg' at host: localhost
metadata.o: You don't seem to have any tracks. That's ok with me if it's ok with you.
/dev/cdrom Disk OK...
/dev/cdrom Media changed
/dev/cdrom Disk OK...
/dev/cdrom Current status MEDIASTAT_OPEN
found an audio disk
Media status changed... New status is: MEDIASTAT_USEABLE old status was MEDIASTAT_OPEN
Posting MediaEvent
/dev/cdrom Disk OK... <repeats>
Found a handler
/dev/cdrom Tray open
Media status changed... New status is: MEDIASTAT_OPEN old status was MEDIASTAT_USEABLE
metadata.o: You don't seem to have any tracks. That's ok with me if it's ok with you.
/dev/cdrom Tray open <repeats, ad infinitum>

Phew, that was a lot of typing... mythfilldatabase never worked on this machine, might that have something to do with its inability to read audio CDs?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 19, 2007 9:38 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
marco75 wrote:
/dev/cdrom No disc
<Aside: Can I install Klipper and Firefox on the Dragon to save myself all this typing in the future? My arm's about to fall off!>
:-) Yes, but that is a different problem. (search the forum?)

Quote:
/dev/cdrom Tray open
Media status changed... New status is: MEDIASTAT_OPEN old status was MEDIASTAT_NODISK
/dev/cdrom Tray open <repeats>
New DB connection, total: 2
Connected to database 'mythconverg' at host: localhost
metadata.o: You don't seem to have any tracks. That's ok with me if it's ok with you.
/dev/cdrom Disk OK...
/dev/cdrom Media changed
/dev/cdrom Disk OK...
/dev/cdrom Current status MEDIASTAT_OPEN
found an audio disk
Media status changed... New status is: MEDIASTAT_USEABLE old status was MEDIASTAT_OPEN
Posting MediaEvent
/dev/cdrom Disk OK... <repeats>
Found a handler
/dev/cdrom Tray open
Media status changed... New status is: MEDIASTAT_OPEN old status was MEDIASTAT_USEABLE


That is freaking weird!

What happens if you turn off "Monitor CD/DVD drives" (5th page of Setup->General). Does it still do the immediate eject thing?

How about changing the Music Settings -> General Settings -> Automatically lookup/play CDs. Same behaviour?


One last thing, can I get you to try MythTV's Eject button a few times, and check if it opens and closes the tray? (some drives have a problem under Linux that the driver cannot work out if they are open or closed)

Quote:
Phew, that was a lot of typing... mythfilldatabase never worked on this machine, might that have something to do with its inability to read audio CDs?
No. All my work test machines are behind a firewall, but have no MythMusic CD problems.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Bing [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu