New version working great thanks!
Is there any way to autostart foobar when an ipod is connected instead of iTunes?
I tried turning off start itunes when this ipod connects in itunes. Then created an autostart handler for foobar in tweakui from microsoft and associated it with mixed content and music files but when I attach an ipod, foobar doesn't start.
Thanks for your help.
musicmusic
Jul 1 2008, 17:32
iTunes does so by registering itself with iPodService which is what detects when the iPod is connected. There isn't any documentation for the iPodService API so using it is somewhat tricky (I did once, then it broke with a new version of iTunes..) The other alternative is the component having it's own service but anyway it doesn't..
You could try messing with an autorun.inf file on your iPod; I don't know if that will get satisfactory results though..
thanks for the input. I was surprised that just setting up a ms handler for autorun when the f: drive is attached didn't work. No autorun ever happened and couldn't be forced to happen.
corganzero0
Jul 2 2008, 13:40
Does anyone have an old version of this plugin that is compatible with 0.9.4? I'd really appreciate a quick upload or something....
I just upgraded to the latest version 0.6.2.4 and now foo_dop can't add files to my iPod: Failed to add file to iPod: path is too long. The "path" is something like: E:\Music\Music\Violin\Track 01.mp3.
I have songs with English names and Chinese names. I tried both synchronization and sending playlists. What's going on??
musicmusic
Jul 5 2008, 00:36
What is the iPod's drive letter?
[edit] Well anyway it was surely E:.
QUOTE(musicmusic @ Jul 4 2008, 22:36)

What is the iPod's drive letter?
Actually you are right! The music was stored in E: but iPod took the drive letter somehow. It's fixed now.
Cheers!
viniciusferrao
Jul 8 2008, 10:31
I have two question.
I store all my music in .CUE format with a compatible .FLAC, .APE or .WV
So I get foo_dop to do the automatic conversion, everything works fine, except lyrics.
First I just wanna to know how I can check if ReplayGain information is passed correctly to iPOD using the automatic conversion of foo_dop
Second, I can't use the Lyrics function. Can't add LYRICS METAFLAG TAG to my Cuesheets, dunno how to do this.
Any help will be appreciated and sorry my poor english.
One quick question that searching hasn't given me an answer too: Can I add artwork to files already on the iPod? Many thanks.
Dereks
Jul 10 2008, 00:33
QUOTE(J44xm @ Jul 10 2008, 07:08)

