Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#141250 - 09/02/2003 02:17 Synchronize or push iTunes playlists to JEmplode?
ProtonVehiCROSS
new poster

Registered: 16/09/2001
Posts: 36
Loc: Seattle, WA
Has anyone devised a procedure for pushing playlists from iTunes into JEmplode? I'd like to organize all my music in iTunes, and then force those playlists into the Rio Car without having to maintain duplicate and unsynchronized playlists.

I was thinking there might be a way to do this using iTunes XML or CSV export, possibly importing into JEmplode. I can massage the XML or CSV output from iTunes into any conceivable format using Crystal Reports -- that's not a concern. Just wanted to check and see if anyone had done this before I spend a few hours reinventing the wheel. Thanks!
_________________________
[yellow]
________________
Grant Eaton
ProtonVehiCROSS
[/yellow]

Top
#141251 - 22/02/2003 17:43 Re: Synchronize or push iTunes playlists to JEmplode? [Re: ProtonVehiCROSS]
ADent
stranger

Registered: 04/02/2002
Posts: 48
Loc: Denver, Colorado
Let us know how it goes.

Top
#141252 - 25/02/2003 07:26 Re: Synchronize or push iTunes playlists to JEmplode? [Re: ProtonVehiCROSS]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
There was talk of better iTunes integration, but it never really got enough support to get off the ground ... If you can export xml/csv it would be pretty trivial to import it into jEmplode.

Top
#141253 - 25/02/2003 10:09 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mschrag]
303
enthusiast

Registered: 24/04/2002
Posts: 305
Loc: Germany
how can you import xml/csv into jEmplode?

Top
#141254 - 25/02/2003 10:12 Re: Synchronize or push iTunes playlists to JEmplode? [Re: 303]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Well, you can't But it would be pretty easy to add it...

Top
#141255 - 25/02/2003 10:16 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mschrag]
303
enthusiast

Registered: 24/04/2002
Posts: 305
Loc: Germany
o.k. i see.
what do you need to do it Mr. jEmplode?
first thing is TIME, i guess!!!


Edited by 303 (25/02/2003 10:18)

Top
#141256 - 25/02/2003 10:22 Re: Synchronize or push iTunes playlists to JEmplode? [Re: 303]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
doing a single mass import will not be hard ... i would just need the xml/csv format. However, doing a _second_ import after you've already done one import pretty much turns into the syncing-a-PC-and-an-Empeg problem unless you can specify the FID of the tunes to update, which you probably can't. So maybe I spoke too soon.

Top
#141257 - 25/02/2003 10:26 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mschrag]
303
enthusiast

Registered: 24/04/2002
Posts: 305
Loc: Germany
do you think it is possible to write an iTunes plug-in for the empeg?
i am not a programmer, so if this question is stupid, i am sorry.

Top
#141258 - 25/02/2003 10:35 Re: Synchronize or push iTunes playlists to JEmplode? [Re: 303]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I suppose anything's possible, but good luck with that one ... basically, when we solve the sync-with-PC problem, it will be easy to add iTunes import.

Top
#141259 - 25/02/2003 10:38 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mschrag]
303
enthusiast

Registered: 24/04/2002
Posts: 305
Loc: Germany
word!

Top
#141260 - 25/02/2003 13:32 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
If you can export xml/csv it would be pretty trivial to import it into jEmplode.

Take a look at the iTunes playlist file (~/Music/iTunes/iTunes\ Music\ Library.xml). It is already XML and looks pretty simple to parse. Or you could go the other way and write an iTunes plugin that uses the Java-Objective C bridge to call jEmplode functions to do that actual uploads. My gut feeling is this would actually be pretty easy (I have some vague idea of what I am talking about having once written an OS X screensaver module in ObjC/Java just to see how it worked). Howerver, iTunes doesn't support nested playlists and I wouldn't want flat playlists on my empeg so I don't really see the point. Although I guess you could use jEmplode's soup functionality to do playlists automatically.

Of course at this point I would step back and ask what the point of all this would be? It is a lot of work to do something that jEmplode already does (quite well).

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141261 - 25/02/2003 14:16 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mcomb]
303
enthusiast

Registered: 24/04/2002
Posts: 305
Loc: Germany
the point is one software less!

Top
#141262 - 25/02/2003 14:34 Re: Synchronize or push iTunes playlists to JEmplode? [Re: 303]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
the point is one software less!

Nah, either way you would still be using jEmplode. Either to import an XML file and do the actual sync or behind the scenes as a sync engine to do the actual work (with iTunes handling the UI). I can kind of see the point if you let iTunes actually maintain your music files (store them in it's directory structure under your home directory). I wonder how many people actually do though. I have all mine on my server in a directory format (Genre/Artist/Album/Song) that mirrors how I want them on my empeg. That way they are accessible by my roommate and any other software that I want to use with them. So every once in a while I just re-add the top level directory to jEmplode and let it figure out the changes and handle the sync.

So mschrag, how modular is jEmplode at this point? Could it be used just as a synchronization library without any of the UI or ID3 stuff (putting aside for the moment if it would be worth the trouble)?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141263 - 25/02/2003 16:53 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mcomb]
trs24
old hand

