INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MC XML Export News...  (Read 7226 times)

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
MC XML Export News...
« on: December 03, 2004, 06:57:01 am »

Hello!

First of all, MC XML Export 1.0.1 is available now from the Media Center accessories pages, so no more 404's :)

Secondly, I'm in the middle of coding MC XML Export 2.0, which is significantly faster than it's predecessor (I guess taking "COMP317 Design and Analysis of Algorithms" was worth it :) )

It's a complete from-scratch rewrite. Written in C# instead of VB, it's got a completely redesigned interface and the internals don't suck any more. And I promise that large libraries won't kill it.

So, there's a couple of things I need:

1) Does anyone still use this plugin? I know I've got a couple of emails in the last few weeks since it was taken down, so that's encouraging.

2) If anyone's got a _really huge_ library that you'd like to share with me, it would really help with the testing. In the past I used Mastiff's library, which was pretty sizeable, but thanks to the Windows XPerience I lost it, so I need another big test library. If you're an avid collector of music then give me a PM and we'll sort something out. I don't need the media files, just the library backup file.

Thanks heaps,

Scott.

ps.. Does anyone else think that "XP" makes a particularly appropriate emoticon?  ;)
Logged

LonWar

  • Citizen of the Universe
  • *****
  • Posts: 2874
Re:MC XML Export News...
« Reply #1 on: December 03, 2004, 07:04:06 am »

What do you call big? I got 11K.... But I don't think there's any larger then Dragyn's....
Logged
-

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
Re:MC XML Export News...
« Reply #2 on: December 03, 2004, 07:15:26 am »

I think the library I was using had about 40K entries...

I guess anything from around that figure and up would be good.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72439
  • Where did I put my teeth?
Re:MC XML Export News...
« Reply #3 on: December 03, 2004, 08:03:07 am »

Hi Scott,
Maybe PM KingSparta.  We use his library for testing.  Maybe he'd provide a copy.

Thanks for your work.

Jim
Logged

hit_ny

  • Citizen of the Universe
  • *****
  • Posts: 3310
  • nothing more to say...
Re:MC XML Export News...
« Reply #4 on: December 03, 2004, 10:57:47 am »

Hi Scott

Glad to know youre working on v2. I use ur plugin from time to time to export stuff..

THing that always bugged me was the way in which it went about populating every single smartlist in my tree when i only wanted it to do just one.

i always felt...if one could select which smartlists to populate before letting it run, it would have made things better.

However with v11, i expect there will be significant speedups.
Logged

tlongacre

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 431
  • gettin' in touch with my inner child, watch out!
Re:MC XML Export News...
« Reply #5 on: December 03, 2004, 11:38:06 am »

I've got about 21K songs, if that's big enough. I've used the plugin in the past, but not often 'cause it is a memory hog on my setup and I find the interface confusing (I have to re-learn everything each time -- particularly filenames and locations).
Logged

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re:MC XML Export News...
« Reply #6 on: December 03, 2004, 08:25:19 pm »

Scott,

I often use your plugin so I look forward to any new developments.  Did you ever come to a decision regarding an MC XML Import plugin?
Logged

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
Re:MC XML Export News...
« Reply #7 on: December 03, 2004, 08:32:00 pm »

Quote
THing that always bugged me was the way in which it went about populating every single smartlist in my tree when i only wanted it to do just one.
i always felt...if one could select which smartlists to populate before letting it run, it would have made things better.

That problem should be a thing of the past, as 1.0.1 populates the entire tree before it starts up, whereas v2 only populates the part of the tree you're looking at.

Quote
I've got about 21K songs, if that's big enough. I've used the plugin in the past, but not often 'cause it is a memory hog on my setup and I find the interface confusing (I have to re-learn everything each time -- particularly filenames and locations).

The new interface should be much more intuitive - you'll have the choice of using a "Wizard" type interface to specifiy all the export options or you can just use a one-step preset. Overall things are looking much better - I'll post some screen shots soon for people to look at once I've got it nailed down.

The exporter should be much less of a memory hog as well, though I need to do some testing on that.

tlongacre, if you could send me a copy of your library backup to sraynel @ gmail.com - it will have to be a version 10 library though.

Also, because I've coded it in a modular way (the gui is separate from the  back-end) I'm looking at the possibility of adding scheduled exports using presets. What do people think about that?

Cheers,

Scott.
Logged

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
Re:MC XML Export News...
« Reply #8 on: December 03, 2004, 08:33:47 pm »

Quote
I often use your plugin so I look forward to any new developments.  Did you ever come to a decision regarding an MC XML Import plugin?

Cool :) Yes, I think once I've got v2 sorted out I'll also integrate an importer as well, spare-time permitting :)

Cheers,

