Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: iPod manager (Read 2252143 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[seemingly abandonware] iPod manager

Reply #1125
I just tried transferring a large movie again with the newest build, and I still got the I/O error. Its similar to the one that RainDawg got:

"Error writing iTunesDB file : I/O Error: AFCFileRefOpen returned: 12 Path was: /iTunes_Control/iTunes/iTunesDB.dop.temp"

And after I get it, I have to restart foobar to get ipod access again. Even if I replug the ipod, I get the "no ipod found" error.

Also, is there any chance of getting a more descriptive transfer dialog? Maybe it could say which file is currently being transferred, and have a separate progress bar for the job and for each the current file. This would be really helpful when transferring huge video files. Also, if the transfer is cancelled in the middle of the job, could you tell it to update the DB with only the files that have already finished?

[seemingly abandonware] iPod manager

Reply #1126
I just tried transferring a large movie again with the newest build, and I still got the I/O error. Its similar to the one that RainDawg got:

"Error writing iTunesDB file : I/O Error: AFCFileRefOpen returned: 12 Path was: /iTunes_Control/iTunes/iTunesDB.dop.temp"
Hmm OK. So this happens every time you transfer that large file? About how long until the error occurred? Was it a similar thing (iPod going to sleep) or something else? There were no other errors?

Yes it failed at same part as for RainDawg but the error code is different (but, that could be explained by one of them not being the first error).

Yours should be this:
"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

His should be:
"A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied."

I do wonder if the iPod going to sleep is the cause or just a consequence.

Even if I replug the ipod, I get the "no ipod found" error.
This is interesting. Was/is there anything in the console after reconnecting it?

Also, if the transfer is cancelled in the middle of the job, could you tell it to update the DB with only the files that have already finished?
Yes that's planned.
.

[seemingly abandonware] iPod manager

Reply #1127
I'm referring to information like title, episode #, episode ID, etc. I have tagged all my videos using itunes, and non of this information shows up in either file properties or in your custom video tagger.
Yes indeed the "Video properties" is just a pretty interface to part of the foobar2000 tagging backend. Unfortunately foobar2000 doesn't support those atoms that iTunes uses - namely "tvsh" (Show), "tven" (Episode ID), "tvsn" (Season Number) and "tves" (Episode Number).

Musicmusic,

Would it be possible for you to make some variables to get the following information:

%ipod_size% = The size of the iPod (80 GB, 160 GB, etc)
%ipod_space_used% = The amount of GB used up on the iPod (returned in bytes)
%ipod_space_left% = The amount of space left for storage on the iPod (returned in bytes)

The variable codes can be different, those were just examples. I would find this information very useful for something I am making, and if you could implement this, that would be amazing .

Thanks for your hard work on this component .
You didn't say where, but I assume you meant globally. Probably, this would be a good way to get the replacement metadb_display_hook API axed as well  It would be better displayed in the panel or somewhere.
.

[seemingly abandonware] iPod manager

Reply #1128
You didn't say where, but I assume you meant globally. Probably, this would be a good way to get the replacement metadb_display_hook API axed as well  It would be better displayed in the panel or somewhere.


Doh, sorry about that. Yeah, globally would be preferred (so I can use it in track display panels).
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

[seemingly abandonware] iPod manager

Reply #1129
Hi,

0I am new to the forum and to Foobar which I must add I love! I have a 4GB nano and I can get it to do most things with foo_dop 0.5.7.0 and 0.5.8.2 but the only thing thats causing a problem is putting play lists onto it. I keep getting the error "Failed To Add File To iPod:Device Is Full" I know my iPod is not full as I have removed playlists off it with foo_dop, so there must be space. Is the 4GB nano not supported with foo_dop? Can anyone help me? Thanks in advance.


Fejaouk.


Bump..anyone?

[seemingly abandonware] iPod manager

Reply #1130
this is being really unpredictable. I tried transferring a different movie, and I got the error again. This time though, I could detect the ipod after reconnecting it. So I decided to try again with another video. This time, in addition to the I/O error, my ipod seemed to get stuck in a syncing mode, where I couldnt access music or videos (it showed a "cancelling sync" screen) and not even itunes could detect it. It was ok after rebooting the ipod though.

Then, I restarted foobar and transferred 2 large movies without any problems. They are the same ones that I had tried before, so it doesnt seem to depend on the actual files themselves. I then tried a third and got the I/O error and got the stuck in sync mode problem. Heres my console after those three transfers:
Listening for Apple mobile devices.
Connected to Apple Mobile Device (DID: 7, PID: 4753, Serial: c3fa1c5aa2356b00c60d564805b8a00c4c244fef)
Error reading Play Counts file : Object not found
Warning: failed to remove iPod Play Counts file; Reason: I/O Error: AFCRemovePath returned: 8 Path was: /iTunes_Control/iTunes/PlayCounts.plist

The playcounts error showed up after the third transfer (the one that failed). Also, my ipod hasnt been going into sleep mode, so I guess im not having the same problem as raindawg. I think my error may actually have something to do with the amount of space left on the device, so im gonna play around some more and try to reproduce everything.

[seemingly abandonware] iPod manager

Reply #1131
Yeah, I wasn't actively watching it when it failed.  As soon as the error popped up though, I looked and the device was in sleep mode.

Doing the gapless check does seem faster now with the newer release.

What software are you using to interpret the database files I uploaded?  I wonder if I be able to try to track a little of this down on my own.

[seemingly abandonware] iPod manager

Reply #1132

Hi,

0I am new to the forum and to Foobar which I must add I love! I have a 4GB nano and I can get it to do most things with foo_dop 0.5.7.0 and 0.5.8.2 but the only thing thats causing a problem is putting play lists onto it. I keep getting the error "Failed To Add File To iPod:Device Is Full" I know my iPod is not full as I have removed playlists off it with foo_dop, so there must be space. Is the 4GB nano not supported with foo_dop? Can anyone help me? Thanks in advance.


Fejaouk.


Bump..anyone?
I can't swear to this, but removing playlists does not remove files.
Surf's Up!
"Columnated Ruins Domino"

[seemingly abandonware] iPod manager

Reply #1133
This time, in addition to the I/O error, my ipod seemed to get stuck in a syncing mode, where I couldnt access music or videos (it showed a "cancelling sync" screen) and not even itunes could detect it. It was ok after rebooting the ipod though.
OK, that's probably to do with foo_dop putting it in sync mode, and then not being able to release it from it.

Error reading Play Counts file : Object not found
Warning: failed to remove iPod Play Counts file; Reason: I/O Error: AFCRemovePath returned: 8 Path was: /iTunes_Control/iTunes/PlayCounts.plist
This is OK. I will silence those. But if it's not stuck in sync mode, which it may always be now, and you can't reconnect the iPod again check if there's anything in the console in that case.

I think my error may actually have something to do with the amount of space left on the device, so im gonna play around some more and try to reproduce everything.
Hmm. It's all very strange, unfortunately. How much free space are we talking about exactly?

Also, guys, if you don't have the latest version of iTunes installed it may be helpful to update the Apple Mobile Device Support (by updating iTunes or extracting it from the installer).

What software are you using to interpret the database files I uploaded?  I wonder if I be able to try to track a little of this down on my own.
I was just using a hex editor. If you do feel like manually editing your iTunesDB, keep in mind it is protected with a hmac-sha1 hash (on the iPod touch at least, not sure about iPhone). foo_dop can regenerate that by running the "Rewrite database" command.
.

[seemingly abandonware] iPod manager

Reply #1134
I saw this in the console just now. Not sure if it has anything to do with foo_dop.
error: AMDShutdownNotificationProxy returned 3892314113

Anyway, the sync-mode stuck problem is easily fixed each time with a hard ipod reboot. I think I have the latest itunes version, but maybe ill do a reinstall anyway to be sure.

[seemingly abandonware] iPod manager

Reply #1135
I saw this in the console just now. Not sure if it has anything to do with foo_dop.
error: AMDShutdownNotificationProxy returned 3892314113
Yes that's from foo_dop. It's something that happens whilst the iPod is being disconnected, that may be the reason for the error. Nothing fatal, anyway. Just as a guide, anything that references AMD (Apple Mobile Device) or AFC (something like Apple Filesystem Connection) like that is from foo_dop.

I think I have the latest itunes version, but maybe ill do a reinstall anyway to be sure.
If you have the latest version then your Apple Mobile Device stuff will be up-to-date so no point in reinstalling for that

After thinking about this a bit more, I wonder if it is just timing out during the transfer of the large file, and this is causing the issue. Something you can check is whether sending many files (about 2-3MB each) - which have a similar size in total as one of your large videos - works. Just to give you an idea, I believe the large file will be copied in large 8MB chunks which it is maybe timing out whilst doing. If this does help I'll fix it so all I/O is done in smaller chunks (1MB seems about right to me, if I do it too small it will just slow everything down).
.

[seemingly abandonware] iPod manager

Reply #1136
I dont really have anything more to transfer right now in terms of smaller files (Ive got all my music on there already and only a few 100 megs left). Could you maybe do a test version with the smaller chunks and ill see if that clears up the problem with the really large files?

[seemingly abandonware] iPod manager

Reply #1137
Sorry to keep bothering you with feature requests, but is it possible to have a menu item that when clicked will detect if the ipod is connected to the computer, and if it is, load it up so the other options will work instead of giving the "No iPod Found!" message?
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

[seemingly abandonware] iPod manager

Reply #1138

Hi,

0I am new to the forum and to Foobar which I must add I love! I have a 4GB nano and I can get it to do most things with foo_dop 0.5.7.0 and 0.5.8.2 but the only thing thats causing a problem is putting play lists onto it. I keep getting the error "Failed To Add File To iPod:Device Is Full" I know my iPod is not full as I have removed playlists off it with foo_dop, so there must be space. Is the 4GB nano not supported with foo_dop? Can anyone help me? Thanks in advance.


Fejaouk.


Bump..anyone?
I can't swear to this, but removing playlists does not remove files.


How do you remove files then, so you can add playlists?

[seemingly abandonware] iPod manager

Reply #1139
I dont really have anything more to transfer right now in terms of smaller files (Ive got all my music on there already and only a few 100 megs left). Could you maybe do a test version with the smaller chunks and ill see if that clears up the problem with the really large files?
Here you go. It uses 0.5MB chunks. Hopefully this works out because I don't have any other ideas..

Sorry to keep bothering you with feature requests, but is it possible to have a menu item that when clicked will detect if the ipod is connected to the computer, and if it is, load it up so the other options will work instead of giving the "No iPod Found!" message?
I'm not sure I follow you. Once the iPod is connected and ready (takes a few seconds) the other options work. If you want some visual indication that it is ready then at the moment there is the panel, I was considering adding a balloon tip or something as well.

How do you remove files then, so you can add playlists?
Have a read of the release notes if you're still not sure.
.

[seemingly abandonware] iPod manager

Reply #1140
Just want to make shure if i got everything right:

1.: I won't need iTunes to be installed on my PC to transfer mp3s to an iPod classic

2.: My files are tagged with id3v1 & apev2 Tags. foo_dop will read all infos from f2ks database and write them to the iPods database. No need to write e.g. iTunes compatible id3v2 tags.

3.: The "album artist" infos will also be stored on the iPod so songs with that tag won't be all over the place if i'm searching for a compilation. Note: tribute-cds have the name of the tributed artist/band in the "album artist" tag so they are grouped with the artists other albums.

4.: Album art stored as folder.jpg in the album folder will be transfered and show up during playback and in coverflow.

5.: ReplayGain infos will be converted (album based) and the iPod will play files at an equal level.

6.: I can synch f2ks library with the iPod so i won't need to add new albums manually.

I'm still just planning to buy an iPod but i really don't want to install iTunes or change the tagging system of my files. Did take me long enough to reach the current state...

[seemingly abandonware] iPod manager

Reply #1141

Sorry to keep bothering you with feature requests, but is it possible to have a menu item that when clicked will detect if the ipod is connected to the computer, and if it is, load it up so the other options will work instead of giving the "No iPod Found!" message?
I'm not sure I follow you. Once the iPod is connected and ready (takes a few seconds) the other options work. If you want some visual indication that it is ready then at the moment there is the panel, I was considering adding a balloon tip or something as well.


This may explain it better:

I plug my iPod cord into my USB, and plug my iPod in along with it. My computer detects it, and makes it ready to interact with. I add some files using foo_dop, load up my playlists etc. I then choose the "Eject iPod" option in foo_dop and my iPod gets disconnected (but remains plugged into my computer).

Now what I want to do is "Detect iPod" from foo_dop to reconnect the iPod so the computer sees it. This will prevent me having to unplug my iPod from the USB cord, and then plug it back in.

Does that make more sense? I want to have the iPod reconnected to the computer without having to unplug anything.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

[seemingly abandonware] iPod manager

Reply #1142
Just want to make shure if i got everything right:

1.: I won't need iTunes to be installed on my PC to transfer mp3s to an iPod classic

2.: My files are tagged with id3v1 & apev2 Tags. foo_dop will read all infos from f2ks database and write them to the iPods database. No need to write e.g. iTunes compatible id3v2 tags.

3.: The "album artist" infos will also be stored on the iPod so songs with that tag won't be all over the place if i'm searching for a compilation. Note: tribute-cds have the name of the tributed artist/band in the "album artist" tag so they are grouped with the artists other albums.

4.: Album art stored as folder.jpg in the album folder will be transfered and show up during playback and in coverflow.

5.: ReplayGain infos will be converted (album based) and the iPod will play files at an equal level.

6.: I can synch f2ks library with the iPod so i won't need to add new albums manually.

I'm still just planning to buy an iPod but i really don't want to install iTunes or change the tagging system of my files. Did take me long enough to reach the current state...

1. No you shouldn't, but you should be prepared to use it to at least update the firmware (and maybe register the iPod).
2. That's right, but you'll need "iTunes compatible ID3v2" if you want to use lyrics.
3. It is stored on the iPod but it doesn't use it much. You can flag albums as compilations though which causes them to be listed in a separate menu without so much mess.
4. Yes.
5. Yes, but not for automatic transcodes.  You'll need to enable "SoundCheck" on the iPod.
6. Essentially, yes.

This may explain it better:

I plug my iPod cord into my USB, and plug my iPod in along with it. My computer detects it, and makes it ready to interact with. I add some files using foo_dop, load up my playlists etc. I then choose the "Eject iPod" option in foo_dop and my iPod gets disconnected (but remains plugged into my computer).

Now what I want to do is "Detect iPod" from foo_dop to reconnect the iPod so the computer sees it. This will prevent me having to unplug my iPod from the USB cord, and then plug it back in.

Does that make more sense? I want to have the iPod reconnected to the computer without having to unplug anything.
Ah. Unfortunately, the type of eject used by foo_dop is the standard Windows "Safely remove hardware" one which is a "hard eject".

What you want used to be supported through the use of an undocumented iPod Service COM API, which supported a "warm"/"soft" eject. Using the service was a disaster though as it stopped working in a later version of iTunes, so it was replaced with what you have now (also, it required the iPod Service). How the service does this is another question, as far as I am aware it is some funky stuff with DeviceIOControl. I may look into it at some point and see if I can do the same.
.

[seemingly abandonware] iPod manager

Reply #1143
Just want to make shure if i got everything right:
...
3.: The "album artist" infos will also be stored on the iPod so songs with that tag won't be all over the place if i'm searching for a compilation. Note: tribute-cds have the name of the tributed artist/band in the "album artist" tag so they are grouped with the artists other albums.
...
...
3. It is stored on the iPod but it doesn't use it much. You can flag albums as compilations though which causes them to be listed in a separate menu without so much mess.
...

What do you mean with "doesn't use it much"? I thougt iTunes (and so the iPod) use the "band" tag just like most f2k users use the "album artist" tag? So in my case tribute albums would be grouped with the other albums (in itunes, if i would use id3v2 tags and would use "band" tag instead of "album artist").

Will the all songs of a compilation be accollated (right word?) to the actual performer (from the "artist" tag)?

I once tested wmp11 and when i used it to group a tribute album it added a "band" tag to the songs and the album was grouped with the other albums of the album artist. So i thought iTunes (/ the iPod) work the same way!?

 

[seemingly abandonware] iPod manager

Reply #1144
Ok, I tried the test version with the 0.5MB chunks, and the first large video transfer worked fine. Now, though, everytime I try to transfer another large movie, it simply hangs at "copying one file" and my ipod gets stuck in sync mode. Foobar doesnt freeze, it just doesnt seem to progress from that step of the transfer (ive given it as much as 30 minutes, when I think it normally take around 5 minutes for a 700mb video). I havent seen behavior like this yet, so Im assuming its a result of the new changes in this version. Ill revert to the previous version and confirm that.

[seemingly abandonware] iPod manager

Reply #1145
Ok, I tried the test version with the 0.5MB chunks, and the first large video transfer worked fine. Now, though, everytime I try to transfer another large movie, it simply hangs at "copying one file" and my ipod gets stuck in sync mode.
Eugh, strange, it shouldn't get stuck. Did the "Stop" button work? Did you check CPU usage whilst it was stuck?

700mb video
OK, I confirm that's a large file
.

[seemingly abandonware] iPod manager

Reply #1146
stop button had no effect, and there didnt seem to be any effect on CPU usage. The only way to get it to stop is to make foobar lose the connection by turning off or disconnecting the ipod (in which case the ipod gets stuck in sync mode and I need to reset it anyway).

[seemingly abandonware] iPod manager

Reply #1147
If the Stop button had no effect it was "stuck" inside the iTunes library (or reading the local file). How long did you wait after pressing Stop? So it's doing this often now? It seems strange it would hang when it rather likes to timeout normally.

Are you testing with the same file each time BTW?
.

[seemingly abandonware] iPod manager

Reply #1148
Well I switched back to the previous version, but yeah, every time after the first that I tried to transfer a large file it would get stuck like that. I tried a bunch of different files, all of which have transferred successfully at some point with either foo_dop or another program. As for the stop button, I waited maybe a couple of minutes. Ill go back to the new test version and maybe experiment some more.

[seemingly abandonware] iPod manager

Reply #1149
OK. If it gets stuck again, grab Process Explorer, goto foobar2000.exe Properties then the Threads tab. Double click each entry, highlight everything in the popup window and hit copy (and paste it somewhere). Do that for every thread. Then paste the whole lot here in a codebox or on pastebin.com if you prefer.
.