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 2256410 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[seemingly abandonware] iPod manager

Reply #1000
I know there's a typo in my last message, but I did type $meta(album artist) in Artist mapping.

It's like if all tags were transferred exept the album artist ones because both $meta(album artist) and %album artist% don't work (empty). So they appear as 'Unknown' on my iPod, and the fields are empty when I browse my iPod with foo_dop.

Edit: Actually no, when I use %album artist% it actually uses %artist%.

Edit 2: I've checked with foobar and my Album Artist tags are empty. I tagged them with Tag&Rename, maybe that's the probleme. Something wrong with Tag&Rename.
Some programs write album artist differently. Does the BAND tag show up in foobar2000 > Properties? If so, replace $meta(album artist) with $meta(band) or %band%. Otherwise, rewrite the Album Artist tag using Foobar2000.
Surf's Up!
"Columnated Ruins Domino"

[seemingly abandonware] iPod manager

Reply #1001
Please try this version. I basically reverted a couple changes from memory that are probably the culprit.
I will try this ASAP. I'm a little busy at the moment - maybe in a day or two.
Thanks for the help though, I appreciate it.

[seemingly abandonware] iPod manager

Reply #1002
I know there's a typo in my last message, but I did type $meta(album artist) in Artist mapping.

It's like if all tags were transferred exept the album artist ones because both $meta(album artist) and %album artist% don't work (empty). So they appear as 'Unknown' on my iPod, and the fields are empty when I browse my iPod with foo_dop.

Edit: Actually no, when I use %album artist% it actually uses %artist%.

Edit 2: I've checked with foobar and my Album Artist tags are empty. I tagged them with Tag&Rename, maybe that's the probleme. Something wrong with Tag&Rename.
Some programs write album artist differently. Does the BAND tag show up in foobar2000 > Properties? If so, replace $meta(album artist) with $meta(band) or %band%. Otherwise, rewrite the Album Artist tag using Foobar2000.

Possible! Try using other program, like Mp3tag

 

[seemingly abandonware] iPod manager

Reply #1003
Yes I got it to work last night. Everything is PERFECT now.
I use Tag&Rename to tag my files and the 'Album Artist' is actually called BAND.
It's called 'Album Artist' in Tag&Rename even if the field is actually BAND.
I didn't know different programs were using different names for 'Album Artist'.

[seemingly abandonware] iPod manager

Reply #1004
Yes I got it to work last night. Everything is PERFECT now.
I use Tag&Rename to tag my files and the 'Album Artist' is actually called BAND.
It's called 'Album Artist' in Tag&Rename even if the field is actually BAND.
I didn't know different programs were using different names for 'Album Artist'.
iTunes does it this way too (BAND). If you plan to continue using fb2k, then I would suggest that you add the Album Artist tag using fb2k. Foobar uses that tag in a lot of places within the program. Personally, I use both tags; one for fb2k and the other in case I need it for my iPod (iTunes).
Surf's Up!
"Columnated Ruins Domino"

[seemingly abandonware] iPod manager

Reply #1005
Yes adding both would be the best thing to do I guess. I'm used to Tag&Rename to tag/retag freshly ripped cds so I'll stick with it, but at some point I'll probably add the Album Artist tags with Foobar.
I have my library sorted by directory structure wich would give the same result if sorted by Album Artist.

[seemingly abandonware] iPod manager

Reply #1006
Hi musicmusic, tried the latest test version with a jailbroken ipod touch with mixed results. Firstly I tried adding a song to my ipod which already had several thousand tracks on it, half way through loading the library foo_dop threw up an error about not being able to read the itunesDB and my ipod crashed, not sure if this was due to foo_dop or something else. After, tracks appeared on the ipod but wouldn't play, even after manually resorting the itunesDB. After this I had to restore the ipod through itunes and re-jailbreak.

Next I added 1 song to the ipod through itunes, then added 1 through foo_bar. The song added in itunes plays fine in on the ipod and in foobar; the song added through foobar appears on the ipod and appears to play (ie the progress bar moves) but there is no sound through the headphones. When reloading the library in foobar the details on the song added through foobar are not loading (not even manually) and the track won't play (object not found error comes up in foobar). Also when using foo_dop no messages at all appear on the ipod screen.

Sorry for this being so confusing.

edit: When loading the database in itunes file details are loaded however the file still won't play.