Scott.
Logged

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 676
Re: MC XML Export News...
« Reply #9 on: December 27, 2004, 02:16:30 am »

Hi Scott,

I tried your plugin for MediaCenter for I want to use my lyrics in a database-file.

As you state in your ReadMe.txt (from December, 2003) that appears not to be possible.

Have you studied on this problem in the meantime?

Would be great if you could figure this problem out!

Thanks in advance,
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
Re: MC XML Export News...
« Reply #10 on: December 27, 2004, 04:05:10 am »

That would be the other Scott R (I made the plugin, Scott Raymond made XSLT transformation scripts, which you're referring to).
His email address is in the readme file, I'd email him there - I'm not sure if he still frequents these boards.

Cheers,

Scott.
Logged

Michel Lefebvre

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 281
Re: MC XML Export News...
« Reply #11 on: December 27, 2004, 08:46:57 am »

Hello!


2) If anyone's got a _really huge_ library that you'd like to share with me, it would really help with the testing. In the past I used Mastiff's library, which was pretty sizeable, but thanks to the Windows XPerience I lost it, so I need another big test library. If you're an avid collector of music then give me a PM and we'll sort something out. I don't need the media files, just the library backup file.


Scott,

Your'ew welcome to mine. "Only" about 28,500 entries, but the library is chock full of user defined fields that may help in your testing...

The may file be too big for emailing (around 18 MB) so we may have to set up some other way.

Michel.

 
Logged

MarkCoutinho

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 676
Re: MC XML Export News...
« Reply #12 on: December 31, 2004, 02:31:39 am »

Mine consists of some 11,000 songs.

The zip is about 19 MB

Interested
Logged
Mark Coutinho
Dutch Top 40 collector of lyrics, sleeves and bios

Diverdown1964

  • Regular Member
  • World Citizen
  • ***
  • Posts: 179
  • No matter where you go, there you are
Re: MC XML Export News...
« Reply #13 on: January 17, 2005, 08:25:04 pm »

Hi Scott

Glad I checked in here, thought this had gone away...

Yup - I use it! And if you want a library, it's around 45K tracks now.
Logged

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1988
  • The Multi-Zone Tzar
Re: MC XML Export News...
« Reply #14 on: February 06, 2005, 03:02:19 pm »

Man, I'm sorry I didn't see this until now! you should have PM'ed or mailed me, I would have sendt you my (now 53 000 + tracks) library at once! I use your plug-in every time I need an update to the playlists for the car an my son's room.
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: MC XML Export News...
« Reply #15 on: February 06, 2005, 03:54:38 pm »

so what would you load this MXL in, besides a browser?

it seems Excel will stop at around 65,000+ Rows
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re: MC XML Export News...
« Reply #16 on: February 12, 2005, 11:41:51 pm »

so what would you load this MXL in, besides a browser?

it seems Excel will stop at around 65,000+ Rows

A file this large is best accessed using server-side scripts.  You certainly don't want to have a browser try to render such a large file!  Really, it's a shame that JRiver doesn't provide a tie to the library with SQL.  In the meantime, XML works OK - but it's probably too much to expect that people will be savvy enough to run something server-side.
Logged

gregoryx

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 55
  • I'm a llama eater!
Re: MC XML Export News...
« Reply #17 on: March 01, 2005, 03:52:36 pm »

Site under "About" is 404. I was hoping to look at some of the other XSLs out there... and it seems like there used to be some on the site.

Can someone point me in the right direction for XSLs and/or the pre-release of the new plugin mentioned here?

Thanks!
Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: MC XML Export News...
« Reply #18 on: April 01, 2005, 03:58:05 pm »

I was wondering if there would be a way of using XML export to do one of the things the iPod plug-in for winamp can do. This plug-in can export the winamp (5) library to a .xml iTunes library. The goal would not be to prepare for a shift from MC to iTunes (hell no...) but to upload that .xml file to http://www.musicmobs.com

Musicmobs is similar to audioscrobbler except that it exports not what you play on your computer, but your complete playcount. As a result your musical profile would be much more accurate than audioscrobbler's, and this for 2 reasons: 1) if you have an old MC library, it would take into account everything you've played since you installed that good old Media Jukebox. 2) If you listen to music a lot on a portable device, this listening (after sync with MC library) will be taken into account as well.

As matter of fact, because I do a lot of listening on my iPod, and because I don't listen to the same things when I'm out with my iPod, my audioscrobbler profile is already different from my musicmobs profile after only a few weeks of parallel use:

http://www.audioscrobbler.com/user/l0th/