One quick question that searching hasn't given me an answer too: Can I add artwork to files already on the iPod? Many thanks.
no, you should reload the file - that's the only way.
RainDawg
Jul 11 2008, 07:27
Sigh....Apple at it again.
I have not really had a whole lot of time to play with it yet, but it appears right now that the iPhone 2.0 firmware is unable to read a database written by this program. This morning before work I decided to send a few files to the device. It had a bunch of podcasts and a working file database with the new iTunes 7.7 and the iPhone running 2.0 firmware. After sending music, the device's iPod program now says that there is no content on the device, either as podcast or as music.
Going back into foobar2000 and loading the library, I am still able to play the files as before, so they are on the device and healthy. I am guessing that something in the new software has changed the database in some way, and it opts not to read files written as the old type.
I know iPhone support is so terribly cumbersome to keep up with, and I honestly wouldn't be surprised if you just opted not to bother with it. However, let me know if there's anything I can provide to help you debug this should you decide to pursue another Apple headache.
musicmusic
Jul 11 2008, 07:48
They have possibly changed the hashing algo..
BTW did you update through an official method or the manual one (by downloading the file floating around)? If you did it manually, be warned that "iPhone1,2" refers to the iPhone 3G whilst "iPhone1,1" is the normal iPhone, they have two separate .ipsw files (the hashing algo could be a difference)..
Otherwise I can at least check the obvious things, if you provide a database (iTunesDB) written by iTunes and the output from the
special version from before (do not use that version for anything else, it is an old build).
One other thing, if you go through 'Load library', and open the properties of one of the files, does it still have the long string of letters/numbers in the path after "applemobiledevice://" ?
RainDawg
Jul 11 2008, 09:38
I used the "leaked" copy of the firmware last night. After reading your post, I decided it would be best to update through the "official" method just in case there was some difference....and the iTunes activation servers are completely dead. Myself and 1000s of other people ware waiting for them to come back online, and we are all stuck in semi-brick mode until the update can be validated.
I'll do some testing whenever they come back online, probably tomorrow.
musicmusic
Jul 11 2008, 10:00
OK. It probably did but I would double check that iTunes downloaded the correct update since you had the other one on there. For iPods they are stored at "%appdata%\Apple Computer\iTunes\iPod Software Updates", possibly "%appdata%\Apple Computer\iTunes\iPhone Software Updates" for iPhones. If you need it the ipsw file should be this one:
CODE
http://appldnld.apple.com.edgesuite.net/content.info.apple.com/iPhone/061-4956.20080710.V50OI/iPhone1,1_2.0_5A347_Restore.ipsw
Comparing the filename would be enough.
It is more likely that they would only (intentionally) change the hashing method for the iPhone 3G, because it is a bit of a hassle changing it for existing devices (it would affect the database already on there), but anything is possible.. We will find out what is going on
RainDawg
Jul 11 2008, 14:09
Upgrading from 1.x to 2.0 required all data on the device to be wiped and all music/videos to be re-downloaded, so the probably did change the database somewhat
Looks like the activation servers are back up, and I am now upgraded with the official push, so I'll run through some tests and see what happens.
musicmusic
Jul 11 2008, 15:27
Yes I wondered about that but it seems like a complete backup of the device:
QUOTE(Apple)
Normally if you choose to update, the iPhone or iPod touch software is updated but your settings and media are not affected. If your device currently has a software version prior to 2.0 (1.x) and you are updating to software version 2.0 or later, all data on your device will be erased in order to perform install the new software. In this case, iTunes will offer to create a one-time media backup of your device depending on what content is on your device and what content is stored in the iTunes Library you are connected to. You should ensure that you have enough free space on your Mac or PC to accommodate a backup that matches the capacity of your iPhone or iPod touch (4 GB, 8 GB, 16 GB, or 32 GB) if you proceed with the this backup.
My feeling is that if that was to make some changes to the database, they could do that in-place. Maybe they are repartitioning the drive or something..
RainDawg
Jul 11 2008, 15:45
OK, With the official firmware push, I send all of my video and podcasts to the device with iTunes in the official way, and it all works great. I then send along some mp3 files with foo_dop, it copies them fine, the device shows the "sync in progress" screen like normal, but now the iPod application says "No Content". I can load the library and play the files that are on the iPhone through fb2k just fine.
The worst part is that iTunes now see the device, but all other options other than "Restore" are hidded, and I get a message saying that I need to restore the device because iTunes cannot read from it.
Attached is a zip file containing a text file of the Test Results from your previous foo_dop, a copy of iTunesDB written by iTunes 7.7 to iPhone 2.0, and a copy of iTunesDB after foo_dop tries to add some mp3 files.
Hope it all helps.
Edit: Yes, when I do a load library, it still shows the files as applemobiledevice:// follow by the long string of letters and numbers,,,,
musicmusic
Jul 11 2008, 15:52
Thank you, I'll take a look, you can remove the link if you want (it has some serial numbers and what not).
Yes one of the reasons iTunes behaves like that is if it fails to verify the hash..
musicmusic
Jul 11 2008, 16:24
I sent you a message

Also, you should be able shut iTunes up about the restore thing by restoring the iTunesDB it wrote (close iTunes first).
dopper
Jul 11 2008, 17:32
[font=Palatino Linotype]