re:edit: The track is present on the ipod when browsing the the files on the ipod.

[seemingly abandonware] iPod manager

Reply #1007
Thank you for checking!

From your description it seems like there were some problems with file paths in the database, I found some problems and made some fixes there in .26 so hopefully that should improve things.

Regarding the iPod crash, you mean it restarted whilst foo_dop was loading the library? Not sure exactly why if that happens again please let me know.

BTW: after restoring the backup iTunesDB, the iPod won't load it automatically. If you can't get the trick I mentioned to work, restarting the iPod should do it, restoring the iPod shouldn't be necessary.

Anyway, from your description the hashing seems to be working correctly (good) and am I correct in thinking the touch did see the changes foo_dop made automatically (even if they didn't work)?
.

[seemingly abandonware] iPod manager

Reply #1008
Well done!!! We have a winner!!

Everything seems to be working fine, artwork, soundcheck, gaplesss etc. One small issue, when deleting a track from the ipod it doesn't reload the DB on the ipod, I need to start itunes for the track listing to disapear. Apart from that thank you!!

edit: when loading tracks  the syncing screen appears on the ipod, but not when removing tracks.

[seemingly abandonware] iPod manager

Reply #1009
Great

Strange about the removing tracks thing - as far as I can see foo_dop should be doing the same thing there as when sending files. If there is an error sending the commands that control this there should be a message in the console (it may be same problem reported before - that was "AMDPostNotification returned 3892314113" or "Invalid socket", I don't know the cause of this).

What still needs to be done:
-Reading the play counts file
-Probably reading the OTG playlists

Can you tell me if iTunes automatically converts OTG playlists into normal playlists when you run it (like it does on normal iPods)?
Also, a sample of a OnTheGoPlaylist.plist file may now be useful

Thanks!
.

[seemingly abandonware] iPod manager

Reply #1010
Would it be possible to have it populate an ipod playlist using info from the database alone? Maybe you could just use the DB info to have it point to the files, without forcing foobar to actually scan all the files for tags. This way the ipod could be very quickly mounted and have files played like in itunes. If you really need the extra tags, you could just tell foobar to rescan them.

edit: actually, the caching system seems to work pretty well    Just curious, where is the cache actually stored?

edit2: Ok, after testing copying files to ipod touch, it actually doesnt seem to be working properly. I am not getting a syncing screen at all and the database doesnt get updated until I reboot the ipod. The console shows this when I send a file: "Apple Mobile Device: Warning: Invalid socket"

The copy also seems to take an unusually long time, even just for a single file it can take maybe 20 seconds, whereas other programs usually just take a few second for each file (and no, im not talking about any unusually large mp3s). Also, the art seems to be corrupted (its all distorted and blocky in coverflow mode and the colors look wierd and inversed or something in Now Playing). Not sure why pnjman's would work but not mine.

edit3: Just noticed another issue. It seems to be messing up the sorting order for artists starting with a number. It groups them with the A's instead of putting them in the "123" group which is what it should do.

Good progress, though, since at least the files seem to play fine and my database is intact. I haven't tried deleting songs yet but ill let you know if I do.

[seemingly abandonware] iPod manager

Reply #1011
Much praise for this component. The iPod handling seems to work flawlessly on my end as of now. I have a problem with the transcoding though. The LAME converter that comes with foobar2k as default works without a hitch but the different LAME binaries I've downloaded all give an error when foo_dop tries to transcode my ogg files (haven't tried other formats).

It seems like it's doing something. The 'encoding' takes roughly the time I would expect but then it exits with the following error:

Failed to add file to iPod: Conversion failed - Unexpected process exit code FFFFFFFFf. I'm sure it's just me doing something incredibly stupid, but a lot of googling haven't turned up a solution sadly.

Edit:

Btw, I've tried using the standard command that came with the component and lame -h -V 6 %d

[seemingly abandonware] iPod manager

Reply #1012
edit: actually, the caching system seems to work pretty well    Just curious, where is the cache actually stored?
It's stored on the iPod itself.

edit2: Ok, after testing copying files to ipod touch, it actually doesnt seem to be working properly. I am not getting a syncing screen at all and the database doesnt get updated until I reboot the ipod. The console shows this when I send a file: "Apple Mobile Device: Warning: Invalid socket"
OK, seems like the sync screen thing is still temperamental and this is linked to the iPod reloading the database. I'll try and look into this but really it will be difficult to fix without an iPod touch to experiment.

The copy also seems to take an unusually long time, even just for a single file it can take maybe 20 seconds, whereas other programs usually just take a few second for each file (and no, im not talking about any unusually large mp3s).
Which stage of the process is taking time?

Also, the art seems to be corrupted (its all distorted and blocky in coverflow mode and the colors look wierd and inversed or something in Now Playing). Not sure why pnjman's would work but not mine.
OK yes definitely there were some problems with artwork, I've made some corrections there in .27 so hopefully that should be OK now. It would be an idea to remove the tracks you sent with dodgy artwork first.

edit3: Just noticed another issue. It seems to be messing up the sorting order for artists starting with a number. It groups them with the A's instead of putting them in the "123" group which is what it should do.
Yes this affects Classics and Nano 3Gs in a similar way, I'll try and change this soon.

Much praise for this component. The iPod handling seems to work flawlessly on my end as of now. I have a problem with the transcoding though. The LAME converter that comes with foobar2k as default works without a hitch but the different LAME binaries I've downloaded all give an error when foo_dop tries to transcode my ogg files (haven't tried other formats).

