[mythtv-commits] Ticket #2030: iTunes playlist importer

MythTV mythtv at cvs.mythtv.org
Wed Aug 23 02:59:48 UTC 2006


#2030: iTunes playlist importer
-----------------------------------+----------------------------------------
 Reporter:  frank.lynch at gmail.com  |        Owner:  ijr 
     Type:  enhancement            |       Status:  new 
 Priority:  minor                  |    Milestone:  0.20
Component:  mythmusic              |      Version:  head
 Severity:  low                    |   Resolution:      
-----------------------------------+----------------------------------------
Changes (by anonymous):

  * milestone:  => 0.20

Comment:

 Replying to [comment:2 ijr]:
 > Sorry for the delay in getting to this, but wouldn't it be a bit simpler
 to write the
 > parser using the Qt DOM interface?  Seems to be quite a bit of code for
 this..

 My first choice would have been a StAX based parser, but unfortunately I
 couldn't find one for Qt. My second choice was DOM and I even had a
 working implementation, but when I used real data (my iTunes library.xml
 file is about 50MB on disk) the Qt DOM parser just wasn't up to the job.
 Its memory requirements were ridiculous and performance was unacceptably
 bad. So I ended up with SAX as it is known to be supperior to DOM when it
 comes to conserving memory and dealing with large documents. The downside
 is of couse that its a little more complex and as you pointed out there is
 more code.

 Would you reconsider committing this with the SAX based implementation?

 If you insist I can resurrect the old DOM based implementation and put
 another patch together for mythmusic but be warned that the Qt DOM
 performance is abysmal.

 If you don't like the idea of integrating this into mythmusic then is
 there a possibility that I can contribute this as a standalone utility for
 the contrib directory?

 Hope you don't mind me setting the milestone back to 0.20 :-)

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2030#comment:3>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list