confused
I am a long time user of foobar and I just recently decided to try and use this plugin to move music to and from my collection. It looks awsome. But I have some difficulties.
I am using the following:
Foobar2000: v0.9.5.4
foo_dop-0.6.2.4.7
iPod Nano 3G Silver
Firmware version: 1.1.2
Music transfers to and from ipod with no troubles, I can play the music in foobar with no troubles but music transfered onto the ipod from foobar will not play on the ipod. The titles/album art show up on the ipod as expected but the files will not play...it attempts but then goes back to the list.
I used itunes to transfer the exact same mp3 files to the ipod and the files play as expected.
Is there a trouble-shooting guide somewhere that I can go to that perhaps would have a solution to this problem. Or perhaps some of you veteran foo_pods can help.
musicmusic
Jul 11 2008, 17:49
Can you upload one of these files to e.g. yousendit.com and PM me the link? I will check it. Please also zip the file to preserve the filename.
Keikonium
Jul 11 2008, 17:50
@dopper:
I had this same issue a while back with files showing up, playing fine everywheree except the iPod. What I did to fix the problem was to right click the problem files, then "Rebuild MP3 Stream". Just try it on ONE of your problem files and see if it fixes it.
musicmusic
Jul 12 2008, 01:25
I released a new build to test with iPhone with 2.0 software. I do not know if it works or how well.
Note: Do not use it with any other iPod model, it will not work!
RainDawg, you can try this instead..
dopper
Jul 12 2008, 11:24
Thanks for the reply Keikonium
I tried "Rebuild MP3 Stream" and other options under utils, but still no luck.
I also tried 2 other ipods: IPOD Nano 2Gig v1.1.3 and IPOD 4G U2 v3.1.1 and they experienced the same problem.
I installed the applications on a different PC and same thing...
Dan
RainDawg
Jul 12 2008, 13:59
0.6.2.5 exhibits the same behavior as we discussed in our PM exchange....
aurelio
Jul 12 2008, 14:41
RainDawg, does your iPhone work in mass storage mode?
My new iPhone 3G not, so foo_dop seems unable to recognise it...
RainDawg
Jul 12 2008, 20:51
QUOTE(aurelio @ Jul 12 2008, 16:41)

RainDawg, does your iPhone work in mass storage mode?
My new iPhone 3G not, so foo_dop seems unable to recognise it...

Not sure what mass storage mode is....you can't (officially) use it to store files other than what iTunes would send. foo_dop recognizes the device under 2.0 just fine, it just doesn't write an iTunes database that compatible with whatever it is looking for.
musicmusic
Jul 13 2008, 02:50
QUOTE(RainDawg @ Jul 12 2008, 20:59)

0.6.2.5 exhibits the same behavior as we discussed in our PM exchange....
Hmm blah then it's just the minor part of the problem.. I will remove that version since it does nothing useful, and do some more investigating.
QUOTE(dopper @ Jul 12 2008, 18:24)

Thanks for the reply Keikonium
I tried "Rebuild MP3 Stream" and other options under utils, but still no luck.
I also tried 2 other ipods: IPOD Nano 2Gig v1.1.3 and IPOD 4G U2 v3.1.1 and they experienced the same problem.
I installed the applications on a different PC and same thing...
Dan
See my reply.
aurelio
Jul 13 2008, 09:40
QUOTE(RainDawg @ Jul 13 2008, 03:51)

Not sure what mass storage mode is....you can't (officially) use it to store files other than what iTunes would send.
You got the point

iPhone 3G is shown in explorer only for imaging support.
QUOTE
foo_dop recognizes the device under 2.0 just fine
I don't know if you hacked your 2.0 in some way - my device is not being recognized. I activated "Enable mobile device support" and restarted foobar, but foo_dop keeps saying: "No iPod found!"
My scenario:
iPhone 3G
iTunes 7.7 with Apple Mobile Device service running
Vista x64 SP1
fb2k v0.9.5.4
foo_dop 0.6.2.5
When will foo_dop support firmware 2.0? I have an iPod touch 16GB FW2.0 and foo_dop can't find the ipod
musicmusic
Jul 13 2008, 10:38
QUOTE(aurelio @ Jul 13 2008, 16:40)

I don't know if you hacked your 2.0 in some way - my device is not being recognized. I activated "Enable mobile device support" and restarted foobar, but foo_dop keeps saying: "No iPod found!"
Take a look in the foobar2000 console. It should say something like "Listening for Apple Mobile Devices" on start-up, or otherwise some error, and there is usually a message when the iPhone is connected.
Note that if it was not clear the 0.6.2.5 won't work completely correctly anyway. But if I understood correctly, opening and closing iTunes after using that build only will add the hash/whatever to the database so the iPhone accepts it. If anyone wants to play around with that build it is still available
here.
QUOTE(shfx @ Jul 13 2008, 16:43)

When will foo_dop support firmware 2.0? I have an iPod touch 16GB FW2.0 and foo_dop can't find the ipod