It seems like it's doing something. The 'encoding' takes roughly the time I would expect but then it exits with the following error:

Failed to add file to iPod: Conversion failed - Unexpected process exit code FFFFFFFFf. I'm sure it's just me doing something incredibly stupid, but a lot of googling haven't turned up a solution sadly.

Edit:

Btw, I've tried using the standard command that came with the component and lame -h -V 6 %d
Your command is incorrect, you need a hyphen before %d like this: lame -h -V 6 - %d (I didn't check the rest of the command).

If you still have problems I would make sure you are using the the version of LAME from here.
.

[seemingly abandonware] iPod manager

Reply #1013
Artwork seems to be working now. Nice job!
The file transfer seems to hang the longest on the "copying artwork" process. For a single file, it seems to take around 7-8 seconds. Other programs like mediamonkey seem to take only a few seconds total for each file (and it updates the artwork and database after each file, so you can cancel the transer at any time and not mess the whole thing up). Could it maybe have something to do with the artwork resizing algorithm?

[seemingly abandonware] iPod manager

Reply #1014
Quote
our command is incorrect, you need a hyphen before %d like this: lame -h -V 6 - %d (I didn't check the rest of the command).

If you still have problems I would make sure you are using the the version of LAME from here.

I tried that command with the encoder you linked to (which I'd tried already but hey...), but it still gives me the same exit code. Thanks for the fast reply though.

I've tried using the lame encoder on the commandline to convert an ogg but the end result is just static so something's definately wrong.

[seemingly abandonware] iPod manager

Reply #1015
Artwork seems to be working now. Nice job!
The file transfer seems to hang the longest on the "copying artwork" process. For a single file, it seems to take around 7-8 seconds. Other programs like mediamonkey seem to take only a few seconds total for each file (and it updates the artwork and database after each file, so you can cancel the transer at any time and not mess the whole thing up). Could it maybe have something to do with the artwork resizing algorithm?
I think I can improve this, try next build when it's released.

Quote
our command is incorrect, you need a hyphen before %d like this: lame -h -V 6 - %d (I didn't check the rest of the command).

If you still have problems I would make sure you are using the the version of LAME from here.

I tried that command with the encoder you linked to (which I'd tried already but hey...), but it still gives me the same exit code. Thanks for the fast reply though.

I've tried using the lame encoder on the commandline to convert an ogg but the end result is just static so something's definately wrong.
OK, this is broken in 0.5.6.x. Try 0.5.5, it's mostly iPhone/iPod touch stuff in 0.5.6 anyway.
.

[seemingly abandonware] iPod manager

Reply #1016
Quote
OK, this is broken in 0.5.6.x. Try 0.5.5, it's mostly iPhone/iPod touch stuff in 0.5.6 anyway.

That did the trick. Thank you very much .

[seemingly abandonware] iPod manager

Reply #1017
Thanks for reporting the problem

So, 0.5.6.28 is released. Just a couple of changes:
-Made some changes to artwork file preallocation strategy. Should be faster now (especially on iPod touch/iPhone).
-Converting files is now done via a temporary file on the local drive. So conversion should now work on the iPod touch/iPhone, and also this resolves some issues that would arise if I was to implement the ability to convert multiple files simultaneously.
.

[seemingly abandonware] iPod manager

Reply #1018
Once again, great work! That seems to have basically halved the transfer time for me. Also, I tried to remove a file, and that seems to work, as well. Like adding, though, I need to reset the ipod before the it reflects the changes.

[seemingly abandonware] iPod manager

Reply #1019
Like adding, though, I need to reset the ipod before the it reflects the changes.
I tried some tricks in this version, they may help but if not it's a bit of a dead end  Check console for any errors etc.
.

[seemingly abandonware] iPod manager

Reply #1020
Interesting...it now updates the databse correctly for both adding and removing songs and it shows the syncing screen. However, the sync screen only shows up for about 1 second, instead of during the entire process. For example if I send a bunch of files, it shows the sync screen for just a second and then will actually start transferring the files, updating the db and art, etc. afterwards. Not a huge issue, but it would be nice if it worked more closely to how it was intended.

[seemingly abandonware] iPod manager

Reply #1021
Interesting...it now updates the databse correctly for both adding and removing songs and it shows the syncing screen.
Sounds good  Keep an eye on it still though, in case it's just "less temperamental".

However, the sync screen only shows up for about 1 second, instead of during the entire process. For example if I send a bunch of files, it shows the sync screen for just a second and then will actually start transferring the files, updating the db and art, etc. afterwards. Not a huge issue, but it would be nice if it worked more closely to how it was intended.
I can change this, but the solution I have doesn't exactly makes sense.. It relates back to those buttons you were pressing before on the prefs page. As long as otherwise it is working OK I don't think it's too important.
.

[seemingly abandonware] iPod manager

Reply #1022
So I'm guessing you just have to play around with the commands you are sending and when you send them. Let me know if you need me to test anything again. Btw, now that this is working, any chance of adding support for sending videos or photos? I know photos are unlikely since images arent really foobar's thing, bu maybe you could just have a dropbox panel or something that could accept files from explorer. That is the one thing I still have to use itunes for, and Id love to finally ditch it. Oh, and Ive also been running mediamonkey occasionally to get it to fix the # sorting on the ipod, so hopefully you can work that out.

Just a couple more suggestions. Could you maybe have an option to automatically reload the ipod library when the ipod is connected, or when songs are added/removed? Also, not sure if this is possible, but could the ipod database be automatically updated if file tags are edited (files on the ipod itself)? Last, Im still hoping for a rating mapping option.

Thanks again and sorry if I sound demanding.

[seemingly abandonware] iPod manager

Reply #1023
So I'm guessing you just have to play around with the commands you are sending and when you send them.
Well, there kinda more like notifications. One is like "before sync", one is "sync started" and other is "sync finished". The second one clears the sync screen, I don't believe it should so I am probably missing something. The other solution is moving the second one until after the sync finishes, but I don't believe it should be like that that's why I've left it as is.

Btw, now that this is working, any chance of adding support for sending videos or photos?
Videos you can do, you'll probably want to tag them though, there's some info in the wiki.

Photos - maybe in the future, plenty of other things to work on first though.

Oh, and Ive also been running mediamonkey occasionally to get it to fix the # sorting on the ipod, so hopefully you can work that out.
Yes I don't know why Apple sort numbers after letters  I'll try and get this fixed soon but it depends on how complicated the fix gets.

Just a couple more suggestions. Could you maybe have an option to automatically reload the ipod library when the ipod is connected, or when songs are added/removed?
Are you referring to the playlist in foobar2000? Could make it an option but the progress dialogs (specifically the metadata loading one for metadata that's not cached, I can't suppress/embed that anywhere unfortunately) may be annoying, though I guess if it's optional it wouldn't matter so much.

Also, not sure if this is possible, but could the ipod database be automatically updated if file tags are edited (files on the ipod itself)?
You can do it manually, by "Update metadata in iPod library" in the context menu, but I don't plan on making an automatic option at the moment.

Last, Im still hoping for a rating mapping option.
OK I'll try add something.
.

[seemingly abandonware] iPod manager

Reply #1024
Thanks for considering all my comments. I cant seem to get video support to work, though. I sent a small mp4, and it seems to transfer fine and shows up when I load the library in foobar, but doesnt show up on the ipod.