#39048 - 22/09/2001 13:15
Empeg backup
|
member
Registered: 31/01/2001
Posts: 112
Loc: Belgium/Luxembourg
|
Hi! Could sb help me please???
My Empeg is full & I want to back it up. Know there's some copyrights problems but...
Is there already somewhere some software doing this through USB or Ethernet (u/ Windows, I'm not used with linux) ???
I'm OK for making a site for this problem, I think a lot of owners are expecting this -3rd part- feature (at least for keeping updated ID3s).
Tnx in advance.
David.
36G mk2 red / TM ordered...
Belgium
_________________________
David Clesse
Belgium/Lux
[blue]Mk2[/blue]-36g-tuner-stick-aug00
[orange]Riocar[/orange]-60g-jan02
|
Top
|
|
|
|
#39049 - 22/09/2001 13:23
Re: Empeg backup
[Re: dclesse]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31602
Loc: Seattle, WA
|
You might want to try reading through the FAQ section of this BBS. ___________
Tony Fabris
|
Top
|
|
|
|
#39050 - 24/09/2001 09:36
Re: Empeg backup
[Re: tfabris]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
OR, after you read through the FAQ, you may feel the same way I do that the only easy option is Frank's backup tool that, from last I read, has a 2GB limit and there is still no way to back up the database or have database changes reflected in the ID tags of the MP3 files.
32GB Mk. II in a WRX
Detroit, MI USA
www.PfeifferBeer.com
_________________________
Brad B.
|
Top
|
|
|
|
#39051 - 24/09/2001 18:39
Re: Empeg backup
[Re: SE_Sport_Driver]
|
journeyman
Registered: 05/10/1999
Posts: 89
|
Since the Emplode code has been open-sourced, is it possible to use that codebase to write utilities that pull files back out through the USB connection?
I would be very inclined to take a stab at it, but I would love to know if there are any obvious technical obstacles to doing this.
Thanks,
Corby
MK I, SN#320 Blue/Green
|
Top
|
|
|
|
#39052 - 24/09/2001 23:46
Re: Empeg backup
[Re: corby]
|
addict
Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
|
The Emplode code hasn't been opensourced. I think you mean the Emtool code - emtool is the Linux command like utility for loading music onto the empeg. There are definitely some parts of that code base that could be used to write a file transfer utility, and some of the comments in the source code are very helpful in this respect. As I understand this should also be no problem over USB. There have been some discussions here on the BBS about it, but as yet no one has produced anything. From the comments I have seen it should actually be reasonably straight forward to do this - download the souce, have a look through and tell us what you think :-)
(list 6284, Mk1 S/N 00299 4GB blue [for sale]. Mk2 S/N 080000094 26GB blue)
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)
|
Top
|
|
|
|
#39053 - 25/09/2001 09:35
Yowza!
[Re: Derek]
|
journeyman
Registered: 05/10/1999
Posts: 89
|
The link to download the emptool source from http://empeg.com/downloads is broken. (The link from the geek site) I hope that SonicBlue has not re-licensed their IP.
In the meantime, I am going through the jempeg code to make progress, but if someone can point me to a mirror (or if the Empeg guys can re-publish the source), that would be awesome.
Thanks,
Corby
SN#320, MK I Blue
|
Top
|
|
|
|
#39054 - 25/09/2001 09:38
Re: Yowza!
[Re: corby]
|
addict
Registered: 16/08/1999
Posts: 453
Loc: NRW, Germany
|
go to www.empeg.com and click on support. empeg car source code is on the list, and the link seems to work fine to me!!
(list 6284, Mk1 S/N 00299 4GB blue [for sale]. Mk2 S/N 080000094 26GB blue)
_________________________
(list 6284, Mk1 S/N 00299 4GB blue [sold]. Mk2 S/N 080000094 20GB blue)
|
Top
|
|
|
|
#39055 - 25/09/2001 09:41
Re: Yowza!
[Re: corby]
|
carpal tunnel
Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
|
Yeah, we erase old releases after a while, and the geek site hasn't been updated in ages.
Rob
|
Top
|
|
|
|
#39056 - 25/09/2001 14:26
Re: Yowza!
[Re: rob]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
this thread has an exe attachment that will download a fid for you. write a perl wrapper to pull fids from the CSV export of emplode and you can back up all your files.
http://empeg.comms.net/php/showthreaded.php?Cat=&Board=hackers_prog&Number=34490&page=&view=&sb=&o=
As to why there is no source, I stopped making the source or even the tool available when i read another thread about being careful about posting software that allows people to pull out and potentially share music from the empeg.
I don't need the FBI breaking my door down. my apartment manager would be pissed.
of course, if someone at sonicblue wants to give me a written ok to distribute such code ;-)
(and don't tell me emptool's all GPLed so it should be o.k. I don't want to be Bruno's bitch at Leavenworth, even if the chance is remote)
Call be paranoid, but I don't trust the music mafia.
|
Top
|
|
|
|
#39057 - 25/09/2001 19:26
Re: Empeg backup
[Re: Derek]
|
journeyman
Registered: 05/10/1999
Posts: 89
|
OK, I see this ground has been covered by people smarter than myself. The very first obstacle I ran into was not being able to compile usb_discovery_win32.cpp. This is an important piece of code to me, because I am only interested in pulling files over USB. I already know how to pull them over the serial port, and match the file names with the FIDs, and ethernet is useless to me as a Mark I owner.
So I came back to Empeg BBS, where I should have started, and found reference to the missing libraries here.
So, is there any chance of the win32_usb library being moved to lib/protocol as Roger suggested? I realize that this really isn't on the list of Empeg's ten most pressing concerns right now, but I can't imagine that releasing this library would hurt Empeg's competitiveness in the high-end consumer audio arena.
Thanks,
Corby
SN#320, MK I Blue
|
Top
|
|
|
|
#39058 - 25/09/2001 23:01
Re: Empeg backup
[Re: corby]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
Actually, there is not much USB code missing. nothing that's important anyway. disregard the locks, you can do without them.
There is enough there to get USB download working. I've done it. for my mk2 on win2k anyway.
|
Top
|
|
|
|
#39059 - 26/09/2001 04:18
Re: Empeg backup
[Re: corby]
|
carpal tunnel
Registered: 18/01/2000
Posts: 5683
Loc: London, UK
|
It is moved to lib/protocol in v2.0. In the interim, here's the relevant files.
Roger - not necessarily speaking for empeg
Attachments
38464-EmpegUsbDevices.zip (11 downloads)
_________________________
-- roger
|
Top
|
|
|
|
#39060 - 26/09/2001 07:17
Re: Empeg backup
[Re: Roger]
|
carpal tunnel
Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
|
I just want to say that I have absolutley no idea what you guys are talking about.... so if anyone can create a little ap that will pull MY mp3's to MY computer, I would be very greatful and would even pay up to $50 for it. I need to swap one of my harddrives soon, and would like to have a backup..... :(
Maybe with the empeg being droppedfrom the product line, getting tracked down by the FBI would be less of a concern? Besides, I think they have bigger fish to be chasing now..... :|
32GB Mk. II in a WRX
Detroit, MI USA
www.PfeifferBeer.com
_________________________
Brad B.
|
Top
|
|
|
|
#39061 - 26/09/2001 09:13
Re: Empeg backup
[Re: SE_Sport_Driver]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
i'll post something this evening.
I think with the product being discontinued, it doesn't matter. plus, they can always turn off the hooks to download in the player in a future release of the software.
|
Top
|
|
|
|
#39062 - 26/09/2001 12:36
Re: Empeg backup
[Re: Roger]
|
journeyman
Registered: 05/10/1999
Posts: 89
|
Thank you, Roger! I do not have Amol's experience in low-level communications programming, so this is a big help for me!
I am going to try to build this using the CYGWIN tools since I do not own a licensed copy of Visual Studio. Amol, if there is a toolset that has been working better for you, please let me know.
Thanks,
Corby
MKI SN#320, 6-Gig Blue
|
Top
|
|
|
|
#39063 - 26/09/2001 22:23
Re: Empeg backup
[Re: corby]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
afraid I used visual c++. however, I think emptool should compile with cygnus gcc. as long as it comes with the STL (std. template library for C++)
|
Top
|
|
|
|
#39064 - 27/09/2001 14:54
Re: Empeg backup
[Re: SE_Sport_Driver]
|
old hand
Registered: 30/07/2000
Posts: 879
Loc: Germany (Ruhrgebiet)
|
Hi.
I would really suggest that you set up the ftp server on the empeg, a prebuilt package for this task is available on my homepage at http://www.incase.de/framed/empeg.
I really would like to see the source to amold's download-tool though.
cu,
sven proud MkII owner (12GB blue/green/smoked, was #080000113 is #090001010)
_________________________
proud owner of MkII 40GB & MkIIa 60GB both lit by God and HiJacked by Lord
|
Top
|
|
|
|
#39065 - 27/09/2001 18:59
Re: Empeg backup
[Re: smu]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
sorry, couldn't upload the source and app like i promised yesterday. I will try to get it done tonight, but it might be a day or two more.
|
Top
|
|
|
|
#39066 - 27/09/2001 23:35
Re: Empeg backup
[Re: amold]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
ftp.blarg.net:users/amol/empeg
exe and source included.
it's a really rough 1st cut, so don't blame me if it doesn't work 100% :)
|
Top
|
|
|
|
#39067 - 28/09/2001 15:52
Re: Empeg backup
[Re: amold]
|
old hand
Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
|
Aren't the files supposed to be saved with a .mp3 extension, or is that by design?
Thx for the nice utility.
Sean
|
Top
|
|
|
|
#39068 - 28/09/2001 17:57
Re: Empeg backup
[Re: Terminator]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
I did warn you about bugs :). try the current binary on my site.
|
Top
|
|
|
|
#39069 - 28/09/2001 18:20
Re: Empeg backup
[Re: amold]
|
old hand
Registered: 12/01/2000
Posts: 1079
Loc: Dallas, TX
|
|
Top
|
|
|
|
#39070 - 02/10/2001 13:46
Re: Empeg backup
[Re: amold]
|
journeyman
Registered: 18/08/1999
Posts: 90
Loc: Scottsdale, AZ USA
|
Works great Amold! I'm running it now pulling all the files off my Mk1. I have been having problems with empeg clone moving the stuff to my new Mk2a and this solved the problem for me of getting my tracks from one player to another. I'm using USB on the Mark1 and it's running great at about 300Kbps.
Thanks very much!
If your looking for enhancement suggestions can I offer a few?
1) If there is no track number in the tag, don't write one to the filename. Same for other blank fields.
2) write the MP3's to a directory structure like the playlist organization - if it's possible to read the structure.
3) if the playlist db info for a track is different than the MP3 tag, write the filename with the db info.
3) with more than one empeg on the USB bus the program bailed with an error. You might want to give an option for selecting which empeg it connects to with USB. The easy solve for me was to unplug the other empeg until the software was downloading and then reconnect it.
In any case the software works great and is over 3GB through my 4GB mk1 in only a couple of hours. Great work and thanks again!
=-Clarke
______________________________________ Queue 351, Now Mk II #60000022 18gb, Blue
_________________________
______________________________________
Queue 351,
Mk I, 30GB
Mk II #60000022 80gb, Blue - docked
Mk2a, 80GB, Bruface, lighted buttons and dial
|
Top
|
|
|
|
#39071 - 02/10/2001 15:09
Re: Empeg backup
[Re: Clarke]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
I agree, seems to work well here on my 40GB MkII, though I didn't transfer more than a few files just yet. Re: your suggestion #2... The problem with writing files in the playlist hierarchy is Empeg's symbolic link setup... You can have the same MP3 in many playlists, and the same playlist under many different branches... Causes issues for a program to figure out which one you want to get... I wouldn't want a backup utility to write six copies of the same MP3 just because I have it in six playlists... That'd fill up all my desktop HDD's right quick.
I guess a way to fix that would be to put a GUI over this type of program and let the user select which playlists or specific MP3's they want to save. I agree it should prefer the database's info over the ID3 tag info. Or open up the option of user-specified formats using format strings or whatever. But without those luxuries, it's still the backup utility everyone's been dying for. Ethernet for me is about 20% faster which I expected since USB speed is known to be sub-optimal.
Great job, amold.
-Tony
MkII #554
|
Top
|
|
|
|
#39072 - 02/10/2001 17:59
Re: Empeg backup
[Re: amold]
|
carpal tunnel
Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
|
I am sorry if I skipped some relevant part of the thread, but how do you restore all the files in case you need to?
Thanks
Taym
_________________________
MK II BLUE/RED 12GB #923
_________________________
= Taym = MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg
|
Top
|
|
|
|
#39073 - 02/10/2001 18:06
Re: Empeg backup - Bug
[Re: Taym]
|
carpal tunnel
Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
|
Also, first bug: if the song title contains a question mark, it is skipped since filenames cannot have question marks on dos/win file systems. For the rest, it seems to be working great!
Taym
_________________________
MK II BLUE/RED 12GB #923
_________________________
= Taym = MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg
|
Top
|
|
|
|
#39074 - 02/10/2001 18:26
Re: Suggestions
[Re: Taym]
|
carpal tunnel
Registered: 18/06/2001
Posts: 2504
Loc: Roma, Italy
|
Sorry guys for not posting everything in one message.
I have a question, before I proceed to my 12Gb backup. Does Empegmirror also back up/restore the database?
Suggestions for next releases:
1) Copy the mp3s on disk as you prefer, and than add a gui that reproduces empeg playlists etc, making the hdd backup playable on the pc
2) Make the backup differential: just delete or add what was deted or added on the empeg everytime the backup starts
3) Separate the backup and restore modes, so that it is easy to decide whether to restore hdd dbase and mp3s onto the empeg or to backup empeg dbase and mp3s on pc's hdd.
Quite obvious, I know, but I just wanted to suggest how I see the perfect empeg backup sw.
Thank you anyway for what you've already done, Arnold!
Taym
_________________________
MK II BLUE/RED 12GB #923
_________________________
= Taym = MK2a #040103216 * 100Gb *All/Colors* Radio * 3.0a11 * Hijack = taympeg
|
Top
|
|
|
|
#39075 - 02/10/2001 18:31
Re: Empeg backup - Bug
[Re: Taym]
|
journeyman
Registered: 31/12/2000
Posts: 78
|
there is no way to restore the files or tags yet. Like I said, this is just a first-cut at a backup utility. more as a proof-of-concept than anything else.
As far as the bugs go, i will be working on a better-featured version, so hopefully any bugs you tell me about here will be fixed in a later revision.
I don't have an ETA for the next version, in case you're curious :)
|
Top
|
|
|
|
#39076 - 02/10/2001 18:37
Re: Empeg backup - Bug
[Re: amold]
|
Pooh-Bah
Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
|
err, hate to be picky, what's the point of a backup utility that doesn't restore?
sounds like a do-nothing-machine
Murray
Go-Wit-Da-Fro
_________________________
--
Murray
I What part of 'no' don't you understand?
Is it the 'N', or the 'Zero'?
|
Top
|
|
|
|
#39077 - 02/10/2001 18:52
Re: Empeg backup - Bug
[Re: muzza]
|
carpal tunnel
Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
|
He said it was a first cut.... Give the guy a break..
Until something more elegant appears, Emplode is a fine and dandy "restore utility..." This backup util takes the MP3 files and puts them on your HD. Emplode transfers MP3 files from your HD to your Empeg... Yes, playlists, DB, etc would be lost but hey...
-Tony
MkII #554
|
Top
|
|
|
|
|
|