It should find the iPod touch.. as above check what is going on in the console. Are you on 64-bit OS also?
Ok, it sees it now. Will it sync correctly though? When i go to ipod properties it says:
Failed to send SCSI Inquiry command: Not supported on iPod touch and iPhone
Trying to read SysInfo. Model may not be identified if SCSI Inquiry failed due to denied access.
Failed to read SysInfo: Object not found
:/
Older versions of foo_dop allowed you to load your iPod playlists into fb2k (for editing and reuploading, or just for playing in fb2k). I upgraded from an older version of foo_dop (not sure which one) several weeks ago but it seems that this functionality has been removed. How can I edit iPod playlists now? (I'm not expected to reconstruct them, am I?)
Thanks for any help.
musicmusic
Jul 13 2008, 13:02
QUOTE(shfx @ Jul 13 2008, 18:47)

Ok, it sees it now. Will it sync correctly though? When i go to ipod properties it says:
Failed to send SCSI Inquiry command: Not supported on iPod touch and iPhone
Trying to read SysInfo. Model may not be identified if SCSI Inquiry failed due to denied access.
Failed to read SysInfo: Object not found
:/
Properties is not currently supported on iPod touch/iPhone..
No, syncing etc. does not work correctly with iPhone software 2.0. (Yes I know you have an iPod touch but Apple still
call it iPhone 2.0 software....)
QUOTE(J44xm @ Jul 13 2008, 18:56)

Older versions of foo_dop allowed you to load your iPod playlists into fb2k (for editing and reuploading, or just for playing in fb2k). I upgraded from an older version of foo_dop (not sure which one) several weeks ago but it seems that this functionality has been removed. How can I edit iPod playlists now? (I'm not expected to reconstruct them, am I?)
Thanks for any help.
You can load playlists into foobar2000 from View/iPod devices.
Is there any info when 2.0 will be supported?
QUOTE(musicmusic @ Jul 13 2008, 14:02)

You can load playlists into foobar2000 from View/iPod devices.
Awesome. Many thanks. I wouldn't have guessed that it'd be
there.
musicmusic
Jul 13 2008, 13:44
QUOTE(shfx @ Jul 13 2008, 20:13)

Is there any info when 2.0 will be supported?
I don't know at the moment, it depends on what the exact problem is. Hopefully it's just some minor database changes but we'll see..
HannaH
Jul 13 2008, 16:30
foobar 9.5.2
foo_dop v. 6.2.4
I've tried everything that I could think of to successfully put artwork for music that is already on my ipod. Foobar's built in artwork finder sees all of the artwork with no problems but when I try to use "Update metadata on ipod" it doesn't transfer the artwork or even update the tags on the ipod. It simply does nothing. I know that the tags on the ipod are not updated because if I try to sync with the ipod playlist I've created in foobar it wants to delete nearly all of my songs and re-upload them.
Alternately, if I use the "Send to ipod" command then the artwork is added.
I would really rather use a combination of update metadata and sync playlist than have to send to ipod. Am I doing something wrong or is this not working for other people?
QUOTE(musicmusic @ Jul 13 2008, 13:44)

QUOTE(shfx @ Jul 13 2008, 20:13)

Is there any info when 2.0 will be supported?
I don't know at the moment, it depends on what the exact problem is. Hopefully it's just some minor database changes but we'll see..
And I don't want to sound pushy, because I know you guys do this for free and I know nothing about the code and such to sync with an ipod, but do you know if a version might come out in the next few days or have you guys not had the time to look into it yet? Im just asking because I leave on vacation in a week, and I need my music
musicmusic
Jul 13 2008, 18:13
QUOTE(HannaH @ Jul 13 2008, 23:30)

I've tried everything that I could think of to successfully put artwork for music that is already on my ipod. Foobar's built in artwork finder sees all of the artwork with no problems but when I try to use "Update metadata on ipod" it doesn't transfer the artwork or even update the tags on the ipod. It simply does nothing.
You need to run it on the results from "Load library". It will try and add artwork based upon the original path of the file originally sent to the iPod; it should pick up the same stuff as through send files. Does that not work for you?
QUOTE(HannaH @ Jul 13 2008, 23:30)

I know that the tags on the ipod are not updated because if I try to sync with the ipod playlist I've created in foobar it wants to delete nearly all of my songs and re-upload them.
well that command does not update the files on the iPod, only the database, so this doesn't relate to it.
QUOTE(shfx @ Jul 14 2008, 00:20)

And I don't want to sound pushy, because I know you guys do this for free and I know nothing about the code and such to sync with an ipod, but do you know if a version might come out in the next few days or have you guys not had the time to look into it yet? Im just asking because I leave on vacation in a week, and I need my music

It's not likely to be done in a few days. There is a 46 or 44 byte hash structure that Apple added at some point, but I don't have it confirmed this is the problem. If it is then it depends on someone finding the algorithm (bearing in mind Apple
really doesn't want anyone doing that).
Now there is the workaround using 0.6.2.5 I mentioned a few posts above which I believe works, but I don't have that completely confirmed. Feel free to try and confirm but be prepared to restore if there are problems.
musicmusic
Jul 15 2008, 11:30
Update on iPhone 2.0 software compatibilityApple have again protected the iTunesDB database from third party modification by means of a cryptographic signature. The signature they previously used is no longer present in the database. The new signature is 46 bytes at position 112 (72h) in the iTunesDB database. The first two bytes are always 01 00 so far (maybe version indicator), the next 44 bytes seem to be the main part of the signature. These bytes are some function of a unique device identifier and a SHA-1 hash.
Without knowing how to produce a valid signature that is accepted by the device, proper support for software 2.0 is not possible. Of course, this
happened previously and was overcome, however the circumstances are somewhat different this time, I would not expect anything soon.
Great plugin, thanks. mp3 transfer has been working flawlessly.
I'm having a problem using the conversion feature. When I try to send a FLAC file to my ipod, I get the error
"Failure to add to iPod:Conversion failed - Unexpected process exit code 00000001h"
I've tried with both lame 3.97 and lame 3.98. The conversion parameters I am using are taken from the foo_dop wiki:
CODE
-S -noreplaygain -V 5 -vbr-new - %d
Using foobar to first convert the file and then send is working, but I'd like to get this feature working, without the intermediate step. Thanks!
musicmusic
Jul 15 2008, 12:39
It seems like the wiki ate some hyphens.. Fixed now, thanks. The correct command is:
CODE
-S --noreplaygain -V 5 --vbr-new - %d
Although I don't believe the latest version of LAME needs --vbr-new.
zzeitg
Jul 16 2008, 07:30
Hi everybody,
I am new to iPod and also first time trying to integrate the foo_dop plugin into Foobar.
So far I did not manage to send music to iPod.
When I select files, right-click, choose "iPod" and "Send To iPod", file copying process runs and files are really copied into iPod (location iPod_Control\Music), but it looks like they are not written into the music library.
Another problem appeared when I tried to click Manage contents or Synchronize library. A window appears with warning "Error reading ArtworkDB database: bad allocation". (this is where my ArtworkDB is located: iPod_Control\Artwork\ArtworkDB ).
I would welcome any kind of help to make this running, 'cause I really like Foobar (and dislike iTunes..

).
musicmusic
Jul 16 2008, 07:47
Possibly the ArtworkDB file is corrupted, did you use any other third party iPod managers? I would do a chkdsk and then restore the iPod with iTunes.
Also it should give an error if there was some problem writing the database after copying the file, so it should be there, you can use 'Load library' to check what's in the database, but that command most likely won't work due to your other problem.
zzeitg
Jul 16 2008, 09:55
What exactly do you mean by "chkdsk"?
Load library function works, but is shows all music in iPod - except those files I tried to add using Foobar+foo_dop.
Btw. I have iPod "classic" with 1.1.2 software version.
EDIT: I found what was wrong... From some reason iPod "disliked" one music album (I did not find why - tags are correct and files are mp3.)
Now I tested with other albums and it works fine.
Another question: when I load the library from iPod in Foobar, should I be able to see album art or not?
drbeachboy
Jul 16 2008, 10:43
No, you will not be able to see the album art in fb2k. The important part is that you see it on the iPod screen. If you do see the album art, then you are good to go.
musicmusic
Jul 16 2008, 11:01
zzeitg: Well how did you get rid of "bad allocation" error? Not sure if they help but I added a couple of FAQ entries.
zzeitg
Jul 16 2008, 14:56
QUOTE(musicmusic @ Jul 16 2008, 18:01)

zzeitg: Well how did you get rid of "bad allocation" error? Not sure if they help but I added a couple of FAQ entries.
Well yes, the error with bad allocation fixed itself...
After an hour of playing with iPod and adding some music, I have to call back the information that now sending files to iPod works well.
I encountered a problem that albums added by foo_dop suddenly disappeared from iPod, while those albums added by iTunes remained. Of course, the files disappeared only from the library. I also tried iTunes alternative called Floola and it has a function to find music files which are not recognized by iPod. And yes, all the files added by foo_dop were listed there. Therefore I have one question - could it be a problem that Foobar and iTunes run both at the same time? Or could it be that iTunes sync makes some modification of the library?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.