http://www.musicmobs.com/user.php?userId=12579
(check out the 'In heavy rotation' section on the left, that's also a nice feature... as you can see musicmobs is rather album-oriented while audioscrobbler is more track-oriented)

Anyway, back to .xml export, does the export of MC's library to an itunes library format seem doable?
Logged

IlPadrino

  • MC Beta Team
  • Galactic Citizen
  • *****
  • Posts: 496
Re: MC XML Export News...
« Reply #19 on: April 07, 2005, 09:21:53 am »

Site under "About" is 404. I was hoping to look at some of the other XSLs out there... and it seems like there used to be some on the site.

Can someone point me in the right direction for XSLs and/or the pre-release of the new plugin mentioned here?

Thanks!

You can get the presets at http://pages.sbcglobal.net/scottraymond/Presets.htm - plenty of XSL to get you started.
Logged

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1988
  • The Multi-Zone Tzar
Re: MC XML Export News...
« Reply #20 on: April 11, 2005, 06:04:12 am »

Scott, how's version 2 coming along? Every time I fire up 1.0.1 it takes around five minutes before it's ready for use.  ;)
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
Re: MC XML Export News...
« Reply #21 on: April 20, 2005, 04:54:30 am »

Scott, how's version 2 coming along? Every time I fire up 1.0.1 it takes around five minutes before it's ready for use. ;)

Yeah, I know - sucks, huh?

The horrible load-time is a stupid bug on my part, that I'm unable to fix as I don't have the source code anymore. Bloody annoying. So I've re-written about half of it so far (and fixed the stupid bug), but there are a few things getting in the way from finishing. First up is University. I pretty much have zero time to work on fun things like this, plus I'm hardly ever in Windows in the first place anymore! I haven't even tried out MC11 properly yet!! Second is the real show-stopper though... It seems making COM calls (to MJAutomation) from a multi-threaded .NET environment causes so much overhead in marshalling stuff around the place that the export itself takes about 10 times longer than it used to.

Basically I want to have the export taking place in a separate thread, allowing the GUI to remain responsive, as well as allowing other things to happen, like scheduled exports running in the background, or simultaneously.

In version 1, everything happened in a single thread. Each time round the main export loop the screen was repainted to make it look like things were happening. The main draw-back to this approach is that we can't cancel a currently running export, as the MouseDown event won't be received untill the export loop is finished. Bleh.

I don't really know the answer. You can either have exports that take an order of magnitude longer than they used to, with the ability to do cool new things, or you can have it how it's always been, but unable to cancel :)

Or someone can find the answer to this COM/.NET madness. I don't quite hate myself enough to delve into the depths of COM threading models, but here's what (I think) I know about the situation:

  • COM objects (MC, MCXMLExport, etc) get put into Apartments
  • There are two types of Apartments, Single Threaded (STA) and Multi Threaded (MTA)
  • Objects in the same type of Apartment can communicate directly - objects in different types of apartment require an in-between object to marshal data back and forth
  • MC creates my plugin inside an STA
  • All's well until I spawn a new thread (the exporter thread), which, obviously, gets put in an MTA
  • Calls coming from the export thread are in an MTA, and are targetting the MC object, which is in and STA
  • Slowness ensues.

Any Windows programmers care to comment? I wouldn't have the foggiest idea. Surely this is a common thing?
Logged

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1988
  • The Multi-Zone Tzar
Re: MC XML Export News...
« Reply #22 on: April 20, 2005, 07:03:12 am »

I only have a faint idea what you're talking about, but I would prefer the export to be as snappy as possible, and not being able to cancel it. If it matters what I think...  ;)
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

scott_r

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 306
Re: MC XML Export News...
« Reply #23 on: April 21, 2005, 05:05:59 am »

I only have a faint idea what you're talking about, but I would prefer the export to be as snappy as possible, and not being able to cancel it. If it matters what I think...  ;)

Heh, yeah, kinda got a bit carried away there...

I might get a version out that's just single-threaded and see how that goes. Although I can't promise a specific time-frame, I'll see what I can do.

Ciao,

Scott.
Logged

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1988
  • The Multi-Zone Tzar
Re: MC XML Export News...
« Reply #24 on: April 21, 2005, 05:08:04 am »

Thanks! I'll be looking forward to that.
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

quirtep

  • Regular Member
  • Recent member
  • *
  • Posts: 44
  • I'm a llama!
Re: MC XML Export News...
« Reply #25 on: December 07, 2005, 07:31:42 am »

Greetings.  I'm just wondering if you are still working on MC XML Export 2.0.  I use 1.0.1 regularly and would love a faster version.  Thanks for the update.
Logged

lOth

  • Citizen of the Universe
  • *****
  • Posts: 785
Re: MC XML Export News...
« Reply #26 on: December 07, 2005, 11:04:09 am »

I'll follow-up on the bump to throw again in the air my question about exporting to an .xml compatible with iTunes (see above).
Logged
Pages: [1]   Go Up