Registered: 20/03/2002
Posts: 729
Loc: Palo Alto, CA
I can kind of see the point if you let iTunes actually maintain your music files (store them in it's directory structure under your home directory). I wonder how many people actually do though.
I tried letting iTunes handle my playlist organization for a while, and it just screwed everything up. It does some things well, but I don't like the way it organizes playlists. I think emplode and jemplode are much better.

- trs
_________________________
- trs

Top
#141264 - 26/02/2003 12:51 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
The sync libraries are totally separate ... In fact, I use those libraries in a couple different projects.

Top
#141265 - 26/02/2003 14:12 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mschrag]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
The sync libraries are totally separate

Well, that is one piece of the puzzle then. I might consider looking into the iTunes plugin angle just out of personal curiousity (I don't see it as the best solution for my needs), but I can't find any source code for an existing iTunes Device Plugin. I have the iTunes plugin SDK, but it only has sample source code for a display plugin which is totally different. Anybody know of an existing iTunes device plugin that is open source?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141266 - 26/02/2003 14:19 Re: Synchronize or push iTunes playlists to JEmplode? [Re: mcomb]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
you might want to wait till the next jEmplode .. things are split out a lot better .. I used those libraries in a couple other projects, so it forced me to clean up the abstractions in there. You can still do it in the current version, but it's definitely nicer in the new one.

Top
#141267 - 02/03/2003 04:30 Re: Synchronize or push iTunes playlists to JEmplode? [Re: trs24]
ProtonVehiCROSS
new poster

Registered: 16/09/2001
Posts: 36
Loc: Seattle, WA
Empeg playlists are hierarchical whereas iTunes playlists are not. I manually rearrange all my iTunes encoded music to be stored in a folder hierarchy which facilitates easy playlist creation in Jemplode (i.e., Artists\ArtistName\Album or Compilations\Classical\Composer\Album). Basically, all I am looking to do is somehow synchronize the static one-level iTunes playlists into Jemplode based on FID or some other unique identifier. It would greatly facilitate re-setting up my iPod playlists like "Workout Music" and "Asian Underground" -- both static playlists. Might be kind of nice to also be able to synchronize the Smart Playlists, too. I haven't looked into this too much yet, but I look forward to seeing what y'all come up with. :-)
_________________________
[yellow]
________________
Grant Eaton
ProtonVehiCROSS
[/yellow]

Top
#141268 - 25/02/2007 12:25 Re: Synchronize or push iTunes playlists to JEmplode? [Re: ADent]
fairlight
new poster

Registered: 25/12/2001
Posts: 11
Loc: Duisburg, NRW, Germany
Hello,

are there any news about this feature? I want to manage my music-collection at home via iTunes and have a complete backup at my empeg. Does somebody a hint or suggestion to manage this?

Regards,

Falk

Top
#141269 - 25/02/2007 22:07 Re: Synchronize or push iTunes playlists to JEmplode? [Re: fairlight]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
I think I heard of someone using mt-daapd to manage a music collection on a linux box through iTunes. You could then use rsync to synchronize it to your empeg.

For that matter, now that I think of it, you could use rsync with cygwin on a windows box to sync your iTunes folder. Check out cwRsync I'm not sure if you could get mp3tofid to work with cygwin, but it'd be worth a shot. Anyone who's used this stuff before care to comment?
_________________________
~ John

Top
#141270 - 27/02/2007 12:05 Re: Synchronize or push iTunes playlists to JEmplode? [Re: JBjorgen]
fairlight
new poster

Registered: 25/12/2001
Posts: 11
Loc: Duisburg, NRW, Germany
Quote:
I think I heard of someone using mt-daapd to manage a music collection on a linux box through iTunes. You could then use rsync to synchronize it to your empeg.


Hm, is the empeg accessible with rsync? This would be a nice solution which should work for me. No matter of running rsync under windows, I use Mac OS X, no problem here :-)

Regards,

Falk

Top
#141271 - 27/02/2007 12:26 Re: Synchronize or push iTunes playlists to JEmplode? [Re: fairlight]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3584
Loc: Columbus, OH
Yes, you can use rsync in conjuction with an application called mp3tofid (I believe it's written by Pim).

You can find it here. Don't ask me how to set it up, because I haven't done it myself yet. There's a readme at that link that seems pretty informational though.
_________________________
~ John

Top
#141272 - 28/02/2007 23:15 Re: Synchronize or push iTunes playlists to JEmplode? [Re: JBjorgen]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Quote:
I'm not sure if you could get mp3tofid to work with cygwin, but it'd be worth a shot.


mp3tofid v3.00 came with a cygwin version out of the box. mp3tofid v4.00 needs a lot of libraries, not all of them available through cygwin at the time mp3tofid v4.00 was released. Things may have changed by now.

Top
#141273 - 28/02/2007 23:19 Re: Synchronize or push iTunes playlists to JEmplode? [Re: fairlight]
pim
addict

Registered: 14/11/2000
Posts: 474
Loc: The Hague, the Netherlands
Quote:
I use Mac OS X


PowerPC or Intel? I never got by making mp3tofid endian-proof. It assumes the endianness is the same as the empeg so PowerPC won't work.

Pim

Top