HydrogenAudio

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: Aero on 2004-02-29 09:26:25

Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-02-29 09:26:25
*** October 3, 2006: The latest version is 0.9.9o (http://www.loodi.com/foo_pod.zip) - read about it in this post (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=19156&view=findpost&p=437611)***

If you are new to foo_pod, skip to the end of the forum for the latest development and discussion, as foo_pod has advanced quite a bit from this initial post...


http://www.tinkafoo.com/log/foo_pod.html (http://www.tinkafoo.com/log/foo_pod.html) is an excellent source of information about foo_pod, and might save you 8+ hours reading this forum trying to find the answer to a commonly asked foo_pod question.








foo_pod.zip (http://www.loodi.com/foo_pod.zip)

Here is my initial release of a Foobar 0.8 component to interface with an Apple iPod.  The current version (0.1) only supports read access to an iPod - namely, reading the iPod database file and building a Foobar playlist containing all of the songs contained on the iPod.

Is this useful?  Maybe...   

By building a playlist of all of the songs, you could take your iPod to a friend's computer and play the music and copy songs off of the iPod (by dragging the song from the playlist to a directory or the Desktop), without any additional software.  This component might also be useful for people with home theater PCs - leave the iPod dock on the HTPC, sync up on your main computer, and playback directly from the iPod on the HTPC.

To use foo_pod, make sure your iPod is connected to your computer and is visible as a drive in My Computer (very important), and select Components/foo_pod/Load iPod to foo_pod Playlist.  There are a few preference settings, but unless the automatic detection doesn't work, you probably won't need to change anything.

Anyway, let me know how this works out on different computers/iPods, and what features people would like to see.  I would like to get Foobar->iPod writing working, but I'm pretty happy with EphPod (http://www.ephpod.com/), so we'll see what happens with that.  Eventually, I would like to do something like Anapod (http://www.redchairsoftware.com/anapod/).  I actually have written a component that handles HTTP access/streaming and is more functional than Anapod, but I never updated it from Foobar 0.6...


Special thanks go to Otto42 and his excellent iPod classes (http://otto.homedns.org:8888/iTunes/iPodDB.zip). foo_pod relies heavily on Otto42's code, with some minor modifications (Otto42 - remind me to send some diffs).  Also, on another thread (http://www.hydrogenaudio.org/forums/index.php?showtopic=16344), Scream mentioned that there is source code available for the Winamp5 plugin.  I haven't tried that plugin yet, but I wouldn't mind taking a look at the source, especially for supporting write access (the posted link appears to be dead).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-02-29 18:20:45
Coolness!

Aero, I tried to download the modified iPodDB classes you sent me via email, but the link didn't work. If I could get ahold of the modified classes you've made, I could work in some other changes. In particular, I've modified the iPodDB classes to include support for the BPM field, and better support for the mhod types. I've also got a small start going on write support.

And frankly, I'd love to get rid of the hard coded limits on song numbers and such, and if you'd done that, it'd be awesome.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-02-29 20:26:53
Any chance you could figure out how the Ipod's soundcheck feature works and allow foobar to write replaygain info in sound check form?

Edit:  Wow this will be really handy for backing up my Ipod before i tinker with it
Title: foo_pod - Foobar2000 meets the iPod
Post by: Sid59 on 2004-02-29 20:28:56
a great step forward in bridging the iPod and foobar2000.

I can really get excited when foo_tunes / foo_pod work seemlessly to provide a similar experience to iTunes.

right now, i alternate between iTunes and foobar to play the music i want to hear. i only use iTunes when i want to configure a playlist or bump up the ratings of some songs and such.

Good JOB!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-02-29 20:42:20
Quote
Any chance you could figure out how the Ipod's soundcheck feature works and allow foobar to write replaygain info in sound check form?

Yeah, probably. I'm 95% sure that it's one of the fields in the iTunesDB. Probably one of the "unknowns" I have in there already. Then again, maybe not. In any case, I'll check it out after I get the writing capability working. With Aero's changes, it's going to be slightly easier for me to get the write stuff into the classes. I've already got his changes and mine integrated, now I'm just finishing off the write code that I started a couple weeks ago and never got back around to. I should have it working, at least partially, in a day or two.

The thing about adding write capability is that there's a *ton* of fields in the iPod that I just don't know what they mean. When I wrote all the read stuff, I simply left out a lot of those. But now trying to write them out, I don't know if I can set them to nulls or not. So I'm having to go back into the parsing code and add a lot of unknown entries just so that I can write them back out to the resulting file. It's a bit annoying, but it'll make for a lot of capability, even if you don't know what 50% of that capability actually does.

Anyway, once I have all the fields actually being read, then it should be a simple matter of looking at what iTunes says is the "gain" on the track and finding which field in the iTunesDB corresponds to that. Then one could just write the correct entry into the newly found "gain" field and voila, sound check works. Neat, huh?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-01 00:11:21
Excellent excellent excellent! I am extremely happy to see this project take off.

One feature that I've been looking for in other iPod interfaces is the simple ability to sync my iPod with a directory - I wanted all of this database stuff to happen behind the scenes, so I could just synchronize quickly with my Music folder (which is updated regularly with new CDs I purchase) and be on my way.

Perhaps this brings me a step closer to such a program. I can't wait to see what you come up with! I'm tired of iTunes slowness.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-01 00:21:00
Wow.

Great Job!!!


Itunes Sound Check:
iTunes creates an entry the comments field. It has some weird character header followed a set of numbers which i guess adjusts the volume on the ipod.

I personally couldn't have written a ipod plugin, so props to you on that. But with enough work we can easily surpass Ephpod and eventually Itunes.

Some new features such as:Personally, as i have said in many other threads, Foobar needs a full database like other database mp3 software (iTunes, Media Center 9/10) before a iPod plugin can be made that rivals iTunes. But if want an Ephpod killer, you're nearly there. I would rather see foo_pod go all the way and kill the need of iTunes on my PC. Thanks, and good luck with more of this plugin development. If you need someone to help test it out. I have a 20gb 3rd gen that i can work with.

~Xecter.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 00:23:40
Got writing fully implemented. It's still untested though, so it's probably broken somewhere. Still needs some work in other words. At the moment, I'm trying to get it such that reading and then immediately writing the iTunesDB (going through my code of course) will produce a 100% identical file. Then I know it's working properly and everything is being parsed and recreated correctly.

And man, I looked and looked for where the gain for the soundcheck might be being stored, and I am at a total loss. It's just confusing as hell in there. Anybody know how Mac's tend to store floating point values? That might help. I know that the songs in iTunes show a value of "-4.3 dB" and similar for the "volume" when I do a Get Info, but I don't understand audio enough to understand what, exactly, that means. Somehow, iTunes has to tell the iPod how much to raise the volume for Sound Check mode. But I don't know what kind of data it would pass across to let it do that.

Furthermore, it may not be in the iTunesDB. I know for an absolute fact that when iTunes does its volume scan on an M4A/AAC file, it adds a tag to the file that seems to have something to do with the volume. Perhaps the sound check data is in the files themselves, and the iPod then uses that accordingly. If so, then it's a matter of changing the file tags appropriately. I don't know if it adds anything like that to MP3's though, I haven't checked.

Edit: Ahh.. okay, if it is in the file comment tag then it's something that will have to be added to whatever foobar plugin handles the tagging of the files themselves. Of course, that means figuring out the format of itunes weird tag.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-01 00:34:54
Otto42:

my music collection on my ipod is both mp3 and AAC.

Add a new un-soundchecked mp3 to iTunes, let it scan, then load it up in Foobar. Get Info in foobar.

For example, my new Korn CD has these things in the comment field.

Code: [Select]
iTunNORM:  000028A5 0000273A 0000730F 000069AD 000186CE 0001119E 00008000 00008000 00002710 00002710


I assume this is the soundcheck data. A way is needed to create these fields via replaygain values.

I think the reason it writes it in the comments field is because when you add new fields to ID3v2 tags it has to rewrite the file and i guess the programmers of itunes found a way around it by just writing it in the comments field.

Now, AAC files on the other hand have a fields called "ITUNNORM" followed by soundcheck stuff.

Looks something like this in foobar
Code: [Select]
%ITUNNORM% =  000002B9 0000027C 00002278 000019E0 000194BF 00018F16 00006E3D 00006E3E 00018870 00018F16



I have no idea what these numbers mean. But i know where to find them. =P
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 00:59:15
Quote
Add a new un-soundchecked mp3 to iTunes, let it scan, then load it up in Foobar. Get Info in foobar.

For example, my new Korn CD has these things in the comment field.

Code: [Select]
iTunNORM:  000028A5 0000273A 0000730F 000069AD 000186CE 0001119E 00008000 00008000 00002710 00002710

Okay.. That's really weird. I checked loads of my files and couldn't find that in there. So I removed one of them from the library then added it back to the library. Voila, it added that field. But the problem with that is that the file already had a COMM field in the ID3v2. Now it has 2 of them, the previous one and a new one immediately following that one. Freakin' odd, that is.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-03-01 01:58:59
I don't think the Ipod knows what a file tag is.  From what i gather its all handled by iTunes.  WHich makes sense since the Ipod needs to load as quickly as possible while using as little of its meager processor and battery as possible.  I'd guess that those tags are just for compatability with other iTunes clients and as a backup incase the user formats or otherwise loses itunes's db.

About the numbers themselves, perhaps the gain values are stored as integers?  That would make sense since I think the ipod's processor is int only.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 03:56:54
Quote
I don't think the Ipod knows what a file tag is.  From what i gather its all handled by iTunes.  WHich makes sense since the Ipod needs to load as quickly as possible while using as little of its meager processor and battery as possible.  I'd guess that those tags are just for compatability with other iTunes clients and as a backup incase the user formats or otherwise loses itunes's db.

About the numbers themselves, perhaps the gain values are stored as integers?  That would make sense since I think the ipod's processor is int only.

Got me man. It's quite possible it's in the iTunesDB file. There's still a heck of a lot of unknown's in the MHIT records. Could easily be one of them.



In any case, I'm done with the writing portion of the classes. They work. I've gotten them to the point where I can feed an iTunes created iTunesDB file from my own iPod, parse it, regenerate it from the structures in memory, and write it back out to a file, and have absolutely no differences in the resulting file from the original. Which tells me that it's correctly generating the file, more or less. Obviously, if you change the structures incorrectly, you get incorrect results, but that's not the classes fault.

Here's the new classes: http://otto.homedns.org:8888/iTunes/iPodDB.zip (http://otto.homedns.org:8888/iTunes/iPodDB.zip)

I also included the test program. It's pretty self explanatory. Feed it an iTunesDB, get back an iTunesDB.new. If iTunes originally made the thing, then the resulting iTunesDB.new should be identical, minus your changes to the objects in memory.

Also added is a whole lot of new fields, including everything in the file that didn't look like it was just null padding. Have fun.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-01 04:17:28
Im pretty sure Mike is right here. Everything on the ipod is handled via the Database. And im sure it writes to the file because sometimes things crash and burn. So its there. It doesn't really matter.


So we found the SoundCheck thing on the actual files. Thats a start, gives Otto here something to tinker with. =P

Also the iPod is int only (thats why we'll never see APE support on it, or any of those fancy codecs), but that doesn't mean the SoundCheck has to be. iTunes does all the scanning and voluming changing before hand, and simply writes a volume delta to the database.....which leads me to the next point....

Otto did u find where the database has the soundcheck stuff?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 04:47:32
Quote
Otto did u find where the database has the soundcheck stuff?

There's 16 unknown fields in the MHIT right now (The MHIT is what describes a "song" to the iPod). And it could only be part of those fields. And I don't know the exact format of what I'm looking for. And I don't know what value it would be even if I knew the format it was in.

So, gimme some time.

Edit: The field in the MHIT designated "unk3" in my iPodDB classes seems to correspond to the first 4 bytes in that iTunNORM comment that is added to the song's tags.

Example:
The file I tested got this comment added to it:
iTunNORM 000016A2 000015EB 00006656 0000719A 0001D4D7 0001D4D7 00008000 00008000 00004E20 00004E20

The unk3 field in the iTunesDB for that particular song's MHIT entry has "00 00 16 A2" in it, after the bytes are reversed (everything in the file gets byte reversed like this, it's not unusual).

So if you can tell me how 000016A2 corresponds to that file's Get Info volume of -7.6dB, then we're getting somewhere.

Edit2: Confirmed! Did the same thing with another file.
iTunNORM 00000BF7 00000BD8 00002080 000024DA 00015FBE 00015FBE 000078E9 00007A33 000222E0 000222E0

Synched with the iPod. unk3 now contains "00 00 0B F7" after byte reversal. Get Info shows a -4.9dB Volume on this one.

None of the other stuff in that iTunNORM can seemingly be found anywhere in the file where it would make any sense. So if that iTunNORM is related to the Sound Check, it seems as if only the first four bytes are necessary. Maybe that's the amount that it pumps up the volume in some way? I could try setting unk3 really high for a song and seeing if the iPod plays it back super loud... Still, that only tells us what to change, not how much to change it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-03-01 05:31:35
Great work.  I'll also start looking through the db, but I think you're about a million times more likely to understand this then me
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 05:39:55
That is definitely it. When I changed that particular unk3 field from 0x0BF7 to 0x7BF7, the song got a *lot* quieter when the sound check was on. I'm going to play around with it and see what I can find, but that's definitely where the trick is.

I'll probably rename unk3 to something else once it's worked out what the field represents. I can't think of why it would get quieter as the value gets larger. And I tried to avoid going above 0x8000 thinking it might be a signed value. I'll mess around with it some more.

Still, if anybody knows ReplayGain really well, it would help if you could drop in your input on how much volume equates to what sort of change.. We're going to need some way of calibrating this to determine how much to change it for what gain value needs to be applied. I don't grasp audio and gain well enough to really know what the hell I'm doing here.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-03-01 09:24:39
Good work so far!

I know you've already found the soundcheck info in iTunesDB, but I'll post this anyway. 

http://www.ringom.no/espen/ipod/ (http://www.ringom.no/espen/ipod/)

This guy has come up with a untility for adjusting these fields.

Hope this is of some help.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 16:59:47
Quote
Good work so far!

I know you've already found the soundcheck info in iTunesDB, but I'll post this anyway. 

http://www.ringom.no/espen/ipod/ (http://www.ringom.no/espen/ipod/)

This guy has come up with a untility for adjusting these fields.

Hope this is of some help.

Actually, I've seen that utility before. He's not adjusting the Sound Check field. He's adjusting the Volume Adjustment field. Kinda hard to explain the difference, but here goes.

The Sound Check field, or "unk3" as it's labeled in my code at the moment, is set by iTunes as part of the volume scan.  The purpose of this field is to sorta normalize the volume across multiple songs somehow. You can't adjust this field yourself within iTunes. If you turn Sound Check on and off, you'll hear the effect that this field has turn on and off.

The Volume Adjustment field you *can* adjust from within iTunes. If you do a Get Info on any song, there's a slider where you can manually adjust the volume of a song, on a per song basis. Basically you can add 10%, 20%, that sort of thing. Anyway, this volume change is applied whether Sound Check is turned on or not. The purpose is to boost the volume above normal volume manually. This field is labeled "volume" in my code at the moment.

Two separate fields. One is activated by sound check and has some weird scale that I haven't worked out yet. The other is global and always on and has a scale from -100 to 100 or something like that.

Obviously, we'd like to use the right field for the right purpose.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-01 18:55:44
Here's another feature request:

My music collection has APEv2 and ID3v1 tags, but the iPod only understands ID3v1. However, it seems that when foo_pod reads from the iPod, the APEv2 tags are no longer either there or recognized.

Does iTunes really remove APE tags when copying files to the iPod? If so, it is possible to support keeping these tags when using foo_pod to write files to the iPod (in the near future, hopefully).

Thanks for a great component!
Title: foo_pod - Foobar2000 meets the iPod
Post by: kode54 on 2004-03-01 18:59:15
iPod/iTunes supports ID3v2, and apparently also supports UTF-16 encoded text.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-01 19:24:50
iTunes reads my ID3v2 tags perfectly fine.

Personally, the main reason i want a Database/iPod plugin for Foobar so i can finally use my player with APEv2 tags rather than crappy id3v2.

Otto:
Nice to hear that you have made some progress.

I will be watching this development very closely, and try to help as much as possible.

Keep up the good work Otto!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-01 19:32:52
I meant out of ID3v1 and APEv2 (the two formats I use), iPod only reads ID3v1
Title: foo_pod - Foobar2000 meets the iPod
Post by: kode54 on 2004-03-01 19:45:32
Yes, I know.

I thought the iPod handled all metadata through its internal database, so which tags are on the files should not matter, unless you're going to erase your local copies and import everything back from the player at a later time.
Title: foo_pod - Foobar2000 meets the iPod
Post by: danZ on 2004-03-01 20:20:00
Quote
I meant out of ID3v1 and APEv2 (the two formats I use), iPod only reads ID3v1

I don't think the iPod using any tags and relies on its database for this information.  When I first got my iPod I noticed that I got different results with different applications (XPlay, ephPod, iTunes) so I think it is up to the PC (mac) side application to do whatever it wants as long as it builds a valid iPod database to put on the device.

I would think the foo_pod will fill in the database by asking foobar for particular meta_data and won't care where the data originated (id3v1,v2,etc.)

Correct me if I'm wrong, Aero.

My questions about foo_pod are how you plan to handle syncing the iPod once write is added to the code base.

Will it be realtime as you add/remove songs to the foo_pod playlist, on demand by a context menu or main menu choice, or something else.  Is on the fly possible or does the database have to be entirely rebuilt for every change and then entirely copied to the iPod?

Anyway, if I can get songs on/off my iPod without all the other applications I'll be more then happy.

Thanks for the efforts so far.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-01 21:13:08
The iPod doesn't understand any tags whatsoever. Not ID3, not APE, nothing. All of the data the iPod knows is contained within the iTunesDB file.

iTunes and other programs build that iTunesDB file by using ID3 or what have you tags. So, if foobar understands APE tags, and if foobar is building the iTunesDB... QED. You can build the iTunesDB using any info you want from any source you want. That's what the iPodDB classes I wrote do. They let you read an iTunesDB into memory, modify it, write it back out. Or, in theory, you could build the class/object structure in memory from scratch and then write that out as a valid iTunesDB file. I'm working on a way to make that *much* simpler to do, as right now building a DB from scratch is a PITA.

Addition: iTunes doesn't modify the songs before copying them to the iPod. It may modify them when you add them to the iTunes library itself or when you change the tags using iTunes, but the process of synching the iPod just copies the files over in their current state. It's the iTunesDB that controls the rest.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-01 22:07:31
Quote
Addition: iTunes doesn't modify the songs before copying them to the iPod. It may modify them when you add them to the iTunes library itself or when you change the tags using iTunes, but the process of synching the iPod just copies the files over in their current state. It's the iTunesDB that controls the rest.

This does not make sense. I have an MP3 file tagged with APEv2 and ID3v1. I then transfer it to the iPod using iTunes - I did not enter any tag editing facility in iTunes or anything. When I double click on the file on the iPod disk drive (Not using foo_pod), it now only has the ID3v1 tag intact.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-01 22:48:26
Quote
Quote
Addition: iTunes doesn't modify the songs before copying them to the iPod. It may modify them when you add them to the iTunes library itself or when you change the tags using iTunes, but the process of synching the iPod just copies the files over in their current state. It's the iTunesDB that controls the rest.

This does not make sense. I have an MP3 file tagged with APEv2 and ID3v1. I then transfer it to the iPod using iTunes - I did not enter any tag editing facility in iTunes or anything. When I double click on the file on the iPod disk drive (Not using foo_pod), it now only has the ID3v1 tag intact.

iTunes might strip off the APEv2 tags that it can't handle, but that doesn't really affect foo_pod or anything else (other than a good reason not to use iTunes...).

I think the point that Otto42 and others are trying to make is that the iPod itself does not read tags (of any format) - the only metadata that the iPod knows about is what is in iTunesDB.  It is the responsibility of the transfer program to build this database file, so it reads in whatever metadata that it understands from the audio files.  Since foo_pod is built on top of Foobar, it will be able to handle any metadata format that Foobar can read.  And it definitely will not modify the songs!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-01 23:10:16
This just occured to me just as i was reading about the tag handling...


I listen to alot of electronica and i have many albums that are compliations mixed by a single DJ. This makes it kinda hard to browse my ipod. If we could make custom iTunesDB, could we also make it so that the ipod browses via custom metafields?


Example:
Artist: Chicane
Title : Don't Give Up
Track: 1 of 20
Disc: 1 of 2
Album: Ministry of Sound: Trance Nation 3
Mixed by Ferry Corsten

etc.

If i load this on the Ipod, the track lists under Artist Chicane, and the album, Ministry of Sound... then Track 1, Don't give up.

I think it would be much easier for me if i could browse like this:
CD_Artist: Ferry Corsten -> Album: Ministry of Trance 3 -> Disc 1 -> Track 1, then on the now playing screen you would be a nice filled data:

Don't Give Up
Chicane
Ministry of Sound Trance Nation 3
<<bar>>

instead of the bloated set i have now....

Chicane - Don't Give Up
Ferry Corsten
Ministry of Sound ....
<< BAR >>


Just an idea. Im not sure how creative you can get in the database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-01 23:23:13
Quote
I listen to alot of electronica and i have many albums that are compliations mixed by a single DJ. This makes it kinda hard to browse my ipod. If we could make custom iTunesDB, could we also make it so that the ipod browses via custom metafields?

One thing that I plan on adding to foo_pod is support for scripting (probably Lua). 

So you could likely script what you are looking to do.  For example, in your script, if the song is in Playlist "Electronica", then build the artist metadata from these fields.

Something like:

if pod_GetPlaylist() == "Electronica" then
  pod_SetTitleFormat("%artist% - %title%")
  pod_SetArtistFormat("%comment%")
  pod_SetAlbumFormat("%album%")
end


I'm not sure if I'm understanding exactly how you want your data formatted, and this is just an example, but hopefully you see what I'm getting at.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-01 23:48:36
Ya something like that.

I was just wondering, since everything is controlled via database, we could just relabel everything that the ipod displays.


So, instead of browsing the normal ipod way

Artist -> Album -> Track

we could do something like

CD Aritst / Artist - > Album -> Tracks


ALSO! We can finally organize the bloody lists alphabetically, not by tracknumber!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-02 00:11:05
Quote
I was just wondering, since everything is controlled via database, we could just relabel everything that the ipod displays.


So, instead of browsing the normal ipod way

Artist -> Album -> Track

we could do something like

CD Aritst / Artist - > Album -> Tracks

Well, you can't change the basic labels that the iPod displays, but if you mean Browse->Artists, then display the "artists" as CD Artist / Artists, then yes, that should be easy to do.  All the iPod is doing is going through its list of songs and building an unique list of "artists".  Since we can send whatever string we want for the "artist" (or "album", "title", "genre", "composer", etc.), it will be possible to format the data as you want - not just as how it is in the file.


Quote
ALSO! We can finally organize the bloody lists alphabetically, not by tracknumber!

I'm not sure how the iPod internally sorts the songs, but if it does order them based on tracknumber and since the tracknumber is just another bit of data that we can control, it will be possible to make fake tracknumbers so that the songs end up sorted alphabetically.

foo_pod with scripting is definitely going to be a power user/control freak's interface, while most of the other programs I have seen (iTunes, Anapod, XPlay, and to a lesser extent, Ephpod) try to make the transfer process as simple and non-customizable as possible.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-02 00:13:44
Man this will be so sweet.

I'm going to change the title formatting to %tracknumber%. %title%. It will be schweet.

Aero, stop wasting your time posting here and spooning danZ, and get to work on this component stat! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-02 00:44:38
Quote
Quote
Addition: iTunes doesn't modify the songs before copying them to the iPod. It may modify them when you add them to the iTunes library itself or when you change the tags using iTunes, but the process of synching the iPod just copies the files over in their current state. It's the iTunesDB that controls the rest.

This does not make sense. I have an MP3 file tagged with APEv2 and ID3v1. I then transfer it to the iPod using iTunes - I did not enter any tag editing facility in iTunes or anything. When I double click on the file on the iPod disk drive (Not using foo_pod), it now only has the ID3v1 tag intact.

Then you've discovered something I can't reproduce.. When I was using MP3Gain, the gain got saved in an APEv2 tag, if I'm not mistaken. When I checked the files on the iPod, they never were any different from files on the main hard drive.

To the best of my knowledge, you've got to be mistaken.

Edit: iTunes may very well remove the APEv2 tag when you add it to the iTunes library though. I've not tested that.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-02 00:49:07
Quote
I'm not sure how the iPod internally sorts the songs, but if it does order them based on tracknumber and since the tracknumber is just another bit of data that we can control, it will be possible to make fake tracknumbers so that the songs end up sorted alphabetically.

Actually, if you simply leave the track numbers blank in the iTunesDB (set both tracknum and totaltracks to zero), I believe that it will sort alphabetically by track title. I may be mistaken though.

Also, it does indeed use the CD number as well when ordering. So if you have proper tracknumber and a multi CD set with the CD num as 1, 2, etc, then you get all the tracks from CD1, in order, followed by all the tracks from CD2. Very nice for multi disc sets where you care about order.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-02 03:37:51
Ya, it defaults to alphabetical when theres are no track numbers present.


You know, I wish those fat cats at Apple released a SDK for the damn ipod. That would be sick.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-02 13:55:07
Okay, I added a whole lot of stuff to the iPodDB classes. Hopefully this stuff will make it easier for one to build an iTunesDB from scratch or at least easier to modify an existing one. Bunch of functions relating to tracklists, playlists, tracks, strings in tracks, etc, etc. I've emailed them to Aero for comment and revision and such, but if anyone else wants to take a gander and offer some input, the classes are here. Same place as before: http://otto.homedns.org:8888/iTunes/iPodDB.zip (http://otto.homedns.org:8888/iTunes/iPodDB.zip) .

These classes are rapidly becoming very complicated. I think that's a good sign.

I'm going to start working on adding classes for the Play Counts file, in order to allow some kind of support for that functionality in foo_pod, and also a class to support the new On The Go playlist download feature of the latest iPod firmware (2.1).

Edit: Hmm. Well, that was surprisingly easy to add. Took about an hour, after I had some breakfast. Okay, now it supports reading the Play Counts file, and reading/writing the OTGPlaylist file. Not that you'd ever need to write an OTGPlaylist file though. Dunno if it would use it even if you did. Oh well.

I'm kinda out of stuff to add to iPodDB now.  Maybe I'll go experiment with that soundcheck field some more.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-02 18:55:48
Otto42 thats some great news. I think now that we have a SDK sorta thing going, a database GUI needs to be build just like on the ipod, which would make it extremely easy to load stuff on the ipod.

So we built a foundation, lets build a house. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-02 20:34:12
Quote
Otto42 thats some great news. I think now that we have a SDK sorta thing going, a database GUI needs to be build just like on the ipod, which would make it extremely easy to load stuff on the ipod.

So we built a foundation, lets build a house. 

Well, possibly the easiest metaphor is the one of playlists. It's a big list of tracks. The iPod makes this into kind of an extreme case, as every song on the iPod *must* be in a playlist, and to accomplish this, it makes one default "hidden" playlist which contains every single track in the track list. Any playlists you add yourself come after this one.

So it'd be possible to make a playlist called "iPod", for example, and when you synced, everything in that playlist would be sent to the iPod. If there was some way to have playlists contain other playlists, this could be used to put other playlists on the iPod. Or something. I don't fully know the extent of foobar's metaphors and structures in this regard, so I'm not really qualified to talk about it. I tried to read the foobar SDK, but it gave me a headache.

In any case, I'm going to try to decipher smart playlists on the iTunes/iPod now. With that, maybe some method of scripting that foobar has for building automatic playlists (does it have such a thing?) can be adapted to produce smart playlists that actually work on the iPod as well. And it'll give me something that'll take a few days to figure out.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-03-03 00:38:58
Ya i understand the ipod playlist action. But it still works from a database, and works best with iTunes. iTunes is entirely a databased driven program. I am interested in this kind of implementation for both the ipod plugin and Foobar. Plus, it would also be nice too see who what would browsing would be like on the ipod before loading up like 18 gigs worth of songs; you know, making sure all the tags are consistent. Cuz it seperates very distinctly, like DJ Tiesto, and DJ Tiësto are different artists.

=/
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-03 01:23:39
Quote
Ya i understand the ipod playlist action. But it still works from a database, and works best with iTunes. iTunes is entirely a databased driven program. I am interested in this kind of implementation for both the ipod plugin and Foobar. Plus, it would also be nice too see who what would browsing would be like on the ipod before loading up like 18 gigs worth of songs; you know, making sure all the tags are consistent. Cuz it seperates very distinctly, like DJ Tiesto, and DJ Tiësto are different artists.

I doubt that foo_pod is ever going to be a full featured as iTunes.  Ultimately, it will probably just be an easy way to sync a playlist, and maybe allow for some scripting control of the process. 

If you need to review your music tags before syncing, you might want to consider the quite excellent ID3-TagIt (http://www.id3-tagit.de/english/index.htm).  Otherwise, Foobar's playlist display and MassTagger are pretty good as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: gandalf44 on 2004-03-03 02:26:51
So far the best part about foo_pod is simply the fact that it allows me to convert all my iTunes Music Store purchases to flac, mp3, etc.  Before, I had to burn a CD-RW of my purchases within iTunes, then rip to flac or whatever.  Now I can just use the diskwriter......extremely cool......
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-03 17:13:07
Got the barest beginnings of smart playlist support in there. It can read smart playlists into memory and parse them, but I still don't know what half of the values in there mean. But that's just a matter of trial and error with iTunes. It can't write changes to the thing yet though, because I haven't done enough testing to start that portion of it.

But at least it'll be able to read the rules for creating smart playlists. Whether or not that can be translated into something foobar can use is another matter.

Got more smartlist stuff added. What a major PITA smart playlists are. Very powerful, that much I can see, but still, yikes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-03 19:12:13
Quote
So far the best part about foo_pod is simply the fact that it allows me to convert all my iTunes Music Store purchases to flac, mp3, etc.  Before, I had to burn a CD-RW of my purchases within iTunes, then rip to flac or whatever.  Now I can just use the diskwriter......extremely cool......

Hey, that's a really good idea!  I hadn't thought of using Diskwriter - in fact, I recently transcoded some .m4p files myself, but I played them in iTunes and captured the audio live from the mixer.  You made my day knowing that I played a tiny little part in sticking it to The Man (http://www.riaa.org)! 


Quick status update on foo_pod:  Otto42 and I (mostly Otto42) have been working hard at getting the iPodDB library complete and ready to use.  Last night, I was able to add a song to the database, write it out, and read it back in again.  So basically, I have everything I need to be able to transfer a playlist from Foobar2000 to the iPod.  Hopefully I can have it ready for widespread testing within a day or two.,
Title: foo_pod - Foobar2000 meets the iPod
Post by: gandalf44 on 2004-03-04 02:09:41
I was curious about something......how is foo_pod actually able to play the iTunes Music store m4p files?  I thought that's why you need the iTunes applications, because you were allowed up to 3 computers (or 3 different instances of iTunes app on different machines) to play the files?

Not that I am complaining, for I am thrilled that I can use my purchased music in something else besides iTunes, especially for transcoding thru diskwriter (and eventually writing back to to Ipod). 

I was just curious how it works....
Title: foo_pod - Foobar2000 meets the iPod
Post by: kode54 on 2004-03-04 02:23:45
DRM support was added to MP4FF some time before the 0.8 release. foo_input_std will decode M4P files on the system they were licensed for.
Title: foo_pod - Foobar2000 meets the iPod
Post by: gandalf44 on 2004-03-04 02:47:57
Ahhh....I see.  Without telling me to look at the source code :-D, can you explain in layman's terms how that was accomplished?  Does foo_input_std look at the actual M4P file? 

If you know of a pointer where this has alreadt been explained let me know....just curious.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-04 04:10:21
Quote
Ahhh....I see.  Without telling me to look at the source code :-D, can you explain in layman's terms how that was accomplished?  Does foo_input_std look at the actual M4P file? 

If you know of a pointer where this has alreadt been explained let me know....just curious.

I explained how it could be done somewhere around here, but I can't find the post.

Short version:
- The M4P files are encrypted. To decrypt them, you need the key.
- iTunes gets the key when it "authorizes" and stores it in a file on the hard drive.
- But iTunes encrypts that file using info already on your machine, like the Windows Product Key and such.
- But DVD-Jon (the norweigan hacker who cracked CSS and got sued for it) also worked out how to decrypt that file and get the key and released how to do it as open source.
- And now several programs, including foobar, realplayer 10, etc... can get that key directly from iTunes storage location and decrypt the file and play it, and some can even create an unencrypted MP4/M4A from it (look on Google for a program called M4P2MP4.EXE... I'd post a direct link or link to more info, but doing so would violate rule 9 of these forums).
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-03-06 05:05:36
Any progress on the Soundcheck/RG implimentation? 

Also, what are you looking at the database with?  My hexeditor doesn't seem to make much sense of it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-06 06:16:57
Quote
Any progress on the Soundcheck/RG implimentation?

Haven't had the time to look seriously at it. Understand that I'm currently in the process of getting a new job, getting a new apartment, planning the move, and I'm also taking a 10 day vacation at the beach this next week. Been busy.

Quote
Also, what are you looking at the database with?  My hexeditor doesn't seem to make much sense of it.

Generally, I look at it with a hex editor. Of course, it's a lot like looking at the Matrix... I've gotten to where I don't even see the hex anymore...

Start here if you want to understand the format of the file: http://otto.homedns.org:8888/itunes/iTunesDB.html (http://otto.homedns.org:8888/itunes/iTunesDB.html) . However, my entire site will go down for at least 3 weeks beginning on the 11th, so I'd check it out soon and possibly make a copy of anything you want to keep.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-08 11:07:27
Another quick status update:  tonight, I was able to transfer a complete Foobar playlist of songs to my iPod.  Currently, the sync is really just a replace - so there is still work to be done, but the hardest part is already implemented.

On the first major test, I was able to transfer 501 songs (2.45GB) in 224 seconds.  That is approximately 11.2MB/sec, which is phenomenal since the same machine only transfers at  9-9.5MB/sec with EphPod.      The final product will be slower, since it will need to detect duplicate songs and everything else that sync'ing implies, but I was really impressed with this first trial.

Next up will be to add code to detect duplicate songs, as well as the ability to delete files from the iPod when they aren't in the current playlist in Foobar.  I am also considering a better way to transfer files from the iPod, and organizing them into a directory tree.  Then I'll add Lua scripting support, along with some more unusual ideas I have been coming up with.  Like an iPod to iPod sync - this would be a quick way to duplicate one iPod to another, or copy missing files so that both iPods would have the same set of songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-03-08 12:29:28
Wow, this is going to be a great plugin! 
I am using EphPod at the moment, but I will absolutely switch to foo_pod when its out...

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: danZ on 2004-03-08 17:46:15
Quote
Then I'll add Lua scripting support, along with some more unusual ideas I have been coming up with.  Like an iPod to iPod sync - this would be a quick way to duplicate one iPod to another, or copy missing files so that both iPods would have the same set of songs.

I guess when you get the big bucks for doing foobar components you can afford to have 2 iPods

Seriously, though, my plugin uses Lua and so do a couple others.  I compile Lua into my component but I'm not sure about the other ones.  I wonder if PP would consider adding the latest version of lua  to the mainline release so that all of the components (and the core code if he's interested) could use the same, standard, lua scripting code and interface.  And/or we should all try to use the latest version compiled into a shared DLL since it appears the dlls have to be in the foobar folder vs. the components folder (maybe there is a way around that?).  I would have to upgrade my component to lua 5.0 but that shouldn't be a huge problem.  I could even build the dll unless you can already get the 5.0 distro in a windows DLL.

Looking forward to testing the write to iPod stuff.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-10 09:56:42
foo_pod version 0.2 (http://loodi.com/foo_pod.zip) is now available. 

This is the first version that supports writing songs to an iPod.  Write support is still a little rough in the user interface department, but I have yet to lose data or corrupt my iPod with this version, so I believe it is ready for general testing. 

Just to make sure, there is a Debug menu under the foo_pod Component menu.  If you are worried that foo_pod might mess up your iPod, select the Backup menu item before using foo_pod for the first time.  If something does happen, you can select the Restore item to recover the database file saved by Backup.


From the readme:

foo_pod is a interface between an Apple iPod and Foobar2000 version 0.8.  As of Version 0.2, foo_pod allows reading and limited writing to an iPod. 

The write support currently is append only - meaning that it will copy files to the iPod, but doesn't yet support removing files.  It also doesn't detect duplicate files yet, although one way to get around this is to read the iPod's database into Foobar using the "Load iPod Songs To..." menu item, add the new songs, select Playlist/Remove Duplicates, then transfer the playlist to the iPod using "Send Current Playlist To iPod".  foo_pod does not transfer playlist items that are from the iPod, so this should work.

In this version, there is no progress dialog or way to cancel a transfer.  Information about the transfer is written out to the Foobar2000 console upon completion.  The next version will have a progess dialog as well as a way to abort the transfer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-03-10 20:51:51
Great work, it really looks like this is moving forward.  I got the following error message when loading the iPod playlist:

Quote
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 77C43108h
Access violation, operation: read, address: 0289FE8Eh
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/foo_pod:Load iPod Songs To foo_pod Playlist"
This is the first crash logged by this instance.
Code bytes (77C43108h):
77C430C8h:  24 95 F0 31 C4 77 8B FF F7 D9 FF 24 8D A0 31 C4
77C430D8h:  77 8D 49 00 8B C7 BA 03 00 00 00 83 F9 04 72 0C
77C430E8h:  83 E0 03 2B C8 FF 24 85 F8 30 C4 77 FF 24 8D F0
77C430F8h:  31 C4 77 90 08 31 C4 77 28 31 C4 77 50 31 C4 77
77C43108h:  8A 46 03 23 D1 88 47 03 4E C1 E9 02 4F 83 F9 08
77C43118h:  72 B6 FD F3 A5 FC FF 24 95 F0 31 C4 77 8D 49 00
77C43128h:  8A 46 03 23 D1 88 47 03 8A 46 02 C1 E9 02 88 47
77C43138h:  02 83 EE 02 83 EF 02 83 F9 08 72 8C FD F3 A5 FC
Stack (0012EC98h):
0012EC78h:  00B2F8C8 77FA88F0 77F521E0 0000005A
0012EC88h:  00B2D238 C0000005 00B2D214 00B2D224
0012EC98h:  0221FC74 000001B6 0268FF90 013482D5
0012ECA8h:  026908E4 0221FE2A 00680065 00000214
0012ECB8h:  0268FF90 0221F8DC 00000021 00000004
0012ECC8h:  00000000 00000002 00000000 01349121
0012ECD8h:  026908D8 00000008 00000000 01C44C84
0012ECE8h:  021ABB76 00000398 0268FCD8 00000003
0012ECF8h:  0268FF90 0268FCE8 0268FF90 0012ED5C
0012ED08h:  01356DD7 FFFFFFFF 01348847 0268FD18
0012ED18h:  00000060 021ABB76 00000000 01C27AC0
0012ED28h:  0268FCB0 00000001 00000000 00073D0A
0012ED38h:  01346222 00073D66 0012EE10 01F90020
0012ED48h:  0012EE0C 0021BAF6 00000004 021ABB76
0012ED58h:  0012EE10 0012F03C 01356CE4 FFFFFFFF
0012ED68h:  01345C67 021ABB16 01F90020 77C5ACE0
0012ED78h:  002BD750 0134BB06 01F90020 77D46AE9
0012ED88h:  01359BE0 0012F920 00010011 0134265E
0012ED98h:  0012EE3C 77D46AE9 01359BE0 00000000
0012EDA8h:  71997568 DCBAABCD 00000000 0012EE04
Registers:
EAX: 00000001, EBX: 00680065, ECX: 00680064, EDX: 00000003
ESI: 0289FE8B, EDI: 02D10945, EBP: 0012ECA0, ESP: 0012EC98
Crash location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "memcpy" (+000001F8h)

Loaded modules:
foobar2000                       loaded at 00400000h - 00451000h
ntdll                            loaded at 77F50000h - 77FF7000h
kernel32                         loaded at 77E60000h - 77F46000h
USER32                           loaded at 77D40000h - 77DCC000h
GDI32                            loaded at 77C70000h - 77CB0000h
ADVAPI32                         loaded at 77DD0000h - 77E5D000h
RPCRT4                           loaded at 78000000h - 78086000h
ole32                            loaded at 771B0000h - 772D1000h
COMCTL32                         loaded at 71950000h - 71A34000h
msvcrt                           loaded at 77C10000h - 77C63000h
SHLWAPI                          loaded at 70A70000h - 70AD5000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F5000h
SHELL32                          loaded at 773D0000h - 77BC2000h
foo_abx                          loaded at 008D0000h - 008DA000h
foo_ac3                          loaded at 008E0000h - 008F0000h
foo_albumlist                    loaded at 008F0000h - 008FA000h
foo_ape                          loaded at 00900000h - 0091F000h
foo_apl                          loaded at 00920000h - 0092A000h
foo_bitcompare                   loaded at 00930000h - 00938000h
foo_burninate                    loaded at 00940000h - 0094B000h
VERSION                          loaded at 77C00000h - 77C07000h
foo_cdda                         loaded at 00950000h - 0095E000h
foo_clienc                       loaded at 00960000h - 0096B000h
foo_console                      loaded at 00970000h - 00978000h
foo_convolve                     loaded at 00980000h - 009AB000h
foo_dbsearch                     loaded at 009B0000h - 009C6000h
foo_diskwriter                   loaded at 009D0000h - 009E2000h
WINMM                            loaded at 76B40000h - 76B6C000h
foo_dsp_crossfade                loaded at 00A70000h - 00A77000h
foo_dsp_crossfeed                loaded at 00A80000h - 00A86000h
foo_dsp_extra                    loaded at 00A90000h - 00AA5000h
foo_dsp_nogaps                   loaded at 00AB0000h - 00AB7000h
foo_dsp_pause                    loaded at 00AC0000h - 00AC7000h
foo_dsp_skip_silence             loaded at 00AD0000h - 00AD7000h
foo_dsp_soundtouch               loaded at 00AE0000h - 00AEB000h
MSVCP60                          loaded at 55900000h - 55961000h
foo_dynamics                     loaded at 00AF0000h - 00AF7000h
foo_faac                         loaded at 00B00000h - 00B33000h
foo_festalon                     loaded at 00B40000h - 00C7F000h
foo_flac                         loaded at 00C80000h - 00C96000h
foo_flaccer                      loaded at 00CA0000h - 00CB6000h
foo_freedb                       loaded at 00CC0000h - 00CEE000h
WS2_32                           loaded at 71AB0000h - 71AC4000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_history                      loaded at 00CF0000h - 00CFE000h
foo_id3v2                        loaded at 00D00000h - 00D26000h
foo_input_std                    loaded at 00D30000h - 00DC9000h
MSACM32                          loaded at 77BE0000h - 77BF4000h
foo_lame                         loaded at 00DD0000h - 00DD9000h
foo_lpac                         loaded at 00DE0000h - 00DE7000h
lpac_codec_api                   loaded at 00DF0000h - 00DFA000h
lpaccodec                        loaded at 00E00000h - 00E29000h
foo_masstag                      loaded at 01050000h - 01060000h
foo_matroska                     loaded at 01060000h - 0109F000h
foo_mod                          loaded at 010A0000h - 010A9000h
BASS                             loaded at 010B0000h - 0110A000h
foo_monkey                       loaded at 01110000h - 0112E000h
foo_mpcenc                       loaded at 01130000h - 01138000h
foo_mpeg4u                       loaded at 01140000h - 01169000h
foo_nero                         loaded at 01170000h - 01180000h
MFC42                            loaded at 73DD0000h - 73EC2000h
foo_nez                          loaded at 01180000h - 011AC000h
foo_null                         loaded at 011B0000h - 011B7000h
foo_ofr                          loaded at 011C0000h - 011EE000h
foo_oggpreview                   loaded at 01200000h - 012FD000h
foo_output_std                   loaded at 01300000h - 01309000h
foo_out_dsound_ex                loaded at 01310000h - 01319000h
DSOUND                           loaded at 51080000h - 510D6000h
foo_out_ks                       loaded at 01330000h - 0133B000h
SETUPAPI                         loaded at 76670000h - 76757000h
foo_pod                          loaded at 01340000h - 0135D000h
MSVCIRT                          loaded at 01360000h - 01370000h
foo_psf                          loaded at 01370000h - 0141B000h
foo_read_http                    loaded at 01420000h - 01429000h
foo_rgscan                       loaded at 01430000h - 0143B000h
foo_scheduler                    loaded at 01440000h - 0144C000h
foo_search_ex                    loaded at 01450000h - 01458000h
foo_shn                          loaded at 01460000h - 0146E000h
foo_shuffle                      loaded at 01570000h - 0157E000h
foo_sid                          loaded at 01580000h - 015C7000h
foo_spc                          loaded at 015D0000h - 015DF000h
foo_speex                        loaded at 015E0000h - 015F8000h
foo_stfu                         loaded at 01600000h - 01607000h
foo_tfmx                         loaded at 01610000h - 01619000h
foo_toolame                      loaded at 01620000h - 01633000h
foo_tunes                        loaded at 01640000h - 016B4000h
uxtheme                          loaded at 5AD70000h - 5ADA4000h
MSCTF                            loaded at 74720000h - 74764000h
foo_ui_std                       loaded at 01770000h - 01787000h
foo_unpack                       loaded at 01790000h - 017C1000h
OLEAUT32                         loaded at 77120000h - 771AB000h
foo_vis_manager                  loaded at 017D0000h - 017D8000h
foo_vis_simple_spectrum          loaded at 017E0000h - 017EA000h
foo_vis_vu_meter                 loaded at 017F0000h - 017F8000h
foo_vorbisenc                    loaded at 01800000h - 018FA000h
foo_wavpack                      loaded at 01900000h - 0190B000h
foo_wma                          loaded at 01910000h - 01929000h
WMVCore                          loaded at 08530000h - 0872D000h
WMASF                            loaded at 07260000h - 07299000h
foo_xa                           loaded at 01930000h - 01941000h
CLBCATQ                          loaded at 76FD0000h - 77048000h
COMRes                           loaded at 77050000h - 77115000h
appHelp                          loaded at 75F40000h - 75F5F000h
cscui                            loaded at 76620000h - 7666E000h
CSCDLL                           loaded at 76600000h - 7661B000h
mslbui                           loaded at 605D0000h - 605D8000h
imagehlp                         loaded at 76C90000h - 76CB2000h
DBGHELP                          loaded at 6D510000h - 6D58D000h

Stack dump analysis:
Address: 013482D5h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01349121h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01356DD7h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01348847h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01346222h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01356CE4h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01345C67h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 0134BB06h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 77D46AE9h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "SetCursor" (+00000000h)
Address: 01359BE0h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 0134265Eh, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 77D46AE9h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "SetCursor" (+00000000h)
Address: 01359BE0h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 71997568h, location: "COMCTL32", loaded at 71950000h - 71A34000h
Symbol: "Ordinal384" (+00022876h)
Address: 71997568h, location: "COMCTL32", loaded at 71950000h - 71A34000h
Symbol: "Ordinal384" (+00022876h)
Address: 77D43B1Fh, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D43B4Fh, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D43B33h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D44A0Fh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "MBToWCSEx" (+00000153h)
Address: 77D449FDh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "MBToWCSEx" (+00000141h)
Address: 77D9C3A4h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 0135742Ch, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 013573CCh, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 00440073h, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 77C73187h, location: "GDI32", loaded at 77C70000h - 77CB0000h
Symbol: "ExtTextOutW" (+00000568h)
Address: 77C730C9h, location: "GDI32", loaded at 77C70000h - 77CB0000h
Symbol: "ExtTextOutW" (+000004AAh)
Address: 77CAC020h, location: "GDI32", loaded at 77C70000h - 77CB0000h
Address: 77C731C6h, location: "GDI32", loaded at 77C70000h - 77CB0000h
Symbol: "GetTextExtentPointW" (+00000000h)
Address: 77C731DDh, location: "GDI32", loaded at 77C70000h - 77CB0000h
Symbol: "GetTextExtentPointW" (+00000017h)
Address: 77D47510h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "SendMessageTimeoutW" (+000004F0h)
Address: 77D47562h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DrawTextExW" (+00000040h)
Address: 77D473FEh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "SendMessageTimeoutW" (+000003DEh)
Address: 77D48477h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetDlgItem" (+000003BBh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F51C78h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77C2AC14h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+000001A9h)
Address: 77C2AC19h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+000001AEh)
Address: 77C33EB0h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12048h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "__non_rtti_object::`vftable'" (+00000C60h)
Address: 0134FDB3h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 0134D95Bh, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 77D46AE9h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "SetCursor" (+00000000h)
Address: 01345074h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01359BE0h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01356A6Ah, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01344B9Ah, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01357214h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01357214h, location: "foo_pod", loaded at 01340000h - 0135D000h
Address: 01359BE0h, location: "foo_pod", loaded at 01340000h - 0135D000h

Version info:
foobar2000 v0.8
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-03-10 22:56:11
Quote
foo_pod version 0.2 (http://loodi.com/foo_pod.zip) is now available. 

Worked first time.  You may want to note that it requires that you put your iPod in "drive" mode via iTunes the first time before using foo_pod.

-Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-03-10 23:21:49
Quote
foo_pod version 0.2 (http://loodi.com/foo_pod.zip) is now available. 

Whoops.  Spoke to soon.  My iPod got blanked? 

I did "Load iPod songs to ... Playlist".  I added a few songs.  Then I "Sent Current Playlist to iPod".  It seemed to work.  I asked WinXP to undock the iPod (iTunes has been turned off).  It undocked properly.

When I navigated on the iPod itself, however, it was blanked completely.

I had backed up the db and just restored it.  But the restore doesn't seem to work.  It appears to have a corrupted db or something, because after undocking it freezes up for about 30 seconds.  Then it shows a blank db.

Thoughts?

-Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-10 23:30:27
Quote
Quote
foo_pod version 0.2 (http://loodi.com/foo_pod.zip) is now available. 

Whoops.  Spoke to soon.  My iPod got blanked? 

I did "Load iPod songs to ... Playlist".  I added a few songs.  Then I "Sent Current Playlist to iPod".  It seemed to work.  I asked WinXP to undock the iPod (iTunes has been turned off).  It undocked properly.

When I navigated on the iPod itself, however, it was blanked completely.

I had backed up the db and just restored it.  But the restore doesn't seem to work.  It appears to have a corrupted db or something, because after undocking it freezes up for about 30 seconds.  Then it shows a blank db.

Thoughts?

-Reardon

Sorry? 

Hopefully the backup worked, but for whatever reason, the restore didn't.  Try this:

In Windows Explorer (My Computer), go to your iPod's drive, then navigate to iPod_Control\iTunes.  There should be an iTunesDB and iTunesDB.foo_pod there - delete iTunesDB, and rename or copy iTunesDB.foo_pod to iTunesDB.  If you backed up before running foo_pod, then iTunesDB.foo_pod should be the one created by iTunes or whatever you used.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-03-11 00:42:19
Hmm.  Its actually pretty bad.  I tried just recovering the db (as you described) but that failed.  The hard drive started clicking like it had a bad block.

So I reformatted and started over.  iTunes worked fine.  Sync'ed 12GB of music.

Tried foo_pod.  Added one track.  Updated the ipod.  When I did this WinXP started reporting USB level (same error on 1394 interface) bad block errors. (these always take the form of timeout errors followed by bad block reports).

Given this repro'd twice, and iTunes had no issues, I think there is some bad interaction between foo_pod and the device itself.  Perhaps there is some of proprietary bus sync command that gets sent via the IPodService?

EDIT: I misread the events in the eventlog.  They bad block occured earlier.  Now I can't figure out what happened.  The updates are not working, but it continues to read fine.  Each time I start iTunes it seems to undo the foo_pod changes.

I am still concerned about the bad block errors.  This may in fact just be a bad disk.

-Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-11 02:03:36
Quote
Hmm.  Its actually pretty bad.  I tried just recovering the db (as you described) but that failed.  The hard drive started clicking like it had a bad block.

So I reformatted and started over.  iTunes worked fine.  Sync'ed 12GB of music.

Tried foo_pod.  Added one track.  Updated the ipod.  When I did this WinXP started reporting USB level (same error on 1394 interface) bad block errors. (these always take the form of timeout errors followed by bad block reports).

Given this repro'd twice, and iTunes had no issues, I think there is some bad interaction between foo_pod and the device itself.  Perhaps there is some of proprietary bus sync command that gets sent via the IPodService?

EDIT: I misread the events in the eventlog.  They bad block occured earlier.  Now I can't figure out what happened.  The updates are not working, but it continues to read fine.  Each time I start iTunes it seems to undo the foo_pod changes.

I am still concerned about the bad block errors.  This may in fact just be a bad disk.

I'm sorry to hear about your iPod's drive, but I am 100% sure it wasn't (directly) caused by foo_pod.  All foo_pod is doing is copying song files to the iPod and generating the iTunesDB file, just like iTunes does.  If the iPod is still under warranty, I'd recommend sending it back ASAP.

There might be some interaction between iTunes and foo_pod that is causing the database problem, though.  Personally, I can't stand iTunes and other than trying it out a few times, I have used EphPod and now foo_pod, exclusively...I eat my own dogfood!  The problem is that the iTunesDB file format is not documented by Apple, so every 3rd party program writes the file a little differently than iTunes.

I will try syncing with iTunes tonight and see if I can reproduce the database problem.  Although if I understand iTunes correctly, it forces a sync from the tunes library to the iPod, so any songs not in the iTunes library will be deleted from the iPod.  So if you add songs from foo_pod, then sync with iTunes, iTunes will see the foo_pod songs as out of sync files and delete them.

Someone correct me if I'm not understanding iTunes correctly, but I think this is probably the problem you are experiencing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-11 02:35:09
Quote
Although if I understand iTunes correctly, it forces a sync from the tunes library to the iPod, so any songs not in the iTunes library will be deleted from the iPod.  So if you add songs from foo_pod, then sync with iTunes, iTunes will see the foo_pod songs as out of sync files and delete them.

Someone correct me if I'm not understanding iTunes correctly, but I think this is probably the problem you are experiencing.

Yes, anything off in the f## directories that isn't what iTunes thinks is supposed to be there, assuming you're doing automatic syncing, gets zapped during the sync.

And there's nothing funky about how any program accesses the iPod. When the iPod is in drive mode (which it has to be to be able to talk to it at all), it's basically just an external drive. There's nothing special you do to talk to it. You create files on a drive letter in a certain directory. That's it. The "Do No Disconnect" shows up whenever the iPod is "mounted" as a drive, and the "Ok to Disconnect" shows up whenever it's connected to a computer but not currently "mounted". Simple as that. There's nothing special to it, and no way that iTunes can do anything special to it other than simple mounting and unmounting and writing files.

Thought for the future Aero: Add mount and unmount capabilities to foo_pod so that it mounts when you need it to do so and unmounts when you don't need it to be mounted. Just an idea. I'm not sure exactly how to do it under windows, but it'd be cool though. Would also eliminate the need for iTunes or Apple software to be installed to enable drive mode.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-11 03:07:06
Quote
Yes, anything off in the f## directories that isn't what iTunes thinks is supposed to be there, assuming you're doing automatic syncing, gets zapped during the sync.


"isn't what iTunes thinks is supposed to be there" == an MHIT entry in the iPod's iTuneDB file for which iTunes doesn't have a matching song for in its library?


Quote
Thought for the future Aero: Add mount and unmount capabilities to foo_pod so that it mounts when you need it to do so and unmounts when you don't need it to be mounted. Just an idea. I'm not sure exactly how to do it under windows, but it'd be cool though. Would also eliminate the need for iTunes or Apple software to be installed to enable drive mode.


I looked into adding unmount functionality, and it doesn't look like it be too difficult.  I want it simply because it would be cool to have a global hotkey (or multimedia key) that unmounted the iPod - I am always having to turn on my monitor just to unmount the iPod, or risk foobar'ing it up by just undocking.

I'm not sure about the drive mode, though.  My iPod has always Just Worked in drive mode, without having to make any changes in iTunes.  Plus, can't you force drive mode by holding down the Previous and Next keys?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-11 06:24:51
Quote
"isn't what iTunes thinks is supposed to be there" == an MHIT entry in the iPod's iTuneDB file for which iTunes doesn't have a matching song for in its library?


Assuming nothing has changed, then yes. However, you gotta remember that during an autosync, it's rebuilding the iTunesDB itself. So anything you added to the iPod using any other program will go away because the newly built iTunesDB won't have your songs in it, unless they're in iTunes library as well.

Essentially, it reads the useful data off the iPod (last played time, stars, playcount, otgplaylist). Then it erases the Playcounts and OTGPlaylist files. Then reads in the existing iTunesDB, and redoes all the MHIT records to correspond with the songs it thinks are supposed to be on the thing. That is, MHITs not in the iTunes library get removed, and MHITs that are in the library but not in the iTunesDB get added. Then it goes and checks every file in the f## dirs and deletes any without a matching MHIT. Any MHITs that don't have a matching file on the iPod get that file copied to the right place. Finally, the playlists get erased from the iTunesDB and rebuilt entirely from iTunes list of playlists.

That's a conceptual thing though... it may do it in a different order or something, but that's the gist of it. An automatic iTunes Sync does everything it has to do to make the iPod's contents identical to the iTunes Library.

Edit: Ahh, I see what you're asking. You want to know if it'll delete something in there that the iPod doesn't know about with an MHIT entry. I'm not certain, but I think it will. It's easy to test, drop a file in the f01 directory without changing the iTunesDB, then do a sync. I think iTunes will kill it, but I'm not 100% certain on that.

Quote
I looked into adding unmount functionality, and it doesn't look like it be too difficult.  I want it simply because it would be cool to have a global hotkey (or multimedia key) that unmounted the iPod - I am always having to turn on my monitor just to unmount the iPod, or risk foobar'ing it up by just undocking.

I'm not sure about the drive mode, though.  My iPod has always Just Worked in drive mode, without having to make any changes in iTunes.  Plus, can't you force drive mode by holding down the Previous and Next keys?

Yeah, you can force drive mode, but as you can tell, the "drive mode" thing is really on the iPod firmware side of things. It goes into drive mode automatically when you connect it to a computer, regardless of what's on the computer. Unmounting it (which is the same as right clicking its drive letter and doing "Eject") will punch it back out of drive mode. Someone with iTunes or the iPod Manager software installed will get their iPod kicked back out of drive mode nearly automatically if they don't have "Enable Disk Mode" turned on. The reason you'd want a mount command is what if someone has the thing unmounted and decides to try to sync. It'd be nice to be able to mount the thing, if it's not already mounted, and sync, and then unmount again.

If I'm not mistaken, because the iPod is simply looking like an external drive, you should be able to not have any software installed (not iTunes, not the iPod Manager, nothing) and be able to hook it up and see it as a drive letter just fine. Then ejecting it will unmount it. All these software programs do is make it more seamless, in that it'll start iTunes automagically, iTunes will sync automagically, etc, etc.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-12 00:31:27
More info on SoundCheck:

Okay, I did some experimenting. Near as I can tell, the soundcheck field in the iTunesDB (which is identical to the first number in the iTunNORM comment that we've seen) is essentially telling the iPod how much to reduce the volume of the song when Sound Check is enabled. I've not seen a case where iTunes puts in a number that noticably increases the volume, and I have not tried to do so myself as of yet.

To determine the value of this field, I picked a bunch of songs in iTunes, and did a "Get Info" on them to get what that screen has as the "Volume" field. This is a number expressed in dB there. I do not exactly know what it means, but still, there's a pretty blatent relationship between this number and both the actual volume of the song and the number that iTunes puts into the soundcheck field.

The lower this number is, the louder the song is. So a "volume" of -8.6dB is an extremely loud song. Loudest I found in a quick search of my library. Songs with larger numbers are quieter. +1.5dB was the largest I found.

To show the relationship, I found the info in the soundcheck field for each song that I looked up (9 of them). Here's the results:
dB number followed by soundcheck field
+1.5 000002ca
+1.2 000002f9
+0.3 0000039d
-1.1 000002fb
-2.1 0000050b
-4.3 00000a72
-6.0 00000f65
-7.6 000016a2
-8.6 00001c75

As you can clearly see, as the volume numbers get smaller, the soundcheck field increases. Here's the same data with the hex converted to decimal:

1.5   714
1.2   761
0.3   925
-1.1   763
-2.1   1291
-4.3   2674
-6   3941
-7.6   5794
-8.6   7285

I graphed the data in excel, and while it's not enough to be sure, it looks like some kind of logarithmic expansion. I figure the weirdness around the low end is due to iTunes being funky.

Look, I'm out of my depth here. I don't know enough about what I'm doing to know what any of this means. All I really know is that if you increase the number in the sound check field, the volume on the iPod gets smaller when sound check is on. But as to correlating this to the value that MP3Gain gives you for any given file, I have no idea on what to do next. Somebody else who knows this stuff should probably take a whack at it. I'm going on vacation for 10 days now. See ya.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-03-12 07:43:19
As someone who spends way too much time trying to fit trendlines to bad lab data, I thought I'd take a look.

Heres your data with an exponential trendline:

(http://www.u.arizona.edu/~mikeg/soundcheck.PNG)

Not a great fit.

However if we graph the positive and negative gains independantly and assume a linear relationship (which would be logical given the precision available), its a nearly perfect fit, but we have too few data points to draw any conclusions.  Anyone want to try their hand at getting more?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-18 09:21:56
Version 0.3.1 (http://loodi.com/foo_pod.zip) is now available.

This version adds some good stuff, such as a smarter "Send Playlist" that detects duplicate files that are already on the iPod, an Eject iPod menu item, a "Delete All Songs" features, and progress dialogs so you can monitor and cancel lengthy operations.

This release should also improve reliability when sending songs to the iPod, and fixes the crash reported by rufu (related to smart playlists).

Upcoming versions will have a real iTunes-like sync functionality, Lua scripting, and speed improvements, as well as support for building iPod playlists.  I'm also open to feature suggestions and bug reports.  The Eject iPod should work with all iPod versions, but it has only been tested with 3rd generation iPods, so I would appreciate feedback from 1st and 2nd generation owners.

Edit - Updated to 0.3.1 after the original posting of 0.3. 

Notes from the Readme:

Version 0.3.1 - Mar 18, 2004
* Minor change from 0.3 - don't transfer file formats that the iPod can't play. 
  These are only MP3, AAC (.m4a and .m4p), and WAV.  AIFF isn't currently supported
  by foo_pod, due to a problem with Foobar's detection of AIFF.

Version 0.3 - Mar 18, 2004
* Improved reliability when writing to the iPod, hopefully reducing the
  number of things that could go wrong resulting in a loss of iPod data.
* "Send Playlist To iPod" now detects duplicate files, so sending the
  same file won't result in two copies on the iPod.
* Added an "Eject iPod", which allows you to safely remove the iPod from
  the computer.
* Added a "Delete All iPod Music" feature, which deletes all music on the
  iPod, as well as the iTunesDB file. 
* Added progress dialogs, with cancel support, to "Send Playlist" and "Delete All".
* Fixed a foo_pod crash related to smart playlists (thanks for your help, rufu).
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-03-21 16:27:26
Very good.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mixmixmix on 2004-03-22 04:17:41
working well for me; thanks HEAPS!

i don't suppose any of you have any good ideas on a skin for my ipod? getting scratched
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-22 06:57:39
Quote
working well for me; thanks HEAPS!

i don't suppose any of you have any good ideas on a skin for my ipod? getting scratched

Thanks for the report!  It was a little quiet before you and Mike G posted, so I was wondering if no one was using foo_pod, or no one was having any problems!

I have only tried one iPod skin, but I really like Speck's iPod Skin (http://www.speckproducts.com/ipodskinsnew/singleindex.htm).  The fit isn't perfect like the exo2 (http://www.iskinprotect.com/exo2.html) (or so I hear), but is cheap (3 pack of skins for $30 at Fry's) and the best feature is that the bottom is hinged so you can dock the iPod without removing the skin.  I added 3rd party belt clip (http://www.theclip.com/mall/ultraclip.asp) and a piece of clear plastic on the screen, so now the case is nearly perfect.  I have also read accounts of people of modifying the exo2 case so that the bottom part hinges like the Speck case.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mixmixmix on 2004-03-22 10:18:55
sound good...but the website wants to charge 25.95 for shipping to australia - ouch....
ill have to look into getting one here or something.

anyway i suppose this is getting a bit too offtopic so ill go play with foo_pod some more

Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-03-22 15:38:54
Cool pugin, I've been using it for a few days now with no problems.

I hope someone works out how to convert replaygain info into soundcheck info.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-22 20:13:47
Quote
As someone who spends way too much time trying to fit trendlines to bad lab data, I thought I'd take a look.

Heres your data with an exponential trendline:

(http://www.u.arizona.edu/~mikeg/soundcheck.PNG)

Not a great fit.

However if we graph the positive and negative gains independantly and assume a linear relationship (which would be logical given the precision available), its a nearly perfect fit, but we have too few data points to draw any conclusions.  Anyone want to try their hand at getting more?

Sorry it took so long to reply. Been on vacation.

I can get as many data points as you want, but it's a bit of a laborious process for each one. I'm currently moving though and won't have internet for a while, so give me a few days on it. Think weekend or so.

Anyway, looking at your graph, I'd say that the curve there is a very good fit, given the fact that iTunes is likely *rounding* the dB number that it displays on the Get Info window. I mean, I would round it if I was programming the thing.  Given this, that means that the data points can easily slide left/right on the graph a little bit.. Given that there's so much more precision in the SoundCheck field itself (ranging all the way from 0x2ca to 0x1c75, so far), then this seems somewhat more likely to me.

For starters, let's assume that the numbers are rounded to the nearest 0.1 dB. That means a 8.6 number is within 8.55 to 8.64. Now it seems like the curve you drew hits every single one of the data points, except for the anomoly at -1.1...

Looking closer at it, you might be right about the positive vs. negative info... Looking at the negatives only, it looks like a pretty good, and slightly different, curve if you assume it hits 0,0.

Edit: Just a thought, but is there any way to actually measure the sound volume using the iPod itself? Perhaps using the line output on the dock? Really, we don't have to stick to iTunes' curves and sound profiles and what have you. What we really need is to adjust the volume according to the ReplayGain data, and to do that, we really need to know the volume change that occurs due to the value in the SoundCheck field. What iTunes says the volume of the song is is irrelevant, what matters is how much the iPod changes the volume based on the data in the soundcheck field. Knowing that an iTunes volume change of -8.6dB = 1c75 is fine and dandy, if ReplayGain tels us that we need to throttle the volume down by -8.6dB, but we're then assuming that iTunes knows the iPod's sound characteristics. It'd just be nice to actually measure the blamed thing, I mean.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-03-22 20:19:38
Been using 3.1 for several days, haven't had any further corruption problems.  Thanks for moving this thing along.

A few suggestions:
1) Rather than requiring usage of iTunes to switch the iPod to drive mode, do this yourself.  Of course I have no idea how this is done.

2) Would love to see playlist building/sync, glad to know its on your radar.

3) Perhaps the iPod playlist&db should be visible only when its connected, ala iTunes?  I haven't thought thru this long...maybe having it always viewable is a nice feature.

4) Deletion... I presume you are doing this as part of "full sync"?

5) Long term: you've done a nice job here, this could perhaps become the hub of generic device sync with profiles for iPod, Creative players, etc.

6) Sort of new to it, but curious: what will Lua support enable?

-Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-22 23:36:06
Quote
Been using 3.1 for several days, haven't had any further corruption problems.  Thanks for moving this thing along.

A few suggestions:
1) Rather than requiring usage of iTunes to switch the iPod to drive mode, do this yourself.  Of course I have no idea how this is done.

Ditto!  Actually, I have never had to use iTunes to put my iPod into drive mode, so I guess I don't really understand the problem.  If anyone knows of source code to do this or more information about how iTunes works, I would appreicate a pointer to it.


Quote
2) Would love to see playlist building/sync, glad to know its on your radar.

Yeah, this should be easy (thanks to Otto42!).  I haven't used playlists much on my iPod, so this wasn't a priority until after I got read, write, and sync working.  Basically, I expect that the Foobar created iPod playlists will take the name of the Foobar playlist, and the order of songs.  So you should be able to create as many playlists as you want, and foo_pod will be able to determine if the files already exist on the iPod and transfer them, otherwise just create and populate the playlist on the iPod.


Quote
3) Perhaps the iPod playlist&db should be visible only when its connected, ala iTunes?  I haven't thought thru this long...maybe having it always viewable is a nice feature.

It will probably be an option for the foo_pod specific playlist to open/close automatically when the iPod is present.


Quote
4) Deletion... I presume you are doing this as part of "full sync"?

I actually already have full sync working, and it is sweet.  Of course, this is coming from someone that has almost no experience with iTunes, so it probably won't be a big deal to everyone else.  I'm just doing some final testing now to make sure it is reliable (no problems so far). 

In 0.3, I added the "Delete All iPod Music" feature, so it is already possible to delete files, albeit in a rather heavy handed manner.  Playlist Sync will make file transfer/deleting practically transparent to the Foobar user.


Quote
5) Long term: you've done a nice job here, this could perhaps become the hub of generic device sync with profiles for iPod, Creative players, etc.

Start up a "Buy Aero a xxx player" collection, and I'll consider it!   

I implemented this for the iPod since:
So to add support for additional players, I would want the majority of those requirements met.


Quote
6) Sort of new to it, but curious: what will Lua support enable?

Everything!  I intend that all functions of foo_pod will be customizable via Lua scripting.  A couple of examples off the top of my head:

1. You could write a script that detects when the iPod is docked, start a sync of a playlist or directory, then eject the iPod afterwards.

2. As discussed in earlier posts, you will be able to dynamically modify the metadata as it is being put into the iTunesDB file.  So if you want the album field to show up as the artist on the iPod, you could easily do that.

3. It will make it possible to easily do smart playlists.  For example, you could automatically create playlists based on genre, or any other attribute of the songs. 

Lua is really just going to make it easy for power users to do whatever they want on the iPod, just by writing simple scripts.  It will take a little bit of work to add to foo_pod, so Lua support is probably my lowest priority right now, although when it is implemented, it will really make foo_pod a unique iPod utility.


Thanks for your comments!
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-03-23 00:02:44
I'm not sure if this is what you mean, but to put the ipod into disk mode without itunes you can hold down menu + play/pause to reboot the ipod and then old down the skip forward and skip backwards keys as the ipod is reloading.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-23 00:23:40
Quote
I'm not sure if this is what you mean, but to put the ipod into disk mode without itunes you can hold down menu + play/pause to reboot the ipod and then old down the skip forward and skip backwards keys as the ipod is reloading.

I'm not sure, but Otto42 had some insight in an earlier post:
Quote
Yeah, you can force drive mode, but as you can tell, the "drive mode" thing is really on the iPod firmware side of things. It goes into drive mode automatically when you connect it to a computer, regardless of what's on the computer. Unmounting it (which is the same as right clicking its drive letter and doing "Eject") will punch it back out of drive mode. Someone with iTunes or the iPod Manager software installed will get their iPod kicked back out of drive mode nearly automatically if they don't have "Enable Disk Mode" turned on. The reason you'd want a mount command is what if someone has the thing unmounted and decides to try to sync. It'd be nice to be able to mount the thing, if it's not already mounted, and sync, and then unmount again.

If I'm not mistaken, because the iPod is simply looking like an external drive, you should be able to not have any software installed (not iTunes, not the iPod Manager, nothing) and be able to hook it up and see it as a drive letter just fine. Then ejecting it will unmount it. All these software programs do is make it more seamless, in that it'll start iTunes automagically, iTunes will sync automagically, etc, etc.

So I'm guessing that problems people have with the iPod not auto-mounting are due to using iTunes (without the disk mode option enabled) or the iPod Service switching the iPod out of disk mode.  Since I don't use either iTunes or the iPod Service, I never experience this problem, although if I understand Otto42 correctly, the solution is to just set Enable Disk Mode in iTunes.  Does anyone know of a reason why you would not want Enable Disk Mode enabled?
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-03-23 00:48:27
Intersting.

I guess I don't get this problem as I don't use itunes or ipod service either.

Is there any standard way of mounting/unmounting an external HD?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-03-23 02:18:54
Quote
Does anyone know of a reason why you would not want Enable Disk Mode enabled?

If you use iTunes for your syncing, and have Disk Mode enabled, then you have to manually eject the thing after the sync is done to be able to safely disconnect it. So I leave mine not enabled, since generally all I want to do is sync the thing. Of course, I'm not using foo_pod yet as I'm not yet fully comfortable with foobar as my music library system. Still working on it though.

But if you use foobar for all your music needs, then I see no real reason not to enable the Disk Mode.

Something that might help people experiencing the problem is to uninstall all Apple software related to the iPod. Music Match, any of the firmware upgrade stuff, the iPod Manager program that came on the iPod CD, iTunes, everything. Then reboot and try to dock the thing. I'd be a bit surprised if it didn't go directly into drive mode on, say, an XP machine without any of the Apple software on it. Then you can simply eject that drive letter to get the "OK to disconnect" screen and, hopefully, the eject functions in foo_pod will work just as well. Then you'd be golden, I think.

But if you have iTunes installed, then you will have the iPodService installed, and just leaving Disk Mode enabled in iTunes is probably a requirement.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-23 02:56:27
Quote
If you use iTunes for your syncing, and have Disk Mode enabled, then you have to manually eject the thing after the sync is done to be able to safely disconnect it. So I leave mine not enabled, since generally all I want to do is sync the thing. Of course, I'm not using foo_pod yet as I'm not yet fully comfortable with foobar as my music library system. Still working on it though.

Yeah, we need to work on you a little more to break Apple's reality distortion field and bring you over to the Foobar side!

I guess that non-disk mode is an Apple propietary transfer mode that flushes any disk caches after every write, or at least prevents any OS interaction, so it is always safe to disconnect the iPod.

Quote
But if you have iTunes installed, then you will have the iPodService installed, and just leaving Disk Mode enabled in iTunes is probably a requirement.

One option that might work is (temporarily) disabling the IPod Service.  I have also started looking through the iPodService COM interface, and there are some interesting methods available, including Mount, Unmount, and IsMounted.  So it might be possible to use the IPodService to do a lot of things that only iTunes can currently do.

Stay tuned...


Update: Good news!  I was able to access iPodService's interface, so I can now force the iPod to mount, apparently even if it isn't in disk mode (I unmounted it, got the OK to disconnect checkmark, then mounted right away without removing and redocking it). 

I will try to get something posted later on tonight so people can test mount & sync.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-23 20:39:35
Version 0.4 (http://loodi.com/foo_pod.zip) is now available.

More good stuff in the new version.  Most significantly is a iTunes-like Sync Playlist feature, which will add/remove files from the iPod so that it matches the current playlist.  Also, I was able to tap into the iPodService, so foo_pod will automatically mount the iPod if necessary (there is also a menu item for this).  There is also a context menu item that allows you to send only selected files to the iPod. 

Under the preferences, there are a few new settings - "Eject On Exit" will safely remove the iPod from the system at Foobar2000 exit.  You can also set the iPod's name, the owner's name, and control the disk mode setting.

From the Readme:

Version 0.4 - March 23, 2004
* Added full iTunes-like sync support.  This will transfer files to the iPod and delete
  files from it so that it matches the current playlist.  As this operation can involve
  deleting files, make sure your playlist is as you want your whole iPod before beginning.

* Added a context menu (right mouse button) that allows an easy way to send only the
  selected files in the current playlist to the iPod.

* Added several new preference items:
  - Eject On Exit will safely eject the iPod when Foobar2000 exits
  - iPod Name and iPod Owner's Names are just strings that you can set if you wish
  - Enable Disk Mode is the equivalent of iTunes' Enable Disk Mode option.  Unless
    you use iTunes and do not want this enabled, I recommend checking this option.

* Added a "Mount iPod" menu option. foo_pod will also try to mount the iPod before
  any iPod related activity, so you will probably only need to use this directly if
  there is a problem, and you do not have Enable Disk Mode checked.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-23 20:48:47
I just wanted to add that I would appreciate a lot of testing of sync, since it is probably the most likely source of problems.  But also let me know about any mount iPod problems (or anything else, of course).

Also, there isn't much logging in this version and sometimes there can be long delays before the progress dialog appears.  I'll fix that in the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-23 23:55:20
Thank you Aero. You rule my socks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-24 00:27:34
Quote
Thank you Aero. You rule my socks!

Thanks.  It is better than smelling them!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-03-24 00:33:44
I must say, as a person who purchased XPlay (back when HFS+ iPods were the only thing around), foo_pod rocks.  The eject/mount feature works perfectly - something Xplay hasn't been able to do in 2 years.

Technical feedback here:
WinXP Pro SP1
fb2k 0.8
foo_pod 0.4

I have a firewire CF card reader that is usually identified on my computer as the J: drive, and my iPod connected is the K: drive. 

If I attempt to manipulate the (foo_pod) playlist  (right-click, for example) and there is no card in the drive, I get an error "There is no disk in the drive. Please insert a disk into drive J:"  There are 3 buttons - Cancel, Try Again and Continue.  Choosing either "Cancel" or "Continue", I get the error a second time, and then it wil go away, and I can perform the action.  Clicking "Try again" repeatedly gives the same error message. 

If there is a card in the drive, I do not get this error.

Let me know if there is any additional feedback I can provide to solve this issue.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-24 03:10:45
Quote
I must say, as a person who purchased XPlay (back when HFS+ iPods were the only thing around), foo_pod rocks.  The eject/mount feature works perfectly - something Xplay hasn't been able to do in 2 years.

I'm glad to hear that!  Maybe I should contact Mediafour and offer to work on XPlay for them (I used to work about 2 blocks from their offices)...

Quote
I have a firewire CF card reader that is usually identified on my computer as the J: drive, and my iPod connected is the K: drive. 

If I attempt to manipulate the (foo_pod) playlist  (right-click, for example) and there is no card in the drive, I get an error "There is no disk in the drive. Please insert a disk into drive J:"  There are 3 buttons - Cancel, Try Again and Continue.  Choosing either "Cancel" or "Continue", I get the error a second time, and then it wil go away, and I can perform the action.  Clicking "Try again" repeatedly gives the same error message. 

If there is a card in the drive, I do not get this error.

The quick answer is to go to foo_pod Preferences, and select "K:" under Force iPod Drive Letter.

The longer answer is that foo_pod locates an iPod by looking for an iPod specific file on all removable drives D: through  Z:.  So it is finding your removable Compact Flash drive J: before it finds the the iPod drive K:, and thus you are getting an error.  By forcing the drive letter in the Prefs, you bypass this search and foo_pod will always use drive K:. 

I was actually just thinking about drive letters last night while playing around with the iPodService interface, since there is a method for directly retreiving the iPod drive letter without doing this search.  So I will probably add the iPodService way as the default method of locating an iPod, and only fallback on my current method if the service is not available.
Title: foo_pod - Foobar2000 meets the iPod
Post by: anathema on 2004-03-24 16:50:55
Loving the plugin, Aero. Unfortunately, the latest version crashes when I try to access the foo_pod preferences, either through the preferences menu or directly through the Components --> foo_pod menu. I'll PM you the log.

Also, I was wondering whether it was in the plans to allow the user to define custom TAGZ strings for artist/title/album.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-03-24 16:56:26
I'm also getting a crash when accessing the preferences using foobar 0.8.1 beta 2. Will PM the log.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-24 20:13:00
Quote
Loving the plugin, Aero. Unfortunately, the latest version crashes when I try to access the foo_pod preferences, either through the preferences menu or directly through the Components --> foo_pod menu. I'll PM you the log.

Thanks anathema & rufu for the logs.  If anyone else is experiencing the crash, try this test version (http://loodi.com/foo_pod_041a.zip) and see if it helps.

I added some more checks related to the iPodService, and also some debugging information written to the Foobar console.  If you are still experiencing problems, please send me the part that either gives the iPodService version, or the "iPodService is not available" message.

Quote
Also, I was wondering whether it was in the plans to allow the user to define custom TAGZ strings for artist/title/album.

I'm still in the pre-planning stages for the Lua scripting support, but it will probably be something like this: There will be callbacks from foo_pod into the Lua script for various operations, like OnSyncStart(), OnFileTransfer(), OnAddFileToDB(), etc.  What you will be able to do is add a OnAddFileToDB() function that intercepts the file as it is being added to the iPod database, and modify the metadata. 

So if you wanted to format the artist and album for all Blues genre songs, the script might look something like:
Code: [Select]
function OnAddFileToDB(file)
 if file.GetGenre() == "Blues" then
   file.SetArtist("%tracknumber% - %_filename%")
   file.SetAlbum("%comment%")
 end
end

Any valid TAGZ format strings will be supported, so there will be quite a bit of flexibility and control over what  shows up on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-03-24 21:18:31
Quote
Version 0.4 (http://loodi.com/foo_pod.zip) is now available.

More good stuff in the new version.  Most significantly is a iTunes-like Sync Playlist feature, which will add/remove files from the iPod so that it matches the current playlist.

Ok, Sync didn't work for me.  I loaded the iPod playlist into Foobar, then just as a test I immediately did a Sync.  It wiped iPod clean (not just the db, it deleted all files).

Database was enabled in Foobar.  (Are the iPod-resident files inserted there?)

I had previously set the playlist for foo_pod to "iPod".  It is still set this way.

Also, fwiw, I am running the foo_tunes UI.

-Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-25 00:37:18
Quote
Ok, Sync didn't work for me.  I loaded the iPod playlist into Foobar, then just as a test I immediately did a Sync.  It wiped iPod clean (not just the db, it deleted all files).

Database was enabled in Foobar.  (Are the iPod-resident files inserted there?)

I had previously set the playlist for foo_pod to "iPod".  It is still set this way.

Also, fwiw, I am running the foo_tunes UI.

That is sort of a bug, but also sort of "as designed".  The problem is that you attempted to sync the files that were already on the iPod, and foo_pod's transfer function is designed to avoid copying files from the iPod to the same iPod.

When you synced the iPod playlist, it looked to foo_pod as you were syncing an empty playlist, so it did the correct thing and delete all files on the iPod so that it matched the playlist. 

Granted, that is not an expected or good behavior, so I will fix this in the next version.  Thanks for the report and sorry about wiping your iPod! :/
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-03-26 20:33:22
Quote
Quote
Ok, Sync didn't work for me.  I loaded the iPod playlist into Foobar, then just as a test I immediately did a Sync.  It wiped iPod clean (not just the db, it deleted all files).

Database was enabled in Foobar.  (Are the iPod-resident files inserted there?)

I had previously set the playlist for foo_pod to "iPod".  It is still set this way.

Also, fwiw, I am running the foo_tunes UI.

That is sort of a bug, but also sort of "as designed".  The problem is that you attempted to sync the files that were already on the iPod, and foo_pod's transfer function is designed to avoid copying files from the iPod to the same iPod.

When you synced the iPod playlist, it looked to foo_pod as you were syncing an empty playlist, so it did the correct thing and delete all files on the iPod so that it matched the playlist. 

Granted, that is not an expected or good behavior, so I will fix this in the next version.  Thanks for the report and sorry about wiping your iPod! :/

Maybe just a warning dialog will suffice?
Title: foo_pod - Foobar2000 meets the iPod
Post by: NEMO7538 on 2004-03-26 21:29:13
Is the foo_pod source code available ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-26 22:21:27
Version 0.4.1 (http://loodi.com/foo_pod.zip) is now available.

This version fixes the Preferences crash reported by anathema & rufu, and improves sync so the problem experienced by reardon (syncing files from the iPod to the iPod) works correctly now.  I also changed the way foo_pod locates an iPod, so users like Lew_Zealand who have multiple removable drives probably won't have to use Force iPod Drive Letter.

Fixing the sync problem was a bigger deal than I orignally expected, but it forced me to make some good and necessary improvments that will improve it for everyone.  The next release will probably include playlist creation on the iPod as well as better progress dialogs, as well as fixes for any bugs that crop up.



From the Readme:

Version 0.4.1 - March 26, 2004
* Fixed a crash in Preferences reported by rufu and anathema.  Also fixed a related
  problem which might have caused the iPod Name and Owner's Name strings to be
  corrupted or empty.

* Changed the logic in detecting the iPod drive, so it should be more reliable now.

* Improved sync, so it is now safe to sync files even if they are located on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-26 22:25:38
Quote
Is the foo_pod source code available ?

Not currently.  foo_pod is still going through major internal revisions, so it wouldn't be very useful to release the source code yet.

But the source code for iPodDB (the real guts of foo_pod) is available at http://otto.homedns.org:8888/iTunes/iPodDB.zip (http://otto.homedns.org:8888/iTunes/iPodDB.zip) or I can provide a copy.  As I have been adding features to foo_pod, I have been making improvements to iPodDB and sending the changes back to Otto42.
Title: foo_pod - Foobar2000 meets the iPod
Post by: NEMO7538 on 2004-03-26 23:15:27
Quote
Quote
Is the foo_pod source code available ?

Not currently.  foo_pod is still going through major internal revisions, so it wouldn't be very useful to release the source code yet.

But the source code for iPodDB (the real guts of foo_pod) is available at http://otto.homedns.org:8888/iTunes/iPodDB.zip (http://otto.homedns.org:8888/iTunes/iPodDB.zip) or I can provide a copy.  As I have been adding features to foo_pod, I have been making improvements to iPodDB and sending the changes back to Otto42.


It seems the link (Otto) is broken ....
BTW will foo_pod source code be available in the future?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-26 23:31:43
Quote
It seems the link (Otto) is broken ....
BTW will foo_pod source code be available in the future?

I think Otto's URL is hosted on a DSL connected server, so it may not always be active.

I put a copy of what I have up at http://loodi.com/iPodDB.zip (http://loodi.com/iPodDB.zip).  But understand that this is an unofficial version, and may be out of date with Otto42's latest code.  iPodDB.cpp and iPodDB.h are the main files - the rest are either helpers or example code (and quite likely aren't usable - I only use iPodDB.cpp/h in foo_pod).


As for the foo_pod source code - after it stablizes, I don't see a problem releasing the source code under a BSD style license (I'm not totally sure of the status of iPodDB, but from the ReadMe, it seems to be similiar).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-03-27 01:28:45
Quote
* Changed the logic in detecting the iPod drive, so it should be more reliable now.


editing post:  It actually still gives the error.

Aero, you can either reply via this thread or PM if you need more data.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-03-31 07:08:56
I am slowly building a repro scenario for the "iPod is wiped" situation I've run into several times.

This morning doing a sync with the latest foo_pod I hit abort.  I think restarted the sync.  At the end, foo_pod thought the db was fine.  I cleared the playlist and reloaded, and everything looked good.  I used RealPlayer as well, just to sanity check.  Everything ok there as well.

But the player itself thinks everything as been wiped.  Oddly, there are two playlists on the device.  On-the-go, as expected.  And a blank pl just above On-the-go.

Maybe I could send you the db to check out?

EDIT: also should have noted that once it gets into this mode, iTunes can no longer see it.  iPodService sees it (given that some of the data I think you rely on from there is available in foo_pod, such as the "Owner Name").

-Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-03-31 13:25:22
Quote
I am slowly building a repro scenario for the "iPod is wiped" situation I've run into several times.

This morning doing a sync with the latest foo_pod I hit abort.  I think restarted the sync.  At the end, foo_pod thought the db was fine.  I cleared the playlist and reloaded, and everything looked good.  I used RealPlayer as well, just to sanity check.  Everything ok there as well.

But the player itself thinks everything as been wiped.  Oddly, there are two playlists on the device.  On-the-go, as expected.  And a blank pl just above On-the-go.

Do you think the problem is related to cancelling the sync (or have you experienced problems without cancelling)?  In theory, it should be possible to cancel at any point and resume the sync later.

I have seen the blank playlist situation as well, and it usually means that the iTunesDB file is corrupted (which is why it looks like all of your songs were wiped out)...although it could also mean that the hidden playlist that the iPod requires was not written correctly.  Actually the more I think about this, if "Load iPod Songs To The foo_pod Playlist" works, but the files don't appear on the iPod, then it is almost definitely a hidden playlist problem. 

FYI: the hidden playlist is a special playlist that contains all the songs on the iPod - without this list, even though the songs are on the iPod, the iPod 'About' indicates that there are songs, and the iTunesDB is ok, the iPod won't display any songs.

Quote
Maybe I could send you the db to check out?

Yeah, I would like to see the iTunesDB file where this is happening to see.  Please send it to foopod(at)argz.com.  Just in case you don't know, the iTunesDB files is located at iPod_Control\iTunes\iTunesDB.

Quote
EDIT: also should have noted that once it gets into this mode, iTunes can no longer see it.  iPodService sees it (given that some of the data I think you rely on from there is available in foo_pod, such as the "Owner Name").

This still sounds like a corrupt iTunesDB file, since the Owner Name is stored in the NVRAM, not the db file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-02 16:46:14
Great plugin! 
But I really hope you add a feature to create playlists on the iPod as well. That would be the greatest...

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-02 17:16:06
Quote
Great plugin! 
But I really hope you add a feature to create playlists on the iPod as well. That would be the greatest...

Solaris

Thanks!

I have already implemented iPod Playlist creation, which will be released in 0.5 as soon as I redo the progress dialogs and look into reardon's sync problem.

There are 3 new preference items related to playlists.  One just enables sending playlists to the iPod, another enables automatically creating randomized playlists, and the last allows a user-defined TAGZ format for sorting songs in the playlists. 

If you enable sending playlists (enabled by default), when you do a Send or Sync Playlist, foo_pod will also create a playlist on the iPod with the same name and file order as the Foobar playlist..  That is pretty straightforwad - if you have a playlist on Foobar named "My Songs", Send/Sync Playlist will copy the necessary files to the iPod and create a "My Songs" playlist that matches the Foobar playlist.

If you enable Randomized playlist creation, foo_pod will also automatically create a "rnd_My Songs" playlist on the iPod, containing the same list of songs as "My Songs", but in a random order.  I like this feature because I can leave the iPod's shuffle mode disabled, and just select the randomized playlist when I would normally have used shuffle.

The third mode is a user customizable TAGZ format string, which allows the user to create playlists sorted by artist, title, or any other valid TAGZ format.  For example, setting the format to "%title%", will create a "usr_My Songs" playlist with the songs sorted by title.

Finally, I added Send All/Sync All Playlists features, which automatically sends/syncs up all Foobar playlists, rather than one at a time.  It is pretty slick, and as soon as I take care of the progress and reardon's sync problem, I'll post 0.5.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-02 17:27:31
Quote
I have already implemented iPod Playlist creation, which will be released in 0.5 as soon as I redo the progress dialogs and look into reardon's sync problem. . .

I almost can`t wait to check out the new version!
The default playlist creating is just what I wanted, but I guess I will check out the others methods as well.

I guess EphPod will be leaving my computer pretty soon. 

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-02 17:59:53
Is it possible to use all of foo_pod's features without first installing iTunes (to get the IpodService)?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-02 18:07:44
Quote
Is it possible to use all of foo_pod's features without first installing iTunes (to get the IpodService)?

If you don't have the iPodService installed, you can't do the following:

* Use the Mount feature (which should be ok, since the iPod should auto mount when you connect it to the computer if the service is not installed).
* Use the iPod Name, Owner's Name, and Disk Mode preference items.

Otherwise, foo_pod doesn't require iPodService or iTunes to be installed, and never will.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-03 11:50:51
Will these features be available in the future? Will foo_pod give me an error message if I don't have IpodService installed?

By the way, I'm hoping to see foo_pod 0.5 released today, as I am leaving for 2 week vacation tomorrow, and I'd like a fresh iPod to go.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-03 20:56:07
Quote
Will these features be available in the future? Will foo_pod give me an error message if I don't have IpodService installed?

No, there won't be an error message - the features that require iPodService will simply be grayed out / unavailable. 

iPodService is also packaged with the iPod Updater utility, and while that version doesn't work with foo_pod at the moment, it might be possible to avoid having to install iTunes but still be able to utilize iPodService features. 

But the main thing to remember is that the iPodService features are just icing on the cake - the core foo_pod functionality (read, send/sync, etc.) will never require iPodService.  I only have iTunes on one of my computers, and that is just to create test iTunesDB files and test out the iPodService features in foo_pod.

Quote
By the way, I'm hoping to see foo_pod 0.5 released today, as I am leaving for 2 week vacation tomorrow, and I'd like a fresh iPod to go.

No 0.5 today, although I am getting close.  I might put a preview version online so you can enjoy your vacation with playlists!     

Everything seems to working well, other than there are currently no progress dialogs in the program at all.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-03 20:59:10
Don't worry, I'll live
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-04 01:57:23
Quote
Quote
It seems the link (Otto) is broken ....
BTW will foo_pod source code be available in the future?

I think Otto's URL is hosted on a DSL connected server, so it may not always be active.

Yep. Now it's on a cable modem and should be semi-always on for the forseeable future. Move is complete, as far as that goes.

What I'm saying is that the link is active again. Sorry about the inconvience.

However, there's still bugs in the code that I'm working on tracking down, and stuff I need to add to get the code up to date with what foo_pod has, so don't take anything as the latest version at the moment. Just be aware that if you want to develop something using the iPodDB code, that you're developing with something that's constantly under refinement. Aero's input on this has been invaluable in making something that works really well and is improving quite rapidly, or at least would be improving if I hadn't been on vacation for 10 days followed by a move to a new town and 10 more days of no internet access...

As for licensing, I don't much care what license it'll be under. BSD/GPL/something along those lines. Whatever is easiest. I know that foobar itself requires GPL or something for its plugins, methinks. I haven't looked into it deeply. Anyway, I consider the code there so that people can do whatever they want with it... just be kind enough to send me the changes you make so I can make it better and more useful. I've seen a lot of crappy code out there to work with the iPod's formats, and mostly it seemed to be quick hack type stuff, which is why it's so crappy. I just thought that a reasonably well designed piece of code to deal with the iPod's file formats would significantly improve the state of the software out there and maybe help give rise to something better. So I tried to make a clean object-oriented type library for it. Aero gave me a reason to continue working on it after I finished the initial functionality. So much of the code that I write in my free time goes nowhere, so it's pretty cool to have someone using something I wrote, sort of thing.

foo_pod is neat. Yes, I've finally tried it out.  Still gotta get the hang of foobar itself though. Don't have a good grip on it for anything beyond simple tasks yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-05 01:03:13
Just a quick note - I am pretty close to posting 0.5.  The only holdups are the progress dialogs and reardon's data loss problem (empty playlist and either no songs, or only a handful of songs).  I am experiencing the same problem as reardon, but I have been unable to narrow down the cause and the problem is fairly infrequent, so I am leaning towards releasing 0.5 with this known problem and hope that someone can find a simple test case that reproduces the bug. 

One other new feature that will interest a lot of posters is a ReplayGain -> Sound Check conversion.  I'm using Otto42's data and Mike Giacomelli's analysis (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=192903) to do the conversion.

As usual, Sound Check is completely undocumented, and as far as I know, there are no other programs that handle Sound Check besides iTunes.  But from some quick tests that I tried, it seems to be working as expected.  For example, I ReplayGain'ed two albums - Aerosmith's Honkin' On Bobo (-11.93dB...damn!) and Robert Johnson's The Complete Recordings (-4.47 dB).  Without Sound Check enabled, Bobo sounded obviously much louder at the same iPod volume.  With Sound Check enabled and my ReplayGain -> Sound Check conversion, both albums sounded to me like they were about the same apparent volume on iPod.  The conversion algorithm will only improve with more data, but I believe that it is good enough now for general testing.

Since I am fairly new to ReplayGain, I would like some feedback on how people use it.  In the conversion function, I currently search for album RG, and use that if it is available.  Otherwise I look for track RG, and if that isn't found, I disable sound check.    Is this good enough, or should I put an option in the preferences like this:

ReplayGain -> Sound Check Conversion:
(o) Disable    (*) Prefer Album Gain  (o) Prefer Track Gain

Also, would people be interested in an overall preamp volume feature in foo_pod?  It would be a slider that would boost or lower the volume for all songs, in addition to whatever Sound Check does.  I haven't tried it, but I understand that this is what EUPod does, in order to boost the volume for European volume limited iPods.


Edit:Comments are still welcomed, but I have already implemented the RG prefs and Preamp as discussed above.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ExUser on 2004-04-05 06:59:18
Quote
As for licensing, I don't much care what license it'll be under. BSD/GPL/something along those lines. Whatever is easiest. I know that foobar itself requires GPL or something for its plugins, methinks. I haven't looked into it deeply. Anyway, I consider the code there so that people can do whatever they want with it...

BSD is the "optimal" license for foobar2000 plugins and related code. It sounds most like your design motives anyhow.

BSD License (http://www.opensource.org/licenses/bsd-license.php)
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-05 07:36:21
I use ReplayGain for ALL my tracks, so beeing able to transfer them to the iPod would be great. For my sake this would be enough for me:
Quote
Search for album RG, and use that if it is available. Otherwise look for track RG, and if that isn't found, disable sound check.
An overall preamp setting would also be a nice feature. I use EUpod for that at the moment..
Please release version 0.5 soon, so we could test the new playlist feature!   

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-05 08:33:18
Quote
I use ReplayGain for ALL my tracks, so beeing able to transfer them to the iPod would be great. For my sake this would be enough for me:

I just got back from a walk, on which I had my first "real world" experience with Replay Gain/Sound Check, and all I can say is Replay Gain rulez!   

At first, I was playing around with Sound Check just to see what the difference was, and it was ok.  After awhile, I forgot that I had left Sound Check on and I was just listening to music.  By chance (shuffle on), there was a Honkin' On Bobo (-11.93dB) song followed by a Robert Johnson song (-4.47 dB).  Both were at similar, comfortable volume levels.  Then I remembered Sound Check, and nearly blew my eardrums out when I turned it off and went back to the Aerosmith song! 

So I can see why there are a lot of people who use Replay Gain, and I imagine there will be a few happy iPod/foo_pod users soon! 

Quote
An overall preamp setting would also be a nice feature. I use EUpod for that at the moment..
Please release version 0.5 soon, so we could test the new playlist feature!

I implemented it identically to iTunes (and apparently EUpod) : a -100% to 100% slider.  I have no idea what those values translate to in decibels, but it is there.


I have posted a 0.5 preview version (http://loodi.com/foo_pod_0.5_preview.zip) so people can play around with playlists, Replay Gain, and the Preamp features.  Preamp is completely untested, there are no progress dialogs, and foo_pod is nearly as likely to wipe your iPod as it is to do anything useful.

Let me know if you have any problems with blank playlists and other data loss problems, but for the preview version, unless you can reliably reproduce the steps and recreate the problem, you should just wipe the iPod (use the Delete All Songs And Playlists feature) and reload it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-05 11:52:03
Aero, thanks a lot for the preview version! 
I`m at work now, but will definately give it real test as soon as I get home. I will report back later on.

But, can I request one feature to be added?
I would really like a "Send/Sync all selected Playlists to iPod", in addition to the current choices.
In the foo_pod preferences set which playlist to sync (ex. General, Favorites, Rock), then use the menu to Send/Sync these playlists to iPod.

The reason are that I have 6 playlists in foobar2000, but only 4 or them have files compatible with the iPod. The others are FLAC files and radio streams...

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-05 14:18:27
Quote
But, can I request one feature to be added?
I would really like a "Send/Sync all selected Playlists to iPod", in addition to the current choices.

Send/Sync All is already in there!    New in 0.5.

Quote
In the foo_pod preferences set which playlist to sync (ex. General, Favorites, Rock), then use the menu to Send/Sync these playlists to iPod.

The reason are that I have 6 playlists in foobar2000, but only 4 or them have files compatible with the iPod. The others are FLAC files and radio streams...

That's not a bad idea, but foo_pod will only transfer audio files that the iPod can play (.mp3, .mp4/.m4p, WAV*), so you can  sync your other playlists without harm.  Maybe it will create a blank playlist...I don't think I have tested that, but I know it won't transfer unsupported formats.  I'm not sure about the streams, though.  I might have to add a check that only local files are transferrerd.

I was also thinking of adding an exclusion playlist option, so you could populate a playlist of songs that you do *not* want transferred to the iPod.  Prefs are getting pretty crowded...


* AIFF is also supported by the iPod, but Foobar doesn't report AIFF files as such, so foo_pod sees them as an unknown codec and doesn't send them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-05 15:48:00
Aero, I have some good news and some bad news! 

* The good news is that the new playlist creation and ReplayGain functions seems to work as they should.
At least when I use "Send/Sync current playlist to iPod". Great!

* The bad news is that when I use the "Send all playlists to iPod" foobar2000 hangs up totally (Not responding, have to kill it trough Task Manager). As you said it does not transfer unsupported files, but it tries to transfer my radio stream playlist files..
Quote
INFO (Foo_Pod) : iPodService is not available
INFO (CORE) : startup time: 320 ms
ERROR (Foo_Pod) : Error #2 copying 205.188.234.65:8022/ to h:
ERROR (Foo_Pod) : Error #2 copying 205.188.234.65:8020/ to h:
ERROR (Foo_Pod) : Error #2 copying 205.188.234.68:8006/ to h:
ERROR (Foo_Pod) : Error #2 copying 205.188.234.4:8028/ to h:
ERROR (Foo_Pod) : Error #2 copying 205.188.234.161:8030/ to h:
ERROR (Foo_Pod) : Error #2 copying 205.188.234.65:8018/ to h:
ERROR (Foo_Pod) : Error #2 copying 193.201.220.87:8000/ to h:
ERROR (Foo_Pod) : Error #2 copying 194.140.112.114:8000/ to h:
ERROR (Foo_Pod) : Error #2 copying 212.23.3.22:8000/ to h:
ERROR (Foo_Pod) : Error #2 copying 213.161.200.21:8100/ to h:
ERROR (Foo_Pod) : Error #2 copying 213.73.255.244:8000/ to h:
ERROR (Foo_Pod) : Error #123 copying 64.236.34.97:5190/stream/1065 to h:\iPod_Control\Music\F17\1065
ERROR (Foo_Pod) : Error #123 copying 64.236.34.97:80/stream/1065 to h:\iPod_Control\Music\F15\1065
INFO (Foo_Pod) : 0 files copied (0.00 MB) to the iPod in 0.40 seconds (0.00 MB/s)
It creates an empty playlist on my iPod, but thats all...
The sollution to create a playlist exclusion list is maybe the way to go?
If you find space for it in the preferences window! 

I really appreciate what you done with this component so far!


Edit:
I tried with a playlist with 1 FLAC file and it copied it and created the playlist, but obviously iPod crashed when I tried to play it.
Quote
INFO (Foo_Pod) : iPodService is not available
INFO (CORE) : startup time: 461 ms
INFO (Foo_Pod) : 1 file copied (22.79 MB) to the iPod in 2.51 seconds (9.07 MB/s)


Edit #2:
I just experienced foobar2000 crashes when copying files to an empty iPod!
Maybe you can reproduce this: First "Delete all iPod music and Playlists", then copy a file or playlist to the iPod. foo_pod warn you with 'Unable to read the iTunes DB file....' , click Yes, iPod hd spins up and foobar2000 exits instantly.

More info: If I use foo_pod 0.4.1 to add one (1) file to the iPod, then switch to 0.5 the same happends. But when I add 36 tracks/1 playlist with 0.4.1, then switch to 0.5 no more crashes.  Strange thing! 

Crash reproduced 3 times.
I can post the long crash log if needed!

Using Windows XP Pro and foobar2000 0.8.

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-04-05 17:54:29
I'm having problems with the 0.5 preview.  I used the "Delete All iPod Music and Playlists" then tried Sync All Playlists, and got this error message "Unable to read iTunesDB file.  If you have a new or freshly formatted iPod, this is not an error. Do you want to continue?".  I clicked Yes and which point foobar promptly crashed.  I then tried formatting my iPod using the iPod firmware updater, tried again and it still crashed.  I've tried using any of the transfer ablities of foo_pod and this happens for all of them.  Here's one of the error logs:

Quote
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0141712Fh
Access violation, operation: read, address: 00000000h
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/22| Sync Current Playlist"
This is the first crash logged by this instance.
Code bytes (0141712Fh):
014170EFh:  50 57 E8 5A E3 FF FF 8B F0 33 C0 89 45 EC 89 45
014170FFh:  F0 89 45 F4 89 45 F8 8D 44 36 02 83 C4 08 3D 00
0141710Fh:  10 00 00 77 0F 83 C0 03 24 FC E8 B2 71 00 00 89
0141711Fh:  65 10 EB 0C 50 8D 4D EC E8 B4 07 00 00 89 45 10
0141712Fh:  8A 07 8B DE 8B 75 10 C7 45 08 00 00 00 00 84 C0
0141713Fh:  74 75 85 DB 74 71 8D 4D FC 53 51 57 E8 60 FA FF
0141714Fh:  FF 83 C4 0C 85 C0 74 5F 3B C3 77 5B 03 F8 2B D8
0141715Fh:  8B 45 FC 85 C0 76 50 3D 00 00 10 00 73 49 3D 00
Stack (0012E044h):
0012E024h:  00BBD274 43000000 00000000 00000000
0012E034h:  00BBD5E8 77CD3E16 77CD3E1F 0000E4DA
0012E044h:  0141711E 02B123D8 77C2C1BB 02B56780
0012E054h:  00000000 00000000 00000000 00000000
0012E064h:  0012E074 00000000 0140274A 00000000
0012E074h:  02B123D8 0012E044 00000001 00000000
0012E084h:  FFFFFFFF 02B56780 0151CA90 00000000
0012E094h:  0012ED3C 4066E544 0000AC44 00000000
0012E0A4h:  0041D4DB 02B123D8 00000000 014202CC
0012E0B4h:  02B565C0 0000009C 0000009C 00000000
0012E0C4h:  0000008B 534D743E 01C3D82D 73AC1E32
0012E0D4h:  01C414D3 014202CC 02B568C0 0000009C
0012E0E4h:  0000009C 00000000 00000084 014202CC
0012E0F4h:  00000000 00000000 00000000 00000000
0012E104h:  00000000 014202CC 02B1A420 00000035
0012E114h:  00000035 00000000 00000024 014202CC
0012E124h:  00000000 00000000 00000000 00000000
0012E134h:  00000000 0012EC94 0141E5C3 00000020
0012E144h:  01404904 0151CA90 02B56780 0012ED3C
0012E154h:  00000000 01FCCD4C 00000001 66000000
Registers:
EAX: 0141711E, EBX: 02B56780, ECX: 00000000, EDX: 5DA70069
ESI: 00000000, EDI: 00000000, EBP: 0012E068, ESP: 0012E044
Crash location: "foo_pod", loaded at 01400000h - 01438000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00451000h
ntdll                            loaded at 77CC0000h - 77D75000h
kernel32                         loaded at 77E60000h - 77F50000h
USER32                           loaded at 77D80000h - 77E11000h
GDI32                            loaded at 773E0000h - 77425000h
ole32                            loaded at 774D0000h - 7760D000h
msvcrt                           loaded at 77C10000h - 77C68000h
ADVAPI32                         loaded at 77F50000h - 77FEB000h
RPCRT4                           loaded at 77340000h - 773D1000h
COMCTL32                         loaded at 4D6C0000h - 4D7AC000h
SHLWAPI                          loaded at 772D0000h - 7731E000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F9000h
SHELL32                          loaded at 7C800000h - 7D010000h
foo_abx                          loaded at 008D0000h - 008DC000h
foo_ac3                          loaded at 008E0000h - 008F1000h
foo_albumlist                    loaded at 00900000h - 0090A000h
foo_ape                          loaded at 00910000h - 00935000h
foo_apl                          loaded at 00940000h - 0094A000h
foo_bitcompare                   loaded at 00950000h - 00958000h
foo_burninate                    loaded at 00960000h - 0096C000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_cdda                         loaded at 00970000h - 0097E000h
foo_clienc                       loaded at 00980000h - 0098B000h
foo_console                      loaded at 00990000h - 00997000h
foo_convolve                     loaded at 009A0000h - 009EF000h
foo_dbsearch                     loaded at 009F0000h - 00A06000h
foo_diskwriter                   loaded at 00A10000h - 00A22000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_dsp_crossfade                loaded at 00AB0000h - 00AB7000h
foo_dsp_crossfeed                loaded at 00AC0000h - 00AC6000h
foo_dsp_extra                    loaded at 00AD0000h - 00AE5000h
foo_dsp_nogaps                   loaded at 00AF0000h - 00AF7000h
foo_dsp_pause                    loaded at 00B00000h - 00B07000h
foo_dsp_skip_silence             loaded at 00B10000h - 00B17000h
foo_dsp_soundtouch               loaded at 00B20000h - 00B2B000h
MSVCP60                          loaded at 76080000h - 760E6000h
foo_dynamics                     loaded at 00B30000h - 00B37000h
foo_faac                         loaded at 00B40000h - 00B73000h
foo_festalon                     loaded at 00B80000h - 00CBF000h
foo_flac                         loaded at 00CC0000h - 00CD6000h
foo_flaccer                      loaded at 00CE0000h - 00CF6000h
foo_freedb                       loaded at 00D00000h - 00D2E000h
WS2_32                           loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_history                      loaded at 00D30000h - 00D3E000h
foo_id3v2                        loaded at 00D40000h - 00D6E000h
foo_input_std                    loaded at 00D70000h - 00E0F000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
foo_lame                         loaded at 00E10000h - 00E19000h
foo_looks                        loaded at 00E20000h - 00E8D000h
gdiplus                          loaded at 4D120000h - 4D2C3000h
foo_lpac                         loaded at 00EA0000h - 00EA7000h
lpac_codec_api                   loaded at 00EB0000h - 00EBA000h
lpaccodec                        loaded at 00EC0000h - 00EE9000h
foo_masstag                      loaded at 01110000h - 01120000h
foo_matroska                     loaded at 01120000h - 0115F000h
foo_mod                          loaded at 01160000h - 01169000h
BASS                             loaded at 01170000h - 011CA000h
foo_monkey                       loaded at 011D0000h - 011EE000h
foo_mpcenc                       loaded at 011F0000h - 011F8000h
foo_mpeg4u                       loaded at 01200000h - 01229000h
foo_nero                         loaded at 01230000h - 01240000h
MFC42                            loaded at 73DD0000h - 73ECD000h
foo_nez                          loaded at 01240000h - 0126C000h
foo_null                         loaded at 01270000h - 01277000h
foo_ofr                          loaded at 01280000h - 012AE000h
foo_oggpreview                   loaded at 012C0000h - 013BD000h
foo_output_std                   loaded at 013C0000h - 013C9000h
foo_out_dsound_ex                loaded at 013D0000h - 013D9000h
DSOUND                           loaded at 73F10000h - 73F6A000h
foo_out_ks                       loaded at 013F0000h - 013FB000h
SETUPAPI                         loaded at 779A0000h - 77A96000h
foo_pod                          loaded at 01400000h - 01438000h
OLEAUT32                         loaded at 77120000h - 771AC000h
MSVCIRT                          loaded at 01440000h - 01451000h
foo_psf                          loaded at 01560000h - 0160B000h
foo_quicktag                     loaded at 01610000h - 01619000h
foo_read_http                    loaded at 01620000h - 01629000h
foo_rgscan                       loaded at 01630000h - 0163B000h
foo_scheduler                    loaded at 01640000h - 01652000h
foo_search_ex                    loaded at 01660000h - 01668000h
foo_shn                          loaded at 01670000h - 0167E000h
foo_shuffle                      loaded at 01680000h - 0168E000h
foo_sid                          loaded at 01690000h - 016D7000h
foo_spc                          loaded at 016E0000h - 016EF000h
foo_speex                        loaded at 016F0000h - 01708000h
foo_stfu                         loaded at 01710000h - 01717000h
foo_tfmx                         loaded at 01720000h - 01729000h
foo_toolame                      loaded at 01730000h - 01743000h
foo_ui_columns                   loaded at 01750000h - 01772000h
foo_ui_std                       loaded at 01780000h - 01797000h
foo_unpack                       loaded at 017A0000h - 017D1000h
foo_vis_manager                  loaded at 017E0000h - 017E8000h
foo_vis_simple_spectrum          loaded at 017F0000h - 017FA000h
foo_vis_vu_meter                 loaded at 01800000h - 01808000h
foo_vorbisenc                    loaded at 01810000h - 0190A000h
foo_wavpack                      loaded at 01910000h - 0191B000h
foo_wma                          loaded at 01920000h - 01939000h
WMVCore                          loaded at 01940000h - 01B49000h
wmidx                            loaded at 4DF90000h - 4DFB9000h
WMASF                            loaded at 59A10000h - 59A4B000h
msdmo                            loaded at 736B0000h - 736B7000h
WININET                          loaded at 771B0000h - 77252000h
CRYPT32                          loaded at 77B00000h - 77B95000h
MSASN1                           loaded at 77BA0000h - 77BB1000h
urlmon                           loaded at 769C0000h - 76A50000h
MPR                              loaded at 71B20000h - 71B32000h
MSVFW32                          loaded at 755B0000h - 755D1000h
WSOCK32                          loaded at 71AD0000h - 71AD9000h
DRMClien                         loaded at 01B50000h - 01B9F000h
foo_xa                           loaded at 01BB0000h - 01BC1000h
uxtheme                          loaded at 5AD70000h - 5ADA7000h
MSCTF                            loaded at 74720000h - 7476B000h
Powrprof                         loaded at 74AD0000h - 74AD7000h
CLBCATQ                          loaded at 77610000h - 776BF000h
COMRes                           loaded at 77050000h - 77115000h
msi                              loaded at 74810000h - 74A72000h
USERENV                          loaded at 76620000h - 766D2000h
xpsp2res                         loaded at 03220000h - 034AF000h
SXS                              loaded at 75E90000h - 75F3F000h
mslbui                           loaded at 605D0000h - 605D9000h
imagehlp                         loaded at 76C90000h - 76CB8000h
DBGHELP                          loaded at 5D090000h - 5D131000h

Stack dump analysis:
Address: 0141711Eh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 77C2C1BBh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+00000000h)
Address: 0140274Ah, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 0041D4DBh, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 0141E5C3h, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 01404904h, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 77CD1C91h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlFreeHeap" (+00000100h)
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 019FF0E5h, location: "WMVCore", loaded at 01940000h - 01B49000h
Symbol: "WMCreateProfileManager" (+0001862Fh)
Address: 014207A0h, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 77CCE9FEh, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "NtOpenFile" (+00000000h)
Address: 77CD0DB6h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlNtStatusToDosError" (+0000002Fh)
Address: 77CD0DBBh, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlNtStatusToDosError" (+00000034h)
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 77CCF819h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "ZwQueryPortInformationProcess" (+00000068h)
Address: 014202CCh, location: "foo_pod", loaded at 01400000h - 01438000h
Address: 77E77195h, location: "kernel32", loaded at 77E60000h - 77F50000h
Symbol: "FindFirstFileExW" (+00000345h)
Address: 77CD27C6h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlAllocateHeap" (+00000386h)
Address: 77CD281Ah, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlAllocateHeap" (+000003DAh)
Address: 77CD2557h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 77DB24D2h, location: "USER32", loaded at 77D80000h - 77E11000h
Symbol: "GetClipboardOwner" (+000000F1h)
Address: 77D8AC58h, location: "USER32", loaded at 77D80000h - 77E11000h
Symbol: "IsWindowVisible" (+00000033h)
Address: 77D8AC53h, location: "USER32", loaded at 77D80000h - 77E11000h
Symbol: "IsWindowVisible" (+0000002Eh)
Address: 5AD74F4Bh, location: "uxtheme", loaded at 5AD70000h - 5ADA7000h
Symbol: "DrawThemeBackgroundEx" (+0000114Ch)
Address: 0175C662h, location: "foo_ui_columns", loaded at 01750000h - 01772000h
Address: 01766563h, location: "foo_ui_columns", loaded at 01750000h - 01772000h
Address: 77D8857Ah, location: "USER32", loaded at 77D80000h - 77E11000h
Address: 0175C662h, location: "foo_ui_columns", loaded at 01750000h - 01772000h
Address: 77D88896h, location: "USER32", loaded at 77D80000h - 77E11000h
Symbol: "GetWindowLongW" (+000000CCh)
Address: 77CD2100h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlFreeHeap" (+0000056Fh)
Address: 77CD1C91h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlFreeHeap" (+00000100h)
Address: 77CD1CA9h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "RtlFreeHeap" (+00000118h)
Address: 77DB24D2h, location: "USER32", loaded at 77D80000h - 77E11000h
Symbol: "GetClipboardOwner" (+000000F1h)
Address: 77CCF819h, location: "ntdll", loaded at 77CC0000h - 77D75000h
Symbol: "ZwQueryPortInformationProcess" (+00000068h)

Version info:
foobar2000 v0.8.1 beta 3
UNICODE


Replay gain should be good once I get to listen to it    Being able to choose which playlist to sync with the iPod would be good.  Finially, once all that is working, may be you can start thinking about Smart Playlists, though I get the feeling that they could be difficult to implement.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-04-05 22:16:22
Feature Request:

Is there any way for you to make meta-variables available, such as sync-state, for text formatting?  I am just thinking of how to easily recreate the sync-state stuff from iTunes.  Something like %__ipod_resident%?

+Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-04-05 23:41:10
Quote
Just a quick note - I am pretty close to posting 0.5.  The only holdups are the progress dialogs and reardon's data loss problem (empty playlist and either no songs, or only a handful of songs).  I am experiencing the same problem as reardon, but I have been unable to narrow down the cause and the problem is fairly infrequent, so I am leaning towards releasing 0.5 with this known problem and hope that someone can find a simple test case that reproduces the bug. 

One other new feature that will interest a lot of posters is a ReplayGain -> Sound Check conversion.  I'm using Otto42's data and Mike Giacomelli's analysis (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=192903) to do the conversion.

As usual, Sound Check is completely undocumented, and as far as I know, there are no other programs that handle Sound Check besides iTunes.  But from some quick tests that I tried, it seems to be working as expected.  For example, I ReplayGain'ed two albums - Aerosmith's Honkin' On Bobo (-11.93dB...damn!) and Robert Johnson's The Complete Recordings (-4.47 dB).  Without Sound Check enabled, Bobo sounded obviously much louder at the same iPod volume.  With Sound Check enabled and my ReplayGain -> Sound Check conversion, both albums sounded to me like they were about the same apparent volume on iPod.  The conversion algorithm will only improve with more data, but I believe that it is good enough now for general testing.

Since I am fairly new to ReplayGain, I would like some feedback on how people use it.  In the conversion function, I currently search for album RG, and use that if it is available.  Otherwise I look for track RG, and if that isn't found, I disable sound check.    Is this good enough, or should I put an option in the preferences like this:

ReplayGain -> Sound Check Conversion:
(o) Disable    (*) Prefer Album Gain   (o) Prefer Track Gain

Also, would people be interested in an overall preamp volume feature in foo_pod?  It would be a slider that would boost or lower the volume for all songs, in addition to whatever Sound Check does.  I haven't tried it, but I understand that this is what EUPod does, in order to boost the volume for European volume limited iPods.


Edit:Comments are still welcomed, but I have already implemented the RG prefs and Preamp as discussed above.

Outstanding!  I've wanted someone to do this for ages, and been bitching about it for nearly as long

Send me whatever numbers you got, I'll throw them into excel and see if anything looks about right.  No promises though.

Also, any chance you could make a "write sound check values to text option" in your componet?  That way anyone could create values.  I have no idea how much effort that would involve, but it would be sort of cool.

Edit:  playing with the plugin now.  Is there anyway at all to see the souncheck values written by the plugin?

Edit2:  Using .5 I get a 1kb database file no matter what when i sync my playlist.  Any reason why?  All the files are on my Ipod and show up when i load the playlist into foobar off my Ipod.

I'll try .4.

Edit3:  Ah I see the problem is the ipod earased all its files.  Good thing I saved them all to disk before playing with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-04-06 00:39:44
Heres some feedback for you:

www.u.arizona.edu/~mikeg/failure_00000003.txt
www.u.arizona.edu/~mikeg/failure_00000004.txt

Crashes every time with .5 when I try and sync my whole collection (several thousand AACs).  Smaller syncs seem to work pretty well though.  At least i can duplicate it.

Heres the playlist I tried to sync:

www.u.arizona.edu/~mikeg/ipod.fpl

Edit:  .4 seems to work fine.  Any reason I don't get the cool sync screen with .5? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-06 04:08:18
I have posted a new 0.5 preview version (http://loodi.com/foo_pod_0.5_previewredux2.zip)  (0.5 preview redux).
Edit:Redux had a problem with Sound Check, so I updated the link to the latest version, Redux ^ 2... 

It fixes the crash that solaris, rufu, and Mike Giacomelli reported.  The cause was a typo in my replay gain code which caused a null pointer to be dereferenced.  The kicker is that it only was triggered if you tried to send/sync a song that didn't have replay album gain - and I just got done doing album gain on all of my songs, so I didn't see it.  Thanks to everyone who reported it!

I also fixed solaris' problem with syncing streaming audio URLs (foo_pod only handles local files now, so it should be safe to sync any playlist item).  I also (re)fixed the codec detection code, so foo_pod really will only transfer MP3, AAC, and WAV files now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-06 04:15:52
Quote
Is there any way for you to make meta-variables available, such as sync-state, for text formatting?  I am just thinking of how to easily recreate the sync-state stuff from iTunes.  Something like %__ipod_resident%?

You mean write the "__ipod_resident" metadata out to the files as they are copied to the iPod?  Yeah, I can add that, but I can see how it would out of date if you copied the files from the iPod back to the computer.  This would be a good use of Lua scripting.

BTW, what is the iTunes sync-state feature?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-06 04:31:46
Quote
Also, any chance you could make a "write sound check values to text option" in your componet?  That way anyone could create values.  I have no idea how much effort that would involve, but it would be sort of cool.

Yeah, I can do that.  I was planning to do something similar (output the filename, and replay gain and sound check values in a comma delimited format) just for testing and refining the sound check algorithm.

But it is esoteric enough that I don't think it will go into a regular version of foo_pod.  I'll probably just comment it out of the regular build and supply a special version for whomever wants it.

Quote
Edit:  playing with the plugin now.  Is there anyway at all to see the souncheck values written by the plugin?

Not yet (see above).

Quote
Edit2:  Using .5 I get a 1kb database file no matter what when i sync my playlist.  Any reason why?  All the files are on my Ipod and show up when i load the playlist into foobar off my Ipod.

I'll try .4.

Edit3:  Ah I see the problem is the ipod earased all its files.  Good thing I saved them all to disk before playing with it.

Did you do a sync on a small-ish playlist?  The thing with sync is that it changes the iPod to match the playlist(s), so if you have 40GB of music on your iPod and 1 song in a Foobar playlist then do a sync, foo_pod will delete all of the music and transfer the 1 song. 

One way to avoid this is to always have the iPod (foo_pod) playlist (created by "Load iPod To ..." feature in foo_pod) open.  foo_pod sees the files already on the iPod, and is smart enough to not transfer from the iPod to the iPod, but it also won't delete the files since they are part of the sync.

Basically, sync is fairly dangerous since it is easy to end up with less than you expected.  But it is also the easiest way to avoid having old files build up on your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-06 07:10:32
Quote
Edit:  .4 seems to work fine.  Any reason I don't get the cool sync screen with .5? 

Those are the progress dialogs that I keep complaining about.  I didn't really like how there were internally implemented in 0.4, and in the process of fixing them, I made them worse. 

But I'm glad someone appreciates my amateur animation skillz!


Edit: I forgot to mention this earlier, but I did some analysis of iTunes' Sound Check creation vs. what I am doing in foo_pod.  The results were encouraging - using the current algorithm, the difference between iTunes and foo_pod was less than 10% for the most common range of gains (meaning that what foo_pod is doing is basically correct and gives about the right volumes).  For very quiet songs (+3dB and greater), the difference was from up to 28%, so Mike G and I are currently working with some better data to improve that.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-06 07:35:47
Bugs fixed! 
foo_pod now says "Unsupported file:" for all my radio strams and FLAC files. Then continues on with the supported files (AAC and MP3).
It creates empty playlists for the unsupported filetypes though, but that does not bother me much.
The crash problem with copying files to an empty iPod is gone as well!

Great work Aero!

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-06 08:17:57
Quote
Bugs fixed! 
foo_pod now says "Unsupported file:" for all my radio strams and FLAC files. Then continues on with the supported files (AAC and MP3).
It creates empty playlists for the unsupported filetypes though, but that does not bother me much.
The crash problem with copying files to an empty iPod is gone as well!

Great work Aero!

Hold off on those acolades for a little bit...I just realized that Sound Check is broken in Preview Redux... 

I was also going to fix your empty playlist problem, but forgot.  I fixed it in Redux ^ 2, though.

So if you were one of the handful of people that downloaded Redux, please delete it and download Preview Redux ^ 2 (http://loodi.com/foo_pod_0.5_previewredux2.zip) instead.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-06 08:44:13
I just downloaded and tested 0.5 Preview Redux ^ 2.
Sound Check seem to be back now, at least I heard a difference in sound volume when turning the iPod`s Sound Check On/Off! 

It no longer created an empty playlist for my unsupported FLAC files, but it created an empty playlist for my radio streams.
So it seems like you partially fixed it. 

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-06 11:42:41
Just got an idea for a feature!

You know how many people complain about how the iPod uses tags to organize music, as opposed to directory structure? Well, knowing the iPod's playlists-within-playlists format, it should be trivial to emulate such a feature, right?

For every directory, make a playlist. For every directory in each directory, make another playlist in the appropriate playlist. Then put files in them, and so on. Would be cool.

Also, I'm looking forward to improved progress dialogs (I don't care much for the current animations - I prefer foobar2000's other very minimalist progress dialogs  ) and to custom TagZ formatted titles - Need tracknumbers here baby.

Woot!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-06 15:31:12
Quote
You know how many people complain about how the iPod uses tags to organize music, as opposed to directory structure? Well, knowing the iPod's playlists-within-playlists format, it should be trivial to emulate such a feature, right?

For every directory, make a playlist. For every directory in each directory, make another playlist in the appropriate playlist. Then put files in them, and so on. Would be cool.

That is a good idea and it would be nice, but I don't think it is technical possible.  For one, I don't believe that you can do playlists within playlists.  Someone correct me if I'm wrong, but from my understanding of the iTunesDB format, there is no way for a playlist to contain anything except for songs.

What I believe you could do is use one of the Main Menu Browse items (such as Composer), to fake a directory tree structure.

For example, if you had the following structure, you could get it to show up on the iPod by using the Composer field, shown in parenthesis:
Code: [Select]
c:
  \mp3  (c)
    song1.mp3     (mp3)
    song2.mp3     (mp3)
     \album1          (mp3)
       song3.mp3  (album1)
       song4.mp3  (album1)
     \album2          (mp3)
       song5.mp3  (album2)


Which should appear on the iPod as:
Code: [Select]
mp3
  ----->
            song1
            song2
            album1/   (slash added to make it clear that it is a dir)
            album2/

Hmm...I'm just making this up as I type, but it is crazy enough that it just might work!  I'll look into implementing it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-04-06 23:54:32
Here the Updated Ipod SC info:



Heres the data if anyone else is interested (hopefully Areo doesn't mind):

http://www.u.arizona.edu/~mikeg/RG vs. iTunes dB.xls (http://www.u.arizona.edu/~mikeg/RG%20vs.%20iTunes%20dB.xls)
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-04-06 23:55:56
Quote
You mean write the "__ipod_resident" metadata out to the files as they are copied to the iPod?  Yeah, I can add that, but I can see how it would out of date if you copied the files from the iPod back to the computer.  This would be a good use of Lua scripting.

BTW, what is the iTunes sync-state feature?

No, I meant can it be written or somehow held by foobar itself (I don't understand the interaction between foobar, ui_columns, and the foobar db).  Its not useful inside the files.

iTunes has the nice little progress graphics when syncing.  Rather than throwing up a modal dialog, it just grays out items in the playlist until they are synced.

+Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-04-07 00:30:50
Quote
Quote

You mean write the "__ipod_resident" metadata out to the files as they are copied to the iPod?  Yeah, I can add that, but I can see how it would out of date if you copied the files from the iPod back to the computer.  This would be a good use of Lua scripting.

BTW, what is the iTunes sync-state feature?

No, I meant can it be written or somehow held by foobar itself (I don't understand the interaction between foobar, ui_columns, and the foobar db).  Its not useful inside the files.

iTunes has the nice little progress graphics when syncing.  Rather than throwing up a modal dialog, it just grays out items in the playlist until they are synced.

+Reardon

May be if foo_pod wrote a "synced to ipod" tag, people could then create UIs whiched shows this graphically, the same way people display whether or not a file has replay gain info.  The only problem would be how to make sure this info is accurate, for example if you didn't sync a song the next time how would you go back and change the tag?  The way this is done in iTunes is that when the iPod is connected a new playlist is created showing the current content of the iPod then any new files added to the library since the last sync are added to this playlist and greyed out as they are transferred over.  That is unless you tell it not to sync certain songs, so instead of a "synced to ipod" tag it would be a "don't sync" tag.

The method I've thought up to emulate a similar behavour in foobar would be to have foo_pod automatically create a playlist of current songs on the iPod, and then sync this with a pre-defined "library" playlist in foobar (or could you use the foobar database?).  The only question is how do you handle displaying what playlists are present on the iPod?

Do you have it automatically create all the playlists present on the iPod in foobar?  What if these playlists contain songs not present on the PC?

Do you have all the playlists in foobar transferred to the iPod?  If not, how do you choose which ones are and how do you display this in foobar?  (The best way I can think of doing this would be to give all those syncing with the iPod little iPod icons in their tabs)

Also how are smart playlists and on-the-go playlists going to be handled?  I get the feeling smart playlists could be a real problem, but it is one of the features I really like 

I'm guessing that this is going to be the hard part.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-07 01:57:52
Quote
y=1002*e^(-.2303x)

Good fit. However, whenever you see a 2303 in an exponential function like that, you're probably using e when you should be using 10. ln 10 = 2.303, sort of thing. That's one of those bits in math class that stuck with me.

I'm betting this is the function they're actually using for the conversion:
y=1000 * 10 ^ (-.1x)


Edit: Hot damn! Thought about it a bit, and starting looking up power formulas. And BINGO! We have a winner!

milliWatts = 10 ^ ( dBm / 10 )
milliWatts * 1000 = Watts.

So, the answer I was looking for, at last: The value in the Sound Check field is expressed in Watts. The dB value that iTunes displays is expressed in dBm, which is decibels relative to 1 milliWatt of power. It's negated, but there it is.

On reflection, this makes sense. It's probably using the Watts value in the SoundCheck field to adjust the output power at the preamp stage, sort of thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-07 02:18:30
Quote
Also how are smart playlists and on-the-go playlists going to be handled?  I get the feeling smart playlists could be a real problem, but it is one of the features I really like  

I'm guessing that this is going to be the hard part.

I don't think foobar has any way to define anything similar to a "smart playlist" as of yet, no? I've worked out a great deal of the smart playlist structure in the iTunesDB (although bits and pieces of it still elude me), and feel fairly confident in being able to make simple smart playlists for the iPod. None of the code is in iPodDB yet, but it's not too difficult.

But only 3rd gen iPods and up (any iPod running 2.0 or up code) actually use the smart playlist tags in the iTunesDB, from what I can tell.. They rebuild the smart playlist themselves from the data they are given. They do it in semi-real time too, meaning that if you have a list based on, say, last played time, then when you play a song on the iPod, it goes away from that playlist, after you exit that smart playlist and come back to it. Without syncing to iTunes. Essentially, the iPod rebuilds the smart playlist from its data at the time that you tell it to play that playlist.

1st and 2nd gens only change the smart playlist on a sync with iTunes, and then all that's really happening is that iTunes puts the proper songs in the playlist, according to the rules of the smart playlist. In other words, it's only smart on one end, not smart on both ends.

Making one end smart (foobar) requires changes to foobar only. Making both ends smart requires more significant changes, but not that much harder. The key for doing both ends is to make the smart playlist support in foobar compatible with the iPod's smart playlist fields from the beginning, which probably eliminates using some form of advanced scripting, which would be difficult to convert to a form that will fit in iTunesDB's smart playlist fields.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-07 07:50:40
Quote
I'm betting this is the function they're actually using for the conversion:
y=1000 * 10 ^ (-.1x)

I think you're right - that is almost definitely the equation that describes the relationship between iTunes Sound Check dB value (x) and the Sound Check value (y), as written to the iTunesDB file.

Here is a question for anyone - is it better to emulate the Sound Check values that iTunes writes for a given song, or just use one of the functions to convert Replay Gain's value?

The problem is that while Replay Gain and iTunes generally calculate about the same gain for a song, sometimes they are slightly different and that difference is magnified by the exponent resulting in Sound Check values that are up to 20%-30% different.

I was originally trying to find an algorithm or algorithms that mapped what Replay Gain calculates to match that iTunes' value.  But now that there is some understanding of the basis behind how Sound Check is really calculated and used, I'm thinking that it is best just to use the straight RG values and trust that it does a better job than iTunes.

Not that any of this really matters...the difference is small enough for most gain values that I doubt anyone could tell the difference.  The current algorithm seems to work great, at least in my experience, all of the songs sound identically loud with SoundCheck enabled.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-07 08:21:00
Quote
May be if foo_pod wrote a "synced to ipod" tag, people could then create UIs whiched shows this graphically, the same way people display whether or not a file has replay gain info.  The only problem would be how to make sure this info is accurate, for example if you didn't sync a song the next time how would you go back and change the tag?  The way this is done in iTunes is that when the iPod is connected a new playlist is created showing the current content of the iPod then any new files added to the library since the last sync are added to this playlist and greyed out as they are transferred over.  That is unless you tell it not to sync certain songs, so instead of a "synced to ipod" tag it would be a "don't sync" tag.

Yeah, keeping a synced metadata item up-to-date is rather problematic.  There would need to be a really good reason to implement it.

Quote
Do you have it automatically create all the playlists present on the iPod in foobar?  What if these playlists contain songs not present on the PC?

I don't currently create Foobar playlists from those on the iPod.  I could add the ability to display the iPod playlists, just like there is the ability to display all of the iPod songs in the foo_pod playlist.  Since the playlist items would point to the files on the iPod itself, there would be no problem if the files didn't exist on the PC.

Quote
Do you have all the playlists in foobar transferred to the iPod?  If not, how do you choose which ones are and how do you display this in foobar?  (The best way I can think of doing this would be to give all those syncing with the iPod little iPod icons in their tabs)

There are two ways to transfer Foobar playlists to the iPod - Send/Sync Current Playlist and Send/Sync All Playlists.  There is no current way to only sync some of the open playlists.  I could add the ability to exclude playlists (that was brought up before when foo_pod tried to sync playlists containing streaming audio URLs), but that would be a pretty low priority item for me to add at this point since it is possible to accomplish the goal by just send/sync'ing the desired playlists directly.

The default UI doesn't even have icons in the tabs, so I don't know how I could add status indicators to the tabs themselves.

Quote
Also how are smart playlists and on-the-go playlists going to be handled?  I get the feeling smart playlists could be a real problem, but it is one of the features I really like

Smart Playlists, at least the little I know of them, would seem to be pretty hard to add to the current Foobar based interface.  Also, as Otto mentioned, the backend code might not be completely ready to handle smart playlists.  So I'm afraid this is another lower priority at the moment.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2004-04-07 16:57:38
I don't know if this is possible, but if you could somehow have option to copy either the AlbumGain or TrackGain (obviously not both) values to the DB, that'd be fantastic (not having AlbumGain is the only thing that really bugs me about SoundCheck, might as well be normalizing).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-07 17:10:12
Quote
I don't know if this is possible, but if you could somehow have option to copy either the AlbumGain or TrackGain (obviously not both) values to the DB, that'd be fantastic (not having AlbumGain is the only thing that really bugs me about SoundCheck, might as well be normalizing).

I believe what you are asking for is already in Preview Redux^2, and will be in the next version, 0.5.  There is a preference item that controls how Replay Gain -> Sound Check is calculated - disable, prefer album gain, or prefer track gain. 

Disable is self-explanitory.  Prefer album gain means that if album gain is available, it is used.  Otherwise the Sound Check value is determined from the track gain, or disabled if not available.  Prefer track gain is just the opposite.

Is that what you were looking for?

Edit: There might be some confusion about the terminology as well.  When I refer to Sound Check, I'm referring to the mechanism on the iPod which adjusts the volume based on a per-song value stored in the iTunesDB file. 

There is also Sound Check in iTunes, which calculates the gain - the equivalent of Foobar's Replay Gain support.  foo_pod uses the Replay Gain information, if available, and translates it into a Sound Check values used on the iPod, which as I mention above, is user configurable to prefer album or track gains.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2004-04-07 17:19:56
Doh, just installed the Redux 2 version (had 0.4 installed with 0.8.1 Beta 3) and just came back here to delete my post, sorry.  It has exactly the functionality I wanted (nice work on the quick reply to).
Title: foo_pod - Foobar2000 meets the iPod
Post by: herr klang on 2004-04-09 01:13:13
(hopefully) simple feature request:  to better emulate a real media library, i keep one playlist filled with everything i've got in the database (hopefully with future extensions of playlistgen this will be automatically updated).. but i do have a substantial amount of other playlists that i'd like to keep synced. if there was a way to exclude playlists from the sync, this could be done in one click, and that would be well excellent

this could be done either in the config screen, or if that's hairy to implement, you could just have some manner of user-editable tagz test condition on the playlist name to allow/disallow syncing of a playlist.

man that'd be awesome.

oh, and unrelated: it seems to be par for the course for many foobar actions, but how plausible is it to make foo_pod not block when syncing? i've got a 30gb pod, and syncs can take a while
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-09 03:11:06
Quote
I think you're right - that is almost definitely the equation that describes the relationship between iTunes Sound Check dB value (x) and the Sound Check value (y), as written to the iTunesDB file.

Here is a question for anyone - is it better to emulate the Sound Check values that iTunes writes for a given song, or just use one of the functions to convert Replay Gain's value?

The problem is that while Replay Gain and iTunes generally calculate about the same gain for a song, sometimes they are slightly different and that difference is magnified by the exponent resulting in Sound Check values that are up to 20%-30% different.

I was originally trying to find an algorithm or algorithms that mapped what Replay Gain calculates to match that iTunes' value.  But now that there is some understanding of the basis behind how Sound Check is really calculated and used, I'm thinking that it is best just to use the straight RG values and trust that it does a better job than iTunes.

Not that any of this really matters...the difference is small enough for most gain values that I doubt anyone could tell the difference.  The current algorithm seems to work great, at least in my experience, all of the songs sound identically loud with SoundCheck enabled.

Well, the dB value that iTunes or RG figures is bound to be different because they're essentially different algorithims.. Rather than try to convert from one to the other, just calculate the Sound Check based directly on the RG dB value (whichever one you prefer) and go with that.

In theory, the conversion to the Sound Check value isn't actually changing anything, it's just expressing the amount of volume change in another format (microWatts). So since RG probably does a better job at calculating the actual volume change needed, I'd say to simply convert it using that function and stick it in there. It'll likely work better than iTunes Sound Check does. RG is a bit more robust, methinks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-09 05:18:17
Quote
(hopefully) simple feature request:  to better emulate a real media library, i keep one playlist filled with everything i've got in the database (hopefully with future extensions of playlistgen this will be automatically updated).. but i do have a substantial amount of other playlists that i'd like to keep synced. if there was a way to exclude playlists from the sync, this could be done in one click, and that would be well excellent

I could add a context menu item to enable/disable a playlist.  I'm not sure if  you can interface directly with a playlist/playlist tab, but I could set up a handler to add/remove a playlist name to a list of excluded playlist and save that list so it persists when you restart Foobar. 

Quote
oh, and unrelated: it seems to be par for the course for many foobar actions, but how plausible is it to make foo_pod not block when syncing? i've got a 30gb pod, and syncs can take a while

Unfortunately, Foobar is pretty unfriendly to multithreaded components.

From playlist.h:
Code: [Select]
//important: playlist engine is SINGLE-THREADED. call any APIs not from main thread and things will either blow up or refuse to work. all callbacks can be assumed to come from main thread.

There are ways around this restriction, but they are messy and time consuming to implement.  You could always run 2 instances of Foobar - one for regular playback and one for foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-04-11 00:37:07
Would it be possible to add a way to convert files and then place the output onto the Ipod?

I'd like to be able to highlight a flac file, hit one command and have that file converted to AAC and then placed on the Ipod without needing any further attention.  Can a plugin do this or would peter need to be involved?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-11 02:29:12
Quote
Would it be possible to add a way to convert files and then place the output onto the Ipod?

I'd like to be able to highlight a flac file, hit one command and have that file converted to AAC and then placed on the Ipod without needing any further attention.  Can a plugin do this or would peter need to be involved?

Hmm...it will take some thought to figure out the best way to do what you are asking.

It would be nice to have a general facility in foo_pod to be able to automatically transcode any iPod unsupported audio format into MP3 or AAC, and transparently send/sync those along with the regular supported files.  Currently, foo_pod just displays a console warning and ignores the unsupported files.  It could also theoretically extended to transcode any file, so you could have your big 320kbps MP3s on your hard drive, but transcode them to tiny 128kbps AAC when copying them to the iPod.  Obviously, transcoding will greatly slow down the transfer process, but it would be a good feature to have in foo_pod.

It seems like DiskWriter would be perfect for this task.  I'm not sure how controllable it is from another component, but assuming it can be programmatically controlled, it shouldn't be too hard to add transparent transcoding to foo_pod.



On  a side note, I'm wrapping up work on  0.5.  I finally was able to reproduce and fix the "blank playlist" data loss problem that reardon posted about.  I also fixed a problem that cropped up recently where Send Selected To iPod copied files but didn't add them to the database, so they didn't appear on the iPod.  I also just fixed the Preamp feature, so it actually works now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-04-11 02:34:30
Quote
Would it be possible to add a way to convert files and then place the output onto the Ipod?

I won't even pretend to be a programmer, but it sounds like you're looking for an auto-syncing smart playlist feature.  The conversion process (as you know) is already fairly automated, so the missing piece would be a way for foo_pod to know that new files needed to be added from some specific playlist, and to actually do that. 

I'm hopeful Aero, Otto, and anyone else working on foo_pod will eventually be able to do this, but getting the intermediary steps working would have to come first.

Keep up the great work guys - I just started testing using ReplayGain/SoundCheck on my (1st gen) iPod...and it absolutely rocks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-12 04:33:57
Version 0.5 (http://loodi.com/foo_pod.zip) is now available.


Well, here it is.  I readded the progress dialogs and fixed all of the major known bugs since 0.4.1 and Previews.  If you're upgrading from 0.4.x, playlists, Replay Gain/Sound Check, and the preamp are going to be the big new features.  For those of you that have been using the Preview versions, fixing reardon's dataloss, making the preamp work, and of course, the progress dialogs are worth checking out.


From the Readme:

Version 0.5 - April 11, 2004
* Added the ability to create iPod playlists.  When one of the Send/Sync Playlist
  features are used, foo_pod will optionally (see Preferences) create an identical
  playlist on the iPod, as well as optionally create a randomized playlist and/or
  a playlist sorted according to a user defined TAGZ string.

*  iPod database creation should be faster and safer than previous versions.

*  Fixed a data loss problem where files on the iPod would appear to be deleted.
  The problems also caused a playlist with no name to appear in the Playlist
  display.

*  Improved the progress dialog dialogs.

*  Fixed the megabytes per second statistics displayed on the Foobar console after
  copying files to the iPod.

*  Improved the sync algorithm, so that it is better able to detect multiple files.
  This means that you can send any files to the iPod, and it should be able to
  determine which ones actually need to be transferred.

*  Implemented a translation between Replay Gain values and the values used by the
  Sound Check feature on the iPod.  There are 3 new preferences dealing with Replay
  Gain - disable, Prefer Album Gain, and Prefer Track Gain.  Prefer Album Gain will
  cause foo_pod to search for album gain on any transferred files and use that value,
  otherwise it will attempt to use track gain, and finally display Sound Check for
  that file.

*  Added better detection of invalid iPod format songs, such as FLAC and streaming
  audio URLs. 

*  foo_pod will now retry several times to mount the iPod, hopefully reducing the
  problem of it not finding a recently connected iPod.

*  Added a Preamp preference item.  This will raise the volume of all songs by the
  percentage shown by the slider.  This is apparently what EUpod does, and is
  equivalent to the volume feature in iTunes.  iPods apparently do not support
  negative values, so even though iTunes allows the user to reduce the volume,
  this does not have an effect on the iPod, so foo_pod only allows volume increases.
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-12 09:34:39
Great!
Have done some simple tests and no problems detected. 

Solaris
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-12 12:05:55
I'm looking forward to testing the new version when I get home. Meanwhile, I think I've supplied you with enough ideas for 0.6?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-12 15:43:07
Quote
I'm looking forward to testing the new version when I get home. Meanwhile, I think I've supplied you with enough ideas for 0.6?

Oh yeah,I forgot to mention, but I tested the idea of implementing a directory browse mode, and the results weren't encouraging.  I was able to build the directory structure and have it appear under the Composer browse option, but the next level down from Composer is album view. 

So you would see:
Code: [Select]
dir1/
   ------> All
              Album 1
              Album 2
dir2/
   ------> All
              Album 3


That's not to say that it is impossible to do a directory structure, but I can't think of a way to make it work on the iPod at the moment.  However, it seems likely that the iPod is just too hardcoded to make it doable.
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-12 18:06:14
Great work!

I have only one problem. I have some songs with Asian characters in the file names.  I can upload them to my iPod using foo_pod, and all the tags display correctly. But my iPod won’t play them. If I upload those files using iTunes, they all work fine. It looks like that iTune automatically renames those files with foreign characters on the iPod. Could you add this feature to foo_pod? Thank you. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-12 18:20:42
Quote
I have only one problem. I have some songs with Asian characters in the file names.  I can upload them to my iPod using foo_pod, and all the tags display correctly. But my iPod won’t play them. If I upload those files using iTunes, they all work fine. It looks like that iTune automatically renames those files with foreign characters on the iPod. Could you add this feature to foo_pod?

So the songs are showing as expected up on the iPod, but when you attempt to play them, the iPod just moves on to the next song?

I have noticed that iTunes renames some files that contain only ASCII characters, but I haven't tested either iTunes or foo_pod with filenames containing other characters.  I'll test it tonight and see if I can reproduce the problem and find a simple mapping that the iPod will tolerate.
.
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-12 18:28:35
Quote
So the songs are showing as expected up on the iPod, but when you attempt to play them, the iPod just moves on to the next song?


Yes, the iPod just skips those song. If I load the iPod songs to the iPod Playlist in foobar, they all play fine in foobar.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-12 18:36:46
Quote
Yes, the iPod just skips those song. If I load the iPod songs to the iPod Playlist in foobar, they all play fine in foobar.

Yeah, that sounds like the iPod just can't read certain filenames.  It will be easy to convert those to something safer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-13 17:26:43
Quote
Quote
I'm looking forward to testing the new version when I get home. Meanwhile, I think I've supplied you with enough ideas for 0.6?

Oh yeah,I forgot to mention, but I tested the idea of implementing a directory browse mode, and the results weren't encouraging.  I was able to build the directory structure and have it appear under the Composer browse option, but the next level down from Composer is album view. 

So you would see:
Code: [Select]
dir1/
   ------> All
              Album 1
              Album 2
dir2/
   ------> All
              Album 3


That's not to say that it is impossible to do a directory structure, but I can't think of a way to make it work on the iPod at the moment.  However, it seems likely that the iPod is just too hardcoded to make it doable.

Well the iPod does not read tags from the files, right? So just write the next directory level as the Album field in the database...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-13 20:13:55
Quote
Well the iPod does not read tags from the files, right? So just write the next directory level as the Album field in the database...

Even if I did modify the Album field (which would mess up the display for the Browse/Artist and Browse/Album), I don't see how you can do support more than 1 level of directories.

The order goes like this:
Code: [Select]
Artists:            Artist->Album->Song
Albums:         Album->Song
Composers: Composer->Album->Song

If you had a file like c:\mp3\the_artist\the_album1\disc1\01 - song.mp3, you could set {Composer} = MP3/, {Album} = the_artist/, and then what?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-13 20:58:22
I don't know, but I bet it's possible. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-14 00:47:35
Quote
I don't know, but I bet it's possible. 

Not using these fields it's not.

The correct way to do this would be to use the notes reader feature. It's more or less designed for creating semi-custom interfaces for the iPod.

Here's the gist of it:
-You have text files. These files contain a semi-fakey form of HTML. Basically, you can define links, titles, some very minor formatting, etc.
-Links can point to either other text files or to songs or playlists or whatever.

So you create a series of text files and link files and things in such a way as to provide the structure you want.

Here's a complete rundown of everything the notes format supports: http://developer.apple.com/hardware/ipod/ipodnotereader.pdf (http://developer.apple.com/hardware/ipod/ipodnotereader.pdf)

It's more than enough to build any type of hierachial interface you like.

It even supports a "museum mode", where if you want that to be the *sole* interface to the thing, you can make it so. Not that most people would want that, but still...

Note that this will only work on newer iPods, running 2.0 software and up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-14 01:06:08
Hey Aero, any possibility of supporting the Play Counter plugin for syncing purposes? I can help with describing how the playcount works on the iPod's files in greater detail if needs be.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-04-14 02:48:08
Quote
Quote
I don't know, but I bet it's possible. 

Not using these fields it's not.

The correct way to do this would be to use the notes reader feature. It's more or less designed for creating semi-custom interfaces for the iPod.

Here's the gist of it:
-You have text files. These files contain a semi-fakey form of HTML. Basically, you can define links, titles, some very minor formatting, etc.
-Links can point to either other text files or to songs or playlists or whatever.

So you create a series of text files and link files and things in such a way as to provide the structure you want.

Here's a complete rundown of everything the notes format supports: http://developer.apple.com/hardware/ipod/ipodnotereader.pdf (http://developer.apple.com/hardware/ipod/ipodnotereader.pdf)

It's more than enough to build any type of hierachial interface you like.

It even supports a "museum mode", where if you want that to be the *sole* interface to the thing, you can make it so. Not that most people would want that, but still...

Note that this will only work on newer iPods, running 2.0 software and up.

wow.....


thats awesome.


With that text browser you can make anything, including the playlists to go with them. Thats awesome.


That's about as close as we are gonna get to it. Unless apple releases a SDK for the ipod. THen we could do whatever we want.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-14 02:58:00
It's a shame that it's only for the 2.0 firmware. I suppose foo_pod could make it available depending on the ipod's firmware. I'm very pleased with this plugin so far. A wonderful collaborative work which I will use many-a-time.    Quick question - is there a way to select tracks to delete instead of deleting them from the playlist then syncing? Also, in the future it would be great if foo_pod would be able to edit the info of the songs via masstager.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 05:19:46
Quote
Hey Aero, any possibility of supporting the Play Counter plugin for syncing purposes? I can help with describing how the playcount works on the iPod's files in greater detail if needs be.

Is that data stored in iPod_Control\iTunes\Play Counts?

I saw the posting for the Play Counter (http://www.hydrogenaudio.org/forums/index.php?showtopic=20719&) component, but I haven't downloaded it or done any more than just scan the forum.  From the initial post, it looks like all it would take is some glue that reads the play count from the iPod, and writes some metadata tags in the iPod files. 

I haven't done anything with non-iTunesDB file data so far, but I'll consider adding the Play Counter support.  I'll hit you up for details when I'm ready to work on it!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 05:26:10
Quote
The correct way to do this would be to use the notes reader feature. It's more or less designed for creating semi-custom interfaces for the iPod.

Here's the gist of it:
-You have text files. These files contain a semi-fakey form of HTML. Basically, you can define links, titles, some very minor formatting, etc.
-Links can point to either other text files or to songs or playlists or whatever.

So you create a series of text files and link files and things in such a way as to provide the structure you want.

Interesting - thanks for the info! 

I actually had a passing thought about the Notes feature, since I remember reading about someone who is selling games that use it, but I had no idea that it could interface with the songs.  I'm doubly surprised that there is actually official documentation for it!   

I'm feeling inspired after reading that PDF file.  Now I just need some spare time to do something with that inspiration!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 05:45:13
Quote
Quick question - is there a way to select tracks to delete instead of deleting them from the playlist then syncing?

Nope.  The best way to delete songs from the iPod is to do the following:

1. Do the "Load iPod Songs to foo_pod Playlist" command from the foo_pod menu.
2. Delete and/or reorder the songs in the foo_pod playlist to your satisfaction.
3. Run "Sync Current Playlist" on the foo_pod playlist.

What you are doing is syncing the files that are already on the iPod, minus the ones you deleted.  foo_pod will notice that songs are already on the iPod, and simply delete the ones that are no longer in the list. 

This isn't the fastest operation in the world, but I have done some post-0.5 work that will speed this up considerably.  My goal for 0.5.1 (or whatever the next version) is to optimize foo_pod's slowest parts. 

Syncing in this case is slow mainly because it has to rebuild the whole database.  I could provide a way (context menu item) to remove the individual songs without having to rebuild the database.  I'll add it to my "features to add" list.


Quote
Also, in the future it would be great if foo_pod would be able to edit the info of the songs via masstager.

I'm not sure what you mean by having foo_pod edit the song info via masstagger.  Could you provide a little more info about what you are asking?
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-04-14 10:34:22
sorry, perhaps I did not get something, but is there a way to copy songs from the ipod to the hd similar/equal to ephpod's?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-14 11:01:52
Yay! Thanks Otto!
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-14 13:49:00
Quote
Quote
Also, in the future it would be great if foo_pod would be able to edit the info of the songs via masstager.

I'm not sure what you mean by having foo_pod edit the song info via masstagger.  Could you provide a little more info about what you are asking?

For example, yesterday I wanted to change the genre of a few bands on the ipod, loaded them into masstagger, and changed the field. But when I disconnected my ipod nothing was changed. I suppose I should've synced the playlist before disconnecting. I thought it was directly editing the songs/db on the ipod. I'll give it another try today
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 15:38:10
Quote
sorry, perhaps I did not get something, but is there a way to copy songs from the ipod to the hd similar/equal to ephpod's?

You should be able to access the iPod files just like any others in Foobar.  For example, you can drag a file out of the playlist and drop it in a folder.  Or right click and drag it to a folder.

That will simply copy the file with the same filename as on the iPod.  foo_pod doesn't directly have any support for building directory structures, like Ephpod and what you are probably asking for.  You might be able to use DiskWriter  to create directories to your preference - I believe there is a null DiskWriter component that will just copy the file from one folder (the iPod) to another (your hard drive).  I might be wrong about that, but it wouldn't be too difficult to create a little program that would just accept DiskWriter input and write it out to a file.

If no one has written such a program and you can't get it working some other way, let me know and I can whip something up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 15:46:41
Quote
Quote
I'm not sure what you mean by having foo_pod edit the song info via masstagger.  Could you provide a little more info about what you are asking?

For example, yesterday I wanted to change the genre of a few bands on the ipod, loaded them into masstagger, and changed the field. But when I disconnected my ipod nothing was changed. I suppose I should've synced the playlist before disconnecting. I thought it was directly editing the songs/db on the ipod. I'll give it another try today

Masstagger should work on the iPod files - if not, it really is a Masstagger problem.

One thing that might have happened is you updated the files on the iPod, but didn't touch your local hard drive's files, then did a sync.  foo_pod will notice that the files don't match, and delete the out of sync files on the iPod and replace them with the hard drive versions (I don't check for the case where the iPod files are newer than the hard drive).

I would recommend that you update your local hard drive's files with Masstagger, *then* do a sync to transfer them to the iPod.  Otherwise, you will lose any changes whenever you do a sync.  foo_pod only currently supports a one way sync (computer to iPod) like iTunes, although I might look into doing full sync (ala a Palm PDA) at some point.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-14 16:56:58
Okay, so instead of loading the foo_pod playlist, then masstagging, you're suggesting to use explorer to find the music folder in the ipod, then load into masstager and update those? I'm not sure if i have this right
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 17:11:10
Quote
Okay, so instead of loading the foo_pod playlist, then masstagging, you're suggesting to use explorer to find the music folder in the ipod, then load into masstager and update those? I'm not sure if i have this right

No, that would be doing the same thing. 

What you should do is modify the original files on your hard drive - the ones that you transferred to the iPod.  Then when you sync them, the Masstagger'ed files will be sent to the iPod. 

There is nothing wrong with running Masstagger on the iPod files (say in the foo_pod playlist), but like I said before, when you sync them with your local files, the local files will overwrite your changes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-14 18:06:27
I don't have the original files on my harddisk - they're only on the ipod. You're saying that I can use the masstagger on the foo_pod playlist, which isn't working for me, so I must be overlooking something terribly obvious
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-14 19:21:32
Quote
I don't have the original files on my harddisk - they're only on the ipod. You're saying that I can use the masstagger on the foo_pod playlist, which isn't working for me, so I must be overlooking something terribly obvious

Huh.  Well, it should work, because to Foobar, the iPod is just another hard drive.  In fact, I just ran a quick test and it worked as expected.

I did the following:

1. Load iPod to foo_pod playlist
2. Selected a song from the foo_pod playlist, right clicked and selected Masstagger->Edit Tags
3. For my test, I just added a new tag, and clicked Run
4. Checked the file Properties and verified that the new tag was in the file, even after clicking Reload From File.
5. Disconnected the iPod, connected it, reloaded the foo_pod playlist, and verified that the tag was still there.

Are you getting any sort of error from Masstagger, or anything on the Foobar console?
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-14 20:46:53
That's interesting, I did the same exact thing as you laid out, but when I disconnect the ipod and reload the foo_pod playlist, the files are back to where they were. No error either. It's not a big deal though - I can always take the music off the ipod, retag, then resync.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-14 21:46:02
Quote
That's interesting, I did the same exact thing as you laid out, but when I disconnect the ipod and reload the foo_pod playlist, the files are back to where they were. No error either. It's not a big deal though - I can always take the music off the ipod, retag, then resync.

Maybe you have foobar2000's database turned on, and you have failed to click "Reload info from files" after reloading the iPod songs into foobar2000?

Also, you say "the files are back where they are" - The files aren't supposed to move when using the masstagger? Only the tags are changed...
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-15 00:09:53
Quote
Maybe you have foobar2000's database turned on, and you have failed to click "Reload info from files" after reloading the iPod songs into foobar2000?

The database is disabled.

Quote
Also, you say "the files are back where they are" - The files aren't supposed to move when using the masstagger? Only the tags are changed...

I don't remember saying this, and I never expected the files to move. Just tagged. I'll figure this out eventually, I feel as though I'm taking the thread too far off track.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-15 00:20:11
Quote
Quote
Also, you say "the files are back where they are" - The files aren't supposed to move when using the masstagger? Only the tags are changed...

I don't remember saying this, and I never expected the files to move. Just tagged. I'll figure this out eventually, I feel as though I'm taking the thread too far off track.

Quote
That's interesting, I did the same exact thing as you laid out, but when I disconnect the ipod and reload the foo_pod playlist, the files are back to where they were. No error either.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-15 02:43:41
Quote
Quote
That's interesting, I did the same exact thing as you laid out, but when I disconnect the ipod and reload the foo_pod playlist, the files are back to where they were. No error either.

Sorry, I should've been more specific. I meant the tags were back to where they were. From the foo_pod playlist I changed the genre of an album, disconnected the ipod, reconnected and reloaded the foo_pod playlist, and the tags were back to where they were before.

Edit: Odd, it's working now! Well, at least it works  Sorry about the waste of posts.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-15 04:42:09
Quote
Is that data stored in iPod_Control\iTunes\Play Counts?

I saw the posting for the Play Counter (http://www.hydrogenaudio.org/forums/index.php?showtopic=20719&) component, but I haven't downloaded it or done any more than just scan the forum.  From the initial post, it looks like all it would take is some glue that reads the play count from the iPod, and writes some metadata tags in the iPod files. 

I haven't done anything with non-iTunesDB file data so far, but I'll consider adding the Play Counter support.  I'll hit you up for details when I'm ready to work on it!

Yeah, here's the gist of it:

When you sync, you have to do the following:

1. Read the Play Counts file off the iPod. This contains all the play counts and such since the last time you synched. Everything "new" in other words. There's a class I wrote at the bottom of the iPodDB stuff specifically for parsing this file. It can't write the file, but then you'll never need to write to that file.

2. Add/merge that data into foobar's database.

3. DELETE the Play Counts file off the iPod. Or rename it to .bak or something. This is important, you want to clear that file so you don't get dupe counts.

4. When you build the new iTunesDB file, make sure to include the Play Counts info as well as the timestamps and such in the proper fields that are there for them. This is so smart playlists (if and when) will work correctly on 2.0 and up iPod's.

And that's pretty much that.

Edit: Part 2 is trickier than it seems. The Play Counts file is basically linked to the existing iTunesDB in such a way that the first song entry in Play Counts corresponds to the first song entry in the iTunesDB, and so on. So you'll need to have some way to work out which song in the foobar database corresponds to each song entry that already exists in the current iTunesDB in order to add the new playcount to the right place, update the last played time, etc. If you can sync though, you probably have a good idea of how to figure this out already.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-15 05:02:59
Quote
Interesting - thanks for the info! 

I actually had a passing thought about the Notes feature, since I remember reading about someone who is selling games that use it, but I had no idea that it could interface with the songs.  I'm doubly surprised that there is actually official documentation for it!  

I'm feeling inspired after reading that PDF file.  Now I just need some spare time to do something with that inspiration!

If possible, I'd write something allow people to create their own text file templates which you then run through and fill in with the proper information. I know Foobar is all about customization, so this is probably the best option.

Like... err.. I don't know the details about foobar's supported scripting methods, but something like this, maybe (total psuedocode, I'm making it up as I go along):

template.txt
:foreach (%artist%) in all
:begin
<a href=%artist%.txt>%artist%</a>
:create %artist%.txt from artist_template.txt
:end

artist_template.txt
:foreach (%album%) in %artist%
:begin
<a href=%album%.txt>%album%</a>
:create %album%.txt from album_template.txt
:end

And so forth... Some kind of meta language where you can define loops and such, kinda similar to PHP's methods. There's probably something already in foobar you can do this with, I simply haven't delved in enough to figure it out yet.

Just keep in mind that there's a 4K limit on *any* note file. So you'll have to put in forward/back type links at the beginning/end of every file that goes over that limit and split accordingly. It gets tricky.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-15 05:18:13
Quote
If possible, I'd write something allow people to create their own text file templates which you then run through and fill in with the proper information. I know Foobar is all about customization, so this is probably the best option.

Like... err.. I don't know the details about foobar's supported scripting methods, but something like this, maybe (total psuedocode, I'm making it up as I go along):

...

And so forth... Some kind of meta language where you can define loops and such, kinda similar to PHP's methods. There's probably something already in foobar you can do this with, I simply haven't delved in enough to figure it out yet.

Lua (http://www.lua.org/) scripting is on the long term list of features to implement in foo_pod,  so when I add scripting and when I do something with Notes, I'll make sure that the Notes creation is controllable from Lua.  In fact, other than providing the Foobar->Lua glue, I probably will do all of the Note support in Lua scripts, since my past experience with similiar situations has shown that scripting is always easier to maintain than a compiled language.

When I got to the 4kB limit portion of the Notes documentation, it really took the wind out of my sails.  Without the limitation, it would be easy to completely customize the iPod GUI and do whatever you wanted with it.  With the 4kB, that pretty much rules out most really useful GUI replacement features.  Who would want to browse a directory structure, and have to press Select to go to the next page?  Once you add in the pseudo-HTML overhead, I doubt that you could get more than 30-40 directories in a single Notes file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-04-15 12:46:49
Quote
QUOTE (neomoe @ Apr 14 2004, 03:34 AM)
sorry, perhaps I did not get something, but is there a way to copy songs from the ipod to the hd similar/equal to ephpod's?


You should be able to access the iPod files just like any others in Foobar. For example, you can drag a file out of the playlist and drop it in a folder. Or right click and drag it to a folder.

That will simply copy the file with the same filename as on the iPod. foo_pod doesn't directly have any support for building directory structures, like Ephpod and what you are probably asking for. You might be able to use DiskWriter to create directories to your preference - I believe there is a null DiskWriter component that will just copy the file from one folder (the iPod) to another (your hard drive). I might be wrong about that, but it wouldn't be too difficult to create a little program that would just accept DiskWriter input and write it out to a file.

If no one has written such a program and you can't get it working some other way, let me know and I can whip something up.

wll, i've looked for such a nuul_diskwriter plugin, but couldn't find anything.. just to drag the files in a certain folder works, but there could be a nicer way, i guess 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-16 02:36:16
Quote
When I got to the 4kB limit portion of the Notes documentation, it really took the wind out of my sails.  Without the limitation, it would be easy to completely customize the iPod GUI and do whatever you wanted with it.  With the 4kB, that pretty much rules out most really useful GUI replacement features.  Who would want to browse a directory structure, and have to press Select to go to the next page?  Once you add in the pseudo-HTML overhead, I doubt that you could get more than 30-40 directories in a single Notes file.

If you just want a folder type structure, then you don't necessarily have to do it entirely in that fakish HTML method. That's what the ".link" and ".linx" file type is all about. It'll support an actual folder structure that way.

If you put actual folders inside the notes folder, they show up with the arrow on the right side, like a subfolder. Then you can have subdirectories of things.

If you have a file ending in .link, then it goes directly to the first link inside that file. Consider it to be like a symbolic link on a unix-like system.

If you have a file ending in .linx, then it *appears* to be a folder, with the right arrow and everything, and that folder contains the links in the linx file itself.

So if you want to do a folder hierarchy, you can use a combination of these. The limitation here is that you have a maximum of 1000 entries on any folder or linx file.

Look, try it yourself. It's easy to work out. Just create your files in the Notes folder on the iPod. You can create any entire interface you like and never create one actual .txt file, sort of thing. Just link files and folders or linx files. The only disadvantage of this method is that it's displayed in the big font (just like all the other iPod screens) and not in the smaller font that it uses for displaying text files.

Example:
The Notes folder contains the folders Adam and April.
Adam contains Bob.link and Bill.linx.
Bob.link just contains:
<title>Play the Bob Playlist</title>
<a href="ipod:music?playlist=Bob">foo</a>
Bill.linx contains:
<title>Songs by Bill</title>
<a href="ipod:music?song=Bill's First Song">Bill's First Song</a>
<a href="ipod:music?song=Bill's Second Song>Bill's Second Song</a>

April contains a bunch of .link files, each pointing to one song, similar to Bob.link above, except pointing to a song and not a playlist.

When you look at this on the iPod, you can easily see the differences. The First screen has two choices: Adam and April. Both are folders.

Enter April and you see all the Songs by April. Select any of them, and hear that song. The thing is that you can have up to 1000 link files in there in this manner, and thus have up to 1000 entries under that folder.

Enter Adam, and you see "Play the Bob Playlist" and "Songs By Bill". "Songs by Bill" looks like a folder, "Play the Bob Playlist" does not. Select "Songs by Bill" and get a list of songs by Bill. Unfortunately, this is limited to the 4k limit, as it's a single linx file. But this would be fine for, say, a single album. It'd be preferable, in fact, because it loads a bit quicker than a folder with a lot of files in it. It'll also cache for quicker access on the second try. The "Play the Bob Playlist" just starts up a playlist.

Note that all of these, when they start playing songs, go to the Now Playing screen. Hitting the menu button goes back into the notes where you just came from, while it continues to play. It's just like the Browse interface in that manner. But you do have some control. Don't want a particular link to go to the Now Playing Screen? Add <meta name="Now Playing" content="false"> to any link file and voila, it won't go there anymore.

You really can create a nice interface. You do have to work around the limitations somewhat, but the 4k limit is not as limited as you might think, because you can get around it.

Additional:
Want to replicate an existing folder structure to the Notes exactly? Do this:
-Create the exact same folder structure on the iPod, in the Notes folder.
-For every song (MP3, AAC, WAV, AIFF), create a .link file with the following in it:
<title>%songname%</title>
<a href="ipod:music?song=%songname%">%songname%</a>

Want to speed that up a bit? Drop back a folder from the actual songs and create a .linx file instead, where it'll fit into a 4k structure.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-04-16 05:13:40
I may be in the minority, but I have no interest in browsing my iPod by directory.  The tag-based structure that exists right now works great for me.

I'm also a little worried that development based on 2.0 firmware will freeze out us Gen 1 iPod owners.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-16 15:52:01
Quote
I may be in the minority, but I have no interest in browsing my iPod by directory.  The tag-based structure that exists right now works great for me.

I'm also a little worried that development based on 2.0 firmware will freeze out us Gen 1 iPod owners.

I'm not sure why you think non 3G iPod owners would be shut out.  A Notes based directory browser (if implemented...it will take me weeks to wade through Otto's last post... ) would be optional for everyone.   

You should be complaining to Steve Jobs and encouraging him to do a better job supporting older iPods!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-16 23:01:37
Quote
A Notes based directory browser (if implemented...it will take me weeks to wade through Otto's last post... )

<frink> Oh for crying out glaven... </frink>

Here you go. Unzip this sucker into your notes folder on your iPod. It's a demo of exactly what I outlined last night.

Note that the playlists and songs and such won't work unless you modify the proper files to point to songs you actually have and such.

http://otto.homedns.org:8888/itunes/notesdemo.zip (http://otto.homedns.org:8888/itunes/notesdemo.zip)

I may just write a simple command line tool to do this sort of thing. I can see where it'd be handy.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-18 22:30:11
This is going to be great. Having done playlist syncs, soundcheck, etc etc, almost all iTunes features are emulated. Now starts the really cool stuff - New, innovative, incredibly useful stuff that we can tune to our liking.

Needless to say, I'm looking forward to it 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-19 03:09:56
Here's a very early test version of a program to create notes type structures from directory structures.

It has some big time limitations though.. Hey, I only coded it up in a few hours, and only to try it out and see how it would work, sort of thing. But somebody might be interested, so here it is.

http://otto.homedns.org:8888/iTunes/dir2note.zip (http://otto.homedns.org:8888/iTunes/dir2note.zip)

Simple usage:
dir2note <path to a drive or directory to create the notes> <path to a directory of Mp3s>

So, like this:
dir2note i: g:\mp3s
Simple. It'll create an i:\Notes directory and then copy the directory structure from g:\mp3s into it, replacing MP3 files with *.link files as it goes. The upshot of this is that if "i:" is your iPod, you get a bunch of notes that will mimic the directory structure of the MP3's on your machine.

dir2note -clear i: g:\mp3s
Same as above, but it'll delete everything in i:\Notes first. Be very careful here...

dir2note -clear i: NONE
Clears i:\notes only.. doesn't do anything else.. Not entirely useful given that you could do deltree just as easily, but what the hey...

Notes:
-Don't put trailing \'s on directory names.
-If a dir has spaces in it, surround that path in quotes
-FULL PATHS ONLY. This is important.
-It only works for MP3's right now.
-It only reads ID3 tags. Sorry to all the APE tag users, but I use ID3 tags and anyway it's only a preliminary version. Once the idea is fleshed out, and it's put into foo_pod, then you'll be able to enjoy.

Anyway, this is only for testing purposes, I don't recommend using it at all in any way on any machine anywhere ever, and if you hose all your files, that's your problem. Backup anything you run it on before running it on them. It's a demo only. Capish?

With this program, I uncovered one major limitation, BTW. When it says 1000 notes, it means it. 1000 notes, maximum. So forget being able to have one link file for every song (which this program, in fact, does). I'll have to use .linx files instead, methinks. Anyway, I don't recommend trying to put your entire directory structure in there, sort of thing. It won't work, yet. But, you can put several directories in by a series of commands. Like:

dir2note i: "g:\mp3s\audioslave"
dir2note i: "g:\mp3s\Weird Al"
dir2note i: "g:\mp3s\Soundtracks"

and so forth.. As long as you don't use -clear, it'll leave what's there there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-19 09:19:08
Version 0.5.1 (http://loodi.com/foo_pod.zip) is now available.


This release is mostly focused on performance.  I profiled the entire application and optimized the most critical sections.  I haven't measured the whole foo_pod to 0.5, but it is obviously much faster  - the two slowest portions, other than file transfer, of a typical send/sync are now 10x to 100x faster than in 0.5!.  There is one other major area that needs to be optimized, so there are still some easy speed improvements to come.

I also added experimental filename escaping for non-Latin based languages, so let me know if Asian filenames (for example) now work with 0.5.1.


From the Readme:
Version 0.5.1 - April 19, 2004
*  Optimized several critical sections, resulting in much better overall performance.

*  Added filename escaping for Asian and other non-European symbol filenames.  Even though foo_pod handles such filenames correctly, the iPod itself can not play them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-19 15:39:15
I'm having problems with 0.5.1. Foobar crashes when I try to send files to the ipod. Right away an error window comes up saying there's a visual c++ runtime error. Then after I click OK, foobar terminates. For the interim, where would I find 0.5?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-19 15:47:24
Quote
I'm having problems with 0.5.1. Foobar crashes when I try to send files to the ipod. Right away an error window comes up saying there's a visual c++ runtime error. Then after I click OK, foobar terminates. For the interim, where would I find 0.5?

Version 0.5 can be found here (http://loodi.com/foo_pod_0.5.zip).
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-19 15:51:47
Quote
I'm having problems with 0.5.1. Foobar crashes when I try to send files to the ipod. Right away an error window comes up saying there's a visual c++ runtime error. Then after I click OK, foobar terminates. For the interim, where would I find 0.5?


I am having the same problem. Foobar crashes when writing the iTunesDB database file.

(http://www14.brinkster.com/joeqin/images/rterr.png)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-19 16:09:19
Ok, I've pulled 0.5.1 (although it is still available here (http://loodi.com/foo_pod_0.5.1.zip) if you want to test it), and I'll take a look at the crash later tonight.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 07:49:07
Version 0.5.2 (http://loodi.com/foo_pod.zip) is now available.

This version should fix the crash that somasatellite and dragonfin reported.  Otherwise, it is identical to 0.5.1.
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-04-21 16:28:54
Just to report that version 0.52 crashes foobar when writing the db. No error messages are given,  foobar just shuts down.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 16:34:38
Quote
Just to report that version 0.52 crashes foobar when writing the db. No error messages are given,  foobar just shuts down.

Feck! 

To those experiencing crashes (it works for me...honest!), which OS are you running?  Also, does it work for anyone?
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-21 16:51:21
Hi Aero. I just experienced a crash on my first try as well.
The files transfered normally, but foobar2000 closed with the following message when it was going to write the db file.
Using Windows XP Pro SP1a!

Edit: Deleted LONG crash log.
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-04-21 16:53:22
I'm also using xp pro sp1.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 16:56:55
Weird.  Ok, I've pulled 0.5.2 and replaced it with 0.5 again.  I'll try fixing it again later tonight.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-21 17:36:07
I have a question:

I was wondering how foo_pod distinguishes between files when synchronizing with the iPod. The reason I am asking is because I do not enable foobar2000's database, the only way to see differences would be in something like filename or tags.

It would be a little odd recognizing files during a sync from their tags because I have some dupes in my collection (from soundtracks etc). This leads me to believe that foo_pod must store the original filename (and path?) on the iPod? So if I was to move some files to a new destination and sync again, would foo_pod delete the files on the iPod, and then transfer the moved files to the iPod again?

I'm just trying to get this straight in my head. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-21 17:46:34
Quote
To those experiencing crashes (it works for me...honest!), which OS are you running?  Also, does it work for anyone?

I am using Win XP pro too.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-21 17:54:12
Quote
It would be a little odd recognizing files during a sync from their tags because I have some dupes in my collection (from soundtracks etc). This leads me to believe that foo_pod must store the original filename (and path?) on the iPod? So if I was to move some files to a new destination and sync again, would foo_pod delete the files on the iPod, and then transfer the moved files to the iPod again?

I'm just trying to get this straight in my head. 

I don't know exactly which one of the many methods we discussed he's using to do it, but the iTunesDB file doesn't contain any place to put the original path and filename. So I'm fairly certain that that isn't it.

It's probably a combination of filesize and tags in some manner.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 18:08:40
Quote
I was wondering how foo_pod distinguishes between files when synchronizing with the iPod. The reason I am asking is because I do not enable foobar2000's database, the only way to see differences would be in something like filename or tags.

It would be a little odd recognizing files during a sync from their tags because I have some dupes in my collection (from soundtracks etc). This leads me to believe that foo_pod must store the original filename (and path?) on the iPod? So if I was to move some files to a new destination and sync again, would foo_pod delete the files on the iPod, and then transfer the moved files to the iPod again?

foo_pod currently uses a number factors to determine if a local file (i.e. on your hard drive) matches a file on the iPod.

First, it compares the file sizes.  This is very simple, but remarkably powerful in eliminating non-matching files.  As an example, out of approximately 7000 files I use for testing, there are maybe two files that have the same file size.  File size also passively detects metadata changes, since such changes would usually result in a change in file size.

Next, foo_pod compares the file's creation and modification dates.  Again, it is extremely rare to find any files with precisely the same dates.  But since it could theoretically happen, foo_pod also compares several metadata tags, such as artist and title. 

So only if files meet all of the above criteria are they considered to be a match.  I could calculate a hash of each file, but that would be unusably slow.  I believe that the odds of a false match are so low that this quicker method is preferable.


Getting back to your question, the location on the hard drive has no effect on foo_pod's matching algorithm, and it doesn't require that any path information is stored on the iPod.  Even two copies of the same song aren't really duplicates unless they were created/modified at the same time, have the same filesize, and similar metadata.  If all of that is true, then they are probably identical copies.  In any event, foo_pod will only copy one of them to the iPod, and any duplicates will just be pointers to the one copy.  That is how you can have the same song in multiple playlists, for example.

Anyway, I had to put a lot of thought into how to implement a sync matching algorithm, and I'm very happy with how it turned out in foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-21 18:48:56
Quote
Quote
To those experiencing crashes (it works for me...honest!), which OS are you running?  Also, does it work for anyone?

I am using Win XP pro too.

Yeah, same crash with 0.5.2. I'm using xp pro as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 18:52:55
Since I have been unable to reproduce the crash, I prepared a debug version of foo_pod 0.5.2 to help narrow down the cause. 

If you are experiencing the crash while writing the iTunesDB file and would like to help, please download foo_pod_debug.zip (http://loodi.com/foo_pod_debug.zip) and try to reproduce the crash.  This version of foo_pod writes some debug information to c:\foo_pod.txt, so after the crash, either post or PM me that file.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-21 18:58:38
Quote
Since I have been unable to reproduce the crash, I prepared a debug version of foo_pod 0.5.2 to help narrow down the cause. 

If you are experiencing the crash while writing the iTunesDB file and would like to help, please download foo_pod_debug.zip (http://loodi.com/foo_pod_debug.zip) and try to reproduce the crash.  This version of foo_pod writes some debug information to c:\foo_pod.txt, so after the crash, either post or PM me that file.

Thanks!

Thanks for your persistance in trying to solve this issue. With the debug version I got the same error, and one line was written in the foo_pod.txt:

Code: [Select]
78799467: iTunes.bak --> 'C:\Program Files\foobar2000\\iTunesDB.bak'
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-04-21 19:00:55
From debug version:

12309189: iTunes.bak --> 'F:\Program Files\foobar2000\\iTunesDB.bak'
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-21 19:05:35
4100295: iTunes.bak --> 'E:\Program Files\foobar2000\\iTunesDB.bak'
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-21 19:16:00
Wow that sounds great - Exactly what I was hoping for.

Thanks Aero...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 19:22:23
pnjman & dragonfin: Thanks!  Interesting...that isn't where I expected it would fail.  If you (or anyone one else) wouldn't mind, please test out foo_pod_debug2.zip (http://loodi.com/foo_pod_debug2.zip).  There is a chance that it might fix the crash, but if not, it will provide more detailed information about what is going wrong.
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-04-21 19:25:59
Using the debug2 version foobar now crashes as soon as I select send file to ipod.

From log:

12309189: iTunes.bak --> 'F:\Program Files\foobar2000\\iTunesDB.bak'
13797029: Writing iTunesDB file
13797029: iTunesDB --> 'g:\iPod_Control\iTunes\iTunesDB'
13797029: iTunes.bak --> 'F:\Program Files\foobar2000\iTunesDB.bak'
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-21 19:28:24
Quote
pnjman & dragonfin: Thanks!  Interesting...that isn't where I expected it would fail.  If you (or anyone one else) wouldn't mind, please test out foo_pod_debug2.zip (http://loodi.com/foo_pod_debug2.zip).   There is a chance that it might fix the crash, but if not, it will provide more detailed information about what is going wrong.

Crashed again.

5343293: Writing iTunesDB file
5343293: iTunesDB --> 'j:\iPod_Control\iTunes\iTunesDB'
5343293: iTunes.bak --> 'E:\Program Files\foobar2000\iTunesDB.bak'
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 19:43:23
Thanks again!  I'm getting closer, and seem to have to problem narrowed down to one function.  I have one more version to test - foo_pod_debug3.zip (http://loodi.com/foo_pod_debug3.zip).. 

Again, there is a chance that this will fix the crash, but it definitely will narrow down the problem if it doesn't fix it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-04-21 19:49:34
Using debug3 it's still crashing as soon as I select send file.

From log:

15246663: Writing iTunesDB file
15246663: iTunesDB --> 'g:\iPod_Control\iTunes\iTunesDB'
15246663: iTunes.bak --> 'F:\Program Files\foobar2000\iTunesDB.bak'
15246663: Populating default playlist
15246663: Populating now
15246663: Populating done
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 20:04:56
foo_pod_debug4.zip (http://loodi.com/foo_pod_debug4.zip)

Last one for awhile, I promise.  This will narrow the crash down to a single line of code.
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-21 20:07:55
Quote
Last one for awhile, I promise.  This will narrow the crash down to a single line of code.

Debug 4 works great.  My ipod can play all my asian songs now! Awesome!
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2004-04-21 20:08:23
Sucsses!!!!!!!!!!! It works. Thank you.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 20:11:59
Quote
Debug 4 worked!

Cool!      I didn't want to sound like a broken record, but I was hoping that #4 would be the lucky build. 

Unfortunately, I'm not totally sure why what I changed suddenly stopped working in 0.5.1.  I'll need to examine that further, but since it looks good, I'll remove the debug stuff and release it as 0.5.3.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-21 20:29:25
Version 0.5.4 (http://loodi.com/foo_pod.zip) is now available.

This version actually does fix the crash reported in 0.5.1 and 0.5.2.  Thanks again to dragonfin, pnjman, and somasatellite for putting up with the bug and all of the debug builds to figure out exactly what was wrong!

Edit:  I was able to determine why 0.5.1 and 0.5.2 were crashing, and found a similar piece of code that could crash in the same way.  I have no evidence that such a crash will occur, but since the other bug was so tedious to track down, I decided to fix the problem and release 0.5.4.  If you have 0.5.3, you probably should upgrade just in case.
Title: foo_pod - Foobar2000 meets the iPod
Post by: dragonfin on 2004-04-21 20:34:03
Thank you, Aero. Great work! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: krmathis on 2004-04-21 20:48:36
Looks good. Glad you guys nailed it! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-21 21:25:50
Wonderful community! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Scream on 2004-04-22 02:16:28
take a look at mlipod (or ml_ipod cant remember the exact name) on sourceforge, or gtkpod. lots of code you may wanna see
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 03:22:19
Quote
take a look at mlipod (or ml_ipod cant remember the exact name) on sourceforge, or gtkpod. lots of code you may wanna see

Thanks for the pointers - I hadn't heard about mlipod (http://cvs.sourceforge.net/viewcvs.py/mlipod/ml_ipod/) before. 

gtkpod is, AFAICT, just a C++ version of the Perl scripts in GnuPod (http://www.gnu.org/software/gnupod/).  From what I have read, it is probably the 2nd most complete iPod library implementation (behind Otto's iPodDB).

Except for mlipod, I have looked at nearly every open source iPod library out there, and Otto's is by far and away the cleanest and best code out there.    Most of the others are obvioulsly hacked together, and lack the basic understanding of the complete iTunesDB file. 

For example, I found a Winamp 5 plugin the other day, and I was curious about what, if any, features I could implement (read: steal  ) from it.  Actually, it is called ml_ipod.dll, but I it isn't the same code as the above link, or it was based on an earlier version.  So I was browsing through the code, and it was clear that it was, quite simply, crap.  This one line of code from ml_ipod.dll sums up my impression:
Code: [Select]
while(*p) *(d++)=(unsigned char)*(p++); //FUCKO: totally gay utf16 to utf8 conversion


Not only is the code completely wrong, but when you see comments like that, you know that it was written by some snot nosed 15 year old hacker (in the worst sense of the word).

Anyway, I'll get off my soap box now, but the main point is that iPodDB rulez, and there is little, if anything, that any of the other projects could add to it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-22 05:19:40
Quote
take a look at mlipod (or ml_ipod cant remember the exact name) on sourceforge, or gtkpod. lots of code you may wanna see

I have looked at them all. I've got well over a dozen source codes that are all supposed to read or write the iPod's files. I drew my beginning knowledge of the iTunesDB file from them.

However, I've experimented and tested and worked at getting all the details down much better than any of those projects. I can easily state that the iPodDB classes I wrote, and which Aero has hugely helped me to refine with usage, are far more capable than any other freely available code out there for writing and reading the iTunesDB file format. Only iTunes has more capability, and that's only because they know what all the fields mean.

Okay, so the iPodDB classes lack a bit of ease of use functionality, but then you can easily wrap them in something if you want simple to work with. It's not necessary to do so, but it can be done easily enough.

The only thing I'm lacking that anybody else has is smart playlist functionality, (gtkpod, I think? I don't recall offhand). But that's only because I want to do a better and more complete job. The one I looked at was.. well.. a bit of a hack job. It didn't define it very well, for certain. I can reverse engineer the thing from files produced by iTunes easily enough, but it's a PITA, and frankly I've not had time to do it properly yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jarsonic on 2004-04-22 06:01:45
Quote
Quote
take a look at mlipod (or ml_ipod cant remember the exact name) on sourceforge, or gtkpod. lots of code you may wanna see

Thanks for the pointers - I hadn't heard about mlipod (http://cvs.sourceforge.net/viewcvs.py/mlipod/ml_ipod/) before. 

gtkpod is, AFAICT, just a C++ version of the Perl scripts in GnuPod (http://www.gnu.org/software/gnupod/).  From what I have read, it is probably the 2nd most complete iPod library implementation (behind Otto's iPodDB).

Except for mlipod, I have looked at nearly every open source iPod library out there, and Otto's is by far and away the cleanest and best code out there.    Most of the others are obvioulsly hacked together, and lack the basic understanding of the complete iTunesDB file. 

For example, I found a Winamp 5 plugin the other day, and I was curious about what, if any, features I could implement (read: steal  ) from it.  Actually, it is called ml_ipod.dll, but I it isn't the same code as the above link, or it was based on an earlier version.  So I was browsing through the code, and it was clear that it was, quite simply, crap.  This one line of code from ml_ipod.dll sums up my impression:
Code: [Select]
while(*p) *(d++)=(unsigned char)*(p++); //FUCKO: totally gay utf16 to utf8 conversion


Not only is the code completely wrong, but when you see comments like that, you know that it was written by some snot nosed 15 year old hacker (in the worst sense of the word).

Anyway, I'll get off my soap box now, but the main point is that iPodDB rulez, and there is little, if anything, that any of the other projects could add to it.

Actually, I know the guy who wrote it, heh.  He's actually a decent programmer, though I haven't seen his code.  I dunno.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 06:42:23
Quote
Actually, I know the guy who wrote it, heh.  He's actually a decent programmer, though I haven't seen his code.  I dunno.

I'm sure he is a great guy and I don't mean to pick on him, but I can't understand why someone would put something like that out for public distribution.  Especially these days, where your entire online history is just a Google search away.  Every time I start a contract or do an interview, the client either comes right out and says they have googled my past work or you know they have based on their questions.  I'd hate to be this guy going into an interview in 5 years and have someone bring this code up.

Anyway, we're totally off topic now.  Getting back to foo_pod, I've started working on transcoding support, so FLAC/OGG/WMA/etc. files will be able to be transparently transcoded to MP3 or AAC, and sent to the iPod.  I'm also working on the one last major performance issue.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Will Fisher on 2004-04-22 07:50:20
Quote
So I was browsing through the code, and it was clear that it was, quite simply, crap.  This one line of code from ml_ipod.dll sums up my impression:
Code: [Select]
while(*p) *(d++)=(unsigned char)*(p++); //FUCKO: totally gay utf16 to utf8 conversion


Not only is the code completely wrong, but when you see comments like that, you know that it was written by some snot nosed 15 year old hacker (in the worst sense of the word).

I personally got rid of that line of code, and now the internationalisation support for ml_ipod is as good as the rest of winamp (that is, if your windows code page is set correctly, you can view text in your languages charset perfectly).

(I won't comment on you calling Christophe a 15 year old snot nosed hacker. Save to say that I totally disagree with you).

Will Fisher
Title: foo_pod - Foobar2000 meets the iPod
Post by: xdeadbeef on 2004-04-22 07:52:55
Quote
Quote
Actually, I know the guy who wrote it, heh.  He's actually a decent programmer, though I haven't seen his code.  I dunno.

I'm sure he is a great guy and I don't mean to pick on him, but I can't understand why someone would put something like that out for public distribution.  Especially these days, where your entire online history is just a Google search away.  Every time I start a contract or do an interview, the client either comes right out and says they have googled my past work or you know they have based on their questions.  I'd hate to be this guy going into an interview in 5 years and have someone bring this code up.

Anyway, we're totally off topic now.  Getting back to foo_pod, I've started working on transcoding support, so FLAC/OGG/WMA/etc. files will be able to be transparently transcoded to MP3 or AAC, and sent to the iPod.  I'm also working on the one last major performance issue.

Umm, well I may have written the comment (Though I think a friend wrote the actual code), I forget, but I appreciate your concern for my image, but the reality is that I'm not planning on going to interview for a job anytime soon, and if I was, I would simply explain that that comment was to explain that that code was sub-par and lacking, and that I am very capable of using the word that twice twice in a row in a sentence, without causing real issue. Thanks, Justin.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Christophe on 2004-04-22 07:58:04
Aero:

You've been SERVED.

-Christophe
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-22 15:23:26
Quote
Aero:

You've been SERVED.

-Christophe

That's lovely. It was a fairly sophomoric line of code and surely makes it harder to take your project seriously. Possibly you can prove the community wrong and help out with foo_pod. More collective knowledge is always good.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 15:34:21
Well, now that everyone has had their say and I have been SERVED, I suggest we get back to foo_pod discussions...
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-22 15:37:12
Quote
Quote
Aero:

You've been SERVED.

-Christophe

That's lovely. It was a fairly sophomoric line of code and surely makes it harder to take your project seriously. Possibly you can prove the community wrong and help out with foo_pod. More collective knowledge is always good.

Actually, it is a wonderful allusion to a recent episode of South Park.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-04-22 16:57:45
Very cool plug-in, Aero! Thanks a lot!!  I'd like to add that this plug-in was the reason I finally went out and bought an iPod. This is the best iTunes replacement... EVER!!! 

I've only got one thing, though...

I can't seem to play songs that have characters like:

(Nelly Furtado) Força
(Gyllene Tider) Det Är Över Nu

As far as I can tell from the changelog, this should be corrected by version 0.5.1 with character escaping? Or is that only for strictly non-european characters (as ç, ä and ö are european characters... )?

Other than that, thanks for a plug-in that just makes foobar that much better...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 17:06:48
Quote
Very cool plug-in, Aero! Thanks a lot!!  I'd like to add that this plug-in was the reason I finally went out and bought an iPod. This is the best iTunes replacement... EVER!!!  

I've only got one thing, though...

I can't seem to play songs that have characters like:

(Nelly Furtado) Força
(Gyllene Tider) Det Är Över Nu

As far as I can tell from the changelog, this should be corrected by version 0.5.1 with character escaping? Or is that only for strictly non-european characters (as ç, ä and ö are european characters... )?

Thank you for your kind words! 

You should try foo_pod version 0.5.4 (http://loodi.com/foo_pod.zip) and see if that fixes your problem.

The situation is that the iPod doesn't handle certain filenames, which as you have experienced, includes filenames with some non-English characters.  So even though foo_pod was handling them correctly, I had to add the filename espcaing to allow the songs to be played on the iPod.

dragonfin reported that 0.5.4 filename escaping fixed the problem with Asian character containing filenames, so I would expect that it would also fix European filenames as well, but if it doesn't, send me the filename(s) that don't work and I'll see about adjusting the escaping algorithm.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-04-22 17:14:17
Thanks for the quick reply!

I can tell you, that every day I get home from work, I check to see if you've made a new version... which means I've already tried 0.5.4... and it doesn't work...

Anyways, here are some examples of characters that don't work:

ç, ä, ö, å

Those are the only ones I've tested. I would suspect that the danish characters æ and ø don't work either...

You don't need the whole filename, do you? If so, I can just post them...

Thanks again! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 17:18:36
Quote
I can tell you, that every day I get home from work, I check to see if you've made a new version... which means I've already tried 0.5.4... and it doesn't work...

Anyways, here are some examples of characters that don't work:

ç, ä, ö, å

Those are the only ones I've tested. I would suspect that the danish characters æ and ø don't work either...

You don't need the whole filename, do you? If so, I can just post them...

No, I can create some test cases with those characters and see if I can reproduce the problem.  I'll try to test it out tonight.

Maybe I should ask Christophe and friends for their solution...

Edit:I actually looked, and they work around the filename problem by duplicating what gtkpod does and copy songs to the iPod with a dummy filename (e.g. ml_ipod12345.mp3).  That is definitely the easiest solution, but I was hoping to keep as much of the original filename as possible. 

Maybe I should escape the filenames down to straight ASCII (no non-English characters), but add a metadata tag to the file with the original, unmolested filename?  That way, with the right program (like a future version of foo_pod), you could copy files off of the iPod and retreive the correct filenames.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-04-22 17:22:26
Quote
Thanks for the quick reply!

I can tell you, that every day I get home from work, I check to see if you've made a new version... which means I've already tried 0.5.4... and it doesn't work...

Anyways, here are some examples of characters that don't work:

ç, ä, ö, å

Those are the only ones I've tested. I would suspect that the danish characters æ and ø don't work either...

You don't need the whole filename, do you? If so, I can just post them...

Thanks again! 

That's odd, because on my ipod i've found that some of those characters work. Björk works fine, as does the æ in Sigur Ros's Agætis Byrjun. Though I haven't tried these in foo_pod yet, these were loaded months ago with ephpod. Though Aero mentioned that it doesn't have to do with foo_pod, but rather with the ipod itself. I'm using a 10gig gen. 2 ipod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 17:32:10
Quote
That's odd, because on my ipod i've found that some of those characters work. Björk works fine, as does the æ in Sigur Ros's Agætis Byrjun. Though I haven't tried these in foo_pod yet, these were loaded months ago with ephpod. Though Aero mentioned that it doesn't have to do with foo_pod, but rather with the ipod itself. I'm using a 10gig gen. 2 ipod.

Ephpod is probably doing filename espcaing, and you just didn't notice since you normally don't  see filenames on the iPod.

I posted this above as an Edit, but I think what I'm going to do is convert all filenames to straight ASCII or do what gtkpod/mli_pod are doing, but include a metadata tag in the file on the iPod which contains the original filename.  That way, it will be possible to copy the files off of the iPod and retreive the correct filename.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Marinmo on 2004-04-22 17:39:51
Note I do not own an Ipod, but a small suggestion comes to mind, don't know if it's possible to do, but here goes:

In filename, replace the ç, ä, ö, å with c, a, o, a respectively, while keeping the id3 tag (because Ipod use those, right?) intact with ç, ä, ö, å letters? Can Ipod display those? If so, problem seems solved to me?

Oh, and I didn't read the whole thread before posting this, so flame me if this has already been suggested.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 18:14:19
Quote
Note I do not own an Ipod, but a small suggestion comes to mind, don't know if it's possible to do, but here goes:

In filename, replace the ç, ä, ö, å with c, a, o, a respectively, while keeping the id3 tag (because Ipod use those, right?) intact with ç, ä, ö, å letters? Can Ipod display those? If so, problem seems solved to me?

That is a good idea, but it is a little more complicated than that.  For example, what if you have 2 songs: â.mp3 and ä.mp3.  If you just strip off the accent, you would end up with duplicate filenames (which isn't necessarily an error, but it could be depending on the situation).  And I can't even begin to think how to escape non-Latin characters, like Hebrew, Arabic, or Asian glyphs!

What I am currently doing is just randomly picking a character and inserting that in place of the non-ASCII character.  Another solution would be to use URI style escaping such as %3f , or simply just not using the original filenames at all.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-04-22 18:18:37
Oh no, it's a good idea... I'm just inclined to think like Aero; it would be rather cool if you could keep the original filename intact. If you can't, tough luck, but, you know... it's just one of those things...

By the way... I myself have tested Sigur Rós... doesn't work either...

Actually, the iPod can't even show the letter ý in Ný Batteri!! I haven't seen that before!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: kalmark on 2004-04-22 18:21:30
Quote
In filename, replace the ç, ä, ö, å with c, a, o, a respectively, while keeping the id3 tag (because Ipod use those, right?) intact with ç, ä, ö, å letters? Can Ipod display those? If so, problem seems solved to me?

Actually, this idea is preatty good - my Thomson portable works with this idea, as you can transfer any filename with any accented characters (latinic letters only, I think) and it displays them converted to the defult english alphabet - the original filename does not change when viewed e.g. in Total Commander. So it's kind of an intelligent behaviour on the side of the player, sad that iPod does not do this.

Aero, maybe you could append a number at the end of the converted filenames - so e.g. "Kispál és a borz - Szívrablás" would be "Kispal es a borz - Szivrablas - 1" or something, and the next track with the same name could be "Kispal ...  - 2". This way the name could be preserved.

[span style='font-size:8pt;line-height:100%']The example is in Hungarian, in case you were wondering.

edit: added some clarification
[/span]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 19:11:06
Quote
Aero, maybe you could append a number at the end of the converted filenames - so e.g. "Kispál és a borz - Szívrablás" would be "Kispal es a borz - Szivrablas - 1" or something, and the next track with the same name could be "Kispal ...  - 2". This way the name could be preserved.

The problem is that while is easy for a human to look at "á" and see that it should be translated to "a", it is hard for a computer to do so.  I'm sure there are probably libraries available that can do the translation (if anyone knows of a good one written in C or C++, please point me to it), but this is getting pretty complicated for a device that theoretically doesn't even care about filenames.

I am going focus on getting something working, first of all, so everyone can play their songs on the iPod.  Then I'll see about making it nice.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-04-22 19:20:22
May be the best thing to do is to just hash out any unusuable characters, as I'm pretty sure everyone will have the correct info in the tags if they are planning to use the files on an iPod.

The only problem would be if you wanted to copy the files from the iPod to the PC, but this could be gotten round by renaming the files based on the tags.

Just my 2 cents.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kalmark on 2004-04-22 19:32:21
Yep, you're right, but you know the string for a filename, and you can parse it, right? So if you get to a character which is of a not supported character code, you simply look up in a character table you created to see what you have to write instead of the not supported character. Let's see some pseudo-code (maybe java style, you'll surely get it)
Code: [Select]
while (filename.hasNext())
{
      char i = filename.next();
      if (i < charcodemin &&  i > charcodemax)
      {
              int code = (int) i;
              while (substitutelist.hasNext())
              {
                     struct newcode=substitutelist.next()
                     if code = newcode.unsupported
                     {
                             outfile.NamesetNextChar(newcode.supported);
                              break;
                      }
               }
       }
      else outfile.NamesetNextChar(code);
}


I hope this is about right and makes sense  But this is possible to make! As my mp3 discman uses some similar algorythm.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Marinmo on 2004-04-22 21:25:48
Actually, you could replace the letters with their sound - as I am Swedish, I can contribute some; å would then be "aa", ä would be "ae" and ö would be "oe". Ofcourse this requires that every language that has those special characters "chip in" to the mix. For example; french's "ça va?" would be "sa va?" instead - practical renaming still maintaining the "meaning" of the sentence/word. Ofcourse this creates even more problems (if there is any such cases) with characters that have multiple sounds depending on the word. If not, be happy

But then again, I'm not capable of coding this. I just try to come up with some sort of solution - I have no idea how easy/hard this is to actually do, code-wise.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-22 21:38:00
Dumb question, maybe, but what does iTunes do with these files? Does it rename them when transferring to the iPod? I know it normally does not rename files, but if they don't work, then they don't work, and we should try to emulate the operation of iTunes in this respect, methinks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-04-22 21:44:51
D'oh, why didn't I think of that before???

iTunes replaces all "foreign" characters with an underscore (_).

That's propably the easy way around it... 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-22 21:46:54
Thanks for all of the suggestions, but this is getting way too complicated. 

My best ideas so far are to:

1. Just replace the non-ASCII characters with random letters.  This is quick and easy, and it doesn't change the length of the filename which would be important if the filename just barely fit into the allowed space (255 characters or less).  The downside is that it ruins the filename so that there is no chance to recover it, without adding metadata to the file itself.

2. Encode the UTF-8 filename with URI style escaping (e.g. %3f).  This is nice because the filename itself contains all of the information necessary to recover the original filename.  The downside is that most European characters require 2 UTF-8 bytes + the "%", and Asian characters can be upto 4 bytes total (3 UTF-8 bytes + "%").  That really cuts down the maximum filename size.

3. Get rid of filenames altogether, and use the gtkpod solution.  This is the easiest of all, but I don't think anyone wants an iPod full of foopod12345.mp3 files, at least without an easy way to convert them back to the original filename.


Otto42: iTunes does some heavy filename escaping, so even legal filenames are changed.  And its goal is different - I'm trying for the best way to preserve the original filename, while iTunes doesn't care since it doesn't allow the user to copy files off of the iPod anyway.

Basically, the problem is that there is no really good way to work around the iPod's filename limitations.  Like I said earlier, I'm going try to make it work for all character types, then see if it is worthwhile to make it nice.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-22 22:06:18
I love you Aero, you're so sexy
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-04-22 22:10:42
I'd very much like to second that!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-23 03:50:46
Quote
I love you Aero, you're so sexy

You have obviously heard the stories about the size of my pod...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-24 04:17:22
Version 0.5.5 (http://loodi.com/foo_pod.zip) is now available.

It was actually posted earlier today, but HydrogenAudio was offline and I couldn't post about it.  I played around with the filename escaping, and it now always writes out ASCII filenames.  So both European and Asian filenames should work now. 

There are also some minor speed improvements that may or may not be noticable.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-24 11:31:00
I think all these speed improvements call for some benchmarking against other iPod-related applications. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-25 00:49:40
Quote
I think all these speed improvements call for some benchmarking against other iPod-related applications.

There are other iPod applications? 

It will be hard to benchmark foo_pod against other programs, like Ephpod, because of the different ways they handle songs.

For example, when you add a directory in EphPod, it processes the files then sends them to the iPod.  With foo_pod, you first load them into Foobar, then use foo_pod to transfer them to the iPod.  The first time you load a file into Foobar, the process is slow.  But for subsequent loads, it is very fast.

Overall, my gut feeling is that foo_pod is a little faster than Ephpod.  But if you are transferring more than a few files, the overhead of the program is small compared with the time it takes to copy files to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-26 06:49:36
Version 0.5.6 (http://loodi.com/foo_pod.zip) is now available.


Not too much new feature or performance-wise, but 0.5.6 fixes a critical sync related bug.  I believe this is the root cause of reardon's problem reported (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=198825) on March 31.

The problem was very hard to isolate, since it typically only presented itself after doing a full sync.  Anyway, if you have done a sync and it appears that your iPod was wiped (and a blank playlist appears), then 0.5.6 should take care of your problem.

I also implemented the "Delete Selected File(s)" feature that somasatellite requested (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=202906).  This is a faster way to delete files from the iPod, rather than loading the playlist, removing the songs, and syncing.

Speaking of loading the iPod playlist, there is a new preference item to automatically reload the 'iPod (foo_pod)' playlist after any send/sync/delete.  This is disabled by default, since large databases can take 10+ seconds to load, but if enabled, it will keep the foo_pod playlist in sync with what is on the iPod without having to manually reload it.


From the Readme:
Version 0.5.6 - April 26, 2004
*  Finally fixed last known serious sync problem.  In some rare cases, after a sync
  you could see a blank playlist on the iPod and a few or no songs.  This was
  sometimes triggered by deleting iPod files then doing a sync.

*  Added a "Delete Selected File(s)" context menu item, so it is possible to directly
  remove files from the iPod, without having to do a sync.  This option is only visible
  when one or more files residing on the iPod are selected.

*  Added preference item (Auto Update) to automatically update the "iPod (foo_pod)"
  playlist after any send/sync/delete.

*  Some minor performance improvements.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-26 19:12:46
Quote
When you sync, you have to do the following:

1. Read the Play Counts file off the iPod. This contains all the play counts and such since the last time you synched. Everything "new" in other words. There's a class I wrote at the bottom of the iPodDB stuff specifically for parsing this file. It can't write the file, but then you'll never need to write to that file.

2. Add/merge that data into foobar's database.

3. DELETE the Play Counts file off the iPod. Or rename it to .bak or something. This is important, you want to clear that file so you don't get dupe counts.

4. When you build the new iTunesDB file, make sure to include the Play Counts info as well as the timestamps and such in the proper fields that are there for them. This is so smart playlists (if and when) will work correctly on 2.0 and up iPod's.

And that's pretty much that.

Edit: Part 2 is trickier than it seems. The Play Counts file is basically linked to the existing iTunesDB in such a way that the first song entry in Play Counts corresponds to the first song entry in the iTunesDB, and so on. So you'll need to have some way to work out which song in the foobar database corresponds to each song entry that already exists in the current iTunesDB in order to add the new playcount to the right place, update the last played time, etc. If you can sync though, you probably have a good idea of how to figure this out already.

I was thinking about how to implement this, and I'm kind of at a loss to figure out how to make it work.

Obviously, I can add metadata to files that is compatible with the Play Counter component.  And I can parse the Play Counts file and map the counts back to songs that are currently on the iPod. When to do this is an open question, but for now, it could happen any time you did a load/send/sync.

The problem is that there is no way to map iPod files back to files on your hard drive, at least at the moment. (I could write a function that looks for matching files in the Foobar playlist(s)).  Of course, updating a hard drive file would cause it to replace the equivalent iPod file on the next sync, so if you had a number of  files that were updated, they would all need to be copied to the iPod.  That could make a rather lenghty sync.

So at least at the moment, the only files I could write the play count values into are the ones on the iPod.  Is this what you are looking for, knowning that a sync could wipe out the files on the iPod and replace them with non-play counted versions from the hard drive?

Edit:  Actually, a sync would not necessarily replace the play counted iPod files, unless the source file changed.  So if you are willing to live with the Play Count data living only on the iPod, then this would be doable.

Edit2:  Maybe this would work better with the database?  I dunno...I don't use it so I don't have much experience with Foobar's database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-26 22:50:31
Is there an easy way to sync a directory with the iPod?

When I update my music library, songs get added and deleted here and there, and it is a bitch to have to add all the songs to foobar2000 again just to sync with the iPod. I mean, it is not just a matter of adding the songs ive added to the playlist containing my library (for foo_pod syncs).

Is there a command to sync a foobar2000 playlist with a directory maybe? I saw remove dupes, but this doesnt exactly do what i wanted.

If this feature does not exist, I would love to see it as part of foo_pod... 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-26 23:17:46
Quote
Is there an easy way to sync a directory with the iPod?

When I update my music library, songs get added and deleted here and there, and it is a bitch to have to add all the songs to foobar2000 again just to sync with the iPod. I mean, it is not just a matter of adding the songs ive added to the playlist containing my library (for foo_pod syncs).

Is there a command to sync a foobar2000 playlist with a directory maybe? I saw remove dupes, but this doesnt exactly do what i wanted.

If this feature does not exist, I would love to see it as part of foo_pod... 

Not really, at least not like how I think you are expecting it to work.

foo_pod's current interface is only through Foobar, which means that it operates off of playlist entries and playlists, not files and directories.

Getting back to your problem, you can just select or create an empty playlist, then use Foobar's Add Directory to populate the playlist.  Then either call foo_pod's Send Playlist to iPod or select the new songs and selected the Send Selected context menu item.  foo_pod should only copy files that aren't already on the iPod, so it won't hurt if some or all of the files are already on the iPod.

If there was scripting support in either Foobar or foo_pod, you could probably automate this process.  Maybe foo_lua can already do this (create a new playlist, add a directory, then call the foo_pod Send Playlist menu item, then remove the playlist)?

I am also toying around with making foo_pod a Foobar service, so anyone could write a custom GUI that uses it to perform iPod operations.  Then you could have Add Directory add the files directly to the iPod.  Something like this would be the ultimate iTunes killer, since you'd have the nice interface while hiding the playlists and other Foobar-isms, while still keeping all of the Foobar power.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-04-26 23:51:04
Quote
Quote
Is there an easy way to sync a directory with the iPod?

When I update my music library, songs get added and deleted here and there, and it is a bitch to have to add all the songs to foobar2000 again just to sync with the iPod. I mean, it is not just a matter of adding the songs ive added to the playlist containing my library (for foo_pod syncs).

Is there a command to sync a foobar2000 playlist with a directory maybe? I saw remove dupes, but this doesnt exactly do what i wanted.

If this feature does not exist, I would love to see it as part of foo_pod... 

Getting back to your problem, you can just select or create an empty playlist, then use Foobar's Add Directory to populate the playlist.  Then either call foo_pod's Send Playlist to iPod or select the new songs and selected the Send Selected context menu item.

Well this is what I am doing now, but with such a large music library, it takes way too long to add all the files to a playlist again (as I don't want to use foobar2000's database).
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-04-27 02:19:24
Quote
Quote
Quote
Is there an easy way to sync a directory with the iPod?

When I update my music library, songs get added and deleted here and there, and it is a bitch to have to add all the songs to foobar2000 again just to sync with the iPod. I mean, it is not just a matter of adding the songs ive added to the playlist containing my library (for foo_pod syncs).

Is there a command to sync a foobar2000 playlist with a directory maybe? I saw remove dupes, but this doesnt exactly do what i wanted.

If this feature does not exist, I would love to see it as part of foo_pod... 

Getting back to your problem, you can just select or create an empty playlist, then use Foobar's Add Directory to populate the playlist.  Then either call foo_pod's Send Playlist to iPod or select the new songs and selected the Send Selected context menu item.

Well this is what I am doing now, but with such a large music library, it takes way too long to add all the files to a playlist again (as I don't want to use foobar2000's database).

You'll have to parse all the files anyway to get the tag info.  The obvious solution is to turn on foobar's database so that you only have to parse each file exactly one time.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-27 23:15:45
Quote
Obviously, I can add metadata to files that is compatible with the Play Counter component.  And I can parse the Play Counts file and map the counts back to songs that are currently on the iPod. When to do this is an open question, but for now, it could happen any time you did a load/send/sync.

The problem, as I see it, is that ideally, I wouldn't want the Play Count and Last Played Time and Rating stored in my song file itself, actually. A database should hold this information.

Quote
Edit:  Actually, a sync would not necessarily replace the play counted iPod files, unless the source file changed.  So if you are willing to live with the Play Count data living only on the iPod, then this would be doable.

This is the best solution until it becomes possible to store the play count info locally without writing it to the music files themselves as metadata. As long as the play count is updated in the iTunesDB, live updating smart playlists can utilize this data, as least with newer iPods.

Quote
Edit2:  Maybe this would work better with the database?  I dunno...I don't use it so I don't have much experience with Foobar's database.

Far, far better. There's no reason to write this info to the songs themselves, except to make the data transferrable, and ideally I wouldn't want it to transfer in most cases anyway.

Let me think about it a bit. Perhaps there's a better solution than we're thinking of. Foobar's database system has some definite drawbacks that I'm only now starting to see. Modifications to it may be needed to do this correctly, or it may be needed to implement some kind of database not related to foobar's database... Really, play counts and last played time and ratings data is only useful in conjunction with smart playlists, or whatever you want to call an auto-created playlist. So implementing that first might be required.
Title: foo_pod - Foobar2000 meets the iPod
Post by: gandalf44 on 2004-04-28 15:35:16
Otto42,

Can you somehow use foo_playlistgen_ex and foo_playcount in conjunction with foo_pod?  I have been using the Extened Playlist generator and it virtually has enabled me to have Smart Playlists with foobar2000.

It would suck to have to re-invent the wheel since both plugins seem to work nicely currently, w/o of course foo_pod support.

-gandalf44
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-28 15:56:50
Quote
Can you somehow use foo_playlistgen_ex and foo_playcount in conjunction with foo_pod?  I have been using the Extened Playlist generator and it virtually has enabled me to have Smart Playlists with foobar2000.

It would suck to have to re-invent the wheel since both plugins seem to work nicely currently, w/o of course foo_pod support.

I think what Otto wants is a way to get the play count from the iPod (which is created on the iPod as you play each song).

Actually, I maybe know how to do this.  Rather than writing metadata to the iPod files, I can just populate PLAY_COUNTER and the other metadata used by the Play Counter component (http://www.hydrogenaudio.org/forums/index.php?showtopic=20719&st=0&) when the file is loaded into the foo_pod playlist (and store the play count data for each song in the iTunesDB database on the iPod).  I already sort of do this for the artist/title/album and other data from the iPod database, so adding the play counter stuff won't be very difficult.

The only fuzzy part in my mind is when to delete the Play Counts file on the iPod.  I guess that any time you load/send/sync/delete from the database, foo_pod should parse the Play Counts file, copy the inforrmation to the iTunesDB database, then delete Play Counts.

Does that sound like that would work and what you are looking for, Otto?
Title: foo_pod - Foobar2000 meets the iPod
Post by: gandalf44 on 2004-04-28 16:14:03
What about integrating with Quick Tag (foo_quicktag) for ratings?  Has this been discussed?

-gandalf44
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-28 16:27:44
Quote
What about integrating with Quick Tag (foo_quicktag) for ratings?  Has this been discussed?

I was unaware of  foo_quicktag (http://members.lycos.co.uk/musicf/), but yeah, it looks like I would just have to add a RATING metadata item to Foobar when the iPod playlist is loaded.  That is very easy to add - I just didn't know of anything that was using ratings on Foobar, or a "standard" metadata name, to warrant adding it to foo_pod.,
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-28 19:06:46
Okay.. here's kind of what I'd like:

Play Counts to be syncronous. By this, I mean that playing songs on the iPod or in foobar will increment a play counter for that song, and these play counters would be syncronized between the two. In other words, if I play a song on foobar, then play it on the iPod, and then sync, that songs play count should go up by 2, and the updated play count should now be written back to the iPodDB. The play count should reflect how many times I've played the song. Simple as that.

There should be a last played time, also synced between the two, indicating when I last played the song.

Ratings, ditto. If I change a rating on the iPod, it should sync back to foobar when I sync the iPod.

None of these three should get stored as metadata in the song files themselves. Ever. Okay, at least I'd like an option to never store these in the song files. An MP3 file should not change just by playing it, I say.

Once all that is there, then I'd like to be able to build smart playlists using that data. But that's long term, and not a biggie right now.


Regarding when to do the play counts deletion, during a sync you do this:

1. Read the Play Counts file.
2. Add the play counts from there to the play counts stored in *foobar* (not those in the iTunesDB). Wherever they may be.
3. Delete the Play Counts file.
4. Now, actually sync the songs, and copy the new, updated play count data from foobar to the iTunesDB.

The idea being that the play counts file holds whatever has changed since the last time you synced, and that data needs to be merged into foobar's data, not just into the iTunesDB data. The iTunesDB data needs to be regenerated from foobar's data. Follow?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-28 19:11:36
Gandalf: I've not used foo_playlistgen_ex but I doubt it's compatible with smart playlists on the iPod. The wheel will very likely need to be reinvented for this part, at least.

foo_playcount might work, but I certainly won't use it in it's current form, where it modifies my music files. Until there's a way around that, it seems unlikely to work properly, in my view. This is just a dealbreaker for me. If my music is constantly changing, then I can't use most of my other music programs the way I use them currently.

Edit: I admit that for the time being, I've gone back to iTunes and stopped using foobar/foo_pod. Smart playlists on my iPod are just an essential for the way I listen to my music. I don't listen to music using the computer much, so having smart playlists there is not a big deal to me. I tried foo_pod, I really did, but it's just not enough, yet. This is why I'm posting this sort of thing. I hate iTunes, but just I gotta have live updating smart playlists on the iPod...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-28 19:24:29
Aero: I noticed that during a sync with iTunes, it was spinning my external drive pretty hard, running through my music. I'm thinking it's creating a hash of the first X bytes in the file (or something similar) and then possibly using that as some sort of identifier in the iTunesDB. That may be what some of that weird looking data in the MHIT is. Investigation might be needed here, as that certainly would help with syncing, don't ya think?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-28 19:59:49
Quote
Aero: I noticed that during a sync with iTunes, it was spinning my external drive pretty hard, running through my music. I'm thinking it's creating a hash of the first X bytes in the file (or something similar) and then possibly using that as some sort of identifier in the iTunesDB. That may be what some of that weird looking data in the MHIT is. Investigation might be needed here, as that certainly would help with syncing, don't ya think?

Try installing and running FileMon (http://www.sysinternals.com/ntw2k/source/filemon.shtml) and spy on what iTunes is doing.  FileMon will show you exactly which files iTunes is accessing, and if it is doing a partial read, which range it is reading from (offset and length, in the far right column).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-28 20:08:15
Quote
Edit: I admit that for the time being, I've gone back to iTunes and stopped using foobar/foo_pod. Smart playlists on my iPod are just an essential for the way I listen to my music. I don't listen to music using the computer much, so having smart playlists there is not a big deal to me. I tried foo_pod, I really did, but it's just not enough, yet. This is why I'm posting this sort of thing. I hate iTunes, but just I gotta have live updating smart playlists on the iPod...

Can't you set up your smart playlists on iTunes, then use foo_pod to transfer music?  While I  haven't tried it, my understanding is that iPodDB, and how I use it in foo_pod, will preserve the smart playlist MHOD data.  So theoretically, at least, it should work.

Also, if you don't mind, email or PM me an example of how you use smart playlists, and why they are so essential to you.  I'm curious, since have never used them...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-28 20:52:26
Quote
Try installing and running FileMon (http://www.sysinternals.com/ntw2k/source/filemon.shtml) and spy on what iTunes is doing.  FileMon will show you exactly which files iTunes is accessing, and if it is doing a partial read, which range it is reading from (offset and length, in the far right column).

I'll give it a shot when I get home and see what I can find out.

Regarding smart playlists, I hadn't considered that. I wiped the iPod before using foo_pod with it. Silly me. I might give that a shot later.

As for what I do with smart playlists, well, I listen to smart playlists almost exclusively. Here's a few I have on the iPod:

(unless I state otherwise, all my playlists also include two rules, those being "Genre is not Comedy" and "Genre is not Books and Spoken").

Good songs - Anything rated 3 stars or higher
Great songs - 4 stars and higher
Recently Played - Anything played in the last 2 weeks
Not Recently Played - Anything not played in the last 2 weeks
Old but Good - Anything rated 3 or higher and not played in the last 2 weeks (probably my most used playlist)
Old but Great - Same as "Old but Good" but 4 stars or higher
Fast songs - Songs with a BPM higher than 120
Slow songs - Songs with a BPM lower than 80
New Music - Anything I've added in the last month
Angry Music - A collection of songs by 311, Rage Against the Machine, AudioSlave, few other bands, that I've rated 3 or higher.
Good 90's music - Stuff from 1990-1999 that's rated 3 stars and up.
Least 100 Played - 100 songs with the lowest playcounts
Top 100 Played - 100 songs with highest playcounts

Etc, etc. You get the picture, I'm sure.

I've got several more SPL's that I can't think of off the top of my head. Anyway, I have 6000 songs on the iPod. When I'm driving along listening, I put it on a playlist with shuffle turned on and let it go. I don't make mixes myself, I let it make them for me. I don't feel the need to micromanage my listening, I just prefer to tell it what sort of things I want to hear and let it pick them automatically. I'm always coming up with new smart playlists, essentially, and I just leave them there on the off chance I might be in that sort of mood.

But all these rely on having 100% correct data. So I've gone to lots of trouble to put all the right data in there, sort of thing. All my "Comments" fields contain album reviews from AMG, for example (which makes for interesting smart playlists... think "Comments contains edgy" or some other descriptive type of weird adverb that music reviewers would tend to use). Anyway, having all the data correct is critical, which is why this sort of playcount syncing and such matters so much to me.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-04-28 21:26:18
Quote
As for what I do with smart playlists, well, I listen to smart playlists almost exclusively. Here's a few I have on the iPod:

(unless I state otherwise, all my playlists also include two rules, those being "Genre is not Comedy" and "Genre is not Books and Spoken").

Good songs - Anything rated 3 stars or higher
Great songs - 4 stars and higher
Recently Played - Anything played in the last 2 weeks
Not Recently Played - Anything not played in the last 2 weeks
Old but Good - Anything rated 3 or higher and not played in the last 2 weeks (probably my most used playlist)
Old but Great - Same as "Old but Good" but 4 stars or higher
Fast songs - Songs with a BPM higher than 120
Slow songs - Songs with a BPM lower than 80
New Music - Anything I've added in the last month
Angry Music - A collection of songs by 311, Rage Against the Machine, AudioSlave, few other bands, that I've rated 3 or higher.
Good 90's music - Stuff from 1990-1999 that's rated 3 stars and up.
Least 100 Played - 100 songs with the lowest playcounts
Top 100 Played - 100 songs with highest playcounts

Etc, etc. You get the picture, I'm sure.

...

But all these rely on having 100% correct data. So I've gone to lots of trouble to put all the right data in there, sort of thing. All my "Comments" fields contain album reviews from AMG, for example (which makes for interesting smart playlists... think "Comments contains edgy" or some other descriptive type of weird adverb that music reviewers would tend to use). Anyway, having all the data correct is critical, which is why this sort of playcount syncing and such matters so much to me.

Interesting.  You obviously have much better metadata in your files than I!    I was happy when I spent the considerable amount of  time just getting artist/title/album correct when I got my iPod.

It is facinating that everyone uses their iPod a little differently.  I'm definintely a "throw everything on there that fits, turn on shuffle, and skip to the next track if you don't like the song" kind of guy...  So foo_pod is definitely geared toward someone like myself, although with an intelligent playlist creator on Foobar, you could do everything you are doing with smart playlists, except for the Played * type lists.  Once I hook up ratings and try to get play count working, maybe it be possible to create those as static playlists.  Maybe I'm missing the point, but if you sync your iPod every day or so and have it rebuild the smart playlists, that is basically as good as having dynamic smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-28 22:10:33
Quote
Once I hook up ratings and try to get play count working, maybe it be possible to create those as static playlists.  Maybe I'm missing the point, but if you sync your iPod every day or so and have it rebuild the smart playlists, that is basically as good as having dynamic smart playlists.

True, but as good, in my particular case, isn't quite good enough. I don't sync every day or so. I generally sync once a week, sometimes a little more but not much more. Especially if I'm travelling, because my computer doesn't come with me. And travelling is kinda where I need it the most.

But yes, I go to a lot of trouble on my metadata. Took me a while to get my initial data going for 3000 songs, but after that was done it was a simple matter of doing the data correct for each album as I ripped (or otherwise "acquired" it). I had to write a program to correct the BPM number produced in MP3 tags by PCDJ Red, for example, just so I could make those fast/slow songs list.

I'm still unable to calculate BPM for a M4A file, so lately I've been converting them to MP3's, calculating BPM on those, then inputting them by hand into the M4A's metadata. It's not much fun, but I'm working on better ways.

My current rip/encode process is rip to WAV, encode to temp MP3 (at a pretty low quality), figuring BPM of MP3s with PCDJ Red, deleting MP3s, encoding WAVs to M4A's, using Tag&Rename for most of the metadata and for renaming the files to the correct directory structure, manually putting in the BPMs, add to iTunes Library. It's not really as involved as it sounds, but it does mean that I don't do it in batches, sort of thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-04-29 05:01:54
Edit: Never mind. iTunes isn't doing anything weird. I'm just not thinking straight. What it's doing during a sync when it gets a lot of drive activity is checking the attributes of all the files, looking to see if any file has changed. Probably checking out the Last Modified Timestamp on the file itself, or the date created timestamp or something.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2004-05-01 02:34:07
I don't believe anyone has said this yet but:

In version 0.5.6, if you add some files to the iPod playlist and leave them highlighted and then say sync current playlist, it will delete everything and add just the highlighted files. I don't know if this was on purpose or not.

Thanks for the plugin. Good work so far!

-Tristan
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-01 17:47:00
Quote
In version 0.5.6, if you add some files to the iPod playlist and leave them highlighted and then say sync current playlist, it will delete everything and add just the highlighted files. I don't know if this was on purpose or not.\

Are you sure it was only the highlighted files?  The sync function doesn't do anything with selected/highlighted files - it only operates on playlists. 

So if was only the highlighted files, then something weird might be going on.  If it transferred the whole playlist and deleted all of the other files, then that is the expected behavior.  Sync means "make the iPod looks like the current playlist (or playlists if you use the Sync All Playlists option)", which implies that everything that isn't in the playlist will be deleted. 

Send Selected/Send Playlist will always only copy new files to the iPod, and never delete any, so if you are unsure, that is the best option to use.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-02 10:51:20
Version 0.6 (http://loodi.com/foo_pod.zip) is now available.


This release adds some new stuff for both users and developers. 

For users, there is a new "Ignore Playlist" feature (suggested by herr klang), so you can specify individual playlists to be excluded from the Send/Sync All command.  This is available on the right-click context menu, where you can set and unset this feature.  It is also saved along with the other prefs, so a playlist will stay ignored unless you rename/remove it or cancel the ignore.

For developers, I have been playing around with Foobar's service_base interface, and I have made an interface for foo_pod.  There are two .h files that you should include, pod.h and pod_error_codes.h.  Then you can get a pointer to the pod class with pod::get(), then call away on the pod functions.  I don't use the service interface internally, so there are bound to be some problems with it, and I'd appreciate any feedback on the interface.

Also for users and developers, I added an "Export iTunesDB Database to XML" feature.  This will dump out all of the songs and playlists that currently reside on the iPod to a structured XML document.  I imagine this will be very useful for iPod developers (this means you, Otto42!), but it also could be nice for users.  I am going to do some XSLT-fu, which will transform the XML into plain text or HTML, so you could run the transformation and put the resulting nicely formatted HTML up on a webpage, for example.



From the Readme file:
Version 0.6 - May 2, 2004
*  Added an (experimental) Foobar2000 service interface for some of foo_pod's functions.
  This is only useful for component authors.

*  Fixed several instances where the progress dialog would not close, typically due to
  an error condition.

*  Delete All Songs And Playlists does a more complete job of removing all iPod music
  related files.

*  Added an "Ignore Playlist" feature.  This is available on the context menu, and allows
  the user to specify upto 30 playlists which foo_pod will not use when syncing or sending
  playlist.  This is useful for keeping playlists of songs that you do not want on your iPod.
  This list of Playlists is saved between Foobar sessions, so the playlist will remained
  ignored until you un-ignore it.

*  Added a "Dump iTunesDB Database to XML" feature.  This will parse the iPod's database file,
  and output the data in XML format. 

*  Fixed a problem when using "Sync All Playlists" where the same song is in multiple playlists.
  Previously, multiple copies of the song would be copied to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-02 11:08:02
BTW, I recommend that you do not update to iPod Software 2.2 (a.k.a iPod Update 2004-04-28 (http://www.apple.com/ipod/download/)), unless you must use the new iTunes features, like lossless encoded music.

While I haven't had any major problems with it and foo_pod, I noticed that it is doing some weird stuff when mounting.  I believe that this is the problem described at news.com (http://news.com.com/2100-1041_3-5202136.html?tag=nefd.pop), although like I said, foo_pod doesn't seem to be affected.  Also tonight, I noticed songs skipping and freezing with 2.2 that worked just a day ago with 2.1.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-05-02 18:16:46
I made a small plugin using foo_pod's new api to sunc the ipod with a list of directories rather than the playlist.

binary (http://members.lycos.co.uk/musicf/test/foo_ipod_dirsync.dll)
source (http://members.lycos.co.uk/musicf/test/foo_ipod_dirsync.zip)

From some quick testing it seems to work fine.

Aero: Nice work on the plugin.

Do you thing you could add something to backup the on-the-go playlist? iTunes used to make a backup of it, and its severly annoying how it is wiped whenever the iPod is connected to the computer.

Edit: In fact does foo_pod wipe all playlists when syncing? It seems to, I don't think that is desirable behaviour.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-02 19:07:30
Quote
I made a small plugin using foo_pod's new api to sunc the ipod with a list of directories rather than the playlist.

binary (http://members.lycos.co.uk/musicf/test/foo_ipod_dirsync.dll)
source (http://members.lycos.co.uk/musicf/test/foo_ipod_dirsync.zip)

From some quick testing it seems to work fine.

Wow...that was so fast!

Quote
Aero: Nice work on the plugin.

Do you thing you could add something to backup the on-the-go playlist? iTunes used to make a backup of it, and its severly annoying how it is wiped whenever the iPod is connected to the computer.

Thanks!

I'm not currently doing anything the OTG playlist, but Otto has code in iPodDB for dealing with them (other than being in a separate file, they are no different than regular playlists).  How about if I automatically read the OTG playlist and if it exists, when you load the iPod database into Foobar, it will create a second "iPod (foo_pod) OTG" playlist.  Or do you want an actual physical copy of OTGPlaylistInfo?

Edit: Actually, it turns out the the OTG playlist is a little different.  Regular playlists are lists of ids, while OTG is a list of indexes.  I have no idea why Apple made it different, but that is why it has to be deleted after every sync - since it contains indexes instead of IDs, any changes to the array of songs will invalidate the index list.

I have OTG playlist reading implemented, but like iTunes, I believe I will need to delete the OTGPlaylistInfo file after any potential removal change to the song list (i.e. sync or remove songs).  But at least you'll have the 'iPod (foo_pod) OTG' playlist in Foobar.

Edit 2:  The more I think about how OTG is implemented, the less I think I can do what you are asking.  I could display the OTG as it exists right before a sync, but that could be useless if the files in the list are deleted after a sync.  If I display it after a sync, the list could be equally as useless, since the indexes could be pointing to different songs.  I'm open to suggestions on what to do about OTG, but I think due to Apple's questionable implementation of OTG, I have no choice but clear it after any sync/remove operation.  It will still be valid after send files, however.

Quote
Edit: In fact does foo_pod wipe all playlists when syncing? It seems to, I don't think that is desirable behaviour.

Yes, I rebuild all of the playlists after a sync that changes the iPod.  I'm not sure I have a choice, since the playlist is really just a list of ids, which can be reused for different songs.  So if you have a playlist with ids 2001, 2002, and 2003 and do a sync which deletes 2002 as well as adding a new file, you could have the new file with id 2002. 

I'll see if there is a more intelligent way to dealing with the playlists, but for now, that is what is implemented.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-05-03 15:37:46
Quote
Wow...that was so fast!
Lol, I wanted it myself, so..

Quote
Yes, I rebuild all of the playlists after a sync that changes the iPod.  I'm not sure I have a choice, since the playlist is really just a list of ids, which can be reused for different songs.  So if you have a playlist with ids 2001, 2002, and 2003 and do a sync which deletes 2002 as well as adding a new file, you could have the new file with id 2002. 

I'll see if there is a more intelligent way to dealing with the playlists, but for now, that is what is implemented.


The ID for the same song will remain unchanged, correct? You could still compare the filenames and remove bad entries, or even recreate the playlists based on path or something, or even try not to reuse the same IDs in a single sync.

If you don't want to do that, if you added some playlist interfaces I could at least add something to my component to recreate the playlists after a sync. Im not too concerned anyway since any playlists on my ipod I would have made in foobar anyway.

Quote
I'm not currently doing anything the OTG playlist, but Otto has code in iPodDB for dealing with them (other than being in a separate file, they are no different than regular playlists).  How about if I automatically read the OTG playlist and if it exists, when you load the iPod database into Foobar, it will create a second "iPod (foo_pod) OTG" playlist.  Or do you want an actual physical copy of OTGPlaylistInfo?

Edit: Actually, it turns out the the OTG playlist is a little different.  Regular playlists are lists of ids, while OTG is a list of indexes.  I have no idea why Apple made it different, but that is why it has to be deleted after every sync - since it contains indexes instead of IDs, any changes to the array of songs will invalidate the index list.

I have OTG playlist reading implemented, but like iTunes, I believe I will need to delete the OTGPlaylistInfo file after any potential removal change to the song list (i.e. sync or remove songs).  But at least you'll have the 'iPod (foo_pod) OTG' playlist in Foobar.

Edit 2:  The more I think about how OTG is implemented, the less I think I can do what you are asking.  I could display the OTG as it exists right before a sync, but that could be useless if the files in the list are deleted after a sync.  If I display it after a sync, the list could be equally as useless, since the indexes could be pointing to different songs.  I'm open to suggestions on what to do about OTG, but I think due to Apple's questionable implementation of OTG, I have no choice but clear it after any sync/remove operation.  It will still be valid after send files, however.

The OTG playlist doesn't get cleared when I sync with iTunes, rather when the iPod is docked with the computer (I think when it is disconnected). However, iTunes would make a copy of it as a standard playlist. So, yes, being able to load it would be suffice as I can send it back afterwards. And well the deleting thing doesnt matter for me anyway. I wouldnt have songs on my OTG playlist that I want to delete.. I guess it depends if you keep all of your songs on your iPod or just what you want to listen to. I wouldn't imagine anyone doing the latter, unless they had a mini or something, but even then its better than nothing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-03 17:16:08
Much like the Play Counts file, the OTGPlaylist file is wiped by the iPod itself, after you dock it to a computer and change.. well.. anything. You don't have to delete the file for it to be wiped, and writing the file is most likely useless.

The reason iTunes deletes both Play Counts and OTGPlaylist files is simply to ensure that iTunes itself doesn't accidently read those files back in twice.

What I think is actually going on is that, after you undock an iPod, it has to reread and parse the iTunesDB. At that time, it probably checks timestamps or something else to detect if the iTunesDB has changed. If it has, it'll wipe both OTGPlaylist and Play Counts the very next time you tell it to play a song. Any song. It has to, as both of these files are based on the index number of the songs in the iTunesDB, and not the ID numbers. So they're invalid after an iTunesDB change.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-05-03 17:47:24
Yes that would make sense, it doesn't seem to get wiped when I don't change anything.

That would make more sense as to iTunes behaviour.

Perhaps, Aero, instead you could make an option, where whenever foo_pod syncs or whatever, it checks if there is anything in the on-the-go playlist, converts it to a list of IDs, and then after it finishes doing whatever it is doing it recreates it as a playlist named "On-The-Go dd/mm/yy" or something like that. Either that or it could recreate the actual on-the-go playlist..

Edit: Silly me, recreating the OTG playlist wouldnt work, and creating a new playlist is not a particulary good idea neither since it may get wiped if you sync again. with foo_pod's current behaviour

Perhaps automatically loading it to a foobar playlist then and leaving to the user to decide what to do with it.

Either way, thanks Aero for the nice work on the plugin, it was great to get my apev2 and replaygain info for my mp3s to my ipod
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-03 18:13:08
Quote
Much like the Play Counts file, the OTGPlaylist file is wiped by the iPod itself, after you dock it to a computer and change.. well.. anything. You don't have to delete the file for it to be wiped, and writing the file is most likely useless.

The reason iTunes deletes both Play Counts and OTGPlaylist files is simply to ensure that iTunes itself doesn't accidently read those files back in twice.

What I think is actually going on is that, after you undock an iPod, it has to reread and parse the iTunesDB. At that time, it probably checks timestamps or something else to detect if the iTunesDB has changed. If it has, it'll wipe both OTGPlaylist and Play Counts the very next time you tell it to play a song. Any song. It has to, as both of these files are based on the index number of the songs in the iTunesDB, and not the ID numbers. So they're invalid after an iTunesDB change.

The question is when exactly does OTGPlaylistInfo get deleted, and what triggers it.  You say that the iPod does it after a change to iTunesDB, but later on, you say that iTunes does it.

If the iPod deletes OTGPlaylistInfo after you undock, which is what I expect is the case, then we are boned.  There is no way to generate a new OTG playlist with updated info.

If it is deleted by iTunes or iPodService, then I can recreate the OTG playlist with updated info after a sync.

I'll investigate this further tonight...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-03 19:22:32
Quote
The question is when exactly does OTGPlaylistInfo get deleted, and what triggers it.  You say that the iPod does it after a change to iTunesDB, but later on, you say that iTunes does it.

Both do it. And yes, you're likely boned on this one, but then again, maybe not...

iTunes does it for certain. But it doesn't have to do so. It deletes these files so it won't accidently read them in again, if, say you happen to undock and redock without playing anything. It does it "just in case" sort of thing. Since you're not iTunes, you don't have to do this if you don't want to do so.

But the iPod does it too. It will overwrite the existing files with new blank ones if/when:
a) iTunesDB changes
b) You then play a song.. any song.

The trick here is that if you knew how a) worked, then you might be able to bypass it. If, for example, it's comparing the timestamp of the iTunesDB to the timestamp of the OTG file and overwriting the OTG only if it's older... See what I mean? I don't know exactly when the iPod overwrites the file, just that it does, given normal circumstances.
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-05-13 02:57:46
I keep getting the following when I copy to my ipod (15gb 3G with latest firmware)

Scott

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0586EEFFh
Access violation, operation: read, address: 00000010h
Call path:
WinMain=>app_mainloop=>menu command: "Send selected to iPod"
This is the first crash logged by this instance.
Code bytes (0586EEFFh):
0586EEBFh:  A1 78 56 88 05 85 C0 75 05 B8 0C 59 88 05 80 38
0586EECFh:  00 74 25 6A 01 6A 00 B9 68 56 88 05 E8 90 CA FF
0586EEDFh:  FF 83 EC 18 8B CC 89 64 24 38 50 E8 21 CA FF FF
0586EEEFh:  E8 1C 44 FF FF 83 C4 20 85 ED 74 0E 8B 45 00 55
0586EEFFh:  FF 50 10 8B 4D 00 55 FF 51 08 8B 44 24 34 85 C0
0586EF0Fh:  74 0A 50 FF 15 4C F1 87 05 83 C4 04 8D 4C 24 64
0586EF1Fh:  C7 84 24 A8 02 00 00 FF FF FF FF E8 01 AA 00 00
0586EF2Fh:  8B 8C 24 A0 02 00 00 5F 5E 5D 64 89 0D 00 00 00
Stack (0012F838h):
0012F818h:  E1031078 81B3E4F1 F0AA7CE8 805968D9
0012F828h:  E1090870 E1031078 00000000 0012F82C
0012F838h:  00176520 057F3DE8 058858C0 0012FB18
0012F848h:  00000001 010088F0 00000014 00176520
0012F858h:  77F944A8 77F57D70 77F58A3A 00000026
0012F868h:  00000026 00000026 06408970 00000080
0012F878h:  00000050 00000001 0587F3AC 0587F384
0012F888h:  0000000D 8C100B7F 038503C9 00000017
0012F898h:  00000001 057B7448 0587F59C 0587F4BC
0012F8A8h:  00000068 0007CE86 00000001 0000000A
0012F8B8h:  00000002 C38495B1 0B5556D1 00000002
0012F8C8h:  057FEEC8 057D1008 003A0066 0069005C
0012F8D8h:  006F0050 005F0064 006F0043 0074006E
0012F8E8h:  006F0072 005C006C 00540069 006E0075
0012F8F8h:  00730065 0069005C 00750054 0065006E
0012F908h:  00440073 00000042 5AD71B48 5AD8A60D
0012F918h:  00000000 00000000 01AE02DB 00000001
0012F928h:  77D45A63 77D44124 77D9C064 77D458A7
0012F938h:  77D45899 00000100 00000000 05752E28
0012F948h:  00000001 00000010 00000001 0012F93C
Registers:
EAX: 00000000, EBX: 00000014, ECX: 0012F81C, EDX: 7FFE0304
ESI: 00000014, EDI: 057F3DE8, EBP: 00176520, ESP: 0012F838
Crash location: "foo_pod", loaded at 05860000h - 0589A000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00451000h
ntdll                            loaded at 77F50000h - 77FF7000h
kernel32                         loaded at 77E60000h - 77F46000h
USER32                           loaded at 77D40000h - 77DCC000h
GDI32                            loaded at 7E090000h - 7E0D1000h
ADVAPI32                         loaded at 77DD0000h - 77E5D000h
RPCRT4                           loaded at 78000000h - 78087000h
ole32                            loaded at 771B0000h - 772D4000h
COMCTL32                         loaded at 71950000h - 71A34000h
msvcrt                           loaded at 77C10000h - 77C63000h
SHLWAPI                          loaded at 70A70000h - 70AD5000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F5000h
SHELL32                          loaded at 773D0000h - 77BC2000h
foo_input_std                    loaded at 008D0000h - 00972000h
MSACM32                          loaded at 77BE0000h - 77BF4000h
WINMM                            loaded at 76B40000h - 76B6C000h
foo_output_std                   loaded at 00A00000h - 00A09000h
foo_ui_std                       loaded at 00A10000h - 00A27000h
foo_vis_manager                  loaded at 00A30000h - 00A38000h
foo_cdda                         loaded at 00A40000h - 00A4E000h
foo_flac                         loaded at 00A50000h - 00A66000h
foo_ape                          loaded at 00A70000h - 00A8F000h
foo_wavpack                      loaded at 00A90000h - 00A9B000h
foo_speex                        loaded at 00AA0000h - 00AB8000h
foo_mod                          loaded at 00AC0000h - 00AC9000h
BASS                             loaded at 00AD0000h - 00B2A000h
foo_spc                          loaded at 00B30000h - 00B3F000h
foo_tfmx                         loaded at 00B40000h - 00B49000h
foo_shn                          loaded at 00B50000h - 00B5E000h
foo_ofr                          loaded at 00B60000h - 00B8E000h
foo_lpac                         loaded at 00BA0000h - 00BA7000h
lpac_codec_api                   loaded at 00BB0000h - 00BBA000h
lpaccodec                        loaded at 00BC0000h - 00BE9000h
foo_wma                          loaded at 00E10000h - 00E29000h
WMVCore                          loaded at 08530000h - 0872D000h
WMASF                            loaded at 07260000h - 07299000h
OLEAUT32                         loaded at 77120000h - 771AB000h
foo_ac3                          loaded at 00E30000h - 00E41000h
foo_psf                          loaded at 00E50000h - 00EFB000h
foo_nez                          loaded at 00F00000h - 00F2C000h
foo_festalon                     loaded at 00F30000h - 0106F000h
foo_sid                          loaded at 01070000h - 010B7000h
MSVCP60                          loaded at 55900000h - 55961000h
foo_xa                           loaded at 010C0000h - 010D1000h
foo_matroska                     loaded at 010E0000h - 0111F000h
foo_out_dsound_ex                loaded at 01120000h - 01129000h
DSOUND                           loaded at 73F10000h - 73F65000h
VERSION                          loaded at 77C00000h - 77C07000h
foo_out_ks                       loaded at 01140000h - 0114B000h
SETUPAPI                         loaded at 76670000h - 76757000h
foo_console                      loaded at 01150000h - 01157000h
foo_read_http                    loaded at 01160000h - 01169000h
WS2_32                           loaded at 71AB0000h - 71AC4000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_rgscan                       loaded at 01170000h - 0117B000h
foo_diskwriter                   loaded at 01180000h - 01192000h
foo_albumlist                    loaded at 011A0000h - 011AA000h
foo_masstag                      loaded at 011B0000h - 011C0000h
foo_unpack                       loaded at 011C0000h - 011F1000h
foo_id3v2                        loaded at 01200000h - 0122E000h
foo_search_ex                    loaded at 01230000h - 01238000h
foo_bitcompare                   loaded at 01240000h - 01248000h
foo_abx                          loaded at 01250000h - 0125C000h
foo_burninate                    loaded at 01260000h - 0126C000h
foo_apl                          loaded at 01270000h - 0127A000h
foo_freedb                       loaded at 01280000h - 012B2000h
foo_shuffle                      loaded at 012C0000h - 012CE000h
foo_oggpreview                   loaded at 012D0000h - 013CD000h
foo_mpeg4u                       loaded at 013D0000h - 013F9000h
foo_history                      loaded at 01400000h - 0140E000h
foo_dsp_extra                    loaded at 01410000h - 01425000h
foo_convolve                     loaded at 01430000h - 01483000h
foo_dsp_crossfeed                loaded at 01490000h - 01496000h
foo_dynamics                     loaded at 014A0000h - 014A7000h
foo_dsp_soundtouch               loaded at 014B0000h - 014BB000h
foo_dsp_crossfade                loaded at 014C0000h - 014C7000h
foo_dsp_skip_silence             loaded at 014D0000h - 014D7000h
foo_dsp_nogaps                   loaded at 014E0000h - 014E7000h
foo_dsp_pause                    loaded at 014F0000h - 014F7000h
foo_vorbisenc                    loaded at 01500000h - 015FA000h
foo_monkey                       loaded at 01600000h - 0161E000h
foo_faac                         loaded at 01620000h - 01653000h
foo_toolame                      loaded at 01660000h - 01673000h
foo_lame                         loaded at 01680000h - 01689000h
foo_mpcenc                       loaded at 01690000h - 01698000h
foo_clienc                       loaded at 016A0000h - 016B4000h
foo_null                         loaded at 016C0000h - 016C7000h
foo_vis_simple_spectrum          loaded at 016D0000h - 016DA000h
foo_vis_vu_meter                 loaded at 016E0000h - 016E8000h
foo_vis_bubbla                   loaded at 016F0000h - 01704000h
OPENGL32                         loaded at 5ED00000h - 5EDC6000h
GLU32                            loaded at 68B20000h - 68B3E000h
DDRAW                            loaded at 73760000h - 737A4000h
DCIMAN32                         loaded at 73BC0000h - 73BC6000h
foo_osd                          loaded at 05710000h - 0571B000h
foo_audioscrobbler               loaded at 05720000h - 0572C000h
LIBCURL                          loaded at 05730000h - 05749000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_pod                          loaded at 05860000h - 0589A000h
MSVCIRT                          loaded at 058A0000h - 058B0000h
uxtheme                          loaded at 5AD70000h - 5ADA4000h
mswsock                          loaded at 71A50000h - 71A8B000h
DNSAPI                           loaded at 76F20000h - 76F45000h
CLBCATQ                          loaded at 7C890000h - 7C911000h
COMRes                           loaded at 77050000h - 77115000h
msi                              loaded at 76400000h - 76601000h
winrnr                           loaded at 76FB0000h - 76FB7000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
SXS                              loaded at 75E90000h - 75F37000h
rasadhlp                         loaded at 76FC0000h - 76FC5000h
imslsp                           loaded at 05DB0000h - 05ECB000h
lockbox                          loaded at 05ED0000h - 05F0C000h
imregexp                         loaded at 05F10000h - 05F1B000h
LIBEAY32_0.9.6g                  loaded at 05F20000h - 05FC9000h
WSOCK32                          loaded at 71AD0000h - 71AD8000h
wshtcpip                         loaded at 71A90000h - 71A98000h
iconv                            loaded at 05BB0000h - 05C8A000h
wdmaud                           loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
midimap                          loaded at 77BD0000h - 77BD7000h
KsUser                           loaded at 73EE0000h - 73EE4000h
browseui                         loaded at 71500000h - 715FD000h
browselc                         loaded at 72430000h - 72442000h
imagehlp                         loaded at 76C90000h - 76CB2000h
DBGHELP                          loaded at 6D510000h - 6D58D000h

Stack dump analysis:
Address: 058858C0h, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 0587F3ACh, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 0587F384h, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 0587F59Ch, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 0587F4BCh, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 00440073h, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 5AD71B48h, location: "uxtheme", loaded at 5AD70000h - 5ADA4000h
Symbol: "DrawThemeParentBackground" (+000004D1h)
Address: 5AD8A60Dh, location: "uxtheme", loaded at 5AD70000h - 5ADA4000h
Symbol: "Ordinal9" (+000064CCh)
Address: 77D45A63h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowThreadProcessId" (+00000096h)
Address: 77D44124h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000092h)
Address: 77D9C064h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D458A7h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+00000079h)
Address: 77D45899h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 77D7390Ah, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "CreateAcceleratorTableA" (+0000032Dh)
Address: 77D99B38h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D45899h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 100036ADh, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uDefWindowProc" (+00000016h)
Address: 00A12C41h, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 100031E5h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uSetWindowLong" (+00000000h)
Address: 77D440BDh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 100031E5h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uSetWindowLong" (+00000000h)
Address: 00A11EAEh, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F52310h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F8E3C3h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReAllocateHeap" (+00000D7Bh)
Address: 77C2AF77h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "realloc" (+0000031Fh)
Address: 77F944CBh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001E1h)
Address: 77F58BCDh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+0000018Fh)
Address: 77F59037h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+000005F9h)
Address: 77C2AA6Bh, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+00000000h)
Address: 77C2AC19h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+000001AEh)
Address: 004342F4h, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 00433749h, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 10005B70h, location: "utf8api", loaded at 10000000h - 1000D000h
Address: 10005E39h, location: "utf8api", loaded at 10000000h - 1000D000h
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F51C88h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F59037h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+000005F9h)
Address: 0587DF72h, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 0586E6A4h, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 058858C0h, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 058858C0h, location: "foo_pod", loaded at 05860000h - 0589A000h
Address: 00433435h, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 77C2AA6Bh, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+00000000h)
Address: 00415FAFh, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 085E0091h, location: "WMVCore", loaded at 08530000h - 0872D000h
Symbol: "WMIsAvailableOffline" (+0002B61Dh)
Address: 00439644h, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00451000h
Address: 00A1C784h, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 00A13099h, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 00A120C5h, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 100031E5h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uSetWindowLong" (+00000000h)
Address: 77D440BDh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+0000002Bh)
Address: 77D440C6h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 100031E5h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uSetWindowLong" (+00000000h)
Address: 00A11EAEh, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 77D7390Ah, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "CreateAcceleratorTableA" (+0000032Dh)
Address: 77D99B08h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D440C6h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 100031E4h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uGetWindowLong" (+0000000Eh)
Address: 00A11F0Ch, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 00A11EAEh, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 77D43A50h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 00A11EAEh, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 00A11EAEh, location: "foo_ui_std", loaded at 00A10000h - 00A27000h
Address: 77D43B1Fh, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 00A11EAEh, location: "foo_ui_std", loaded at 00A10000h - 00A27000h

Version info:
foobar2000 v0.8.1
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-13 04:02:01
Quote
I keep getting the following when I copy to my ipod (15gb 3G with latest firmware)

Does this only happen when you use Send Selected (i.e. do the other options like Send Playlist work)?

It is hard to tell exactly what is going on from the crash log, but I can see where it could crash in some rare cases.  I'll try to get an updated version ready for testing later on tonight.

Just in case anyone was wondering, I have been very busy at work (Foobar component development doesn't pay very well...  ) and on some other projects.  So I haven't had much time to work on foo_pod, although I still hope to get transcoding support in soon.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-13 04:59:05
Version 0.6.1 (http://loodi.com/foo_pod.zip) is now available.

This fixes an couple of regressions - one in Send/Sync files, where duplicate files weren't always detected, leading to unnecessary copying of files to the iPod.  The other regression was with Delete Selected Files, which due to the bug, didn't actually delete anything.

I also attempted to fix the crash reported by scottder .  Let me know if 0.6.1 takes care of the problem.


From the Readme:
Code: [Select]
Version 0.6.1 - May 12, 2004
*  Fixed a regression in send/sync files, where a duplicate file could be copied to the
  iPod, even though there was a copy already on the iPod.

*  Fixed another regression - this time in Delete Selected Files from iPod.  This feature
  would silently fail due to the bug.

*  Added preliminary support for reading OTG playlists.  For now, they can be dumped as
  part of the Export XML feature.

*  Possibly fixed a crash in Send Selected Files To iPod, as reported by scottder.

*  Automatically create all necessary directories, so that a completely blank iPod can
  be used without first being initialized by iTunes or the iPod Updater.
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-05-13 13:40:17
I'll try this new version, thanks (and yes it was only when I use the "Copy Selected FIles to Ipod" option, it would copy all the files then crash.

Scott
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-05-13 14:39:04
Ok, i tried it this morning and it worked without a hitch! Thank you for this wonderful plugin!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-13 20:49:25
Quote
Ok, i tried it this morning and it worked without a hitch! Thank you for this wonderful plugin!

Cool!  Just out of curiousity, where you able to identify if any one particular file was causing the crash?
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-05-13 21:07:43
Quote
Quote
Ok, i tried it this morning and it worked without a hitch! Thank you for this wonderful plugin!

Cool!  Just out of curiousity, where you able to identify if any one particular file was causing the crash?

No, it just seemed to happen each time I would send files to the ipod. Didn't seem to be any particular files that would trigger it.  Odd.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Moonwhaler on 2004-05-13 22:35:31
The joy! Thanks for this GREAT plugin... I owe you one!
Moon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-14 05:31:11
Quote
The joy! Thanks for this GREAT plugin... I owe you one!

Thanks!

I am happy to accept donations (http://www.sierra-nevada.com/beers/paleale.html)... 
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-05-16 13:47:41
Woah.
Even when I have yet to receive my iPod (it's in the mail), I can't wait to use this plugin!

You guys are really great programmers!! 

Foobar never fails to amaze me with its plugins and stuff...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-05-17 16:49:42
Hello again, been a while!

I was just wondering if you someway could make foo_pod write soundcheck tags, so that we can calculate Album Gain in foobar, and use that info in iTunes? Soundcheck is, afaik, only Track Gain-based, and from my experiences this is very annoying. I ask because iTunes still has some features that foo_pod lacks (rating playcount info updated from iPod when you sync, audible content, Apple Lossless Audio Codec), and therefore I - at the moment - use iTunes (started using foo_pod when I bought the iPod, though...). And it annoys me to extremes that Soundcheck is track gained, and so it would be nice if I could select all my music in foobar, right click, select "Replaygain -> Scan selection as album" and foobar/foo_pod would calculate and write the usual Replaygain values plus Soundcheck tags with proper Album Gain...

Did that make any sense?

Would be very cool...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Fickle on 2004-05-17 17:01:39
Not sure if this is a bug but its quite strange -

Im using the latest iPod software + iTunes, and fortunately I havent noticed any major probjels (running foobar 0.8.1 with winXP pro) - except for this strange problem -

What I usually do is plugin the iPod - then select 'unmount' via components-->foo_pod-->unmount.  This all works fine - however I notice the first time I right click the mouse button on the playlist - the iPod mounts itself.  After unmounting the iPod again via the menu a second time - I can right-click again on the playlist without the iPod mounting itself.

Also - one other thing, I dont know if this has been discussed yet (as I havent had time to read the whole thread ) - but has support for 'copy selected files to directory' been considered ?  Currently I am still using Ephpod to copy files from my iPod back to my computer.

This is a great plugin ! Thanks for all the great work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-05-17 18:51:53
Quote
Also - one other thing, I dont know if this has been discussed yet (as I havent had time to read the whole thread ) - but has support for 'copy selected files to directory' been considered ?  Currently I am still using Ephpod to copy files from my iPod back to my computer.

First, load the iPod songs into a playlist. Then select the files you want to copy to your computer. Then drag and drop them from the playlist into the folder you want them, or onto the desktop.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 19:42:36
Quote
I was just wondering if you someway could make foo_pod write soundcheck tags, so that we can calculate Album Gain in foobar, and use that info in iTunes? Soundcheck is, afaik, only Track Gain-based, and from my experiences this is very annoying. I ask

As far as I know, no one has reverse engineered the format that  iTunes uses to store the SoundCheck data as part of the file's metadata.  It is known that the information is stored as a Comment, but the last I knew, no one knew how to generate this data. 

Since foo_pod does write the SoundCheck data into the iTunesDB file on the iPod, I would think that it should be possible to read that information in via iTunes and somehow coax it to save it out into a new/existing file? 

If anyone is interested in doing the research, with the new "Export iTunesDB file as XML" feature in foo_pod, it should be possible to figure out the encoding.  Just load up some songs from iTunes that have the Sound Check encoding as part of the file, use iTunes to load them onto the iPod, then use foo_pod to examine the Sound Check value in the DB.  I'm don't use iTunes and have no interest in figuring out the encoding, but if someone tells me how to convert from a Sound Check integer into the Comment field encoding, I will add it to foo_pod. 


Quote
because iTunes still has some features that foo_pod lacks (rating playcount info updated from iPod when you sync, audible content, Apple Lossless Audio Codec)

I can currently read the play count data, per the semi-recent discussion in this forum, but there is some question on how to actually use it in Foobar. 

As for Audible and ALAC, I doubt there will ever been support for Audible in Foobar (and hence foo_pod), but ALAC support should be doable.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 19:51:17
Quote
What I usually do is plugin the iPod - then select 'unmount' via components-->foo_pod-->unmount.  This all works fine - however I notice the first time I right click the mouse button on the playlist - the iPod mounts itself.  After unmounting the iPod again via the menu a second time - I can right-click again on the playlist without the iPod mounting itself.

This isn't really a bug, but I can see how it is irritating.  The problem is that when the context (right mouse button) menu is displayed, foo_pod is doing some checking of the selected files (if any) to determine if it should show the "Send Selected" / "Delete Selected" menu items.  This apparently mounts the iPod as part of the check.  I'll fix this in the next version.

Quote
Also - one other thing, I dont know if this has been discussed yet (as I havent had time to read the whole thread ) - but has support for 'copy selected files to directory' been considered ?  Currently I am still using Ephpod to copy files from my iPod back to my computer.

Yeah, this is something that I really want  to implement.  I want to set it up so that you can configure some TAGZ format strings to build the directory structure and filenames as you wish based on the metadata.

For example, if you want your file structure to be: artist\album\01 - The First Song.mp3, you could set the format string to "%artist%\%album%\%tracknumber% - %_filename%".  You can currently do something very similar for DiskWriter, so I'm undecided whether I will try to figure out how to use DiskWriter, or just code it myself.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Paya on 2004-05-17 20:02:05
When I look at the tag of a file that has been "Soundchecked" by iTunes, this is what it says in the "comment" field:  00001020 0000118B 00003555 00004352 0002E675 0002230E 00008000 00008000 0001D4EE 0001D4EE

I thought that as you'd already figured out how to calculate Soundcheck values from Replaygain values, it would just be a matter of adding that into the "comment" field? Guess I was wrong then...
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-05-17 20:12:02
Hi I've got a 3g 40gb iPod and i've uploaded a bunch of albums to my iPod using foo_pod. I've uploaded 1 folder containing 30 albums, no problems. Then i uploaded another folder containing somewhat like 100 albums. Those albums now take up space, but the iPod doesnt seem to know that the files are there. They're not written in the DB file properly i suppose...
Is anyone familiar with this, and maybe got an idea on how this can be fixed, or is it a bug?

Thanx in advance
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-05-17 20:33:03
This may or may not be the thread to ask this, is anyone working on support Apples Lossless Encoder for foobar?

Scott
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 20:39:34
Quote
When I look at the tag of a file that has been "Soundchecked" by iTunes, this is what it says in the "comment" field:  00001020 0000118B 00003555 00004352 0002E675 0002230E 00008000 00008000 0001D4EE 0001D4EE

I thought that as you'd already figured out how to calculate Soundcheck values from Replaygain values, it would just be a matter of adding that into the "comment" field? Guess I was wrong then...

No, you are correct.  The catch is that the "just be a matter of adding that into the "comment" field" part is the unknown piece here. 

Actually now that I think of it, I think Otto42 determined that the first series of alphanumeric characters (00001020) is just the Sound Check value from the database.  But the rest of the groups are apparently unknown, unless someone can point me to more recent information.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 20:49:20
Quote
This may or may not be the thread to ask this, is anyone working on support Apples Lossless Encoder for foobar?

I would suggest asking in the Foobar 2000 General forum, or maybe one of the other Hydrogen Audio forums, such as AAC - General.

Since Foobar's MP4/AAC support is based off of FAAD (http://www.audiocoding.com/), I would guess that FAAD would have to support ALAC before support could be added to Foobar/foo_pod.  ALAC was discussed here (http://www.hydrogenaudio.org/forums/index.php?showtopic=21139&st=25&), and one of the FAAD developers posted several times, so they are definitely aware of ALAC.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 20:53:33
Quote
Hi I've got a 3g 40gb iPod and i've uploaded a bunch of albums to my iPod using foo_pod. I've uploaded 1 folder containing 30 albums, no problems. Then i uploaded another folder containing somewhat like 100 albums. Those albums now take up space, but the iPod doesnt seem to know that the files are there. They're not written in the DB file properly i suppose...
Is anyone familiar with this, and maybe got an idea on how this can be fixed, or is it a bug?

Yeah, that sounds like a bug, but without more detailed information or steps to reproduce the problem, I'm not sure how to help.  At least for the past few versions, I haven't experienced any missing song problems like you describe, so I am interested in trying to find out what happened.

You could use the Components->foo_pod->Export iTunesDB as XML feature to save the database to a XML file, then search through it to see if your missing albums are there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-05-17 21:17:15
hmm more detailed specs: p3, W2k, Foobar 8.1, latest foo_pod, LAME --aps encoded files, Unicode ID3v2 tagged files. I hope this is enough. I dont see why there should be anything wrong with this setup... maybe foobar8.2?
I've had the problem with foo_pod 0.5 too, back when foobar 8.1 was the latest release (i think??)

edit: i've tried to upload one single album from that previously mentioned folder. It still doesnt work. the albumname is nothing fancy (D:\MP3's\ambient\liquid morphine - grijsgebied)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 21:32:08
Quote
hmm more detailed specs: p3, W2k, Foobar 8.1, latest foo_pod, LAME --aps encoded files, Unicode ID3v2 tagged files. I hope this is enough. I dont see why there should be anything wrong with this setup... maybe foobar8.2?
I've had the problem with foo_pod 0.5 too, back when foobar 8.1 was the latest release (i think??)

edit: i've tried to upload one single album from that previously mentioned folder. It still doesnt work. the albumname is nothing fancy (D:\MP3's\ambient\liquid morphine - grijsgebied)

There is nothing wrong with your setup, but I was looking more for detailed steps to reproduce the problem.  For example,  how are you transferring files to the iPod - are you using Send Selected, Send Playlist, Sync Playlist, Send All Playlist, or Sync All Playlists?  Can you delete all songs and playlists, then reproduce the problem?  Do you get any warnings or errors in the Foobar console?

If you want, export your iTunesDB file as XML, zip it up, and email it to me (foopod (at) argz.com) and I'll see if there is anything pecular with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-05-17 21:48:55
haha okay, i misread!

- I removed ALL my music files + all manually made playlists (not the dynamic ones: top 25, recently played, blabla)
- I enqueued one single album containing 11 files
- I selected all and rightclicked > foo_pod: Send selected files to iPod
- I see the Transferring files... window, transferring complete, no error msgs
- I browse the iPod using explorer (diskmode?): the files are there
- I start iTunes: no files
- I unplug the iPod and browse it: no files

how do i export that DB file?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-17 22:01:25
Quote
haha okay, i misread!

- I removed ALL my music files + all manually made playlists (not the dynamic ones: top 25, recently played, blabla)
- I enqueued one single album containing 11 files
- I selected all and rightclicked > foo_pod: Send selected files to iPod
- I see the Transferring files... window, transferring complete, no error msgs
- I browse the iPod using explorer (diskmode?): the files are there
- I start iTunes: no files
- I unplug the iPod and browse it: no files

how do i export that DB file?

Thanks, that looks like a very concise test case.

To export the database XML file, go to the Components menu, then foo_pod, then "Export iTunesDB Database as XML".  foo_pod will then ask you where you want to save the file, save it as something like problem.xml.  Then email me the problem.xml file and I'll see if there is anything in there that would point to the problem. 

One potential problem that isn't related to foo_pod is how your cleaned your iPod.  If you deleted the songs in iTunes, then that should be ok.  If you just deleted songs off of the iPod using Windows Explorer, then the database was not updated and I would expect that there would be problems, since the iPod does not react well to songs that are in the database, but not on the iPod. 

One last question - if you load the iPod playlist in Foobar (Component menu, foo_pod, Load iPod Songs to 'iPod (foo_pod)'), so you see the album you just transferred?

Edit: One other source of a potential problem - if you have iTunes set up to automatically sync when you start iTunes or connect your iPod, then it is likely removing the songs you transferred with foo_pod.  The problem is that iTunes sees songs on the iPod that don't exist in its library, and deletes them from the iPod.  So you might want to test that you can transfer files via foo_pod and verify that they are on the iPod before starting up iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-18 00:28:24
Quote
Quote
When I look at the tag of a file that has been "Soundchecked" by iTunes, this is what it says in the "comment" field:  00001020 0000118B 00003555 00004352 0002E675 0002230E 00008000 00008000 0001D4EE 0001D4EE

I thought that as you'd already figured out how to calculate Soundcheck values from Replaygain values, it would just be a matter of adding that into the "comment" field? Guess I was wrong then...

No, you are correct.  The catch is that the "just be a matter of adding that into the "comment" field" part is the unknown piece here. 

Actually now that I think of it, I think Otto42 determined that the first series of alphanumeric characters (00001020) is just the Sound Check value from the database.  But the rest of the groups are apparently unknown, unless someone can point me to more recent information.

That's correct, the first value in that big ugly comment string is the value that iTunes puts into the iTunesDB as the SoundCheck field. foo_pod is now putting a ReplayGain value in that field, since we worked out the conversion equation.

However, the rest of the stuff in that comment baffles me. I don't know what any of it means, and I can't find any obvious correspondence to anything anywhere. But if you figure it out, let us know.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-18 00:36:47
Aero,
I don't know if you do file extension checking in foo_pod or not, but be sure to add "M4B" as an acceptable file extension, if you haven't already. This is a bookmarkable AAC file, meaning that the iPod will remember where it left off when you stop and restart playing it. Handy for audio books. Yes, it works with unencrypted files as well, just rename m4a to m4b and voila.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-18 04:24:46
Quote
Aero,
I don't know if you do file extension checking in foo_pod or not, but be sure to add "M4B" as an acceptable file extension, if you haven't already. This is a bookmarkable AAC file, meaning that the iPod will remember where it left off when you stop and restart playing it. Handy for audio books. Yes, it works with unencrypted files as well, just rename m4a to m4b and voila.

I don't explicitly do anything with file extensions, but it looks like Foobar's MP4 decoder does:
Code: [Select]
mp4_parser.cpp:
DECLARE_FILE_TYPE("MP4 files","*.MP4;*.M4A;*.M4P");

input_aac.cpp:
DECLARE_FILE_TYPE("AAC files","*.AAC");


So you might want to contact zZzZzZzZzZzZz and ask him to add *.M4B to that list.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2004-05-18 15:59:57
You can temporarily add it to the Nero Decoding Plugin's list, although it woud be better to add it to foobar itself.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-19 05:09:00
Version 0.6.2 (http://www.loodi.com/foo_pod.zip) is now available.


This version adds the ability to copy files from the iPod to your hard drive, formatted according to a user-configurable standard Foobar TAGZ string. 

In simpler terms, it means that you can select files on the iPods, select  "Save iPod File to disk", and it will copy them to your local hard drive and arrange them according to the format you provide. 

For example, the default format string is basically equivalent to %artist%\%album%\%tracknumber% - %title%, so after you provide the base directory, foo_pod will build the artist and album directories, and copy the iPod files to the correct locations.  So the song The Thing That Should Not Let It Be (track number 05) by the group Beatallica off of the A Garage Dayz Nite album would be copied to Beatallica\A Garage Dayz Nite\05 - The Thing That Should Not Let It Be.mp3

I intend on making the preference for this a drop down box, so multiple formats can be chosen from.  If you have a good TAGZ format string that you think others could use, email or PM it to me and I'll consider including it in the next foo_pod release.

In 0.6.2, I also fixed the context menu/iPod mount problem reported by Fickle.


From the Readme:
Code: [Select]
Version 0.6.2 - May 18, 2004
*  Added the "Save iPod Files To Disk" feature.  This allows you to copy songs from the iPod
  to your hard drive in a structured fashion, based on a user-configurable TAGZ format string.
  For example, the default string will copy files from the iPod to the hard drive in
  a <artist>\<album>\<tracknumber> - <title>.<extension> format -> Aerosmith\Honkin' On Bobo\11 - Stop Messin' Around.mp3
 
  To use this feature, select one or more files from the iPod playlist, right click and select
  "Save iPod files to disk".  Then select the starting directory for the files to be copied.
  The formatting is a standard TAGZ format string and can be modified in the preferences.

*  Changed the context menu code so that it will not automatically mount the iPod in order
  to just show the menu.

*  Eliminiated the limit of 30 ignored playlists.  The number of ignored playlists is now
  unlimited.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-05-19 18:18:33
Hi Aero,

You mentioned something about auto-updating. I let iTunes auto-update the playlists only, not the music files themselves. I thought this couldn't be the problem, but i tested whether this could be causing the problem anyway. Uploaded a random album with foo_tunes, undocked the iPod and the album was there. Then I deleted the album with iTunes, closed iTunes, uploaded it yet again with foo_tunes and started iTunes. The files were gone!

Problem solved

thanx

Cool! I really do like the freshly added option!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Fickle on 2004-05-19 18:46:00
This new feature rules  Thanks Aero !
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2004-05-20 01:48:54
Great feature! Good to know for if I ever lose my music on my hard drive.

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-20 04:31:37
Quote
I let iTunes auto-update the playlists only, not the music files themselves.

Not possible. If you have "auto-update" enabled in iTunes, then what it's doing is auto-updating the entire iPod from whatever parameters you have selected.

So if you have it set to "auto-update" from a playlist called "bob", for example, then what will happen when iTunes auto-updates is that every song in bob will get copied to the iPod, and every song on the iPod not in bob will be removed. Also, the playlist bob will be copied over to the iPod.

If you have it set for more than one playlist, then it works the same way.. Any songs in the playlist will get copied to the iPod, anything on the iPod not in any of those playlists gets blown away.

The only way to stop iTunes from blowing away music on the iPod is to put it into full manual mode. There is no other way to do it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-05-21 19:19:06
What currently happens when the iPod is out of space? I have tried to fill my 40GB 3G iPod with my 80GB library, and foo_pod did not say anything.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-21 19:40:26
Quote
What currently happens when the iPod is out of space? I have tried to fill my 40GB 3G iPod with my 80GB library, and foo_pod did not say anything.

Theoretically, foo_pod should continue to try to copy files, display a warning on the Foobar console for each file that can't be copied, and everything should be ok. 

However, I have noticed that sometimes there are problems related to running out of disk space, including problems writing the database.  I have been meaning to try to reproduce and fix the problem(s), but I haven't gotten around to it.  Besides, if I don't hear about  a bug/problem on the forum or through email, I am less motivated to fix it! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-05-21 23:16:13
Quote
Quote
What currently happens when the iPod is out of space? I have tried to fill my 40GB 3G iPod with my 80GB library, and foo_pod did not say anything.

Theoretically, foo_pod should continue to try to copy files, display a warning on the Foobar console for each file that can't be copied, and everything should be ok. 

However, I have noticed that sometimes there are problems related to running out of disk space, including problems writing the database.  I have been meaning to try to reproduce and fix the problem(s), but I haven't gotten around to it.  Besides, if I don't hear about  a bug/problem on the forum or through email, I am less motivated to fix it! 

Actually, I'm glad you mentioned this, Aero.  I've been having problems with loading songs onto my 10GB iPod the last few days, but haven't had any time to examine the problem closely.  I get an error message similar to "no space on device" and "restoring db" at the end of the errors.

I do know my iPod is not out of space, as I've removed all songs and playlists from it, both from foo_pod, and from iTunes (but not when both are running simultaneously, of course).

I can load songs/playlists from iTunes without problems, and have even gone as far as restoring the iPod with Apple's updater.  Even after that, foo_pod reported there was no free space on my iPod.

I won't be able to do any testing until Saturday or Sunday, but I'm open to suggestions on how to acquire more data on this issue.

I hope this helps the motivation factor, becasue I'm going into replagain withdrawl!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-21 23:31:12
Quote
Actually, I'm glad you mentioned this, Aero.  I've been having problems with loading songs onto my 10GB iPod the last few days, but haven't had any time to examine the problem closely.  I get an error message similar to "no space on device" and "restoring db" at the end of the errors.

I do know my iPod is not out of space, as I've removed all songs and playlists from it, both from foo_pod, and from iTunes (but not when both are running simultaneously, of course).

I can load songs/playlists from iTunes without problems, and have even gone as far as restoring the iPod with Apple's updater.  Even after that, foo_pod reported there was no free space on my iPod.

I'm pretty close to posting the next foo_pod version, which reserves 10MB of disk space to prevent weird problems due to filling up all of the free disk space.  I believe iTunes actually reserves 20MB, and I don't think anyone will be too put out over losing 2-3 songs worth of space.

As for your problem, I don't know why foo_pod would be reporting that the iPod is out of space if it actually isn't.  I know I've never experienced a problem similar to that.  If you can reproduce the problem, post or email the exact Foobar console output.  Also try the upcoming 0.6.3 version to see if it is any better.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-22 08:10:30
Version 0.6.3 (http://www.loodi.com/foo_pod.zip) is now available.

This adds a combo box for the "Save iPod Files To Disk" feature, so you can easily switch between different formats.  It also has the 10MB reserve space feature that I mentioned above, to hopefully take care of out-of-disk space problems.


From the Readme:
Code: [Select]
Version 0.6.3 - May 22, 2004
*  "Save iPod Files To Disk" formats are now displayed in a combo box, allowing the user to
  add and choose between multiple format strings.

*  foo_pod now reserves 10MB of disk space when copying files to the iPod.  This should help
  avoid problems when attempting to copy more files than there is free iPod disk space.

*  Built using Foobar2000 SDK 0.8.2.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-05-22 12:09:15
hey there!

thank you for that wonderful plugin! i love it!
the only thing i need now is a playcount withwhat you can create smart-playlists so u can replace itunes completely.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-05-22 17:30:53
Quote
Actually, I'm glad you mentioned this, Aero.  I've been having problems with loading songs onto my 10GB iPod the last few days...

I figured it out.  I've been forcing foo_pod to use a specific drive letter, and for some reason another firewire device is not being detected by my machine (I may have accidentally ejected it).  So foo_pod was looking for my iPod as drive K:, when it was actually drive J:


All is well now.  Thanks for all the great work you've done on foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-23 03:19:14
Quote
thank you for that wonderful plugin! i love it!
the only thing i need now is a playcount withwhat you can create smart-playlists so u can replace itunes completely.

Thanks!

I actually was playing around with Play Counts this afternoon, and I finally I understand how it is used by the iPod. 

I was wondering why the Play Counts files contained not only the play counts for each song, but also the last played time and the stars rating (and one unknown field).  Then it dawned on me:  the iTunesDB file is never modified by the iPod - all of the dynamic information is stored in the Play Counts file.  I surmise that right after iTunes reads the database file, it also reads the data in Play Counts.  Then it updates the database with the play count, last played time, and stars rating, deletes Play Counts, and writes iTunesDB back to the iPod.

Maybe this isn't earthshattering news to many people, but at least now that I really understand what needs to be done, I can add it to foo_pod.  So I am going to duplicate those actions in foo_pod, and make the rating and play count available as Foobar metadata.  Since all of the data is stored in the iTunesDB file, there is no need to modify the songs on the iPod or use the Foobar database.

What this all means is that as soon as I finish the work on Play Counts, not only will the play counts and star ratings be compatible with iTunes/Smart Playlists, but also compatible with the various Foobar components that use play counts/ratings, such as Play Counter (http://www.hydrogenaudio.org/forums/index.php?showtopic=20719&st=0&) and Quick Tag (http://members.lycos.co.uk/musicf/).



Edit:  Not really foo_pod related (yet...), but while I was searching around for information on Play Counts, I found a whole site devoted to smart playlists (http://smartplaylists.com/).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-23 03:21:03
Quote
Quote

Actually, I'm glad you mentioned this, Aero.  I've been having problems with loading songs onto my 10GB iPod the last few days...

I figured it out.  I've been forcing foo_pod to use a specific drive letter, and for some reason another firewire device is not being detected by my machine (I may have accidentally ejected it).  So foo_pod was looking for my iPod as drive K:, when it was actually drive J:


All is well now.  Thanks for all the great work you've done on foo_pod.

I should probably put some warning into foo_pod for when you are forcing the drive letter, but foo_pod still can't find an iPod...

I'm glad you were able to figure it out so quickly!
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-05-23 05:46:43
OK... Got my iPod, loaded some songs inside, and I encountered this problem.

I add songs into a playlist, and I sync the iPod, but whenever I sync it the 2nd time, I get a 2nd playlist of the exact songs.

ie, I sync for the first time, I get Foo_Pod, but when I sync for the 2nd time,I get this playlist called "rnd_Foo_Pod". The song listings are the same though.

Anyone knows what's happening?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-23 09:55:06
Version 0.6.4 (http://www.loodi.com/foo_pod.zip) is now available.

This version adds the initial support for the Play Count, Star rating, and Last Played metadata.  When needed, foo_pod reads the Play Counts file from the iPod, adds the data to the iTunesDB database file, and displays the metadata in Foobar (see below).  I haven't tested it, but I believe that writing this data to the database will allow smart playlists that use play count or ratings to work correctly when syncing with foo_pod.

The metadata is not saved to the iPod files themselves, so if you reload the metadata from the file, the play count/rating/last played data is lost.  To recover it, reload the foo_pod playlist.



From the Readme:
Code: [Select]
Version 0.6.4 - May 23, 2004
*  Added parsing of the Play Counts file on the iPod.  This file contains the play count,
  star rating, and last played time for each iPod song.  

  The Play Counts data is automatically read and added to the iTunesDB database file, similiar
  to how iTunes handles this data.  It is also displayed in Foobar as metadata as follows:

    Play Count -> IPOD_PLAY_COUNT
    Last Played Time -> IPOD_LAST_PLAYED_TIME
    Star Rating -> RATING

  Currently, if this metadata is changed directly in Foobar, it is not transferred back to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-23 09:56:27
Quote
ie, I sync for the first time, I get Foo_Pod, but when I sync for the 2nd time,I get this playlist called "rnd_Foo_Pod". The song listings are the same though.

foo_pod has an option to create a randomized playlist - uncheck "Send Randomize Playlist" in the foo_pod Preferences if you don't want it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-05-23 16:39:59
Gee, thanks for the tip!
Another problem that I face:

I have 2 playlists, and that I am trying to add these 2 playlists in.

But the problem is that I can't seem to add the 2 playlists in, even though all the songs are in there.

I can only add the songs in, but I can't add another playlist in...
And sometimes when I add the songs from another playlist in, it seems to delete all the songs from my 1st playlist.

Is this a bug, or is it me?
I think someone should start writing a guide for n00bs like me though!! 

Great work...
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-05-23 17:59:22
Quote
Gee, thanks for the tip!
Another problem that I face:

I have 2 playlists, and that I am trying to add these 2 playlists in.

But the problem is that I can't seem to add the 2 playlists in, even though all the songs are in there.

I can only add the songs in, but I can't add another playlist in...
And sometimes when I add the songs from another playlist in, it seems to delete all the songs from my 1st playlist.

Is this a bug, or is it me?
I think someone should start writing a guide for n00bs like me though!!  

Great work...

You need to understand the difference between Send and Sync.

Send means, add this playlist to the iPod, as well as whatever is in it (As long as it is not  already there).

Sync means, remove everything from the iPod except this playlist and what is in it.

I get the feeling that you're always pressing sync.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-23 22:39:33
Quote
Then it dawned on me:  the iTunesDB file is never modified by the iPod - all of the dynamic information is stored in the Play Counts file.

I could have told you that. I think I tried to, actually. Sorry, I'm just not good at explaining abstract type things, as I don't often try to do so.

But yes, you're right. The iPod only modifies the Play Counts file and the OTGPlaylist file, AFAICT.

Question: If you add this metadata to foobar, won't that change the files themselves when the metadata is written to those files? Might throw a problem into syncing, I think.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-24 00:53:50
Quote
I could have told you that. I think I tried to, actually. Sorry, I'm just not good at explaining abstract type things, as I don't often try to do so.

But yes, you're right. The iPod only modifies the Play Counts file and the OTGPlaylist file, AFAICT.

Question: If you add this metadata to foobar, won't that change the files themselves when the metadata is written to those files? Might throw a problem into syncing, I think.

Yeah, looking back you did do a good job of explaining it.  I just wasn't paying attention... 


As for the metadata, Foobar has the a "hint" concept when creating/displaying metadata.  What that means is that a component can supply metadata to Foobar that is independant of the actual file's metadata.  I use this in foo_pod to extract data from the iTunesDB (such as Title, Artist, song length - and now star rating and play count) and create a hint (think virtual metadata).  As long as you don't forcibly reload the real metadata from the file, this virtual metadata is displayed and used by Foobar.

So to answer your question, I don't currently change music files on the iPod.  I actually do have some (disabled) code in foo_pod to change the iPod music files, but it turns out that the virtual metadata is almost as good, and it is a lot faster since it doesn't have to write tags to the files.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mixmixmix on 2004-05-25 03:58:46
Hey,

I'm sorry if this derails from the metadata conversation (feel free to split this to a new topic if you like) but i was wondering what the best option would be to get .shn files playing on an ipod.  I realise I'll have to convert them, just wondering whats the best way to do it to ensure good quality files.  ps: thanks for foo_pod, working perfectly over here!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-25 04:26:23
Quote
I'm sorry if this derails from the metadata conversation (feel free to split this to a new topic if you like) but i was wondering what the best option would be to get .shn files playing on an ipod.  I realise I'll have to convert them, just wondering whats the best way to do it to ensure good quality files.  ps: thanks for foo_pod, working perfectly over here!

I would recommend waiting a day or two...

I'm currently working on adding transcoding support to foo_pod.  When it, is finished, you will be able to transfer any Foobar-supported file format to the iPod, and foo_pod will automatically convert it to an MP3 so that it can be played on the iPod.

Until that is ready, what you want to do is use the DiskWriter / Convert feature in Foobar to convert the Shorten files to either MP3 or AAC format, then transfer those files to the iPod using foo_pod.


BTW, in case people haven't seen it, the latest listening test (http://www.rjamorim.com/test/multiformat128/results.html) at 128kbps is out, and Lame 3.96 encoded 128kbps files did very well compared to more modern formats (basically equal in quality to iTunes AAC).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-05-26 00:44:09
Quote
I would recommend waiting a day or two...

I'm currently working on adding transcoding support to foo_pod.  When it, is finished, you will be able to transfer any Foobar-supported file format to the iPod, and foo_pod will automatically convert it to an MP3 so that it can be played on the iPod.

Until that is ready, what you want to do is use the DiskWriter / Convert feature in Foobar to convert the Shorten files to either MP3 or AAC format, then transfer those files to the iPod using foo_pod.


BTW, in case people haven't seen it, the latest listening test (http://www.rjamorim.com/test/multiformat128/results.html) at 128kbps is out, and Lame 3.96 encoded 128kbps files did very well compared to more modern formats (basically equal in quality to iTunes AAC).

Transcoding on the fly? That's pretty cool. Could take a while to transfer all your collection over though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-26 01:49:06
Quote
Transcoding on the fly? That's pretty cool. Could take a while to transfer all your collection over though.

On my middle-of-the-road 2GHz Athlon system, LAME 3.96 with ABR encoding (pure VBR is slower) can encode at about 10x speed.  My test file is a 3:34 minute WMA file, and it transcodes in about 22 seconds, which also includes the time to write the resulting MP3 file to the iPod.

So it isn't blindingly fast, but depending on your computer, it is probably fast enough that uploading an album or two isn't going to be too painful.  For more files or a slower system, you would want to let it run overnight.  But once you have transcoded the files, you shouldn't have to do it again unless you delete them from the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-27 12:04:47
Just a quick transcoding update: except for some code cleanup and implementing a preference dialog, transcoding is just about done.  Hopefully I'll have some thing ready for you to test later today...

Here is some sample output from transcoding the two Beatallica (http://www.beatallica.org/index2.html) albums (340MB of FLAC encoded audio):
Code: [Select]
INFO (foo_pod) : 15 files copied (41.53 MB) to the iPod in 312.73 seconds (0.13 MB/s)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-29 09:58:37
Version 0.7 (http://www.loodi.com/foo_pod.zip) is now available.

Well, here it is!  The first version of foo_pod with transcoding support.  Now, any file type that Foobar can play is now able to be transferred and played by the iPod.  Other than the extra time it takes to transcode the files, the process should be fairly transparent.  You use foo_pod just like before, except now, you don't have to worry that the input files are in the right format.  Even ReplayGain/SoundCheck settings, if present, will be transferred to the transcoded files.

I included Lame 3.96 to encode the files to MP3 format, and provide two settings (along with a setting to disable transcoding) that are appropriate for a mobile player -  ff123's (http://ff123.net/cbr128.html) recommended 128kbps ABR setting and --preset fast standard.  Both should produce good quality output, but if space is not a concern, --preset fast standard is the one you should use for the best quality (128kbps is the default, however).

To use transcoding, you need 2 additional DLLs along with lame.exe.  Copy foo_podtranscoder.dll and foo_podclienc.dll to the Components directory along with foo_pod.dll, and put a copy of lame.exe in the main Foobar2000 directory.


I'd like to thank Peter and the authors of foo_clienc.  They did most of the hard work for adding transcoding support - I just had to modify their components slightly for use with foo_pod.


From the Readme:
Code: [Select]
Version 0.7 - May 29, 2004
*  Major new feature: transcoding.  Transcoding allows audio file formats that the iPod can't play
  (anything except for MP3, AAC, WAV, and AIFF) to be converted to MP3 format and copied to
  the iPod.  To use the transcoding feature, you must have the foo_podclienc and foo_podtranscoder
  components installed, and a recent (version 3.96 is preferred) version of lame.exe in the Foobar2000
  directory.
 
  There is a new preference item for controlling transcoding, with settings for disabling transcoding,
  using a specially tuned 128kbps ABR (average bit rate) encoding (Good quality), or the
  --preset fast standard setting (High quality).
Title: foo_pod - Foobar2000 meets the iPod
Post by: kalmark on 2004-05-29 11:48:19
I don't even own an iPod, but it would be fun if you could transcode with FAAC too  So I'd like to ask if you have plans on that...Since AAC is more of less the "native" format for iPods, AFAIK.

Does this make sense?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-05-29 12:32:21
Now it just needs to be merged into a single library  It's a bit silly having 3 files for one component.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-05-29 12:36:10
me again... 
would it be possible just to use every diskwriter component that i can use to transcode with foobar with foo_pod e.g. nero mp4 codec?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-29 18:20:11
Quote
I don't even own an iPod, but it would be fun if you could transcode with FAAC too  So I'd like to ask if you have plans on that...Since AAC is more of less the "native" format for iPods, AFAIK.

I seriously considered using AAC encoding instead of LAME/MP3, but I did some research and found that there are several good reasons to use MP3.

1. LAME 3.96 has been tested to be just as good as iTunes' AAC encoder (http://www.rjamorim.com/test/multiformat128/results.html) (at 128kbps).  Since iTunes' encoder has been tested to be as good or better than any of the other tested encoders (http://www.rjamorim.com/test/aac128v2/results.html) (including Nero, again at 128kbps), quality-wise, there wouldn't seem to be much reason to use AAC.  AAC might be the native format for iTunes/iTunes Music Store, but MP3 is just as "native" for the iPod.

2. I have read various posts (http://www.hydrogenaudio.org/forums/index.php?showtopic=20240&) that claim that some non-iTunes encoded AAC files can crash the iPod.  I'm sure that this has been addressed already, but combined with my lack of experience with AAC encoding, I didn't want to risk it.

3. LAME Just Works and it is fast.  Just the fact that there is a special guide (http://www.hydrogenaudio.org/forums/index.php?showtopic=14447&) telling people how to encode iTunes compatible AAC files worries me.  Also, the clienc based encoder is just a temporary stop-gap solution - I plan on replacing it with the LAME_enc.dll library at some point to avoid having to go through the command line interface.

4. The built-in transcoder is supposed to be simple and foolproof.  That means limiting the options, somewhat.  By making this design decision, I knew that I would hear from AAC and "I only encode at '--preset extreme insane ludicious', you insensitive clod!" people.

5. While the patent issues remains, LAME (and I guess FAAD, for that matter) is open source and freely available to eveyone, while something like Nero's AAC encoder might be freely available, but it is commercial software.  So it would require the user to do a separate download, which would violate point #4 above.


Unless someone can convince me that AAC is better (remember Hydrogen Audio's famous Rule #8 (http://www.hydrogenaudio.org/forums/index.php?showtopic=3974#entry149480)) and faster than LAME, I believe that LAME and the MP3 format is the right choice for foo_pod's built-in transcoder.  As you can probably tell, I'm running out of room with the current Preference dialog.  If I go to a tabbed view and open up more space, I will consider adding support for alternate encoders.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-29 18:25:34
Quote
Now it just needs to be merged into a single library  It's a bit silly having 3 files for one component.

You still only need foo_pod.dll, unless you want transcoding support..  And if you are keeping score, you need 4 files for one component - foo_pod.dll, foo_podtranscoder.dll, foo_podclienc.dll, AND lame.exe.

But since you offered, perhaps you could write a simple NSIS based installer (http://nsis.sourceforge.net/) for foo_pod, so all of this would be invisible to the end user...
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-05-29 19:32:04
Regardless of the results of recent listening tests, it should be up to the user on which format they wish to use. NeroAAC files now work fine on the new ipod firmware as do they in new newer versions of iTunes. The special guide was written before these changes were made.

I'm fine with using LAME for transcoding, and I already have a copy of the encoder on my system which can be chosen among others with foo_clienc. Couldn't foobar's transcoder be used? foo_pod's is not very flexible being that it only supports one codec and two command options. There are several AAC codecs that could be used which rival or surpass LAME in their quality, and it should be up to the user to decide which they wish to use. Of course you can always transcode then transfer to the ipod, but that's what this feature is trying to make easier. The transcoder is a very nice feature, but I think you should take adding more flexibility as an option, or simply use foobars clienc. Thank you for all your work on this plugin 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-29 19:49:31
Quote
Regardless of the results of recent listening tests, it should be up to the user on which format they wish to use. NeroAAC files now work fine on the new ipod firmware as do they in new newer versions of iTunes. The special guide was written before these changes were made.

You are assuming that I want it to be flexible...

I want the transcoder to be foolproof .  By limiting the options, I can (hopefully) control the rather complicated transcoding process, so if there are problems, they are easier to reproduce and fix.  Since Foobar already has an excellent DiskWriter, anyone who wants to use their own encoder or settings can do so - they just have to do a two step process of encoding then transferring to the iPod (as you mentioned later on in your post).

That said, as soon as there is room in the Preference dialog, I will add the ability to specify a user defined encoder setting just like can be done with foo_clienc right now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: flloyd on 2004-05-29 21:15:35
Just wanted to give a big thanks to you Aero. I got my iPod last week and unlike my girlfriend have never had to deal with iTunes thanks to your plugin. The transcoder is a fantastic addition and will allow me to use my 30 GB MPC collection on my iPod. My only complaint is that the transcoding really seemed to lock up foobar during the process, not a big deal just an observation. I think having the ability to make ecnoder choices in the future will be great but the two settings you chose are the two best I believe.

Once again thanks a ton Aero.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-29 22:26:54
Quote
Just wanted to give a big thanks to you Aero. I got my iPod last week and unlike my girlfriend have never had to deal with iTunes thanks to your plugin. The transcoder is a fantastic addition and will allow me to use my 30 GB MPC collection on my iPod. My only complaint is that the transcoding really seemed to lock up foobar during the process, not a big deal just an observation. I think having the ability to make ecnoder choices in the future will be great but the two settings you chose are the two best I believe.

Thanks for your kind words - I really appreciate them!


The lockup situation happens for regular file transfers as well.  foo_pod locks the Foobar song database/playlists when it is processing files to prevent other components or the user from changing things while the transfer is taking place. 

Probably the best workaround is to copy your whole Foobar directory to a new directory (say "Foo_podbar2000"), and use that copy when you will be doing lengthy iPod related operations.  You can run multiple copies of Foobar, as long as they are in separate directories, so you can keep your normal Foobar for regular use.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-05-30 10:40:50
Quote
NeroAAC files now work fine on the new ipod firmware as do they in new newer versions of iTunes. The special guide was written before these changes were made.

I'm fine with using LAME for transcoding, and I already have a copy of the encoder on my system which can be chosen among others with foo_clienc. Couldn't foobar's transcoder be used? foo_pod's is not very flexible being that it only supports one codec and two command options. There are several AAC codecs that could be used which rival or surpass LAME in their quality, and it should be up to the user to decide which they wish to use. Of course you can always transcode then transfer to the ipod, but that's what this feature is trying to make easier. The transcoder is a very nice feature, but I think you should take adding more flexibility as an option, or simply use foobars clienc. Thank you for all your work on this plugin


i could'nt have said it better! thx.
Title: foo_pod - Foobar2000 meets the iPod
Post by: flloyd on 2004-05-31 03:55:47
Quote
The lockup situation happens for regular file transfers as well.  foo_pod locks the Foobar song database/playlists when it is processing files to prevent other components or the user from changing things while the transfer is taking place.

Actually the lockups I am talking about I believe are unintentional. When I transfer MP3s, foobar doesn't allow me to do anything yet I can see the tranfer taking place, that is the files are counted down. However when I tranfer MPCs foobar "whites out" and although it eventually transfers all of the files, I can't track the progress and can't even see foobar after minimizing it and then trying to look at it again. Hope this pictures shows what I mean:

http://www.hydrogenaudio.org/forums/index....ST&f=35&t=22091 (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=35&t=22091)

As I said, not a big deal because the song is eventually transferred however I can't track the progress. BTW my system specs are:

Duron 600
512 MB DDR 266
Matrox G450
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-31 10:11:58
Quote
Actually the lockups I am talking about I believe are unintentional. When I transfer MP3s, foobar doesn't allow me to do anything yet I can see the tranfer taking place, that is the files are counted down. However when I tranfer MPCs foobar "whites out" and although it eventually transfers all of the files, I can't track the progress and can't even see foobar after minimizing it and then trying to look at it again. Hope this pictures shows what I mean:

http://www.hydrogenaudio.org/forums/index....ST&f=35&t=22091 (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=35&t=22091)

As I said, not a big deal because the song is eventually transferred however I can't track the progress. BTW my system specs are:

Duron 600
512 MB DDR 266
Matrox G450

From the screenshot you posted, it looks like the transcoding process is using up so much CPU time, Windows isn't able to repaint the Foobar window.  You wouldn't see that on a regular MP3/AAC file transfer since there is almost no CPU usage required for a simple copy.

It is harmless, and you probably wouldn't see it (as much) on a faster system.  Trying to avoid moving the cursor or the transfer status dialog window around while transcoding might help a little.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-31 10:29:07
Version 0.7.1 (http://www.loodi.com/foo_pod.zip) is now available.


By popular request *ahem*, I added not only a custom encoder dialog (stolen from foo_clienc), but I also preconfigured several FAAC compatible presets.  There is also a new mid-range LAME setting (--preset fast medium -Y).  The FAAC settings work quite well, I must admit, and as long as you are ok with AAC files, the -q115 setting is probably a good mix between quality and file size.

I didn't test Nero's AAC encoder, but it can probably be made to work with the nencoder command line interface (http://mysite.verizon.net/vze559m7/nencoder.zip) and the custom encoder option.

Finally, to make room for all of this new goodness, I split the configuration dialog up into 3 tabs.


From the Readme:
Code: [Select]
Version 0.7.1 - May 31, 2004
*  Added a "--preset medium -Y" medium quality setting for LAME and added several pre-configured
  settings for FAAC, a free AAC encoder.  There is also an option for specifying a custom command line
  encoder, similar to Foobar's Commandline Encoder/Diskwriter.

*  Separated the configuration dialog up into 3 separate tabs - Main, Transcoder, and iPod Service.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-05-31 13:12:14
Thank you very much for the AAC support (though FAAC is not my weapon of choice) - works great so far! 


edit: spelling
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-05-31 13:41:32
Quote
This version adds the ability to copy files from the iPod to your hard drive, formatted according to a user-configurable standard Foobar TAGZ string.

In simpler terms, it means that you can select files on the iPods, select "Save iPod File to disk", and it will copy them to your local hard drive and arrange them according to the format you provide.


this feature of Version 0.6.2 doesn't work anymore. i cannot find the item "Save iPod File to disk" in the context menu anymore..


EDIT: okay! forget about it. it is back again... just started foobar once again and now the item is back 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-31 20:06:28
Quote
Quote
This version adds the ability to copy files from the iPod to your hard drive, formatted according to a user-configurable standard Foobar TAGZ string.

In simpler terms, it means that you can select files on the iPods, select "Save iPod File to disk", and it will copy them to your local hard drive and arrange them according to the format you provide.


this feature of Version 0.6.2 doesn't work anymore. i cannot find the item "Save iPod File to disk" in the context menu anymore..


EDIT: okay! forget about it. it is back again... just started foobar once again and now the item is back 

Send/Deleted Selected Files only appears on the context menu when there are files selected AND the action is appropriate. 

By that, I mean that if the files are already on the iPod, you won't get Send Selected Files, and if they aren't on the iPod, you won't see Delete Selected.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-05-31 20:38:58
Quote
Send/Deleted Selected Files only appears on the context menu when there are files selected AND the action is appropriate.

By that, I mean that if the files are already on the iPod, you won't get Send Selected Files, and if they aren't on the iPod, you won't see Delete Selected.


well, thank you! that was not the problem.... i do not know, what went wrong actually. but it's okay again..


something else:
managing playlists is not implemented yet IIRC. so, what about just letting a popup open where you can see all ipod-playlists and then let one create new playlists within there. to modify those playlists one could delete desired files within them and drag'n'drop new songs into them..
i imagine the foobar-iPod-songlist on the left and right beside it  the playlist-managing-window..
would that be possible or is it too hard to implement?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-05-31 23:58:47
Version 0.7.3 (http://www.loodi.com/foo_pod.zip) is now available.

Edit:  The bitrate detection code doesn't seem to be working consistantly, so please wait for the next release to test this feature...

Edit 2:  This should be fixed in the just posted 0.7.3

This version adds a potentially very powerful feature - in the Transcoder preference tab, you can specify whether MP3 and AAC files should also be transcoded, if they are over a user specified bitrate. 

By using this feature, you can tell foo_pod to transcode all MP3 files over 160kbps, for example, into smaller a MP3 or AAC format and be able to fit more songs onto your iPod.


From the Readme:
Code: [Select]
Version 0.7.3 - May 31, 2004
*  Fixed bug in the MP3/AAC bitrate-dependant transcoding - due to a typo, the transcoding would
  occurs either for all files or none of the files.

Version 0.7.2 - May 31, 2004
*  Added the ability to transcode MP3 and AAC files if they are over a user specified bitrate.  This
  feature allows you to fit more songs onto the iPod, since it will transcode high bitrate files into
  smaller files.  An example would be transcoding a hard drive full of MP3 files into AAC format.

*  Fixed the code responsible for translating metadata into the iPod's database format, so that it correctly
  represents the bitrate/file type/samplerate/etc. for transcoded files.  This doesn't have an effect on
  the iPod, but it might improve programs that read the database, such as iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-01 00:24:38
Quote
managing playlists is not implemented yet IIRC. so, what about just letting a popup open where you can see all ipod-playlists and then let one create new playlists within there. to modify those playlists one could delete desired files within them and drag'n'drop new songs into them..
i imagine the foobar-iPod-songlist on the left and right beside it  the playlist-managing-window..
would that be possible or is it too hard to implement?

That is a pretty good idea.  There really isn't a good way to manage iPod playlists from within the constraints of the Foobar default UI, so you would definitely need something else.

I don't really have the time or interest to implement this right away, but perhaps some other programmer could (hi DanZ!).  There is a programmer's interface for foo_pod that allows 3rd parties to create components that use foo_pod.  There isn't enough interface available right now to do the iPod playlist component, but if someone is interested in writing it, I would be willing to add what is needed to the interface.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-06-01 01:20:41
Feature request: Some way of seeing how much space is available on the iPod, and how many songs could fit on there, or how much of the current playlist is possible or whatnot.

Then of course, this should be extended to automate transcoding - If you were to transcode these 100 MP3 files to 128kbits, then all files would fit blah blah.

Sounds good, eh?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-01 01:35:37
Quote
Feature request: Some way of seeing how much space is available on the iPod, and how many songs could fit on there, or how much of the current playlist is possible or whatnot.

Then of course, this should be extended to automate transcoding - If you were to transcode these 100 MP3 files to 128kbits, then all files would fit blah blah.

Free iPod disk space - good idea.
How many songs will fit & automatic transcoding - good ideas, but not practical.

The problem is that it would work only for CBR (constant bit rate) encoding, which no one should be using unless they absolutely must do so.

What I could do is pop up a window that says xxx MB free, then provide examples of how many songs would fit at various bitrates.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-01 05:59:34
Quote
What I could do is pop up a window that says xxx MB free...

Is there any way to pull that data directly from the Settings | About page?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mixmixmix on 2004-06-01 08:47:39
I love you Aero
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-06-01 09:58:27
Quote
Quote
Feature request: Some way of seeing how much space is available on the iPod, and how many songs could fit on there, or how much of the current playlist is possible or whatnot.

Then of course, this should be extended to automate transcoding - If you were to transcode these 100 MP3 files to 128kbits, then all files would fit blah blah.

Free iPod disk space - good idea.
How many songs will fit & automatic transcoding - good ideas, but not practical.

The problem is that it would work only for CBR (constant bit rate) encoding, which no one should be using unless they absolutely must do so.

What I could do is pop up a window that says xxx MB free, then provide examples of how many songs would fit at various bitrates.

How about a graphical representation of free and used space (progress bar, pie chart, whatever)?

Also, is it not possible to reasonably estimate a song's filesize based on its length?

Maybe different multipliers for different settings - ABR 128kbit would be approximately 1.12MB per minute or whatever. It wouldn't have to be perfectly accurate, but just to give an idea.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-01 19:42:17
Quote
How about a graphical representation of free and used space (progress bar, pie chart, whatever)?

Also, is it not possible to reasonably estimate a song's filesize based on its length?

Maybe different multipliers for different settings - ABR 128kbit would be approximately 1.12MB per minute or whatever. It wouldn't have to be perfectly accurate, but just to give an idea.

Well, I could do that, but you get the same data (with pie chart) from Windows just by selecting Properties on the iPod drive, so I don't know how fancy I want to make it.

The problem with calculating the number of songs is that you don't really know the bitrate, you don't really know how long each song is, so you can't really calculate how much space X songs will need - so you can't calculate how many will fit in the available disk space.  You can start making assumptions, like an average bit rate and average song length, but then how good is the calculation going to be?

What I could do is have a "Will These Fit?" feature, where you could select some files or a playlist and foo_pod could use the actual file sizes to see if they would fit on the iPod.  That would probably be a lot more useful than a WAG on how many theoretical songs would fit.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-02 10:06:32
I have been playing around with the "Transcode above ___ kbps" feature, and if you haven't tried it out yet, you might want to give it a look.

I did two tests - first, I transcoded MP3 files above 160kbps using the FAAC -q100 setting, and ran it against some of my music files.  The input was 8.78GB of mainly MP3 files (average bitrate 146kbps).  The output was a total of 1.13GB (average bitrate 123kbps).  That is the equivalent of turning a 40GB iPod into a 311GB model...

The AAC sound quality was actually very good - it was a little muffled due to the high frequency cutoff at 16kHz, but I didn't notice any recompression artifacts and overall, it definitely was accepatable quality.

The second test was much larger, and took over 15 hours(!) to do all of the transcoding.  I used the -q115 FAAC preset for better quality (and also larger filesizes) and again transcoded all MP3 files over 160kbps.  The input was 38.48GB (avg bitrate 139kbps), and the results were a total of 33.81GB (avg bitrate 122kbps).  Not quite as impressive as the first test, but it did allow me to fit all of the music on my iPod, with 3GB to spare.


The next upcoming feature is a Repair Database menu item, so if the iTunesDB database somehow gets corrupted and there are songs on the iPod, foo_pod will be able to rebuild the database from the song's metadata.  It isn't perfect - you won't be able to recover playlist, play counts, or rating, but if you just spent 15+ hours transcoding music onto the iPod, you might appreciate the new feature.

An interesting side effect of the Repair Database feature is that you can copy songs to the iPod however you wish (maybe something like a batch or script file), then run Repair Database and it will generate a usable iPod database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kalmark on 2004-06-02 16:03:27
Quote
I did two tests - first, I transcoded MP3 files above 160kbps using the FAAC -q100 setting, and ran it against some of my music files.  The input was 8.78GB of mainly MP3 files (average bitrate 146kbps).  The output was a total of 1.13GB (average bitrate 123kbps).  That is the equivalent of turning a 40GB iPod into a 311GB model...

I think you mixed up something in that calculation --- as the average bitrate went lower by ~16% and the occupied space went lower by ~87%. But I think we all get your point

(Or am I wrong here?)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-02 21:55:38
Quote
I think you mixed up something in that calculation --- as the average bitrate went lower by ~16% and the occupied space went lower by ~87%. But I think we all get your point

Yeah, I couldn't believe it either, but I tripled checked the transcoded filesizes in Foobar, Windows Explorer, and the Settings->About menu on the iPod.  The average bitrate calculation might have been incorrect.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-06-03 07:21:04
Quote
QUOTE (neomoe @ May 31 2004, 01:38 PM)
managing playlists is not implemented yet IIRC. so, what about just letting a popup open where you can see all ipod-playlists and then let one create new playlists within there. to modify those playlists one could delete desired files within them and drag'n'drop new songs into them..
i imagine the foobar-iPod-songlist on the left and right beside it  the playlist-managing-window..
would that be possible or is it too hard to implement?

That is a pretty good idea. There really isn't a good way to manage iPod playlists from within the constraints of the Foobar default UI, so you would definitely need something else.

I don't really have the time or interest to implement this right away, but perhaps some other programmer could (hi DanZ!). There is a programmer's interface for foo_pod that allows 3rd parties to create components that use foo_pod. There isn't enough interface available right now to do the iPod playlist component, but if someone is interested in writing it, I would be willing to add what is needed to the interface.


were any steps done in this regard yet? i'd really appreciate it if somebody would be able to code this - others would like that feature as well, i guess! 

and another thing: the foobar-iTunes ratings which are implemented via quicktag don't seem to work here...  any suggestions?


edit: vocabulary 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-03 21:50:38
Version 0.7.5 (http://www.loodi.com/foo_pod.zip) is now available.

Edit: There was a fairly serious regression introduced in 0.7.4, which would cause transcoded files to be incorrectly added to the iPod database.  If you are using 0.7.4, please upgrade to 0.7.5.

0.7.4 adds the Repair iPod Database feature, which is way of recovering a workable database if it somehow gets corrupted.  As I mentioned before, this is not a perfect repair since things such as playlists can not be recovered.  But if, for example, you sync your iPod and suddenly no songs are visible, this feature will at least get you back to the point where you can browse and play all of the songs on your iPod.


From the Readme:
Code: [Select]
Version 0.7.5 - June 4, 2004
*  Fixed a serious regression in 0.7.4 that would cause transcoded songs to be incorrectedly added to
  the iTunesDB database.


Version 0.7.4 - June 3, 2004
*  Added the Repair iPod Database feature.  This attempts to rebuild a working iPod database based on
  the files that are on the iPod.  This should *only* be used if the iPod database is corrupted (i.e.
  no songs appear on the iPod), since it will not be able to recover any playlists, smart playlists,
  playcounts, or ratings.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-03 21:55:27
Quote
Quote
I don't really have the time or interest to implement this right away, but perhaps some other programmer could (hi DanZ!). There is a programmer's interface for foo_pod that allows 3rd parties to create components that use foo_pod. There isn't enough interface available right now to do the iPod playlist component, but if someone is interested in writing it, I would be willing to add what is needed to the interface.

were any steps done in this regard yet? i'd really appreciate it if somebody would be able to code this - others would like that feature as well, i guess!

I haven't heard from anyone regarding this, yet...

Quote
and another thing: the foobar-iTunes ratings which are implemented via quicktag don't seem to work here...  any suggestions?

I haven't tested the ratings with QuickTag, but I believe it just uses the RATING metadata, which foo_pod presents to the Foobar.  I know I have seen ratings work in general. 

I'll try QuickTag out and see if I can discover the problem, but until then, how exactly does it not work?  Can you not see ratings, not add/change ratings, or both?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-04 12:27:14
Just a minor question: I've set it to automatically update my playlist named "iPod", and I've added in a song from foobar. But the "iPod" playlist does not seem to refresh by itself.

Is that supposed to be normal?

EDIT: I'm facing a problem right now, which happened after I've did a "backup database file" option. It sorta corrupted my DB file. Some files were not in the DB.

I can't seem to sync any files inside the iPod. It'll just "preparing DB file, and then writing DB file". Not sure what happened, . I've did a restore, but I still can't sync the files in as well.

Tried reinstalling foo_pod, foobar, restarting my PC, redocking my iPod, but to no avail.

I'm using 0.7.5 though.
I feel so helpless without foo_pod... All my RG values +APE tags are not captured with any other s/w...  And I can't go back to 0.7.3, as I just overwrite-d my 0.7.3 with 0.7.5...

PS: Could someone send me a copy of 0.7.3 to tasdevil55 at hotmail dot com?
Many thanks!

Code: [Select]
INFO (CORE) : location: "file://D:\My Music\Savage Garden\Savage Garden - Affirmation.mp3" (0)
INFO (foo_pod) : Unsupported file: D:\My Music\Savage Garden\Savage Garden - Affirmation.mp3
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.20 seconds (0.00 MB/s)


I have no problems with iTunes and Ephpod though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-04 19:00:37
Quote
Just a minor question: I've set it to automatically update my playlist named "iPod", and I've added in a song from foobar. But the "iPod" playlist does not seem to refresh by itself.

Is that supposed to be normal?

EDIT: I'm facing a problem right now, which happened after I've did a "backup database file" option. It sorta corrupted my DB file. Some files were not in the DB.

I can't seem to sync any files inside the iPod. It'll just "preparing DB file, and then writing DB file". Not sure what happened, . I've did a restore, but I still can't sync the files in as well.

Tried reinstalling foo_pod, foobar, restarting my PC, redocking my iPod, but to no avail.

I'm using 0.7.5 though.
I feel so helpless without foo_pod... All my RG values +APE tags are not captured with any other s/w...   And I can't go back to 0.7.3, as I just overwrite-d my 0.7.3 with 0.7.5...

PS: Could someone send me a copy of 0.7.3 to tasdevil55 at hotmail dot com?
Many thanks!

In general, unless there is a version that is really bad (e.g. 0.7.4), I tend to keep several past versions online at http://www.loodi.com/foo_pod_versionnumber.zip (http://www.loodi.com/foo_pod_versionnumber.zip).  So 0.7.3 is http://www.loodi.com/foo_pod_0.7.3.zip (http://www.loodi.com/foo_pod_0.7.3.zip).

Try 0.7.3 and see if it fixes your problem.  Meanwhile, I'll try to figure out what is going on.

Edit: Yeah, it is a bug.  I'll fix it shortly, but the workaround for now if to turn on transcoding (even if you don't use it).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 04:30:27
Version 0.7.6 (http://www.loodi.com/foo_pod.zip) is now available.

This versions fixes the problem reported by SNAG and generally improves the whole process on deciding whether a file should be transcoded or copied to the iPod.


From the Readme:
Code: [Select]
Version 0.7.6 - June 4, 2004
*  Fixed another 0.7.4/0.7.5 regression, which would prevent iPod supported formats (MP3, AAC, and WAV)
  to incorrectly marked as unsupported and not sent to the iPod, if transcoding was disabled.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-05 06:23:21
Aero,

When using the foo_colums UI, the function to ignore playlists when syncing doesn't work properly (in other words, they sync, regardless).  Can you take a look at that and let me know if I need to ask the foo_colums folks for a fix?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-05 06:27:53
Quote
Version 0.7.6 (http://www.loodi.com/foo_pod.zip) is now available.

This versions fixes the problem reported by SNAG and generally improves the whole process on deciding whether a file should be transcoded or copied to the iPod.


From the Readme:
Code: [Select]
Version 0.7.6 - June 4, 2004
*  Fixed another 0.7.4/0.7.5 regression, which would prevent iPod supported formats (MP3, AAC, and WAV)
  to incorrectly marked as unsupported and not sent to the iPod, if transcoding was disabled.

Tried 0.7.6, but it still does not sync the files inside. I did a iPod restore before sync-ing the files in.

Code: [Select]
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.25 seconds (0.00 MB/s)
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.22 seconds (0.00 MB/s)


This is what I got after 2 tries.
Reverting to 0.7.3 does work once again.

Actually, my transcoding options have been set to "LAME - High Quality" all along.

PS: And I just realised that foo_pod is smart enough to detect if there's a exact duplicate of the song, it'll prevent it from re-copying into the iPod. Sweet!

Great work, Aero!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 07:38:01
Quote
When using the foo_colums UI, the function to ignore playlists when syncing doesn't work properly (in other words, they sync, regardless).  Can you take a look at that and let me know if I need to ask the foo_colums folks for a fix?

I just installed foo_ui_columns version 0.1 (http://members.lycos.co.uk/musicf/foo_ui_columns.dll) with Foobar2000 0.8.2 and foo_pod 0.7.6, and Ignore Playlist worked just fine with both Send and Sync Playlist:
Code: [Select]
INFO (foo_pod) : Playlist 'Beatallica' excluded from the sync because it is ignored
INFO (foo_pod) : Playlist 'Me & Mr. Johnson' excluded from the send because it is ignored

This is using the default settings for foo_ui_columns.  Unless it is doing something very bad with the playlists and the playlist_switcher, I can't really see how this would not work.  I even tried Unicode characters (a bunch of Hebrew and Arabic glyphs) and foo_pod still correctly ignored the playlist.

Since you can apparently reproduce this problem, try different foo_ui_column preference settings and see if there is something that triggers the problem.  For example, try this:

1. Backup your foobar2000.cfg file.
2. Remove foo_ui_columns.dll from the Components directory.
3. Start Foobar2000 and see if you can ignore playlists with the default UI.
4. Replace foo_ui_columns.dll (this will restore the default preferences)
5. Start Foobar2000, set the UI to foo_ui_columns, restart, and see if you can reproduce the bug.

If you can reproduce the bug after step 5, then something very weird is going on, and it is almost definitely a foo_ui_columns bug.  If you can reproduce the problem at this point, I'll whip up a special debug version of foo_pod so you can take the output and show it to the foo_ui_columns guy.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-05 07:42:02
Hey Aero,
I've been following this thread ever since I knew I was gonna get my 40gig iPod in the mail soon. I've been waiting to be able to use my favorite audio player with my iPod. So now it's here and I formatted it for windows and updated its firmware and all, but now I'm having problems transfering songs using foo_pod. I can send songs using iTunes without any problems, but, unlike it, foo_pod refuses to understand that the iPod is mounted. The send songs to iPod context menu item is never available and when I go through the menu and select send current playlist to iPod it opens a window and says it's transfering but then in the console it says it didn't due to file error. I tried everything: with iTunes installed, with the startup entries for iTunes diabled, with iTunes uninstalled, with 0.7.3, 0.7.5, and 0.7.6... none worked... well once it was able to transfer an album but upon opening foobar and putting my ipod in in the same conditions it wouldn't work again. I tried restoring the iPod to reset it but to no avail.... Am I doing something wrong???

EDIT: Ok, now it recognizes that the ipod is mounted and adds it to "My Computer" but when I send files and makes it look as though it's sending and everything is fine and doesn't show up the console but then I eject the iPod and browse through it only to find that nothing was added.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 07:54:56
Quote
PS: And I just realised that foo_pod is smart enough to detect if there's a exact duplicate of the song, it'll prevent it from re-copying into the iPod. Sweet!

Great work, Aero!!

Heh.  Thanks!

Yeah, foo_pod is very smart (it is only about 10 lines of code away from becoming self-aware...), but it is pretty dumb about informing the user why it did what it did.  I have been tripped up by similar things in the past, and I have been meaning to overhaul the whole logging system to give better information.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 08:16:11
Quote
EDIT: Ok, now it recognizes that the ipod is mounted and adds it to "My Computer" but when I send files and makes it look as though it's sending and everything is fine and doesn't show up the console but then I eject the iPod and browse through it only to find that nothing was added.

Umm...well, let's start from the beginning and see if we can get something working.

First of all, you need to make sure that iTunes isn't running, and preferably, doesn't automatically start when you dock your iPod.  You might already know this, but if you have iTunes set up to automatically sync with your iPod, iTunes will undo everything that foo_pod has done.  This is because as far as iTunes is concerned, the files the the foo_pod has put on the iPod don't match the iTunes library, and thus should be deleted.

The next step is to make sure the the iPod shows up in My Computer.  It can take upwards of 15 seconds from when you dock it until it shows up, so be patient.  If it doesn't show up, start up Foobar, go to the foo_pod preferences, then to the iPod Service tab, and select Enable Disk Mode.

Once you can see the iPod in the My Computer window, go to the Foobar2000 components menu, then foo_pod, then select Delete All iPod Music and Playlists.  This will give us a clean iPod to work with (as its name suggested, it will also wipe your iPod clean).

Next, copy some songs from Foobar to the iPod.  To make it simple, select some files, right click, and select foo_pod: Send Files To iPod.  You should see the files being transferred and see the results in the Foobar console.  If this worked, eject the iPod (using the Components->foo_pod->Eject iPod menu item), and see if you can play the songs you just transferred.

If you can't, then there is a big problem.  If you can, redock your iPod (give it time to mount), and try different options like Send Current Playlist.  Be aware that Sync Playlist will delete songs from the iPod so that it matches the current playlist(s), so at least until you get comfortable with foo_pod, don't use sync.

Anyway, try that and let me know how it works out.  Be sure to cut-n-paste exact output to help debug any problems you might continue to have.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 08:32:59
Speaking of ITunes, now that the COM interface for iTunes (http://developer.apple.com/sdk/#iTunesCOM) has been released by Apple, it appears possible that I could add some code so that songs added by foo_pod would automatically be added to the iTunes library.  This would synchronize both players (at least iTunes with foo_pod, although an "Import from iTunes" feature isn't impossible), and prevent iTunes from wiping out songs that foo_pod transfers.

I don't use iTunes, so this situation doesn't really affect me one way or another.  But if enough people do use iTunes in addition to foo_pod, I might consider it.  Also, does anyone have experience with the iTunes COM interface?  I have just briefly looked over the docs, but it looks like it would be as easy as calling IITLibraryPlaylist::AddFile() for each file that foo_pod copies to the iPod.  Is this correct, and would I have to worry about duplicate files?
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-05 08:41:42
Well, I am aware of the whole iTunes sync thing and I do have iTunesHelper removed from starup. As before, the iPod did appear in My Computer when docked with the name I gave it when I formatted it. Then I went to foobar and added an album, right clicked it, and selected send to iPod and even though this is exactly what I did before, now I got this:
Quote
ERROR (foo_pod) : Error writing iTunesDB file!
INFO (foo_pod) : Restoring previous iTunesDB file due to error
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.34 seconds (0.00 MB/s)

And as the console warned, no files were found on the iPod...
I have no problems transfering files using either iTunes or ephPod and neither was running while foobar was.
Now there is this process named ipodservice.exe running and I know it comes from iTunes but foo_pod refused to work whether iTunes was installed or not.
Got any idea what could be done?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 08:49:58
Quote
Well, I am aware of the whole iTunes sync thing and I do have iTunesHelper removed from starup. As before, the iPod did appear in My Computer when docked with the name I gave it when I formatted it. Then I went to foobar and added an album, right clicked it, and selected send to iPod and even though this is exactly what I did before, now I got this:
Quote
ERROR (foo_pod) : Error writing iTunesDB file!
INFO (foo_pod) : Restoring previous iTunesDB file due to error
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.34 seconds (0.00 MB/s)

And as the console warned, no files were found on the iPod...
I have no problems transfering files using either iTunes or ephPod and neither was running while foobar was.
Now there is this process named ipodservice.exe running and I know it comes from iTunes but foo_pod refused to work whether iTunes was installed or not.
Got any idea what could be done?

And you're sure you did a Delete All Songs And Playlists before sending the files to the iPod? 

One thing to try - go to My Computer and get the drive letter for the iPod (d:, e:, etc.).  Then go to foo_pod preference, Main tab, and set the same drive letter for Force iPod Drive Letter.  Then see if you can send some files.

Edit: One more thing - what version does foo_pod report for the iPodService?  It will be near the top in the Foobar console, and should be something like "INFO (foo_pod) : iPodService version 11".
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-05 09:00:49
Yes; I am positive.

I just tried that and it doesn't help.

Yup, it reports version 11.

Another thing is that now it doesn't pop up the console but if, after "transfering" files, I open it, I see this:
Quote
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.36 seconds (0.00 MB/s)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 09:03:58
Quote
Another thing is that now it doesn't pop up the console but if, after "transfering" files, I open it, I see this:
Quote
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.36 seconds (0.00 MB/s)

That might be because foo_pod thinks that the files are already on the iPod.  Try sending new, never been sent files (still using the Force Drive Letter) and see if it does anything.

Edit: Also run Delete All Songs And Playlists with the Force Drive Letter set, just in case.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-05 09:08:15
*Sigh*... nope; still 0 files copied... this is really weird and really frustrating.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-06-05 09:49:52
Quote
  Speaking of ITunes, now that the COM interface for iTunes has been released by Apple, it appears possible that I could add some code so that songs added by foo_pod would automatically be added to the iTunes library. This would synchronize both players (at least iTunes with foo_pod, although an "Import from iTunes" feature isn't impossible), and prevent iTunes from wiping out songs that foo_pod transfers.


i am using iTunes aside from foo_pod so i would surely like that feature! 



Quote
I haven't tested the ratings with QuickTag, but I believe it just uses the RATING metadata, which foo_pod presents to the Foobar. I know I have seen ratings work in general.

I'll try QuickTag out and see if I can discover the problem, but until then, how exactly does it not work? Can you not see ratings, not add/change ratings, or both?


I can see ratings-tag, can add ratings etc... the only thing is, the ratings which I apply in Foo_pod don't appear in iTunes. or is this a general problem of the iPod (2nd gen.) that such stuff cannot be applied on the iPod database?
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2004-06-05 10:01:48
Quote
Also, does anyone have experience with the iTunes COM interface? I have just briefly looked over the docs, but it looks like it would be as easy as calling IITLibraryPlaylist::AddFile() for each file that foo_pod copies to the iPod. Is this correct, and would I have to worry about duplicate files?


sehested posted a Pearl-script in another thread, take a look
here (http://209.152.181.168/~hydrogen/index.php?showtopic=22162&view=findpost&p=216008).

is this something that helps? hope so!
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-05 10:50:01
Quote
*Sigh*... nope; still 0 files copied... this is really weird and really frustrating.


I have the same problem (as quoted above in my earlier post) as well.
This happens even after I did a iPod restore...
But my problem occurred with 0.7.6, and it was gone by using 0.7.3.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-06-05 13:34:48
Quote
Quote
When using the foo_colums UI, the function to ignore playlists when syncing doesn't work properly (in other words, they sync, regardless).  Can you take a look at that and let me know if I need to ask the foo_colums folks for a fix?

I just installed foo_ui_columns version 0.1 (http://members.lycos.co.uk/musicf/foo_ui_columns.dll) with Foobar2000 0.8.2 and foo_pod 0.7.6, and Ignore Playlist worked just fine with both Send and Sync Playlist:
Code: [Select]
INFO (foo_pod) : Playlist 'Beatallica' excluded from the sync because it is ignored
INFO (foo_pod) : Playlist 'Me & Mr. Johnson' excluded from the send because it is ignored

This is using the default settings for foo_ui_columns.  Unless it is doing something very bad with the playlists and the playlist_switcher, I can't really see how this would not work.  I even tried Unicode characters (a bunch of Hebrew and Arabic glyphs) and foo_pod still correctly ignored the playlist.

Since you can apparently reproduce this problem, try different foo_ui_column preference settings and see if there is something that triggers the problem.  For example, try this:

1. Backup your foobar2000.cfg file.
2. Remove foo_ui_columns.dll from the Components directory.
3. Start Foobar2000 and see if you can ignore playlists with the default UI.
4. Replace foo_ui_columns.dll (this will restore the default preferences)
5. Start Foobar2000, set the UI to foo_ui_columns, restart, and see if you can reproduce the bug.

If you can reproduce the bug after step 5, then something very weird is going on, and it is almost definitely a foo_ui_columns bug.  If you can reproduce the problem at this point, I'll whip up a special debug version of foo_pod so you can take the output and show it to the foo_ui_columns guy.

Erm are you sure the confusion is not coming from the fact you shoved the command on the context menu with name "foo_pod: Select To Ignore This Playlist", which shows up when you right click playlists ?

I don't know why you don't put it into the main menu, and give it a saner name..

If I am missing something, please give a description of how you command eactly works..
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-05 16:32:58
Quote
Quote
*Sigh*... nope; still 0 files copied... this is really weird and really frustrating.


I have the same problem (as quoted above in my earlier post) as well.
This happens even after I did a iPod restore...
But my problem occurred with 0.7.6, and it was gone by using 0.7.3.

I know I said I already tried 0.7.3 but I tried it again and now it works and foo_pod is indeed awsome! I just hope that this annoyance is fixed in the next version so I can use the new features it'll bring.
So 0.7.3 does work now but I'm having problems with transcoding... whenever foo_pod wants to transcode a file it outputs this:
Quote
ERROR (foo_podclienc) : Unable to start faac.exe

And even if I use lame it just says the same thing only with lame.exe. I tried the exes from 0.7.6 (even though they should be the same, and were) and it still does that... maybe I should compile my own lame... I'm not sure why these exes wouldn't work though... or maybe it's the clienc and not the encoders? In any case, does anyone have an idea what could cause this?

EDIT: Oh, and also another thing: whenever foo_pod finishes a process which required it to open a progress window and that window closes, it takes away the focus from foobar and gives it to the window that had it before... this is really annoying. Is anyone else experiencing this?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-05 17:04:44
Quote
Erm are you sure the confusion is not coming from the fact you shoved the command on the context menu with name "foo_pod: Select To Ignore This Playlist", which shows up when you right click playlists ?

I don't know why you don't put it into the main menu, and give it a saner name..

If I am missing something, please give a description of how you command eactly works..

The problem isn't with understanding which playlists are to be excluded (although I agree with you, the phrases used could be clearer).

I won't have time to do any heavy-duty testing today.  I hope to have some answers tomorrow.  I'll also make sure my colums_ui dll is current.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-06-05 17:11:57
What I meant was, are you right clicking on the playlist, or the playlists (i.e. tabs or sidebar)?

As far as I know, the command ignores the active playlist, which is what I meant about right clicking on the playlists. If you already thought/knew that then ok..
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 18:47:24
Quote
Erm are you sure the confusion is not coming from the fact you shoved the command on the context menu with name "foo_pod: Select To Ignore This Playlist", which shows up when you right click playlists ?

I don't know why you don't put it into the main menu, and give it a saner name..

If I am missing something, please give a description of how you command eactly works..

Obviously, the playlist is the user interface component which lists songs.  Tabs are merely the UI implementation of playlist_switcher, which as its name implies, switches between playlists.  Just the fact that you can have a playlist without tabs proves this.  So when someone says they right clicked on the playlist, they (should) mean that they selected the context menu while in the playlist area, not on the tab itself.

As for the name, yes, by This Playlist, foo_pod really means Active Playlist.  Since I originally expected that users would select it while in the playlist, the name is perfectly sane and correctly located.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 18:55:43
Quote
I know I said I already tried 0.7.3 but I tried it again and now it works and foo_pod is indeed awsome! I just hope that this annoyance is fixed in the next version so I can use the new features it'll bring.

I'm surprised that 0.7.3 works while 0.7.6 doesn't.  Hmm...I thought I tested all of the combinations to make sure 0.7.6 worked, but it looks like I'll have to check it out again.  Just be aware that 0.7.3 would incorrectly copy duplicates of transcoded files (transcoding from MP3->AAC, for example).

Quote
So 0.7.3 does work now but I'm having problems with transcoding... whenever foo_pod wants to transcode a file it outputs this:
Quote
ERROR (foo_podclienc) : Unable to start faac.exe

And even if I use lame it just says the same thing only with lame.exe. I tried the exes from 0.7.6 (even though they should be the same, and were) and it still does that... maybe I should compile my own lame... I'm not sure why these exes wouldn't work though... or maybe it's the clienc and not the encoders? In any case, does anyone have an idea what could cause this?

Did you copy faac.exe and/or lame.exe to your Foobar2000 directory (not the components dir), or otherwise have them on your path (e.g. in c:\windows)?  That error likely means that foo_pod simply couldn't find the .exe to run.  BTW, there is nothing special about the faac.exe and lame.exe that I included - they are the standard executables.

Quote
EDIT: Oh, and also another thing: whenever foo_pod finishes a process which required it to open a progress window and that window closes, it takes away the focus from foobar and gives it to the window that had it before... this is really annoying. Is anyone else experiencing this?

I haven't noticed that, but when I run foo_pod, it is usually in the debugger, which tends to steal focus anyway, so I probably wouldn't have noticed it.  I'll see if I can do anything about that issue.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-05 18:58:47
Quote
I can see ratings-tag, can add ratings etc... the only thing is, the ratings which I apply in Foo_pod don't appear in iTunes. or is this a general problem of the iPod (2nd gen.) that such stuff cannot be applied on the iPod database?

I apparently don't fully understand how the iPod uses ratings, because I am writing the correct values to the iPodDB, but the ratings don't seem to show up on the iPod.  I'll put this on my todo list...
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-06-05 20:03:28
Quote
Obviously, the playlist is the user interface component which lists songs.  Tabs are merely the UI implementation of playlist_switcher, which as its name implies, switches between playlists.  Just the fact that you can have a playlist without tabs proves this.

Erm ok. I wasn't disputing that..

Quote
So when someone says they right clicked on the playlist, they (should) mean that they selected the context menu while in the playlist area, not on the tab itself.

Well yes, but who said that?

The ignore playlist function works fine here (checkmarks show anyway), and you said it works for you. I was merely pointing out that Lew_Zealand may have been right clicking on a tab/playlist instead of the playlist, and expecting the playlist he/she right clicked on to be ignored, rather than the active playlist.

Perhaps I was wrong, but whatever.

Quote
As for the name, yes, by This Playlist, foo_pod really means Active Playlist.  Since I originally expected that users would select it while in the playlist, the name is perfectly sane and correctly located.

The name is very long and makes my menu twice as wide.

The name is confusing because it says "Ignore This Playlist" when right clicking on a tab. It should say active playlist, or not appear there. It doesn't matter if you never intended it to be used from there, it still appears there.

You can check that the caller is the playlist to prevent the menu item from poping up in all kinds of places, or place it in the main menu (maybe under "Playlist/Selection/", but the user could put it there themself if they want).

Edit: BTW I also have 0 files copied problem with 0.7.6 & sync all playlists..

Oooh I just tried sync all playlists (columns ui) and indeed it doesnt work - the playlists where still transferred to my ipod. (foo_pod 0.7.3)

But it was the same for the default UI.

I also got lots of Error #3s for a directory of files (they had a long path) and a Error #2 for one file..
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-05 22:13:08
Quote
*Sigh*... nope; still 0 files copied... this is really weird and really frustrating.

make sure you're not forcing a drive letter to be used in the preferences.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-05 23:39:36
Well I'm still on 0.7.3 and hoping that I'll be able to use 0.7.7 when it's out. And yes, Lew Zealand, even if I didn't force a drive letter 0.7.6 didn't work and 0.7.3 work regardless.
Besides that I would like to make a feature request: as you all know, the iPod firmware doesn't support all characters - in my case Hebrew characters. Well I wouldn't mind having my Hebrew songs on the iPod tagged with phonetic speeling using Enlgish letters but I don't want to also have these tags in foobar, so what I suggest is having foo_pod check if the file contains tags with characters that would be incompaible with the iPod and if it does it will use alt_<tag> instead. So, for example, if the title tag contains at least one character that doesn't work in the iPod, it will use the alt_title tag, if present, instead leaving the copy on the computer intact and the copy on the iPod with a title tag equal to the alt_title tag on the computer. And you can prolly use virtual functions so it doesn't add the strain of an if statement to every file transfer when the user doesn't even need it so only people who expect using this can turn this on.
Either this or maybe you got a better solution yourself? You seem to have come up with great innovations for foo_pod in the past.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 00:13:37
Quote
Besides that I would like to make a feature request: as you all know, the iPod firmware doesn't support all characters - in my case Hebrew characters. Well I wouldn't mind having my Hebrew songs on the iPod tagged with phonetic speeling using Enlgish letters but I don't want to also have these tags in foobar, so what I suggest is having foo_pod check if the file contains tags with characters that would be incompaible with the iPod and if it does it will use alt_<tag> instead. So, for example, if the title tag contains at least one character that doesn't work in the iPod, it will use the alt_title tag, if present, instead leaving the copy on the computer intact and the copy on the iPod with a title tag equal to the alt_title tag on the computer. And you can prolly use virtual functions so it doesn't add the strain of an if statement to every file transfer when the user doesn't even need it so only people who expect using this can turn this on.
Either this or maybe you got a better solution yourself? You seem to have come up with great innovations for foo_pod in the past.

Hmm...I handle the case of unsupported filenames, but I never thought about  the metadata displayed on the iPod.  Does iTunes do anything special with unsupported metadata?

Your alternate tag idea is certainly reasonable and doable (assuming that one knows exactly which characters the iPod does and doesn't support), although I might want to tweak the name a little...something more like POD_<tag>, ENG_<tag>, LANG_<tag>, or something similiar.  Its not that big of a deal, its just that alt_<tag> isn't very descriptive.  It could be also be a preference item, then we wouldn't have to worry about finding the best name.

Edit: After thinking about this a little more, I came to the conclusion that this might be useful for purposes other than just a workaround for unsupported metadata characters.  Earlier in the foo_pod thread, there was some discussion about someone wanting to have the Comment field displayed in place of the artist.  So if foo_pod looked for POD_<metadata> and used that in place of <metadata> if it was non-empty, then anyone could tag their songs with POD_ and have some control over how metadata is displayed on the iPod.

Unless anyone has any suggestions for improving this, I will probably add it as of the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 11:06:20
Version 0.7.7 (http://www.loodi.com/foo_pod.zip) is now available.

I believe I finally figured out and resolved the song copying problems that have existed since version 0.7.4. 

If not, there is a new Verbose Debug Mode in the preferences that can be used to dump all sorts of debug information out to the Foobar console.  Normally, you would want to leave it on Errors Only or Errors and Warnings, but if you suspect a foo_pod problem, change it to All Debug Messages and post the relevant portions here so I can get a better idea what is going on.

I also moved all of the context menu items into a "foo_pod" submenu, and explicitly indicate which playlist is to be ignored.  But I still can't reproduce any problems with ignoring playlists, using either foo_ui_columns or the default UI.  If someone can reproduce this, please post/PM/email the verbose log messages.

The window focus problem that occured when the progress dialogs closed should also be resolved.

I didn't add the POD_<metadata> thing yet...maybe in the next version.


From the Readme:
Code: [Select]
Version 0.7.7 - June 4, 2004
*  Finally fixed the file copy regression that occured in versions 0.7.4 - 0.7.6.

*  Added a "Verbose Debug Mode" preference item, which controls how much debug information
  foo_pod writes to the Foobar2000 console. "All Debug Messages" can be very verbose, so it
  should probably only be used if you suspect a problem with foo_pod and need to report debug
  information.

*  Moved all of the foo_pod context menu items to a foo_pod submenu.

*  Attempted to fix a problem reported where the window focus would be lost after the progress dialog
  closed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-06 13:12:17
Quote
Version 0.7.7 (http://www.loodi.com/foo_pod.zip) is now available.

I believe I finally figured out and resolved the song copying problems that have existed since version 0.7.4. 

If not, there is a new Verbose Debug Mode in the preferences that can be used to dump all sorts of debug information out to the Foobar console.  Normally, you would want to leave it on Errors Only or Errors and Warnings, but if you suspect a foo_pod problem, change it to All Debug Messages and post the relevant portions here so I can get a better idea what is going on.

I also moved all of the context menu items into a "foo_pod" submenu, and explicitly indicate which playlist is to be ignored.  But I still can't reproduce any problems with ignoring playlists, using either foo_ui_columns or the default UI.  If someone can reproduce this, please post/PM/email the verbose log messages.

The window focus problem that occured when the progress dialogs closed should also be resolved.

I didn't add the POD_<metadata> thing yet...maybe in the next version.


From the Readme:
Code: [Select]
Version 0.7.7 - June 4, 2004
*  Finally fixed the file copy regression that occured in versions 0.7.4 - 0.7.6.

*  Added a "Verbose Debug Mode" preference item, which controls how much debug information
  foo_pod writes to the Foobar2000 console. "All Debug Messages" can be very verbose, so it
  should probably only be used if you suspect a problem with foo_pod and need to report debug
  information.

*  Moved all of the foo_pod context menu items to a foo_pod submenu.

*  Attempted to fix a problem reported where the window focus would be lost after the progress dialog
  closed.

Yay~

All's solved!

Aero, probably this has been said for like a gazillion times, but really, GREAT WORK!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-06 18:50:36
Yup; 0.7.7 fixes it. Indeed, great work. My iPod wouldn't have been the same without this.
Still waiting for the alternate tagging thing but I have patience.
By the way, I was looking through the pod.h file and it looks really useful... I just got a couple of questions:
1. If I use sendHandleListToIPod will it, by itself, handle cases of transcoding and such? If not can you please make a sendHandleListToIPodEx or something of the sort?
2. Can you add the ability to make a listener that will get called when the iPod is mounted? As far as my own iPod works, it mounts itself when I dock it which is, I understand, how it is supposed to be, so a listener for when it mounts itself will be nice because then I can do some automatic syncing for specific things.

On another note, are smart playlists also smart when on the iPod? That is, does the iPod update them itself or are they updated by iTunes whenever it syncs? If it is the former, can you make foo_pod be able to script smart playlists into the iPod? If the latter then I guess I can, myself, use getHandleListFromIPod and createIPodPlaylist to do it. I tried adding a smart playlist into my iPod using iTunes to see where it adds it and how but all I could find anything except an entry in the iTunesDB exported xml but I didn't see evidence of some kind of criteria for the playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-06 20:49:52
Quote
Quote
Erm are you sure the confusion is not coming from the fact you shoved the command on the context menu with name "foo_pod: Select To Ignore This Playlist", which shows up when you right click playlists ?

I don't know why you don't put it into the main menu, and give it a saner name..

If I am missing something, please give a description of how you command eactly works..

The problem isn't with understanding which playlists are to be excluded (although I agree with you, the phrases used could be clearer).

I won't have time to do any heavy-duty testing today.  I hope to have some answers tomorrow.  I'll also make sure my colums_ui dll is current.

After doing a full uninstall of foobar, and reinstalling Case's latest special installer (which includes the Columns UI now) and foo_pod 7.7 it seems everything is working.  I'm not clear on the exact cause.  Possibly a combination of a corrupted db, and not really understanding what the menu options really mean. 

btw, if "sync current playlist" means "remove everything except for current playlist", then that item could use a semantic overhaul.

Thanks again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-06 20:52:34
On to other questions.

I'm not clear on how the transcoder is supposed to work.  Does it only work on mp3 and aac files?  The question I'm really asking is this: If I have a playlist of flac files tagged with vorbis comments, will foo_pod encode them into .mp3 and put them onto my iPod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 21:28:54
Quote
Yup; 0.7.7 fixes it. Indeed, great work. My iPod wouldn't have been the same without this.
Still waiting for the alternate tagging thing but I have patience.
By the way, I was looking through the pod.h file and it looks really useful... I just got a couple of questions:
1. If I use sendHandleListToIPod will it, by itself, handle cases of transcoding and such? If not can you please make a sendHandleListToIPodEx or something of the sort?

Yeah. sending files to the iPod automatically obeys the current foo_pod preference settings, including transcoding.  So you don't need to do anything special to handle files that should be transcoded, as long as the preference is set.  Of course, there isn't a way to manage foo_pod's preferences from the Pod interface or control them outside of the foo_pod Preference dialog...

Basically, the Pod interface is a proof of concept - except for musicmusic's  component, I'm not aware of anyone else that is using it.  Eventually, I would like to split out foo_pod into the user interface and the Pod interface, but internally, it is not used by foo_pod at the moment.  As more people (hopefully) use it, I will expand and flesh it out.

Quote
2. Can you add the ability to make a listener that will get called when the iPod is mounted? As far as my own iPod works, it mounts itself when I dock it which is, I understand, how it is supposed to be, so a listener for when it mounts itself will be nice because then I can do some automatic syncing for specific things.

I don't know of any way of  detecting when the iPod is docked, other than via polling  to see if  there is an iPod available (e.g. Pod::getIPodRoot() returns non-zero).  Actually, on second glance, there is a way to get iPod events from the iPodService.  But you would still have to fall back on the polling method if iPodService wasn't available.  I'll see about hooking up the iPodService event thing. 

Quote
On another note, are smart playlists also smart when on the iPod? That is, does the iPod update them itself or are they updated by iTunes whenever it syncs? If it is the former, can you make foo_pod be able to script smart playlists into the iPod? If the latter then I guess I can, myself, use getHandleListFromIPod and createIPodPlaylist to do it. I tried adding a smart playlist into my iPod using iTunes to see where it adds it and how but all I could find anything except an entry in the iTunesDB exported xml but I didn't see evidence of some kind of criteria for the playlist.

Otto42 is the guy to talk to about smart playlists, but based on my limited understanding, smart playlists are basically a set of rules that are stored on the iPod, which the iPod itself uses to generate dynamic playlists.  foo_pod and the underlying iPodDB don't fully support smart playlists, but I believe that you can set them up in iTunes (which stores them in the iTunesDB file on the iPod), and foo_pod will not destroy them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 21:34:38
Quote
btw, if "sync current playlist" means "remove everything except for current playlist", then that item could use a semantic overhaul.

Yes, sync (in general) is very powerful and equally confusing.  It sounds like it is a good thing, but more often than not, it ends up unexpectedly deleting files from the iPod. 

The general concept is that Sync{Current,All} Playlist(s) is that it will change the files on the iPod to match the playlist(s).  This means adding and deleting files.  Overall, I think most people would be better off using Send along with Delete Selected Files, as needed.

I'm open to suggestions on how to improve the sync terminology.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 21:52:19
Quote
I'm not clear on how the transcoder is supposed to work.  Does it only work on mp3 and aac files?  The question I'm really asking is this: If I have a playlist of flac files tagged with vorbis comments, will foo_pod encode them into .mp3 and put them onto my iPod?

There are two ways that transcoding works, but they are basically the same idea.

The first is when foo_pod encounters a file format (such as FLAC) that the iPod can't play.  When this happened, foo_pod checks the Transcoder preference settings.  Right now, that looks like this:along with the custom encoder setting, but we'll ignore that for now.

Say you have LAME high quality set - when it comes time to send the FLAC format file to the iPod, foo_pod will execute LAME and it will save a MP3 version of the song to the iPod.  As long as you have something other than "Don't Transcode", foo_pod will attempt to transcode the unsupported song into either MP3 or AAC format.  If Foobar can play the song, foo_pod can transcode it.  Also, if Foobar understands the tagging format, it will be correctly stored on the iPod.


The second way transcoder works is for supported formats, meaning MP3 and AAC.Say you are transferring a bunch of MP3 files to the iPod.  The files on your hard drive are probably encoded at a high bitrate for quality, but maybe you want something lower for the iPod so you can fit more songs on it.  What you do is check the "Transcode MP3 files over ___ kbps" option, and specify the maximum bitrate at which you do not want MP3 files to be transcoded. 

For example, say you have "Transcode MP3 files over 160kbps" checked, and attempt to transfer the following songs:

song1.mp3 (bitrate = 128kbps)  -> not transcoded
song2.mp3 (bitrate = 160kbps)  -> not transcoded
song3.mp3 (bitrate = 320kbps)  -> transcoded
song4.m4a (bitrate = 140kbps)  -> not transcoded

In this example, only song3.mp3 would be transcoded, using whatever transcoding setttings you are currently using (e.g LAME High quality), because it is the only MP3 file that is above 160kbps.


Hopefully this clears up the situation a little.  foo_pod could really use a single comprehensive document that lists all the features and examples on how to use them.  Anyone interested in helping with some documentation? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-06 22:27:28
...now there are so many things to wait for in the next couple of versions.

In other news, I think I found a bug: if you did set a transcoding preference (i.e. enabled transcoding) but didn't check any of the "transcode above bitrate X" options foo_pod will tell you that transcoding is disabled and that the transfer has failed if you just want to send an unsupported file (tested on ogg and wma). Now, if you check any of those options, even if it's not the corresponding one (corresponding meaning that if for example you selected lame then you would check "mp3's above bitrate X"), then it works without any problems. So right now I just set the bitrate threshold high enough to not affect anything to bypass this bug. Oh, and note that I didn't try custom encoding.

EDIT: Also, I'm still having focus problems... if foobar is in focus then when the process is done and the progress window closes then the window below foobar gets focus but if another window is in focus during the process and then it's done and the progress window closes then foobar steals the focus.

Another thing: can you make it show progress in foobar's status bar also?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 23:48:11
Quote
...now there are so many things to wait for in the next couple of versions.

In other news, I think I found a bug: if you did set a transcoding preference (i.e. enabled transcoding) but didn't check any of the "transcode above bitrate X" options foo_pod will tell you that transcoding is disabled and that the transfer has failed if you just want to send an unsupported file (tested on ogg and wma). Now, if you check any of those options, even if it's not the corresponding one (corresponding meaning that if for example you selected lame then you would check "mp3's above bitrate X"), then it works without any problems. So right now I just set the bitrate threshold high enough to not affect anything to bypass this bug. Oh, and note that I didn't try custom encoding.

Huh.  Good catch...I thought I had tested all combinations, but apparently I missed this one.  It is fixed and will be posted shortly along with another attempt at fixing the focus problem.

Quote
Another thing: can you make it show progress in foobar's status bar also?

I don't believe there is a SDK function that allows access to the status bar.  If the config var for the status bar format is publicly available, I guess I could temporarily replace it with $progress(), but that would be bordering on a hack.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-06 23:56:19
Version 0.7.8 (http://www.loodi.com/foo_pod.zip) is now available.

This fixes the transcoding problem noted by rexy, and might also help with the progress dialog focus problem.  Sorry about all of the recent transcoder related problems...


From the Readme:
Code: [Select]
Version 0.7.8 - June 6, 2004
*  One (hopefully) last tweak to the transcoder code.  It was not transcoding unsupported files
  unless both the MP3 and AAC transcode settings were enabled.

*  Another attempted fix to the progress dialog focus problem mentioned in 0.7.7
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-07 00:36:02
Quote
Version 0.7.8 (http://www.loodi.com/foo_pod.zip) is now available.

From the Readme:
Code: [Select]
Version 0.7.8 - June 6, 2004
*  One (hopefully) last tweak to the transcoder code.  It was not transcoding unsupported files
  unless both the MP3 and AAC transcode settings were enabled.

*  Another attempted fix to the progress dialog focus problem mentioned in 0.7.7

It has definitely solved the problems I experienced with focus changes and transcoding (in other words, it works now!).  That's why I posed my question...I thought I was doing something wrong.

I've gotta agree with SNAG, your work on foo_pod is greatly appreciated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-07 02:06:07
Quote
Quote
I can see ratings-tag, can add ratings etc... the only thing is, the ratings which I apply in Foo_pod don't appear in iTunes. or is this a general problem of the iPod (2nd gen.) that such stuff cannot be applied on the iPod database?

I apparently don't fully understand how the iPod uses ratings, because I am writing the correct values to the iPodDB, but the ratings don't seem to show up on the iPod.  I'll put this on my todo list...

Just wanted to verify these:

- You're treating the rating as a number from 0-100, in multiples of 20, correct? 1 star = 20, 2 stars = 40, etc...

- You're putting this value into the iPod_mhit.stars field.

Beyond that, there's nothing more to be done, AFAIK.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-07 03:33:19
Quote
Just wanted to verify these:

- You're treating the rating as a number from 0-100, in multiples of 20, correct? 1 star = 20, 2 stars = 40, etc...

- You're putting this value into the iPod_mhit.stars field.

Beyond that, there's nothing more to be done, AFAIK.

There must be something else, because I am correctly converting by the factor of 20.  For example, I took an unrated song on my iPod and set the rating to 5 stars.  I then docked the iPod and read the iTunesDB file in foo_pod, which reads Play Counts, sets the correct mhit.stars value to 100, deletes Play Counts, and saves the database back to the iPod.

So after doing all of this, I see a RATING metadata of 5 in Foobar, and when I dump out the iTunesDB files as XML, I correctly see <STARS>100</STARS>.  So far, so good.  But when I actually undock the iPod and check the rating, it is zero stars

I wonder if mhit->previous_rating is needed to be set as well?  I don't currently do anything with it, so it is always 0.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-07 05:39:14
Quote
Quote
btw, if "sync current playlist" means "remove everything except for current playlist", then that item could use a semantic overhaul.

Yes, sync (in general) is very powerful and equally confusing.  It sounds like it is a good thing, but more often than not, it ends up unexpectedly deleting files from the iPod. 

The general concept is that Sync{Current,All} Playlist(s) is that it will change the files on the iPod to match the playlist(s).  This means adding and deleting files.  Overall, I think most people would be better off using Send along with Delete Selected Files, as needed.

I'm open to suggestions on how to improve the sync terminology.

I might recommend the word "replace" instead of "sync", since file copying or deletion is really happening in one direction (it's not as if a file could be on your iPod, and not your computer, unless you were connecting it to two different boxes).

Therefore, the options could be labeled something like "Replace all iPod music with current playlist" and "Replace all iPod music with all playlists".

Even that might be a bit verbose, though.  I'm open to suggestions as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-07 05:45:44
Quote
There must be something else, because I am correctly converting by the factor of 20.  For example, I took an unrated song on my iPod and set the rating to 5 stars.  I then docked the iPod and read the iTunesDB file in foo_pod, which reads Play Counts, sets the correct mhit.stars value to 100, deletes Play Counts, and saves the database back to the iPod.

So after doing all of this, I see a RATING metadata of 5 in Foobar, and when I dump out the iTunesDB files as XML, I correctly see <STARS>100</STARS>.  So far, so good.  But when I actually undock the iPod and check the rating, it is zero stars

I wonder if mhit->previous_rating is needed to be set as well?  I don't currently do anything with it, so it is always 0.

I've never figured out what previous_rating was for. I know it's there, and I know iTunes put the old rating there, but I can change it all I like and nothing happens.

Check the iTunesDB file with a hex editor and look at that field. Maybe I'm writing it incorrectly in the mhit.write() function. Because I can manually edit it in the iTunesDB using a hex editor and the changes show up just fine on my iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-07 05:54:58
Quote
On another note, are smart playlists also smart when on the iPod? That is, does the iPod update them itself or are they updated by iTunes whenever it syncs?

Yes and no.

Any iPod running 2.0 software and up (any iPod with a dock connector) is smart in most (not all) cases. That is, the smart playlist, on the iPod, will indeed change to reflect different things without the help of the computer.

Any iPod running 1.x software (any iPod without a dock connector) is not smart in the slightest. The smart playlist is built by iTunes and then fixed in position on the iPod. The iPod cannot change it without resyncing to iTunes.

The rules for the smart playlist do indeed get saved on the iPod, in a somewhat annoyingly obscure manner. Newer iPods use those rules and will change the contents of the playlist in real time.

Example: A smart playlist with the rule "Last Played is not in last two weeks" will have a bunch of songs in it. You play some songs from that playlist, then stop, leave the playlist to play something else, and come back to that playlist. All the songs you played are no longer in that playlist, and you never connected the thing to a computer. Newer iPods can do this. Older iPods get the songs for that playlist in the same way as every other playlist, they just read a list of songs out of the iTunesDB file. They don't adjust it dynamically.

There are a few cases using the newer iTunes/iPod software where this breaks down. If a smart playlist relies on the "Playlist" or "Grouping" fields, then the playlist will no longer be smart on the iPod. Those haven't been fully implemented, I guess.

The current version of foo_pod using the iPodDB classes will preserve the smart playlist information made using iTunes, but it cannot create or understand smart playlists on it's own. There's support in the iPodDB classes, but it's buggy, and I haven't gotten around to repairing the problems yet. I believe that support is disabled in foo_pod because it's so buggy... I will fix it one of these days... Really...
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-07 06:48:00
Quote
The rules for the smart playlist do indeed get saved on the iPod, in a somewhat annoyingly obscure manner. Newer iPods use those rules and will change the contents of the playlist in real time.

Can you be more specific as to how and where it stores it? Not too specific as hex offsets but more like if it's in the db or in some other file.
Quote
There are a few cases using the newer iTunes/iPod software where this breaks down. If a smart playlist relies on the "Playlist" or "Grouping" fields, then the playlist will no longer be smart on the iPod. Those haven't been fully implemented, I guess.

What are these "Playlist" and "Grouping" fields anyway?
Quote
The current version of foo_pod using the iPodDB classes will preserve the smart playlist information made using iTunes, but it cannot create or understand smart playlists on it's own. There's support in the iPodDB classes, but it's buggy, and I haven't gotten around to repairing the problems yet. I believe that support is disabled in foo_pod because it's so buggy... I will fix it one of these days... Really...

Please do fix it. It would be awsome not having to work through iTunes to do smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-06-07 06:53:45
Quote
Version 0.7.8 (http://www.loodi.com/foo_pod.zip) is now available.

This fixes the transcoding problem noted by rexy, and might also help with the progress dialog focus problem.  Sorry about all of the recent transcoder related problems...


From the Readme:
Code: [Select]
Version 0.7.8 - June 6, 2004
*  One (hopefully) last tweak to the transcoder code.  It was not transcoding unsupported files
  unless both the MP3 and AAC transcode settings were enabled.

*  Another attempted fix to the progress dialog focus problem mentioned in 0.7.7

Very nice.  I like how this project is coming along.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-07 23:33:28
Quote
Can you be more specific as to how and where it stores it? Not too specific as hex offsets but more like if it's in the db or in some other file.

It's in the DB. If you understand the format of the DB file, it's in the type 50,51, and 52 MHODs under the MHYP for the playlist. Just before the first MHIP in the playlist. It uses some fairly wacky encoding too. I've worked out most of it, but some parts still elude me. And I haven't figured out all the constants, but that's easy enough to do.

Quote
What are these "Playlist" and "Grouping" fields anyway?

The grouping field is a new text field they added to iTunes. Essentially, it's just a text field and you can do whatever you like with it. It doesn't get saved into the song file's tag itself, and you can use it as criteria for a smart playlist.

The playlist is a new criteria available to smart playlists.. Essentially it lets you use other playlists as criteria.. So if I made a smart playlist that says "Length is greater than 5 minutes" and "Playlist is 'some_other_playlist'", then I'd get a list of songs that are longer than 5 minutes and also are in some_other_playlist. If I later add songs to some_other_playlist and they are longer than 5 minutes, then they'd get added to this smart playlist as well. It basically just lets you use other playlists as the base to select from. Or as the base not to select from.. You can also create unions by selecting multiple playlists and then the songs are the songs that both of those playlists have in common.. That sort of thing.

Quote
Please do fix it. It would be awsome not having to work through iTunes to do smart playlists.

I would, but I got a new job a month or two ago, and free time is limited. Sorry, I'll get around to it. Really.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-06-08 00:33:06
Quote
Quote
Please do fix it. It would be awsome not having to work through iTunes to do smart playlists.

I would, but I got a new job a month or two ago, and free time is limited. Sorry, I'll get around to it. Really. 

Wee! :-D
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-08 00:44:18
Otto42, I'll be waiting  . Oh, and congratulations on your new job... you sound happy about it.

Other than that, after successfully using pod.h to make a menu item in foobar to sync my iPod with Rainlendar (http://www.ipi.fi/~rainy/index.php?pn=projects&project=rainlendar) with some help from Aero (thanks again, Aero) I noticed something was missing from pod.h: a function to bring up the progress window. So, in the next revision of pod.h, along with the mount event, can you also include a funtion to bring up the progress window? I would like it to allow me to update the progress bar and the status text and to either specify a default animation (like IPODTOFOO or FOOTOIPOD) or let me specify a custom animation, though the custom animation option is not that important and you can omit it if dealing with all those annoying resource handles is too much of a hassle, I just thought it would be a nice feature for stuff that don't really correspond to the existing animations.
Title: foo_pod - Foobar2000 meets the iPod
Post by: somasatellite on 2004-06-08 14:30:30
For some reason I've been having context menu problems. I can look under the foo_pod group and see all of the options that should be there when I right click, but they are not showing up. I understand they only appear when the ipod is connected, so it may have something to do with that. With this version, I get a warning in the console that there isn't an ipod connected, and it's repeated about four times - yet I can still load the ipod songs to the foo_pod playlist. So for some reason it seems to be not recognizing the ipod at first, and refusing to put up the context menu items.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-08 18:40:11
Quote
For some reason I've been having context menu problems. I can look under the foo_pod group and see all of the options that should be there when I right click, but they are not showing up. I understand they only appear when the ipod is connected, so it may have something to do with that. With this version, I get a warning in the console that there isn't an ipod connected, and it's repeated about four times - yet I can still load the ipod songs to the foo_pod playlist. So for some reason it seems to be not recognizing the ipod at first, and refusing to put up the context menu items.

I have noticed that too - it usually occurs if you undock and dock the iPod after starting up Foobar.  I'll see if I can narrow down the cause and fix it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-08 18:51:14
Quote
Other than that, after successfully using pod.h to make a menu item in foobar to sync my iPod with Rainlendar (http://www.ipi.fi/~rainy/index.php?pn=projects&project=rainlendar) with some help from Aero (thanks again, Aero) I noticed something was missing from pod.h: a function to bring up the progress window. So, in the next revision of pod.h, along with the mount event, can you also include a funtion to bring up the progress window? I would like it to allow me to update the progress bar and the status text and to either specify a default animation (like IPODTOFOO or FOOTOIPOD) or let me specify a custom animation, though the custom animation option is not that important and you can omit it if dealing with all those annoying resource handles is too much of a hassle, I just thought it would be a nice feature for stuff that don't really correspond to the existing animations.

What I really need is a progress callback, so you can handle the progress however you wish.  For the first pass, I will probably just add a parameter so you can enable the built-in progress dialogs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-09 08:42:17
Version 0.8 (http://www.loodi.com/foo_pod.zip) is now available.

This version implements rexy's idea for an alternate set of metadata, just for the iPod.  There is a new preference item, Alternate Metadata Prefix, which (if set) is prepended to the regular group of metadata that is used by the iPod - TITLE, ARTIST, ALBUM, GENRE, COMMENT, COMPOSER, and TRACKNUMBER.

For example, if you set it to POD_, foo_pod will look for POD_ARTIST and fallback to ARTIST if it is not available.

Another new feature is that foo_pod will add transcoder related metadata to the files it transcodes - transcoder and settings, transcoded time, original codec, original bitrate, along with the ReplayGain and EAC technical info.

To deal with some of the sync user problems, foo_pod will now inform the user how many files will be deleted from the iPod, and offer a way to stop the sync before anything is changed.

Finally, the Pod interface was updated with new functions and arguments to control whether the progress dialogs will be shown.


From the Readme:
Code: [Select]
Version 0.8 - June 9, 2004
*  Added a preference item to append to certain metadata items, which allows the user to use
  a second set of metadata items for the iPod while not distrubing the regular metdata.

  The following metadata items are supported: TITLE, ARTIST, ALBUM, GENRE, COMMENT, COMPOSER, and TRACKNUMBER

  For example, if the Alternate Metadata Prefix setting is "POD_" and "POD_ARTIST" is set, the
  artist field on the iPod will be the value from POD_ARTIST.  Otherwise, it will fallback to ARTIST.

*  Updated the Pod interface with function to enumate the list of iPod playlists, return a metadb_handle_list
  of an iPod playlist, repair the iPod database, and exporting the database in XML format.

*  Syncing will now ask the user before deleting any files on the iPod, and allow the user to cancel the
  sync if that is not what they expected.

*  The foo_pod context menu items are now displayed whether the iPod is mounted or not.

*  When transcoding, foo_pod now writes out the following metadata to the transcoded files:
    ReplayGain metadata
  Exact Audio Copy metadata
    TRANSCODER - a description of the transcoder and settings
 TRANSCODED_DATE - timestamp when the file was transcoded
 ORIGINAL_CODEC - the codec of the source file
 ORIGINAL_BITRATE - the original bitrate
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-09 13:58:02
Got a problem here with 0.8:

I encountered this problem when I had my iPod plugged in (but not docked), and I attempted to open foobar.

I mass selected some files, and I tried to right click for the context menu.

It generated a whole list of warnings, saying that a iPod is not connected. It sorta slowed foobar, and I could see that iPodService.exe was using some CPU cycles. I had to kill iPodService.exe before everything was ok.

EDIT: After iPodService was killed, the whole slew of warnings pop out whenever I right click.

EDIT2: I realise that this happens now irregardless of whether the iPod is plugged in or not. So I guess it has nothing to do with the iPod at all...

Code: [Select]
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
WARNING (foo_pod) : Couldn't find an iPod
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-09 16:22:08
I recently noticed that the iPodService has a whole lot of undocumented functionality available via the COM interface. IPodService.iPodManager as I recall. Looks like you can register applications to the iPodservice and do events and such. Looks like it'd be possible to register foobar to the iPodservice and have it automatically start foobar when you connected the iPod. This could eliminate iTunes entirely from the picture if it's causing issues. We just grab the iPodService away from it and force the iPodService to use foobar instead.

You can get the iPodService without installing iTunes, BTW. Just install the iPod Firmware Updater. It installs the iPodService as well, I think.

Only problem I see is that the interface is undocumented. It looks reasonably simple though. Some minor confusion in some of the calls, but mostly looks feasible.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-09 18:36:10
Quote
I recently noticed that the iPodService has a whole lot of undocumented functionality available via the COM interface. IPodService.iPodManager as I recall. Looks like you can register applications to the iPodservice and do events and such. Looks like it'd be possible to register foobar to the iPodservice and have it automatically start foobar when you connected the iPod. This could eliminate iTunes entirely from the picture if it's causing issues. We just grab the iPodService away from it and force the iPodService to use foobar instead.

You can get the iPodService without installing iTunes, BTW. Just install the iPod Firmware Updater. It installs the iPodService as well, I think.

Only problem I see is that the interface is undocumented. It looks reasonably simple though. Some minor confusion in some of the calls, but mostly looks feasible.

I have been using the interface for quite awhile now, Otto.  But thanks for noticing! 
Edit: I actually emailed you on March 22 and told you about the iPodService interface...

And yes, there is a way to register and set the launch application, although I couldn't get it working when I tried it with version 10.  I believe it just sets a registry value in HKLM\SOFTWARE\Apple Computer, Inc.\iPod\RegisteredApps, but it has been a long time since I have looked into this.

The problem with using the updater (other than it is a 25MB download just to get a 400kB file!) is that the updater installer doesn't register iPodService as a Windows service.  I could do that manually, but honestly, iPodService mostly just gets in the way.  foo_pod works just as good without it, and other than automatically launching an application when the iPod is attached, it really doesn't do anything useful as far as foo_pod is concerned. 

Getting the EDeviceStatus might be useful, but I don't understand COM well enough yet to set up the dispinterface handler in foo_pod, and I would still need equivalent backup code for the case when iPodService isn't available.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-09 19:01:06
Quote
I encountered this problem when I had my iPod plugged in (but not docked), and I attempted to open foobar.

I mass selected some files, and I tried to right click for the context menu.

It generated a whole list of warnings, saying that a iPod is not connected. It sorta slowed foobar, and I could see that iPodService.exe was using some CPU cycles. I had to kill iPodService.exe before everything was ok.

What do you mean by plugged in but not docked?  Did your iPod screen say it was charging or "Ok t o disconnect" instead of "Do Not Disconnect"?

Which version of foo_pod are you using?  foo_pod 0.8 has a change so that it doesn't check for an iPod before displaying the context menu.  I'm not able to reproduce the problem with 0.8, so give it a try and see if it helps.

Edit: Nevermind...I see you are using 0.8.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-09 19:07:57
Quote
I have been using the interface for quite awhile now, Otto.  But thanks for noticing! 
Edit: I actually emailed you on March 22 and told you about the iPodService interface...

Hah! Yeah, I guess that didn't click with me at the time. I'm kinda new to COM, really. I only noticed it because I was checking out some of the iTunes COM interface stuff. Some things in there not in their documentation, although sadly they look like they're pretty uninteresting things for the most part.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-06-09 19:16:39
Hi again!  I'm sorry if this has already been asked

Fed up with manually managing the content of my iPod i decided to start using the sync option. I first tried to sync one playlist only. My iPod completely erased its HD. Okay no problem, that could have something to do with syncing for the first time.
I played around a bit and it seems to me things are not working properly. What I did:

- completely erased all data from iPod
- made 2 playlists. both contain 2 albums (4 different albums in total)
- synced one of the playlists
- checking... yes, they show up when i say "load ipod songs to playlist"
- Sync all playlists... (beeing asked if i really want to delete 97 files.. i guess so..??. the 2 albums i uploaded in step 3 didnt contain 97 files anyway..)...... Transferring files...
- Hmmmm all files are there... I swear, i did this on a larger scale and everything got removed... (Multiple times!)

Well gonna post this anyway because of the "delete 97 files" msg



I hope i make myself clear. it is a bit of a weird situation.`
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-06-09 19:26:15
Next try because my reprduction in my last post differred from the actions in which i encountered problems.

- Delete everything
- Make 2 playlists with 2 albums each
- Sync all playlists (Want to delete 97 files? ehhhh yes?) Transferring
- Add a fifth album to one of the playlists
- Sync selected playlist (the playlist with album #5, obviously) (Want to delete 120 files? well if that's what it takes  *YES* Transferring files
- Okay now i should have 5 albums on my iPod.. checking. nope, i only have the 3 albums from the playlist i synced... where are the 2 others from that other playlist?!?!


hope you can do something with this info



---> EDIT: I was thinking.. could it be so simple that i just have to select "NO" when i'm beeing asked about deleting files?! 

okay your reply underneath explains  thanks, sorry for troubling you
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-09 19:27:21
Quote
Hi again!  I'm sorry if this has already been asked

Fed up with manually managing the content of my iPod i decided to start using the sync option. I first tried to sync one playlist only. My iPod completely erased its HD. Okay no problem, that could have something to do with syncing for the first time.
I played around a bit and it seems to me things are not working properly. What I did:

- completely erased all data from iPod
- made 2 playlists. both contain 2 albums (4 different albums in total)
- synced one of the playlists
- checking... yes, they show up when i say "load ipod songs to playlist"
- Sync all playlists... (beeing asked if i really want to delete 97 files.. i guess so..??. the 2 albums i uploaded in step 3 didnt contain 97 files anyway..)...... Transferring files...
- Hmmmm all files are there... I swear, i did this on a larger scale and everything got removed... (Multiple times!)

Well gonna post this anyway because of the "delete 97 files" msg

I definitely need to make users sign an informed consent disclaimer before allowing them to sync...


Sync means "make the iPod match what is being synced", which means copying and deleting files from the iPod.  In your case, you synced a single playlist, which means that it (correctly) deleted everything on your iPod that wasn't in that playlist.  Don't worry - nobody seems to understand how sync works, but it really isn't that complicated.

When you got the "97 files" message, it meant that there were 97 songs on your iPod that didn't match the current playlist, and were about to be deleted.

Basically, I would recommend avoiding sync unless you really understand what it does (in the next version, I'm going to disable sync by default and make the user go to the preferences to enable it).  Just use send playlist to copy files to the iPod and Delete Selected files when you want to clean things up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-06-09 19:42:40
thanks for explaining  consider copying your reply into a txt file in the zip or something. i have a feeling i won't be the last to ask.
Now you explained, i totally see what's going on
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-09 19:47:19
Quote
I definitely need to make users sign an informed consent disclaimer before allowing them to sync...

Again, I suggest the word "replace" carries more of a connotation that something is going to dissappear before your new files are added, over the word "sync".
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-09 21:20:14
Quote
Again, I suggest the word "replace" carries more of a connotation that something is going to dissappear before your new files are added, over the word "sync".

Except that it really is a sync(hronization) of one or more playlists and the iPod.  Maybe "replace" is more accessible term, though.

I'm about ready to post 0.8.1, which might fix SNAG's problem and also disables sync by default.  In order to use it, you have to read and agree to a fairly lengthy message which explains sync.  Hopefully that will either inform users or steer them toward Send, instead.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-10 04:07:39
Sync is the same term iTunes uses and it does the exact same thing. I don't really see the problem here.. If you sync the iPod to something, you make the iPod contain that something and nothing else. Seems straightforward enough to me.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-10 04:56:38
Another great release, Aero! I'm really enjoying the alternative tags feature.
One thing, though, I looked at the new pod.h and I didn't notice anything to do with the progress window... Maybe you accidently didn't include the latest version of pod.h...
Quote
Finally, the Pod interface was updated with new functions and arguments to control whether the progress dialogs will be shown.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-10 05:46:52
Quote
Another great release, Aero! I'm really enjoying the alternative tags feature.
One thing, though, I looked at the new pod.h and I didn't notice anything to do with the progress window... Maybe you accidently didn't include the latest version of pod.h...

Thanks! 

Are you sure you have the latest pod.h from foo_pod 0.8?

virtual int sendHandleListToIPod(const metadb_handle_list &handleList, const bool showProgress = false) = 0;

and so on and so forth.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-10 07:10:56
Oh. Sorry about that, I wasn't looking well enough... I just scanned through looking for new methods and/or attributes. Thanks for pointing that one out. It's a great addition... but it's not quite what I looked forward for... I was hoping for something more flexible. That is, I wanted to be able to bring it up and update it regardless of the existing functionalities. So, for example, I could use it for things such as my Rainlendar syncer which actually only uses the getIPodRoot method and from there simply employs file streams. I just wanted a progress window to match foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-10 07:37:49
Version 0.8.1 (http://www.loodi.com/foo_pod.zip) is now available.

Not much new in this version, but as I mentioned earlier, the sync features are now disabled by default, since they are often understood.  To enable sync, go to the Preferences dialog and check the Enable Sync checkbox. 

Also, I removed some unnecessary warning messages when the iPod is not found, which should help with the problem SNAG reported.


From the Readme:
Code: [Select]
Version 0.8.1 - June 10, 2004
*  Sync Current Playlist and Sync All Playlists are now disabled by default.  In order to use them,
  you must go to the Preferences and check the Enable Sync checkbox.  Doing this will present a
  dialog that explains what sync is and what sync does.

*  Removed an unnecessarily verbose warning when foo_pod was unable to find an iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-10 07:43:09
Quote
Oh. Sorry about that, I wasn't looking well enough... I just scanned through looking for new methods and/or attributes. Thanks for pointing that one out. It's a great addition... but it's not quite what I looked forward for... I was hoping for something more flexible. That is, I wanted to be able to bring it up and update it regardless of the existing functionalities. So, for example, I could use it for things such as my Rainlendar syncer which actually only uses the getIPodRoot method and from there simply employs file streams. I just wanted a progress window to match foo_pod.

I'm actually just using Microsoft's IProgressDialog (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/iprogressdialog/iprogressdialog.asp) class.  It is very easy to use and, while it has its quirks, it works well enough.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-10 12:32:57
Quote
Version 0.8.1 (http://www.loodi.com/foo_pod.zip) is now available.

Not much new in this version, but as I mentioned earlier, the sync features are now disabled by default, since they are often understood.  To enable sync, go to the Preferences dialog and check the Enable Sync checkbox. 

Also, I removed some unnecessary warning messages when the iPod is not found, which should help with the problem SNAG reported.


From the Readme:
Code: [Select]
Version 0.8.1 - June 10, 2004
*  Sync Current Playlist and Sync All Playlists are now disabled by default.  In order to use them,
  you must go to the Preferences and check the Enable Sync checkbox.  Doing this will present a
  dialog that explains what sync is and what sync does.

*  Removed an unnecessarily verbose warning when foo_pod was unable to find an iPod.

When it's docked in, there's a checkmark, and a "OK to disconnect" text.

Anyway, my problem has been solved in 0.8.1... Cool!

EDIT: Not sure what happened... but 0.8.1 corrupted my DB file. Had to do a repair.  I did a repair, and tried again, but it was OK...

Shall try to replicate the problem again (or was it a one time freaky affair?)
Title: foo_pod - Foobar2000 meets the iPod
Post by: ndrake on 2004-06-10 18:03:01
The progress on this plugin is fantastic, how did I ever use my ipod before it??

I must be missing something.  I just updated from 0.6x to the latest, and now everytime I start foobar I get an error message popping up in the console that ipodService is not available.  That's because I don't have it installed.  Can there be an option for foo_pod to not check for ipodservice, and just not use it, so that I don't have to close that message window every time I start the program? Sure I'm not the only one who can live without the ability to change the name of my ipod.    I was certain there used to be an option to disable use of ipodservice, but I can't find anything to that effect now. 

Thanks for the plugin.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-10 20:34:32
Quote
The progress on this plugin is fantastic, how did I ever use my ipod before it??

I must be missing something.  I just updated from 0.6x to the latest, and now everytime I start foobar I get an error message popping up in the console that ipodService is not available.  That's because I don't have it installed.  Can there be an option for foo_pod to not check for ipodservice, and just not use it, so that I don't have to close that message window every time I start the program? Sure I'm not the only one who can live without the ability to change the name of my ipod.    I was certain there used to be an option to disable use of ipodservice, but I can't find anything to that effect now. 

Thanks for the plugin.

Thanks!

Yes, the iPodService warning is a mistake.  I will remove the warning in the next version, although one workaround for now is to go to the Foobar console, then the Options button, and uncheck "Popup on Warnings". 

FYI, there are 3 levels of severity when it comes to the Foobar console: info, warning, and error.  Errors always causes the console to be shown, Warnings are optional, and Info never makes it pop up.  My mistake was that the iPodService message was a warning, when it should have been an info (since as you pointed out, it is perfectly acceptable to run foo_pod without have the iPodService installed).
Title: foo_pod - Foobar2000 meets the iPod
Post by: ndrake on 2004-06-11 00:13:40
great, thank you!!  I can live with it for now until the next version is released, otherwise I'll forget I changed the warning setting and I like to get some of the popups (like mpeg re-sync, I don't know if that is a warning or error).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Ralluph on 2004-06-13 09:41:19
I think I found a small bug on the foo_pod preferences screen. On this screen there is a white border around the active pane and the active tab. This happens only when I select foo_pod in the tree on the left, all the other menus appear without this border.
Screenshot:
(http://voltera.et.tudelft.nl/~ralph/images/hydrogenaudio/foo_pod.png)
I'm running foobar 0.8.2 with foo_pod and foo_ui_columns on WinXP Pro. I removed foo_ui_columns and this doesn't fix the problem, so foo_ui_columns seems to have nothing to do with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-14 05:36:47
Quote
I think I found a small bug on the foo_pod preferences screen. On this screen there is a white border around the active pane and the active tab. This happens only when I select foo_pod in the tree on the left, all the other menus appear without this border.

Thanks for the bug report!  I have fixed this and it will be in the next release.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-14 15:48:43
Strangely enough... the "Cannot Find an iPod" problem still exists in 0.8.1. Only thing is that it's a harmless message right now (it will not hang foobar or anything, and it's only visible when the console is enabled.)

Code: [Select]
INFO (foo_pod) : Couldn't find an iPod
INFO (foo_pod) : Couldn't find an iPod
INFO (foo_pod) : Couldn't find an iPod


But oh well. If it doesn't crash it, it's not really a problem...
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-15 06:59:26
Is there some way for me to start over with this thing?  I have multiple duplicate and triplicate entries in the ipod playlist.  WTF?!?  How do I fix this?  I tried to rebuild the database, didn't work.  iTunes doesn't show all this messed up crap.  What did I do? Help
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-15 07:09:49
Quote
Is there some way for me to start over with this thing?  I have multiple duplicate and triplicate entries in the ipod playlist.  WTF?!?  How do I fix this?  I tried to rebuild the database, didn't work.  iTunes doesn't show all this messed up crap.  What did I do? Help

Delete All iPod Music And Playlists will wipe your iPod clean, if that is what you mean by starting over.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Ralluph on 2004-06-16 11:18:54
Since foo_pod serves all my iPod-related needs (thanks a lot Aero, you did a brilliant job!) I decided to remove iTunes from my system. After uninstalling and rebooting I now  get  the following message every time foobar starts:
Code: [Select]
WARNING (foo_pod) : iPodService is not available

All foo_pod functionality is working great, with the exception of the iPod Service tab in the prefs, where all fields are grayed out.
Looking in my process list there is no service running which one could recognize as iPod service. The iPod updater is still on my system. A couple of posts above, somebody suggested the possibility of registering some executable as a service. Could somebody explain how I can do that, please?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-16 12:03:44
Quote
Since foo_pod serves all my iPod-related needs (thanks a lot Aero, you did a brilliant job!) I decided to remove iTunes from my system. After uninstalling and rebooting I now  get  the following message every time foobar starts:
Code: [Select]
WARNING (foo_pod) : iPodService is not available

All foo_pod functionality is working great, with the exception of the iPod Service tab in the prefs, where all fields are grayed out.
Looking in my process list there is no service running which one could recognize as iPod service. The iPod updater is still on my system. A couple of posts above, somebody suggested the possibility of registering some executable as a service. Could somebody explain how I can do that, please?

Thanks! 

That warning is another unnecessary message, and I have downgraded it to an INFO message (which will not cause the console to pop up).  It is fixed in the next build.

Speaking of the next build, I'm probably going to post it later today.  I have been trying to get iTunes to play nice with foo_pod, by adding files copied by foo_pod to iTunes' library.  Unfortunately, it hasn't worked out very well (even though the songs were in the iTunes library, iTunes still deleted 35GB of my music...  ).  So I'm going to keep working on it, but I'm not going to let it hold up the next release.  Another feature that I wanted to get in the next verison, but won't, is support for transferring and transcoding music in CUE sheets.  I'm pretty sure that it can be made to work, and I already have made some progress, but there is still more work to do.

On the positive side, the next version will fix all of these annoying console warnings, and adds support for AIFF files, as well as an option to transcode WAV/AIFF files, and a handful of minor bug fixes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-16 23:31:46
Version 0.8.2 (http://www.loodi.com/foo_pod.zip) is now available.

This version fixes some minor bugs as well as hopefully removing all of the unnecessarily annoying Foobar console messages.


From the Readme:
Code: [Select]
Version 0.8.2 - June 16, 2004
*  Removed and/or improved several of the more annoying (and unnecessary) console messages.

*  Fixed a bug where the BPM metadata wasn't being set correctly.

*  Removed the white border visible in the Preference tabs, when using the XP Luna theme.

*  Added support for AIFF files, and added a checkbox in the Transcoder preference to automatically
  transcode all WAV & AIFF files.

*  Fixed a bug where, when transferring read-only files to the iPod, the song files on the iPod would also
  be read-only.  This would prevent them from being deleted later by the user, even though the entry in the
  iPod database would be removed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eido on 2004-06-17 02:55:13
I found a small problem with foo_pod.  If I add an album each by the bands "+/-" and "!!!", both albums end up listed under "!!!".
Also, while I'm posting let me add my thanks for this fantastic plugin.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-17 03:56:11
Quote
I found a small problem with foo_pod.  If I add an album each by the bands "+/-" and "!!!", both albums end up listed under "!!!".
Also, while I'm posting let me add my thanks for this fantastic plugin.

Heh.  Are those real band names, or are you just trying to torture test foo_pod? 

Without looking into it yet, I would bet that it is an iPod problem since I can't think of anything special foo_pod is doing that would causing problems.  Have you ever been able to get them to work with iTunes?

One possible workaround is to use the Alternate Metadata Prefix feature (found on the Main tab in foo_pod Preferences).  What you can do is set it to "POD_", then add a "POD_ARTIST" metadata tag to your +/- and !!! songs.  For example, you could set the POD_ARTIST for +/- to "PlusMinus" and !!! to "ThreeBangs".  Then when foo_pod sends those songs, it will use the POD_ARTIST metadata and the songs will show up on the iPod under the PlusMinus and ThreeBangs artists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eido on 2004-06-17 23:19:39
Quote
Quote
I found a small problem with foo_pod.  If I add an album each by the bands "+/-" and "!!!", both albums end up listed under "!!!".
Also, while I'm posting let me add my thanks for this fantastic plugin.

Heh.  Are those real band names, or are you just trying to torture test foo_pod? 

Without looking into it yet, I would bet that it is an iPod problem since I can't think of anything special foo_pod is doing that would causing problems.  Have you ever been able to get them to work with iTunes?

One possible workaround is to use the Alternate Metadata Prefix feature (found on the Main tab in foo_pod Preferences).  What you can do is set it to "POD_", then add a "POD_ARTIST" metadata tag to your +/- and !!! songs.  For example, you could set the POD_ARTIST for +/- to "PlusMinus" and !!! to "ThreeBangs".  Then when foo_pod sends those songs, it will use the POD_ARTIST metadata and the songs will show up on the iPod under the PlusMinus and ThreeBangs artists.

Yep, they're real band names.
And you were right about iTunes.  It does indeed do the same thing, so I used your POD_ prefix suggestion and everything is working fine now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-18 00:18:58
So is the conclusion that the iPod can't properly compare non-alphanumeric symbols? That is, when trying to compare two items, both containing the same amount of non-alphanumeric symbols but of different compositions, the iPod will conclude that they are the same?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-18 01:51:31
Quote
Yep, they're real band names.
And you were right about iTunes.  It does indeed do the same thing, so I used your POD_ prefix suggestion and everything is working fine now.

If you could get it to happen again and then save the iTunesDB file somewhere, that could be useful to figure out what's going on.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eido on 2004-06-18 05:48:48
Quote
If you could get it to happen again and then save the iTunesDB file somewhere, that could be useful to figure out what's going on.

I sent you a PM with a link to my iTunesDB.

Just to see what happens when there are a different number of characters in the artists' names, I tried changing +/- to +/-! on the iPod.  After that, there were separate entries for "!!!" and "+/-!", but each band had both band's albums listed under their names.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zeer on 2004-06-18 10:36:05
a quick note to all:

while iPod's filesystem support every aspect of win32 FAT32 filesystem, including national alphabets, the iPod firmware (=player's firmware, not HDD's) does NOT. the only valid symbols in filenames for player usage is 0-9 A..Z a..z

just in case someone didn't know...
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-18 12:40:01
Quote
a quick note to all:

while iPod's filesystem support every aspect of win32 FAT32 filesystem, including national alphabets, the iPod firmware (=player's firmware, not HDD's) does NOT. the only valid symbols in filenames for player usage is 0-9 A..Z a..z

just in case someone didn't know...

That's true all right.
All my Unicode-d files get renamed when I send it over to my iPod...
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-18 15:19:23
Well I can see umlauts, accents, and such on my iPod, but if what you say is accurate then I bet that if I had one album with the same artist as another only I changed an O with an umlaut to a regular O it would still be under the same artist... or would that only happen if I changed the O with the umlout to another symbol that isn't 0-9, a-z, or A-Z?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-18 22:02:38
Quote
while iPod's filesystem support every aspect of win32 FAT32 filesystem, including national alphabets, the iPod firmware (=player's firmware, not HDD's) does NOT. the only valid symbols in filenames for player usage is 0-9 A..Z a..z

There actually two separate issues here. 

One is the filename support - foo_pod and iTunes escape the filename so that it is legal.  Otherwise, filenames with umlats and other non-English characters would not play at all on the iPod.  And legal filenames are a little more than just 0-9, A-Z, and a-z.  At least the following symbols also are acceptable: dash, underscore, space, period, ampersand, single quote, left & right parenthesis, and comma.

The other issue is the display and sorting of metadata (song titles, artists, etc.).  The iPod supports a larger set of characters for the metadata display, but it doesn't support all characters (for example, Hebrew glyphs) and doesn't seem to correctly sort metadata with symbols.  One workaround for this problem is to use the Alternate Metadata foo_pod feature, so you can use a separate set of metadata for the iPod only.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-19 07:31:24
Hmmm... I was over at neowin and noticed a news post about a new version of ml iPod (which, I now know, is a winamp plugin for iPod uses) and it seems it now supports Smart Playlists. May be worthwhile to contact the developers and ask if they would reveal the secrets of Smart Playlists beyond iTunes. I wouldn't mind emailing them myself, but I thought maybe it'd be better if you, the developer of foo_pod himself, would contact them, eh?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-19 10:50:35
Quote
Hmmm... I was over at neowin and noticed a news post about a new version of ml iPod (which, I now know, is a winamp plugin for iPod uses) and it seems it now supports Smart Playlists. May be worthwhile to contact the developers and ask if they would reveal the secrets of Smart Playlists beyond iTunes. I wouldn't mind emailing them myself, but I thought maybe it'd be better if you, the developer of foo_pod himself, would contact them, eh?

Funny that you should mention smart playlists.  I have been working on them tonight, and I was just going to post an update...

I had some free time tonight, so I decided to look into smart playlist support.  I started by looking for other projects that have implemented them, since the iPodDB implementation is incomplete.  I was excited to see that ml_ipod claimed to support smart playlists, but after looking at their code for a few minutes, it was clear that whatever they have is definitely not Smart Playlists.  Real Smart Playlists, as created by iTunes (and soon to be created by foo_pod...  ) are a set of rules that 3G iPods use to dynamically create playlists.  I think that ml_ipod's "smart playlists" are just a Winamp-side playlist generator, similar to the one that is included with Foobar and extended by the Extended Playlist Generator (http://www.hydrogenaudio.org/forums/index.php?showtopic=20500&) component.

So without any good code to steal, I had to put my nose to the grindstone (keeps the boogers sharp...) and finish the iPodDB implementation myself.  It only took a couple of hours of testing and looking at the raw database code before I was able to have a complete implementation that reads and understands all combinations of iTunes created smart playlists.  Most of that is due to Otto42's initial work, which made my part very easy (just time consuming).

I haven't started on the writing of smart playlists, but I don't expect it will be very difficult.  Then I will just need to create a GUI (probably the hardest part), and we can all dump iTunes once and for all! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-06-19 11:01:24
Yay helicopter!
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-19 11:57:06
w00t!!
Will that mean that foo_pod will be able to manage (ie, edit, add files) existing playlists on the iPod as well?

Can't wait for the new release to be out!
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-19 17:37:17
Err... SNAG, I don't really see what that ability has to do with Smart Playlists (though it may just be me not seeing that relation), but regardless, now that Smart Playlists are coming up and I'll be using playlists at all (had no need for the regular ones), I would also think that it would be nice to be able to remove a specific playlist rather than remove all the playlists and then put all of them back except for the ones you wanted to delete. I think the best way to make this work would be to simply have a small dialog with a scrolling list control with all the playlist and with the buttons "remove," and "done."

Aero, how did you get ml ipod's code? I noticed that it was on Source Forge and so assumed it was open source but couldn't find the source code for download. It's too bad they were only able to make Smart Playlists a la 2nd Gen. Again, the best, and easiest, thing you can do for the GUI is prolly just have another dialog with a scrolling list control, to whose side would be two buttons labled "add" (opens up a dialog box with configuration for the condition), "remove," and "modify" (or maybe double clicking will do that) and under it would be all the options that don't go in conditions like order and such and under that a "save" button and a "cancel" button. And all that shouldn't be too hard... I think. Is that pretty much what you envision too?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-19 21:48:47
Quote
Err... SNAG, I don't really see what that ability has to do with Smart Playlists (though it may just be me not seeing that relation), but regardless, now that Smart Playlists are coming up and I'll be using playlists at all (had no need for the regular ones), I would also think that it would be nice to be able to remove a specific playlist rather than remove all the playlists and then put all of them back except for the ones you wanted to delete. I think the best way to make this work would be to simply have a small dialog with a scrolling list control with all the playlist and with the buttons "remove," and "done."

Yeah, what rexy said regarding smart playlists vs. regular playlists.

I really do need to add some sort of playlist management to foo_pod, but that would require more GUI programming, which isn't my favorite activity.  So I keep pushing it off...  BTW, there is enough in the Pod interface now that someone else could write a component that manages playlists.

Quote
Aero, how did you get ml ipod's code? I noticed that it was on Source Forge and so assumed it was open source but couldn't find the source code for download. It's too bad they were only able to make Smart Playlists a la 2nd Gen. Again, the best, and easiest, thing you can do for the GUI is prolly just have another dialog with a scrolling list control, to whose side would be two buttons labled "add" (opens up a dialog box with configuration for the condition), "remove," and "modify" (or maybe double clicking will do that) and under it would be all the options that don't go in conditions like order and such and under that a "save" button and a "cancel" button. And all that shouldn't be too hard... I think. Is that pretty much what you envision too?

ml_ipod's source code is available via CVS at sourceforge.net (http://sourceforge.net/cvs/?group_id=106528), and is also browsable here (http://cvs.sourceforge.net/viewcvs.py/mlipod/ml_ipod/).  I don't want to offend the ml_ipod developers off again... (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=205327), but compared to Otto's iPodDB, there isn't much to learn from ml_ipod.  It is mainly seems to be a port of  gtkpod (http://gtkpod.sourceforge.net/), which itself is a C++ version of GnuPod (http://www.gnu.org/software/gnupod/).  So there are basically 2 open source iPod libraries available, and without a doubt, iPodDB is the best and most complete library.  ml_ipod and the like just have better marketing! 

Again, the GUI isn't going to be terribly difficult, but there are some challenges.  For example, it has to be completely dynamic, as you can enter/delete as many rules as you want.  Also, some rules require strings, some rules require ints, and some rules require dates, so those controls all need to be dynamically handled.  Then you can have ranges of values, so you have to deal with that as well.  Finally, you have to be able to build the whole GUI from raw data.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-19 22:19:10
Quote
Finally, you have to be able to build the whole GUI from raw data.

What do you mean? Can't you simply make a class that extends (or rather inherits from as we're talking C++ and not Java) the MFC dialog class?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-19 22:51:41
Quote
What do you mean? Can't you simply make a class that extends (or rather inherits from as we're talking C++ and not Java) the MFC dialog class?

What I meant is that I will need to build up the GUI controls based on the smart playlist settings.  So if you have 3 rules, when you open the smart playlist configuration dialog, there will need to be code that parses those 3 rules, and sets up the GUI accordingly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-20 04:09:26
Quote
I haven't started on the writing of smart playlists, but I don't expect it will be very difficult.  Then I will just need to create a GUI (probably the hardest part), and we can all dump iTunes once and for all! 

I'm looking at the code Aero modified (read: seriously repaired, as I know how much the smart playlist read code sucked previously), and it looks pleasant. He also did all the annoying time consuming work of figuring out all the constants, which is hella nice. Figuring those out was basically why I've been so unenthusiastic about getting down and working on the SPL's. Truly a pain in the ass... one that now I don't have to do!

Anyway, Aero sent me the changes and I'm going to see if I can get write support for them up and running tonight or tommorrow night. So bug Aero about creating a GUI, because that I really can't help with. Division of labor, it's a good thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-20 04:29:03
Quote
Anyway, Aero sent me the changes and I'm going to see if I can get write support for them up and running tonight or tommorrow night. So bug Aero about creating a GUI, because that I really can't help with. Division of labor, it's a good thing.

I already emailed Otto, but I was able to get some preliminary write support implemented this afternoon.  I haven't tested it on the iPod yet, but it is at least good enough to read in an iTunes created smart playlist, parse it, write it back to the iTunesDB, and successfully read it again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-20 07:18:20
Quote
I already emailed Otto, but I was able to get some preliminary write support implemented this afternoon.  I haven't tested it on the iPod yet, but it is at least good enough to read in an iTunes created smart playlist, parse it, write it back to the iTunesDB, and successfully read it again.

Don't be too sure on that... The read code was seriously borked. It wasn't your fault, it was my original misunderstanding of what the fields were. All those places I read the "from" and "to" and such was totally hosed, and since you based it on my pointers... It would read fine, and if you wrote it you'd get the same thing out, but the fields didn't actually make sense for what it was really doing. You wouldn't be able to modify it and get it to actually work on an iPod. The iPod would gag on it and hose the database.

Turns out that the SPL's are more complex than the code in any other iPod library source code that I can find thinks they are. Anyway, I've actually sorted it out now, and it's much, much nicer. I'll add some write code tonight and send it along sometime tommorrow.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-20 07:53:12
Quote
Quote
I already emailed Otto, but I was able to get some preliminary write support implemented this afternoon.  I haven't tested it on the iPod yet, but it is at least good enough to read in an iTunes created smart playlist, parse it, write it back to the iTunesDB, and successfully read it again.

Don't be too sure on that... The read code was seriously borked. It wasn't your fault, it was my original misunderstanding of what the fields were. All those places I read the "from" and "to" and such was totally hosed, and since you based it on my pointers... It would read fine, and if you wrote it you'd get the same thing out, but the fields didn't actually make sense for what it was really doing. You wouldn't be able to modify it and get it to actually work on an iPod. The iPod would gag on it and hose the database.

Well, yeah...but I fixed it all so now it is unhosed! 

I was just able to do a complete test of Smart Playlist writing - I was able to read a 27 rules smart playlist (created by iTunes), which tested every available option.  I was then able to write it out to a new database file, and it was correctly read by iTunes. 

So basically all that is left is to start (and finish) the GUI.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-20 09:16:47
It's basically great to see this project moving at such a fast pace...

Pardon me for asking something really dumb here, but I'm trying to read the metadata (RATING, IPOD_PLAY_COUNT) in foobar.

I can't seem to make the metadata display in foo_tunes.
I'm not sure whether my understanding of how metadata is displayed, but here goes:

Code: [Select]
[$num(%IPOD_PLAY_COUNT%,2)]
[$num(%RATING%,5)]


Am I correct? (I've got a hunch that I'm wrong here...)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-20 09:36:28
removed because i should have read his emails first.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-20 10:32:57
Quote
Pardon me for asking something really dumb here, but I'm trying to read the metadata (RATING, IPOD_PLAY_COUNT) in foobar.

I can't seem to make the metadata display in foo_tunes.
I'm not sure whether my understanding of how metadata is displayed, but here goes:

Code: [Select]
[$num(%IPOD_PLAY_COUNT%,2)]
[$num(%RATING%,5)]


Am I correct? (I've got a hunch that I'm wrong here...)

Those both work for me...

The problem might be how foo_pod handles the metadata.  Rather than writing it to the file, it provides it to Foobar as a "hint".  As long as Foobar doesn't reload the metadata from the file, everything is fine.  But since it isn't saved with the file, if you do forcibly reload the metadata, you'll lose RATING, IPOD_PLAY_COUNT, and and IPOD_LAST_PLAYED_TIME (at least until you reload the iPod playlist).
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-20 11:18:30
Quote
Quote
Pardon me for asking something really dumb here, but I'm trying to read the metadata (RATING, IPOD_PLAY_COUNT) in foobar.

I can't seem to make the metadata display in foo_tunes.
I'm not sure whether my understanding of how metadata is displayed, but here goes:

Code: [Select]
[$num(%IPOD_PLAY_COUNT%,2)]
[$num(%RATING%,5)]


Am I correct? (I've got a hunch that I'm wrong here...)

Those both work for me...

The problem might be how foo_pod handles the metadata.  Rather than writing it to the file, it provides it to Foobar as a "hint".  As long as Foobar doesn't reload the metadata from the file, everything is fine.  But since it isn't saved with the file, if you do forcibly reload the metadata, you'll lose RATING, IPOD_PLAY_COUNT, and and IPOD_LAST_PLAYED_TIME (at least until you reload the iPod playlist).

I'm not sure why, but it still doesn't show the metadata.

Actually, I'm not sure whether foobar did reload the metadata from the music files (can any kind soul provide me information as to how can I know about this?)

I've tried to delete the foo_pod playlist, and allow it to regenerate, but to no avail.
I think I'm really a n00b in this... 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-21 21:50:19
Quote
Actually, I'm not sure whether foobar did reload the metadata from the music files (can any kind soul provide me information as to how can I know about this?

Do you have the Foobar database enabled? (it is in the Foobar preferences, then click on the Database item, and see if Database Enabled is checked).
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-22 15:58:36
Quote
Quote
Actually, I'm not sure whether foobar did reload the metadata from the music files (can any kind soul provide me information as to how can I know about this?

Do you have the Foobar database enabled? (it is in the Foobar preferences, then click on the Database item, and see if Database Enabled is checked).

whoops. Knew that it was me and not foo_pod. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-22 17:56:40
Quote
Quote
Do you have the Foobar database enabled? (it is in the Foobar preferences, then click on the Database item, and see if Database Enabled is checked).

whoops. Knew that it was me and not foo_pod. 

That isn't your problem - it means that I need to fix foo_pod!  I'll look into it for the next release.

Smart Playlist Update: Otto and I have been going back and forth on the smart playlist code, and we are pretty close to a final solution.  I'm already regularly writing working smart playlists, so I am about ready to start on the GUI.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-23 04:10:03
Aero,

Let's call this a "pre-documentation" question.  How can I remove a specific playlist, without removing all playlists and re-sending all of my music to my iPod?  Let's assume I'm not using the "sync" functionality right now.

I see how I can remove the files from the iPod (through the "iPod (foo_pod)" playlist), but that still leaves a blank playlist.  Am I missing something?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-23 05:21:07
Quote
Let's call this a "pre-documentation" question.  How can I remove a specific playlist, without removing all playlists and re-sending all of my music to my iPod?  Let's assume I'm not using the "sync" functionality right now.

I see how I can remove the files from the iPod (through the "iPod (foo_pod)" playlist), but that still leaves a blank playlist.  Am I missing something?

You can't delete or edit playlist, at least right now.

I'm working on the Smart Playlist GUI, and I'm thinking about extending it to handle regular playlists as well, so you might be able to delete individual playlists and remove files from existing playlists.  So stay tuned...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Espique on 2004-06-23 15:07:31
hi,

where can I get the latest version of this plugin?

thanks,
sascha
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-23 16:57:48
Quote
where can I get the latest version of this plugin?

The latest version is always at http://www.loodi.com/foo_pod.zip (http://www.loodi.com/foo_pod.zip).
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-06-23 23:09:50
Amazing work Aero.  Your dedication to this plugin is remakable.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-25 04:53:03
Can someone tell me if I am using foo_pod correctly?  I don't think the soundcheck/replaygain is working.  I usually encode my stuff with foobar using nero and then put the replaygain stuff in the files with foobar.  Then I load the files onto my iPod with foo_pod.  But I have a lot of albums that are just way different in volume.  I have the Replay Gain / Sound Check Conversion set to Prefer Album Gain.  Is there a step that I am missing?  Am I just crazy?  Thanks, I really like foo_pod a lot.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-25 05:26:27
Quote
Can someone tell me if I am using foo_pod correctly?  I don't think the soundcheck/replaygain is working.  I usually encode my stuff with foobar using nero and then put the replaygain stuff in the files with foobar.  Then I load the files onto my iPod with foo_pod.  But I have a lot of albums that are just way different in volume.  I have the Replay Gain / Sound Check Conversion set to Prefer Album Gain.  Is there a step that I am missing?  Am I just crazy?  Thanks, I really like foo_pod a lot.

Make sure you enable SoundCheck on the iPod itself, in the settings menu. Because foo_pod uses the actual soundcheck field, unlike any other iPod interface that I know of (with the obvious exception of iTunes), the sound check on the iPod actually works properly when using it with foo_pod. So if you have SoundCheck turned off on the iPod, it doesn't use the ReplayGain values that foo_pod is putting in there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-25 05:33:55
Thanks Otto.  I did check that.  I discovered that due to my not knowing what I was diong, that I couldn't tell that it was working because I had my stereo connected via the docks line out.  But, it's the louder albums that don't seem to be getting any sort of gain reduction.  The quiet albums get more quiet, but the louder ones just stay the same.  The ones I have noticed this on have a RG value of 10 or greater.  Do you think that the higher RG value has something to do with this?

I had all this figured out when I was using MP3's, I just used mp3gain and was rollin'.  I sure miss being able to use mp3gain.  I really wish there were some sort of m4again, that would really rock.  Thanks for your help!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-25 06:18:34
Quote
Thanks Otto.  I did check that.  I discovered that due to my not knowing what I was diong, that I couldn't tell that it was working because I had my stereo connected via the docks line out.  But, it's the louder albums that don't seem to be getting any sort of gain reduction.  The quiet albums get more quiet, but the louder ones just stay the same.  The ones I have noticed this on have a RG value of 10 or greater.  Do you think that the higher RG value has something to do with this?

From my experience, SoundCheck is not available with line out - only with the headphone jack. 

For example, I have one of these (http://www.sik.com/imp.php) in my car, and SoundCheck definitely does not work on its line out (which I assume is the only one available on the docking connector).  Try using the headphone connector and see if that helps.

Edit:  The SoundCheck vs. Line Out  situation is discussed here (http://www.ipodlounge.com/forums/archive/topic/30946-1.html).  In a way, it makes sense, since I'm sure Apple implemented SoundCheck by simply changing the amplifier gain as needed, so when you use line out , you also miss out on the SoundCheck correction.  Still, they should have scaled the digital audio (like Foobar does) rather than apparently just messing around with the volume.  Ah, the iPod - so much is right, but there is just enough wrong to piss me off...


As for the ReplayGain value, 10 (and I assume you really mean -10dB) is a very loud song.  I believe ReplayGain is based off of 89dB, so what -10 means is that ReplayGain had to attenuate the audio by 10dB to get it to an apparent volume of 89dB.  OTOH, if the value really is 10, then you have a very fairly quiet song (79dB).  But whatever the RG value is, it doesn't affect whether or not SoundCheck works - I've personally tested everything from -20dB to +20dB.


Quote
I had all this figured out when I was using MP3's, I just used mp3gain and was rollin'.  I sure miss being able to use mp3gain.  I really wish there were some sort of m4again, that would really rock.  Thanks for your help!

The problem with mp3gain is that is actually changes the file, although the changes are reversible without having to reencode the file.  The beauty of ReplayGain is that it doesn't change the file, other than writing out harmless metadata, and it works on various file formats (including MP4/AAC).  But the downside is you have to use a player that understands ReplayGain. 

foo_pod has the ReplayGain -> SoundCheck conversion built-in, so any files you transfer to the iPod which have ReplayGain information, foo_pod will write out the correct SoundCheck value.  This also applies to transcoded songs, so you can use Foobar to calculate the ReplayGain for Monkey Audio or FLAC (for example), and foo_pod can transcode to MP3 or AAC format and still have the ReplayGain applied on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-25 06:27:45
Quote
Amazing work Aero.  Your dedication to this plugin is remakable.

Thanks!    Other than the challenge, and of course, the legions of fabulous female foo_pod groupies, I'm also doing for the thanks on the forum!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-25 08:47:53
Ugh. Ideally, they should have hooked the soundcheck variable to the preamp stage (which I actually thought they did, but now I'll have to go try it myself and see), and then hook the volume control and the volume adjustment variable to the amp gain.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Espique on 2004-06-25 12:05:32
wow. that really sucks that SoundCheck does not work through line-out. what a bummer.

anyways. is there some sort of FAQ or documentation available for foo_pod? I have some questions regarding the basic operation and what foo_pod actually does when syncing. any pointers?

thanks,
sascha
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-25 15:00:42
Quote
Quote
Thanks Otto.  I did check that.  I discovered that due to my not knowing what I was diong, that I couldn't tell that it was working because I had my stereo connected via the docks line out.  But, it's the louder albums that don't seem to be getting any sort of gain reduction.  The quiet albums get more quiet, but the louder ones just stay the same.  The ones I have noticed this on have a RG value of 10 or greater.  Do you think that the higher RG value has something to do with this?

From my experience, SoundCheck is not available with line out - only with the headphone jack. 

For example, I have one of these (http://www.sik.com/imp.php) in my car, and SoundCheck definitely does not work on its line out (which I assume is the only one available on the docking connector).  Try using the headphone connector and see if that helps.

Edit:  The SoundCheck vs. Line Out  situation is discussed here (http://www.ipodlounge.com/forums/archive/topic/30946-1.html).  In a way, it makes sense, since I'm sure Apple implemented SoundCheck by simply changing the amplifier gain as needed, so when you use line out , you also miss out on the SoundCheck correction.  Still, they should have scaled the digital audio (like Foobar does) rather than apparently just messing around with the volume.  Ah, the iPod - so much is right, but there is just enough wrong to piss me off...


As for the ReplayGain value, 10 (and I assume you really mean -10dB) is a very loud song.  I believe ReplayGain is based off of 89dB, so what -10 means is that ReplayGain had to attenuate the audio by 10dB to get it to an apparent volume of 89dB.  OTOH, if the value really is 10, then you have a very fairly quiet song (79dB).  But whatever the RG value is, it doesn't affect whether or not SoundCheck works - I've personally tested everything from -20dB to +20dB.


Quote
I had all this figured out when I was using MP3's, I just used mp3gain and was rollin'.  I sure miss being able to use mp3gain.  I really wish there were some sort of m4again, that would really rock.  Thanks for your help!

The problem with mp3gain is that is actually changes the file, although the changes are reversible without having to reencode the file.  The beauty of ReplayGain is that it doesn't change the file, other than writing out harmless metadata, and it works on various file formats (including MP4/AAC).  But the downside is you have to use a player that understands ReplayGain. 

foo_pod has the ReplayGain -> SoundCheck conversion built-in, so any files you transfer to the iPod which have ReplayGain information, foo_pod will write out the correct SoundCheck value.  This also applies to transcoded songs, so you can use Foobar to calculate the ReplayGain for Monkey Audio or FLAC (for example), and foo_pod can transcode to MP3 or AAC format and still have the ReplayGain applied on the iPod.

Your thread prompted me to ask a question:

What if the file is Sound-checked by iTunes, and RG-ed by foobar?

Which metadata will the iPod use? Wil it be dependent on the program used to transfer the songs in? (ie, iTunes = Sound Check, foobar = RG)
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-06-25 15:07:44
Quote
What if the file is Sound-checked by iTunes, and RG-ed by foobar?

Which metadata will the iPod use? Wil it be dependent on the program used to transfer the songs in? (ie, iTunes = Sound Check, foobar = RG)

Erm... you can't really do that. As far as I know, foo_pod just writes Sound Check values dependent on the existing RG values. So the implication of this is that whichever you use last on the file, iTunes or foo_pod's Sound Check conversion, is going to be the one that determines the Sound Check value.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-25 17:54:55
Quote
Wil it be dependent on the program used to transfer the songs in? (ie, iTunes = Sound Check, foobar = RG)

Yes.

The soundcheck value, as far as the iPod is concerned, is simply a number from 0 to 4,294,967,295 (possibly less ). All foo_pod does is to take the RG value in dB, perform a conversion, and stick it in right place in the iPod's database. iTunes does the same thing, except it uses the SoundCheck value calculated by iTunes' SoundCheck algorithim, whatever that is. We don't know anything about the SoundCheck algorithim, except that it a) does something similar to ReplayGain, b) is much faster, and c) seems to be a little bit less accurate (this is just my opinion from looking at the values and comparing them).

For the most part, they are nearly identical in most cases, and there's only a few cases where they vary wildly from one another. In those cases, I've personally found the RG value to "sound right" as far as it goes. iTunes' SoundCheck is usually good enough, however. Anyway, foo_pod doesn't read or know about the SoundCheck value calculated by iTunes, as far as I know. It simply reads the RG value that foobar calculates, converts it, and sticks it in the soundcheck field in the iPod.

rexy is correct, BTW. Whichever one you used to update the iPod last will be the value used. However, and this is just speculation, iTunes may not change the soundcheck field of non-modified songs on the iPod if iTunes is running in a manual sync mode. It definitely will change it in an auto-sync mode.

The simple answer to this is not to use both iTunes and foo_pod at the same time. Stick to one or the other. With the Smart Playlists now under construction, this will be simpler to do.



On the Smart Playlist topic, I've kinda got a question for all ya'll that might help me out a bit:

I've been working on implementing the Smart Playlist functionality in the iPodDB code (which is what foo_pod is using) and have hit a minor snag. See, working with smart playlists is tricky because 1st and 2nd Gen iPod's don't support live updating of playlists on the iPod itself. That is, I can make a smart playlist on a 3rd gen and not worry about figuring out which songs go into it, because the iPod will figure it out, for the most part. 1st and 2nd gen's won't do this. So I've written code which will actually evaluate the smart playlist rules and such and calculate the songs for any given smart playlist, and write them into the proper places. This way, 1st and 2nd gens will work in the same way they work with iTunes. You'll have your playlists, but those smart playlists will only change when you actually sync the ipod to the computer (foo_pod, in this case).

The problem arises from something iTunes added to version 4.5. In 4.5 they added a new type of rule, namely the playlist rule. This rule lets you base a playlist on other playlists.

Example: I have two playlists, call them Adam and Bob. I can create a new smart playlist called Carol that will have rules such that any song in both Adam and Bob will be in Carol. Or I can create rules such that any song in *either* Adam or Bob will be in Carol. Whatever, the point being that I can base a playlist upon the contents of other playlists.

Since the playlist rule type doesn't support live update on the iPod anyway, I have to calculate the playlist in advance regardless of what type of iPod you have. But this gives rise to an ordering issue.. Since it's possible to base smart playlists on other smart playlists, I can have infinite recursion.. Adam depends on Bob, while Bob depends on Adam. There's no real simple way to detect this sort of problem. I can use flags to find out when it occurs, but the only graceful solution here is to stop processing and not populate the playlists in this case. I can have it return some kind of error, I guess, that foo_pod can read to can pop up a dialog telling you that you have an loop defined, but it won't be able to give much more info than that.

The question is, should I have it do backwards population of playlists and detect this looping error, or should I skip supporting the playlist rule entirely? The playlist rule is less than useful for 3rd gen owners, since it breaks live update (one of the nicer features of smart playlists), but 1st and 2nd gen owners don't have live update functionality on the iPod anyway and might feel differently about the matter.

The upside to supporting playlist rules is that it makes making smart playlists somewhat simpler in a lot of cases, the downside is that live update breaks and calculation of the playlist contents is going to be slow as hell for large smart playlists, increasing sync time by some large amount. Not to mention that it's going to add a quite a bit of code to the iPodDB objects (which I don't mind writing really, this is fun! ) . Or maybe there's a third option I'm overlooking. I'd like some input from the users on this one.. Do playlist-based rules matter to you?
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-25 19:46:04
What do I do if I have files on my iPod already that don't seem to be affected with the Sound Check?  I have a feeling that I may have some files on there that either didn't get put in there with foo_pod or I did something else but they don't have the Sound Check feild on them.  How can I get foo_pod to put the Sound Check field on files that are already on my iPod?  Thanks again for all the help, I really appreciate it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-25 20:51:26
Quote
I'd like some input from the users on this one.. Do playlist-based rules matter to you?

Speaking for myself (and my 10GB 1st Gen iPod), I think my answer is "no, I'm not currently interested in playlist-based rules".

I'll reread your (Otto's) comments again later tonight and append something to my post, if I change my mind.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-25 20:55:38
I've got a feature request that may jump to the bottom of the priority list (I certainly don't want it to hold up any development on smart playlists!):  Would it be possible for foo_pod to either automatically or manually sychronize the iPod's clock to my PC's clock?

I realize this may be a little too far off the original mission of foo_pod (and it isn't something that iTunes does currently), but I think it would be cool to add.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-06-25 22:28:57
Quote
Would it be possible for foo_pod to either automatically or manually sychronize the iPod's clock to my PC's clock?

I don't believe this is possible. I could be wrong, but I don't see any way to do it. We're limited by the capabilities of the iPod itself and I see no way to tell the iPod to do this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-25 22:40:53
Quote
Quote
Would it be possible for foo_pod to either automatically or manually sychronize the iPod's clock to my PC's clock?

I don't believe this is possible. I could be wrong, but I don't see any way to do it. We're limited by the capabilities of the iPod itself and I see no way to tell the iPod to do this.

So, do you think the best approach would be to copy the files off the iPod, make sure that the RG is in the files with fb2k, delete the files from the iPod and then copy them back to the iPod.  Does that sound like a good plan?  Thanks again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-25 23:23:03
Quote
Quote
Would it be possible for foo_pod to either automatically or manually sychronize the iPod's clock to my PC's clock?

I don't believe this is possible. I could be wrong, but I don't see any way to do it. We're limited by the capabilities of the iPod itself and I see no way to tell the iPod to do this.

I actually looked into this several months ago, but I was unable to find any iPodService API that has anything to do with the clock.  You'd think it would be automatic - sync your iPod and synchronize the iPod clock to your computer's clock, but again, Apple came up a little short.  Have I mentioned that the iPod can really piss me off sometimes? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-25 23:49:06
Quote
So, do you think the best approach would be to copy the files off the iPod, make sure that the RG is in the files with fb2k, delete the files from the iPod and then copy them back to the iPod.  Does that sound like a good plan?  Thanks again.

Here is what I suggest:

1. Refresh the iPod playlist using the foo_pod Load iPod To The iPod (foo_pod) Playlist menu item.

2. Select all of the songs in the iPod (foo_pod) playlist

3. Right click, select Properties, then Reload Info From Files

4. Close the Properties dialog, go to Foobar preferences, then down to Title Formatting.

5. Select the Playlist tab, scroll to the bottom, and where you see: "[$get(artist) - ]", add "[$if2(%__replaygain_album_gain%,%__replaygain_track_gain%)  ]" (no quotes) on the line right above $get(artist).

Now you can see exactly which songs have Replay Gain information, and which ones don't.  Then you can delete the songs that don't have Replay Gain, and send them again once they do.

Edit: Another, more tedious way would be to use the Export  iTunesDB as XML feature, then open up the XML file in something like Mozilla or Internet Explorer.  Look for the SOUNDCHECK elements, and if the value is 0, you know that file doesn't have the ReplayGain/Soundcheck applied.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-25 23:58:18
My layout in fb2k shows if I have RG or not and they all show that they do.  But, some songs do not seem to be affected by the Sound Check being on.  They are just plain loud.  Boy, am I confused.

I honestly think that me messing around and going back and forth between iTunes and fb2k has caused a lot of this trouble.  I have had issues with multiple entries of the same songs a lot.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-26 03:43:56
Quote
My layout in fb2k shows if I have RG or not and they all show that they do.  But, some songs do not seem to be affected by the Sound Check being on.  They are just plain loud.  Boy, am I confused.

I honestly think that me messing around and going back and forth between iTunes and fb2k has caused a lot of this trouble.  I have had issues with multiple entries of the same songs a lot.

Probably the best thing to do at this point is wipe your iPod clean and stick to either foo_pod or iTunes.  foo_pod plays fairly well with iTunes, but iTunes doesn't return the favor. 

In fact, if you updated with iTunes after you loaded files with foo_pod, I would definitely expect that your ReplayGain/SoundCheck information would be gone.  Since iTunes only has the concept of sync (replacing the contents of the iPod with the iTunes library) and since it doesn't understand ReplayGain, what might have happened is that it deleted and replaced identical songs on your iPod - minus the ReplayGain/SoundCheck info.  While the ReplayGain tags are still in the files, the SoundCheck values that the iPod uses aren't in the database.

Use foo_pod's Export iTunesDB As XML function and then listen for some songs you think don't have the SoundCheck correction.  Then find those songs in the XML file and see what the SOUNDCHECK element is.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-06-26 07:54:58
I am beginning to totally agree with you.  The only reason I wanted to mess with iTunes after uploading my songs to my iPod was to do the track number/of tag and to add album art.  Now, I just don't care!  I just want good sound and even volume.  PLEASE!  I did some checking and I have noticed that after copying some files to my computer, re-calculating the RG info and re-uploading the files that the SC info is different.  So, I am systematically copying the files off the iPod, stripping the RG, applying the RG and then putting the files back on my iPod.  It will take a while, but at least I have learned something.  You guys have been great to help me and I really thank you so much.  If any of you ever make it to Tupelo, Mississippi, USA, be sure to let me know!  Thanks so much!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-26 16:30:50
Aero,

I'm guessing this is another "you'll have to wait for smart playlists" question, but I'm finding that playlists I transcode (via foo_pod, of course!) onto my iPod don't show up as playlists on my device.  I do have the "create iPod playlists" option enabled.

The files are transcoded from tagged .flac files, so I do see them if I search for the artist or album, but I'd like to have these playlists show up in the playlist category.  Any suggestions?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-06-26 17:43:17
Quote
I'm guessing this is another "you'll have to wait for smart playlists" question, but I'm finding that playlists I transcode (via foo_pod, of course!) onto my iPod don't show up as playlists on my device.  I do have the "create iPod playlists" option enabled.

The files are transcoded from tagged .flac files, so I do see them if I search for the artist or album, but I'd like to have these playlists show up in the playlist category.  Any suggestions?

I have seen that too, and it is a bug.  I'll try to fix it in the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-27 05:43:15
Although I'm a programming retard, but wow. There's a lot of massive coding that you guys are doing. I definitely look forward to the next revision of foo_pod with playlist handling!

Anyway, just an improvement for the next revisions of foo_pod.

It would be good if you could add an option to read the iPod DB, instead of having to meddle with the iPod (ie, copy some songs) to get the updated playlist.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-06-27 08:30:57
Quote
Although I'm a programming retard, but wow. There's a lot of massive coding that you guys are doing. I definitely look forward to the next revision of foo_pod with playlist handling!

Anyway, just an improvement for the next revisions of foo_pod.

It would be good if you could add an option to read the iPod DB, instead of having to meddle with the iPod (ie, copy some songs) to get the updated playlist.

Thanks!

Doesn't componets > foo_pod > 'load ipod songs ...' do this already?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mario620 on 2004-06-27 11:29:35
How do I adjust the volume with the regain feature with songs that are on my ipod already? And do I need to turn on the soundcheck feature on, on the ipod to make it all work? Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-06-27 14:33:46
Quote
Quote
Although I'm a programming retard, but wow. There's a lot of massive coding that you guys are doing. I definitely look forward to the next revision of foo_pod with playlist handling!

Anyway, just an improvement for the next revisions of foo_pod.

It would be good if you could add an option to read the iPod DB, instead of having to meddle with the iPod (ie, copy some songs) to get the updated playlist.

Thanks!

Doesn't componets > foo_pod > 'load ipod songs ...' do this already?

Oh my god. I just realised that. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-06-27 17:45:49
Quote
And do I need to turn on the soundcheck feature on, on the ipod to make it all work? Thanks

Yes.  Its location may vary between iPod firmware versions, but I believe it should be under "settings".

Note the previous posts that RG/soundcheck setttings only work through the headphone jack.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-02 08:57:09
Version 0.9 (http://www.loodi.com/foo_pod.zip) is now available.

This is the big Smart Playlist version.  I created a GUI that should be familiar for iTunes users.  To start off, create a new smart playlist using the Add button under the list of smart playlists, optionally rename it by clicking - pause - clicking on it, then add new rules on the right side of the window. 

This is currently only for 3rd generation iPods (iPods with dock connectors), but Otto has written code that will allow non-dynamic smart playlists, which I will hook up in a future version. 

Both the GUI and smart playlist support are both very new and not completely tested, so you can expect some bugs and other hiccups.  But hopefully the smart playlist support is good enough to do more widespread testing.  If you encounter problems, make sure to save your iTunesDB file (and or export it as XML from the foo_pod menu) and send me a copy to help diagnose the problem.


From the Readme:
Code: [Select]
Version 0.9 - July 2, 2004
*  Added (nearly) complete Smart Playlist support and a GUI interface for creating and editing Smart Playlists.
  (the only missing support is the Playlist rule).  This feature is very new and there are likely bugs, so please
  report any problems.  Also note that this feature currently only works on 3rd generation iPod (iPods with dock
  connectors), although future versions will support non-dynamically updating Smart Playlists for 1st and 2nd
  generation iPods.

*  Added a menu item for displaying the amount of free disk space on the iPod.

*  Fixed Last Modified time calculation.

*  Added support for the compilation and "checked" items from iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-02 15:41:38
Great! Finally the new version! 
Got a crash log for ya  . I was trying out the new Smart Playlist GUI and was just pressing on some drop down (sorry, I don't remember which as I was just looking around, but I know I only had one rule added) and it crashed:
Quote
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 02651D4Fh
Access violation, operation: read, address: 00000030h
Call path:
WinMain=>app_mainloop
This is the first crash logged by this instance.
Code bytes (02651D4Fh):
02651D0Fh:  08 8B 76 08 2B F0 C1 FE 02 8B 4C 24 20 51 E8 48
02651D1Fh:  E2 00 00 8B 4C 24 30 83 C4 04 5F 8B C6 5E 5D 5B
02651D2Fh:  64 89 0D 00 00 00 00 83 C4 28 C2 08 00 90 90 90
02651D3Fh:  90 51 53 8B 5C 24 0C 85 DB 55 56 57 8B F1 74 3E
02651D4Fh:  8B 4E 30 85 C9 75 04 33 C0 EB 08 8B 46 34 2B C1
02651D5Fh:  C1 F8 02 33 C9 85 C0 76 17 8B 7E 30 8B D7 8D 49
02651D6Fh:  00 8B 2A 39 5D 0C 74 2D 41 83 C2 04 3B C8 72 F1
02651D7Fh:  33 C0 85 C0 89 44 24 18 0F 85 90 01 00 00 6A 60
Stack (0012F250h):
0012F230h:  00000018 0012FA2C EC7C4918 EC7C4628
0012F240h:  804D5ED0 EC7C46E4 80526A60 804D5ED0
0012F250h:  00010000 00000000 00000000 00320652
0012F260h:  00000000 02652EAA 00000032 77D4546D
0012F270h:  0265A053 00000000 0012F870 02659B40
0012F280h:  0012F828 00000000 0012F880 00000000
0012F290h:  00000000 00000000 0012F2E8 00000000
0012F2A0h:  00000189 0024058A 00000004 77D64E9F
0012F2B0h:  01FBD800 00000189 00000002 0012F2E8
0012F2C0h:  02AC2A90 0012FAF4 77D64E75 01FBD800
0012F2D0h:  00000189 00000002 0012F2E8 77D64E85
0012F2E0h:  00000000 01FBD800 00720041 00690074
0012F2F0h:  00740073 00000000 01FBDFE0 77D44092
0012F300h:  7FFDE000 00000000 0024058A 00000000
0012F310h:  77D44500 0012F340 77D974A3 000C0000
0012F320h:  00000000 00000000 02AC2A90 01100060
0012F330h:  0024058A 9801171C 00000134 0034042E
0012F340h:  0012F368 77D44525 01FBDFE0 00000134
0012F350h:  9801171C 00000133 0034042E 00320652
0012F360h:  00000000 00000000 0012F3C8 77F75DA3
Registers:
EAX: 00000004, EBX: 00000032, ECX: 00000000, EDX: 00000004
ESI: 00000000, EDI: 00010000, EBP: 00000000, ESP: 0012F250
Crash location: "foo_pod", loaded at 02630000h - 0268F000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 77F50000h - 77FF7000h
kernel32                         loaded at 77E60000h - 77F46000h
USER32                           loaded at 77D40000h - 77DCC000h
GDI32                            loaded at 7E090000h - 7E0D1000h
ADVAPI32                         loaded at 77DD0000h - 77E5D000h
RPCRT4                           loaded at 78000000h - 78087000h
ole32                            loaded at 771B0000h - 772D4000h
COMCTL32                         loaded at 71950000h - 71A2D000h
msvcrt                           loaded at 77C10000h - 77C63000h
SHLWAPI                          loaded at 70A70000h - 70AD5000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F5000h
SHELL32                          loaded at 00460000h - 01E40000h
LPK                              loaded at 629C0000h - 629C8000h
USP10                            loaded at 72FA0000h - 72FFA000h
foo_albumlist                    loaded at 022C0000h - 022CA000h
foo_ape                          loaded at 022D0000h - 022F0000h
foo_cdda                         loaded at 022F0000h - 022FE000h
foo_console                      loaded at 02300000h - 02307000h
foo_diskwriter                   loaded at 02310000h - 02322000h
WINMM                            loaded at 76B40000h - 76B6C000h
foo_dsp_extra                    loaded at 023B0000h - 023C5000h
foo_flac                         loaded at 023D0000h - 023E6000h
foo_freedb                       loaded at 023F0000h - 0241E000h
WS2_32                           loaded at 71AB0000h - 71AC5000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_id3v2                        loaded at 02420000h - 0244E000h
MSVCP60                          loaded at 55900000h - 55961000h
foo_infobox                      loaded at 02450000h - 02463000h
foo_input_std                    loaded at 02470000h - 02512000h
MSACM32                          loaded at 77BE0000h - 77BF4000h
foo_masstag                      loaded at 02520000h - 02531000h
foo_mod                          loaded at 02540000h - 02549000h
BASS                             loaded at 02550000h - 025AA000h
foo_output_asio(dll)             loaded at 025B0000h - 025E1000h
foo_output_std                   loaded at 02600000h - 02609000h
foo_out_dsound_ex                loaded at 02610000h - 02619000h
DSOUND                           loaded at 51080000h - 510DA000h
VERSION                          loaded at 77C00000h - 77C07000h
foo_pod                          loaded at 02630000h - 0268F000h
OLEAUT32                         loaded at 77120000h - 771AB000h
SETUPAPI                         loaded at 76670000h - 768C1000h
foo_podclienc                    loaded at 02690000h - 0269E000h
foo_podtranscoder                loaded at 026A0000h - 026AA000h
foo_pod_rainlendar               loaded at 026B0000h - 026BE000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_pphsresample                 loaded at 026D0000h - 026E0000h
foo_quicktag                     loaded at 026E0000h - 026E9000h
foo_read_http                    loaded at 026F0000h - 026F9000h
foo_rgscan                       loaded at 02700000h - 0270B000h
foo_setyear                      loaded at 02710000h - 02723000h
foo_spc                          loaded at 02730000h - 02741000h
foo_speex                        loaded at 02750000h - 02768000h
foo_stfu                         loaded at 02770000h - 02777000h
foo_ui_columns                   loaded at 02780000h - 027A7000h
foo_ui_std                       loaded at 027B0000h - 027C7000h
foo_unpack                       loaded at 027D0000h - 02801000h
foo_vis_bacon                    loaded at 02810000h - 02822000h
foo_vis_manager                  loaded at 02830000h - 02838000h
foo_vis_simple_spectrum          loaded at 02840000h - 0284A000h
foo_wavpack                      loaded at 02850000h - 0285E000h
foo_wma                          loaded at 02860000h - 02879000h
WMVCore                          loaded at 08530000h - 0872D000h
WMASF                            loaded at 07260000h - 07299000h
foo_write_http                   loaded at 02880000h - 0289A000h
foo_tlbRC                        loaded at 028A0000h - 028B9000h
uxtheme                          loaded at 5AD70000h - 5ADA4000h
YzShadow                         loaded at 02A40000h - 02A4E000h
LgWndHk                          loaded at 02A60000h - 02A67000h
MSCTF                            loaded at 74720000h - 74764000h
YzToolBar                        loaded at 02AC0000h - 02ACF000h
CLBCATQ                          loaded at 7C890000h - 7C911000h
COMRes                           loaded at 77050000h - 77115000h
msi                              loaded at 76400000h - 76601000h
LgMsgHk                          loaded at 03080000h - 0308B000h
winroll                          loaded at 03090000h - 03097000h
mslbui                           loaded at 605D0000h - 605D8000h
CAPTLIB                          loaded at 02D80000h - 02DE3000h
tlbhook                          loaded at 02E20000h - 02E2D000h
imagehlp                         loaded at 76C90000h - 76CB2000h
DBGHELP                          loaded at 6D510000h - 6D58D000h

Stack dump analysis:
Address: 02652EAAh, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 77D4546Dh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "SendMessageW" (+00000000h)
Address: 0265A053h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 02659B40h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 77D64E9Fh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "EnumClipboardFormats" (+000006DAh)
Address: 02AC2A90h, location: "YzToolBar", loaded at 02AC0000h - 02ACF000h
Symbol: "restoreAllLogo_EXPIE" (+00000750h)
Address: 77D64E75h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "EnumClipboardFormats" (+000006B0h)
Address: 77D64E85h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "EnumClipboardFormats" (+000006C0h)
Address: 00720041h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 00690074h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 77D44092h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000000h)
Address: 77D44500h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "PostMessageA" (+000000B8h)
Address: 77D974A3h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetRawInputDeviceInfoA" (+000000E2h)
Address: 02AC2A90h, location: "YzToolBar", loaded at 02AC0000h - 02ACF000h
Symbol: "restoreAllLogo_EXPIE" (+00000750h)
Address: 01100060h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 77D44525h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "PostMessageA" (+000000DDh)
Address: 77F75DA3h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 02659B86h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 02659B40h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 02659B86h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 7E092A71h, location: "GDI32", loaded at 7E090000h - 7E0D1000h
Symbol: "GdiDrawStream" (+00000052h)
Address: 7E092A5Dh, location: "GDI32", loaded at 7E090000h - 7E0D1000h
Symbol: "GdiDrawStream" (+0000003Eh)
Address: 02659B40h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 02659B86h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 02659B40h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 7E0BDF66h, location: "GDI32", loaded at 7E090000h - 7E0D1000h
Symbol: "GdiRealizationInfo" (+00000086h)
Address: 629C2E88h, location: "LPK", loaded at 629C0000h - 629C8000h
Symbol: "LpkInitialize" (+0000013Bh)
Address: 7E092D50h, location: "GDI32", loaded at 7E090000h - 7E0D1000h
Symbol: "ExtTextOutW" (+000001C9h)
Address: 77D47E58h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "CallNextHookEx" (+00000039h)
Address: 02AC2A5Dh, location: "YzToolBar", loaded at 02AC0000h - 02ACF000h
Symbol: "restoreAllLogo_EXPIE" (+0000071Dh)
Address: 00414141h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 77D45E9Ah, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcA" (+00000259h)
Address: 00414141h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 02659B40h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 02659B40h, location: "foo_pod", loaded at 02630000h - 0268F000h
Address: 77D458CEh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+000000A0h)
Address: 77D45885h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+00000057h)
Address: 77D44124h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000092h)
Address: 77D9C064h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D458A7h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+00000079h)
Address: 77D45899h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 01100060h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 77D7390Ah, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "CreateAcceleratorTableA" (+0000032Dh)
Address: 77D99B38h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 77D45899h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 77D45D1Dh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefWindowProcA" (+000000DCh)
Address: 77D4C57Eh, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "CharLowerBuffA" (+0000030Dh)
Address: 00720041h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 00690074h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 77D4C6D4h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefDlgProcW" (+00000000h)
Address: 00720041h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 00690074h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 77D4C6F5h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "DefDlgProcW" (+00000021h)
Address: 01100060h, location: "SHELL32", loaded at 00460000h - 01E40000h
Address: 77D43A50h, location: "USER32", loaded at 77D40000h - 77DCC000h
Address: 72FCBB7Fh, location: "USP10", loaded at 72FA0000h - 72FFA000h
Symbol: "ScriptIsComplex" (+0000001Ch)
Address: 72FCBB93h, location: "USP10", loaded at 72FA0000h - 72FFA000h
Symbol: "ScriptIsComplex" (+00000030h)
Address: 72FCBBB6h, location: "USP10", loaded at 72FA0000h - 72FFA000h
Symbol: "ScriptIsComplex" (+00000053h)

Version info:
foobar2000 v0.8.2
UNICODE


Now this will probably a small glitch that wouldn't repeat itself, but I will go and check some more.


Also, I can't seem to be able to rename playlists. When I make a new one, I see this yellow line where the name would be, I click on it and there's a green writing cursor thingy and typing something won't change it.


EDIT: Ok, I just recreated the former crash. Just used the drop down for selecting the field for the condition and it crashed. It had a similar crashlog with similar offset values (which I'm assuming is what those hex numbers are) and only slight differences. Should I post that one too?
Title: foo_pod - Foobar2000 meets the iPod
Post by: DreamweaverN on 2004-07-02 15:50:57
I just tried it then, I got the same problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Will Fisher on 2004-07-02 15:53:36
Quote
I was excited to see that ml_ipod claimed to support smart playlists, but after looking at their code for a few minutes, it was clear that whatever they have is definitely not Smart Playlists.  Real Smart Playlists, as created by iTunes (and soon to be created by foo_pod...  ) are a set of rules that 3G iPods use to dynamically create playlists.  I think that ml_ipod's "smart playlists" are just a Winamp-side playlist generator, similar to the one that is included with Foobar and extended by the Extended Playlist Generator (http://www.hydrogenaudio.org/forums/index.php?showtopic=20500&) component.

You are correct. ml_ipod smart playlists are winamp media library querys that are put in ordinary playlists.

I, however, made some smart playlists with iTunes and couldn't get it to be dynamic on the ipod side at all. It appeared to just update/refresh whenever iTunes was involved. Thus, I made ml_ipod smart playlists under this assumption to be the equivalent.

Apparently, I was mistaken.  However, I am really not sure as to where these ipod side dynamic properties come into play, and would be interested to find out.

edit: yes i do have a 3G ipod with latest firmware, latest itunes yadda yadda...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-02 15:55:14
Quote
  (the only missing support is the Playlist rule).  

Probably worth noting that until the non-dynamic smart-playlists get added to foo_pod, using the "Grouping" field in smart playlists will also not work. Don't blame me... complain to Apple, it's an iPod firmware issue.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-02 16:03:04
Quote
You are correct. ml_ipod smart playlists are winamp media library querys that are put in ordinary playlists.

I, however, made some smart playlists with iTunes and couldn't get it to be dynamic on the ipod side at all. It appeared to just update/refresh whenever iTunes was involved. Thus, I made ml_ipod smart playlists under this assumption to be the equivalent.

Apparently, I was mistaken.  However, I am really not sure as to where these ipod side dynamic properties come into play, and would be interested to find out.

edit: yes i do have a 3G ipod with latest firmware, latest itunes yadda yadda...

Try using iTunes to create a smart playlist that uses the "Last Played Time" field. Like "Last Played is not within last 2 weeks" (one of my common playlists).

Then load that playlist up on the iPod. Take note of the first song in the playlist. Play it, all the way through. After you're done playing it, exit that playlist and play some other one (any other one). Now go back and look at/play your not in the last 2 weeks playlist. The song that you played should now be gone.

Another way to see it is to make a playlist that says "Last Played is in the last 1 hour" or something similar. Then play any song and check out that playlist once it finishes.. the song should get added to that playlist.

The way all this works on the iPod is via two mhod's immediately after the mhlp (a playlist). They are mhod types 50 and 51. Type 50 describes all the settings of the playlist, all those check boxes and limits and such. Type 51 describes the rules of the playlist. Type 51 is optional for a smart playlist, but type 50 is not. 1st and 2nd gen iPods do not use the type 50-51 mhods, they only use the list of songs in the playlist. 3rd gen (and I assume mini's) will use those type 50 and 51's unless the rules contain the grouping field and/or the playlist field (in which case they use the list of songs also.. this is with the latest firmware.. previous firmware's were broken and displayed blank playlists in these cases).

I'd be glad to further explain the formats of these to anybody that's interested, you can email me at sam dot wood at gmail dot com.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-02 20:32:54
Quote
Also, I can't seem to be able to rename playlists. When I make a new one, I see this yellow line where the name would be, I click on it and there's a green writing cursor thingy and typing something won't change it.


EDIT: Ok, I just recreated the former crash. Just used the drop down for selecting the field for the condition and it crashed. It had a similar crashlog with similar offset values (which I'm assuming is what those hex numbers are) and only slight differences. Should I post that one too?

Yeah, I think I can reproduce the renaming problem (when you create a new smart playlist, do you just see "N..."?).  I swear it autosizes correctly on one XP system but not on my laptop.  Very weird.  You can resize it - you just have to click in a very small area, and then the column resizes properly, although there was a redraw artifact on one of my systems.

I can't reproduce the crash, though.  Could you go through the complete steps and post them here so I can test it out.  For example "Opened smart playlist editor, created a new playlist, selected Bit Rate from the first dropdown box.  Attempted to change the next dropdown box to the right, but foo_pod crashed".

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-02 22:44:19
Version 0.9a (http://www.loodi.com/foo_pod.zip) is now available.

This is just a minor fix that takes care of the "yellow line where the name would be"/renaming problem.  I still haven't been able to reproduce the crash, so specific steps to reproduce would be appreciated!


From the Readme:
Code: [Select]
Version 0.9a - July 2, 2004
*  Fix a problem where adding the first new playlist would cause the display to be truncated (i.e. you couldn't
  see the new playlist name or easily rename it).
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-02 23:52:37
0.9a makes the playlist list look flawless. Wonderful!
As for the crash, I can recreate it every time. Here is how I do it:
1. Open Smart Playlist Editor.
2. Click "Add."
3. Click on the leftmost drop down list (that contains "Artist" by default).
4. Click on any other item.
5. Watch crash log.
A peculiar thing, though, is that there is a slight delay between number 4 and the crash (number 5). Could it be that foo_pod gets stuck in some infinite loop after you choose something different there and only crashes foobar after it went through so many iterations?
I also noticed now that this crash happens with every other drop down list that is belongs to that condition (so, disincluding the "Match" drop down and the settings at the bottom). Another bug I noticed is that when you press either the "+" or "-" buttons at the right, it would not add/remove the condition, rather, it displays it as though the "+" button were a state switch and it were in its pushed down state. Clicking it once more will not put it back in its up state, but clicking on the "-" will make the "-" pushed and the "+" un-pushed and this works the other way aswell.
DreamweaverN, you say you experience the same crash bug as me, could you check to see if you also have the same problem with the "+"/"-" buttons?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-03 00:14:30
Quote
0.9a makes the playlist list look flawless. Wonderful!
As for the crash, I can recreate it every time. Here is how I do it:
1. Open Smart Playlist Editor.
2. Click "Add."
3. Click on the leftmost drop down list (that contains "Artist" by default).
4. Click on any other item.
5. Watch crash log.
A peculiar thing, though, is that there is a slight delay between number 4 and the crash (number 5). Could it be that foo_pod gets stuck in some infinite loop after you choose something different there and only crashes foobar after it went through so many iterations?
I also noticed now that this crash happens with every other drop down list that is belongs to that condition (so, disincluding the "Match" drop down and the settings at the bottom). Another bug I noticed is that when you press either the "+" or "-" buttons at the right, it would not add/remove the condition, rather, it displays it as though the "+" button were a state switch and it were in its pushed down state. Clicking it once more will not put it back in its up state, but clicking on the "-" will make the "-" pushed and the "+" un-pushed and this works the other way aswell.
DreamweaverN, you say you experience the same crash bug as me, could you check to see if you also have the same problem with the "+"/"-" buttons?

Hmm...I still can't reproduce the crash here.  When you say "Click on the leftmost drop down list", did you change the entry from Artist to something else, or you just opened up the drop box box?  And when you say "Click on any other item", could you be explicit in exactly what you are clicking on (Edit: I guess you said it happens with anything in that row).

The push button problem with + / - is very confusing.  That definitely isn't how the code is implemented, and makes me believe something screwy is going on with your system.  Are you running Windows 2000 or XP?  Also, I see from the stack track that you are running YzToolBar - could you exit that program and see if you can reproduce either the crash or the button weirdness?

Edit;  I would appreciate hearing reports, working or not working, from other users as well.  Please post your OS version, so I can see if this is a problem limited to certain systems, or something more general.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eido on 2004-07-03 00:28:07
I'm getting the same crash as rexy on windows xp when I use the drop-down list.  Also, the + and - buttons look normal when I click them, but they don't actually do anything.

If I mess with my playlists that were created in iTunes instead of adding a new one, however, everything works perfectly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-03 00:32:00
Quote
I'm getting the same crash as rexy on windows xp when I use the drop-down list.  Also, the + and - buttons look normal when I click them, but they don't actually do anything.

If I mess with my playlists that were created in iTunes instead of adding a new one, however, everything works perfectly.

So no crashes and +/- works fine when editing Smart Playlists created by iTunes?  Interesting...I still can't reproduce any of this, but at least it gives me somewhere to start looking.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-03 05:42:11
Aero: I can reproduce the crash as well. Here's exactly what I do:

This is virtually a new, unmodified install. It's the foobar2000 v0.8.2 - special install, without any modifications. I installed the foo_pod components, started up foobar.

Select Components Menu - Foo_pod - Smart Playlist Editor. Hit the Add button. New Smart Playlist Appears.

Click the down arrow on the "Artist" box. Change it to "Album". 3 to 5 seconds later, foobar crashes. No selecting anything else, no moving the mouse, it crashes just from changing the content of that pull down.

I have not tested this with my iPod yet, and so cannot say if it works with an existing iTunesDB file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-03 06:08:27
Quote
Click the down arrow on the "Artist" box. Change it to "Album". 3 to 5 seconds later, foobar crashes. No selecting anything else, no moving the mouse, it crashes just from changing the content of that pull down.

Version 0.9b (http://www.loodi.com/foo_pod.zip) is now available.

Thanks for the info.  I just posted Version 0.9b (http://www.loodi.com/foo_pod.zip), which might fix the crash problem based on Otto's description.

I found a couple of uninitalized variables dealing with the + / - buttons, and while I'm not sure that it is releated to the crashes, it is a good thing to fix and might take care of the button weirdness that rexy was experiencing.

I also removed lame.exe and faac.exe from the foo_pod distribution, to cut down on unnecessary archive size.  You can pick them up at www.rarewares.org (http://www.rarewares.org) if you need them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-03 08:07:48
Quote
Thanks for the info.  I just posted Version 0.9b (http://www.loodi.com/foo_pod.zip), which might fix the crash problem based on Otto's description.

Okay, that seems to fix that problem. I'll do some more testing with an actual iPod, but it seems to work so far. I like the date pull down for the Last Played and such.

Edit: +/- seems to work for me. At least, it adds another line which I can set and such.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-03 08:11:05
Quote
Quote
Thanks for the info.  I just posted Version 0.9b (http://www.loodi.com/foo_pod.zip), which might fix the crash problem based on Otto's description.

Okay, that seems to fix that problem. I'll do some more testing with an actual iPod, but it seems to work so far. I like the date pull down for the Last Played and such. 

Great, I'm glad to hear that works!  Darn those uninitialized variables...
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-03 12:26:02
Minor problem: The icon in the titlebar of the smart playlist editor should not be visible or have another icon. The foobar2000 preferences dialog is icon-less, and I flinched at the generic Windows icon.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-03 12:28:27
Also, it would maybe be more intuitive if when adding a new date rule (I don't know if this applies to other things as well), you have one drop down box for Is/Is Not and then a second drop down for After/Before/In The Last/In The Range.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-03 12:35:58
Sorry for many posts, but fast reply is easier. I'll try to keep adding to the same one this time: A way of renaming the smart playlists (which I am sure you know isn't there). Also, when clicking the label of a checkbox, it should toggle it (You can try this on one of foobar2000's core preferences.) This also applies to foo_pod's preferences page.

When clicking the + button next to a rule, it should add the rule beneath that item. (If this won't be added, then only one + button is necessary for the entire editor) Maybe we should also have a way of moving items up and down.

Also, in the drop down box for Album/Artist etc, there is an empty item at the top of the list (maybe there is a purpose for this, but I couldn't find it). The Add/Remove and Apply/Cancel buttons should be vertically aligned and be shorter (as in height). Also, the two sets of buttons should have the same amount of space between them. Use foobar2000's preferences dialog as a reference.

That's all for now!  Have fun.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-03 18:09:00
Quote
Minor problem: The icon in the titlebar of the smart playlist editor should not be visible or have another icon. The foobar2000 preferences dialog is icon-less, and I flinched at the generic Windows icon.

I'm not sure having an icon in the window is a problem.  You get the default one (which looks ok in Window XP, at least) because I haven't created a (Smart) Playlist Editor icon yet.  Eventually, I want to make the editor work with both regular and smart playlists, which will probably mean adding icons to the playlist list view, at which point, I'll add an application icon as well.


Quote
Also, it would maybe be more intuitive if when adding a new date rule (I don't know if this applies to other things as well), you have one drop down box for Is/Is Not and then a second drop down for After/Before/In The Last/In The Range.

Well, that is how iTunes does it.  And from a programming standpoint, the smart playlist editor is complicated enough without adding another column.  Also, it is not entirely clear if the iPod would work with a "Is Not" "In The Range" rule, for example.  iTunes doesn't support that rule, but it seems possible to at least create that as a valid rule.  Still, I prefer all of the options in a single combobox.


Quote
Sorry for many posts, but fast reply is easier. I'll try to keep adding to the same one this time: A way of renaming the smart playlists (which I am sure you know isn't there). Also, when clicking the label of a checkbox, it should toggle it (You can try this on one of foobar2000's core preferences.) This also applies to foo_pod's preferences page.

You can rename smart playlists just like how you rename files in Windows Explorer -  single click on the playlist name, wait about a second, then click again.  Currently no keyboard keys are hooked up for the playlist window, but I could see about hooking up F2 or something.

The checkboxes indeed aren't selectable by clicking on the text.  That was done so I could better align the buttons with the text and the rest of the row.  You might have a point with the foo_pod preference, but as the checkboxes are used in the smart playlist editor, being able to click on unrelated text and changing the checkbox doesn't really make sense.


Quote
When clicking the + button next to a rule, it should add the rule beneath that item. (If this won't be added, then only one + button is necessary for the entire editor) Maybe we should also have a way of moving items up and down.

Rule order is not important, so there is no use in moving rules up or down, or being able to add a rule in a particular location.  The multiple + buttons are redunant, but again, that is how iTunes does its playlist editor and it compliments the - buttons.


Quote
Also, in the drop down box for Album/Artist etc, there is an empty item at the top of the list (maybe there is a purpose for this, but I couldn't find it).

The empty entry in the first column drop down box is intentional.  Originally, I was going to avoid the +/- buttons and have the rules add/remove themselves.  So the empty entry acquired a programming significance, and even after I added the +/- buttons, there wasn't an easy way to undo that.  So the empty space remains, for now.


Quote
The Add/Remove and Apply/Cancel buttons should be vertically aligned and be shorter (as in height). Also, the two sets of buttons should have the same amount of space between them. Use foobar2000's preferences dialog as a reference.

I'm not sure what your mean by vertically aligning the buttons - they are vertically aligned to the matching button, and are conceptionally separate functions (add/remove vs. apply/cancel), so I don't see why they need to be aligned against each other, or have the same horizontal spacing.  As for height...well, I think they look fine. 


Anyway, thanks for your suggestions.  The GUI is functional right now, but I'm sure that it can be improved.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-04 01:33:36
Quote
Quote
Also, in the drop down box for Album/Artist etc, there is an empty item at the top of the list (maybe there is a purpose for this, but I couldn't find it).

The empty entry in the first column drop down box is intentional.  Originally, I was going to avoid the +/- buttons and have the rules add/remove themselves.  So the empty entry acquired a programming significance, and even after I added the +/- buttons, there wasn't an easy way to undo that.  So the empty space remains, for now.

Ooh, that would be nice! I would prefer having it so every new playlist will just have an empty rule and then when you select the kind of rule, it would show the related options and have a new empty rule beneath it and whenever a rule would be changed to blank it would be removed. This would be MUCH nicer than having annoyingly redundant +/- buttons!
Oh, and all my GUI problems were solved in the new version!  I haven't tested the actual playlists on my iPod yet, though.

Have a great fourth, everyone!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-04 17:09:54
Quote
Ooh, that would be nice! I would prefer having it so every new playlist will just have an empty rule and then when you select the kind of rule, it would show the related options and have a new empty rule beneath it and whenever a rule would be changed to blank it would be removed. This would be MUCH nicer than having annoyingly redundant +/- buttons!

Does anyone have an opinion on +/- buttons vs. having the rules add themselves as needed and delete themselves when the empty item is selected?

I sort of prefer the +/- button, from both usage and programming standpoints, but I could go either way.  Maybe I'll try the auto-adding rules in the next version, but keep the +/- buttons as well to see which way is preferred.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-04 19:06:55
Quote
Does anyone have an opinion on +/- buttons vs. having the rules add themselves as needed and delete themselves when the empty item is selected?

I sort of prefer the +/- button, from both usage and programming standpoints, but I could go either way.  Maybe I'll try the auto-adding rules in the next version, but keep the +/- buttons as well to see which way is preferred.

Well, the +/- buttons make it easy to understand the usage of the thing if you've used iTunes before. And they're generally pretty self explanatory. I like 'em.

With the empty field, I'd imagine that there would always be an empty entry on the screen. If you changed the empty entry to being non-empty, it'd add another empty entry below it. That's how you can add rules. If you changed an entry to the empty one, that rule would go away. So that would work, but it doesn't seem as intuitive.

I can see it either way, I just like the +/- buttons better. Perhaps eliminating all the +'s except for the very last + on the list might make sense and eliminate redundancy, since we know order of the rules doesn't matter in the slightest.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-07-06 14:39:17
Got a crash whenever I attempt to add songs using foo_pod 0.9b.

Quote
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0105F574h
Access violation, operation: read, address: 00000000h
Call path:
WinMain=>app_mainloop=>menu command: "foo_pod/Send selected to iPod"
This is the first crash logged by this instance.
Code bytes (0105F574h):
0105F534h:  B7 49 02 8B F9 23 FE 81 FF 00 DC 00 00 75 17 B8
0105F544h:  FF 03 00 00 6A 02 23 D0 23 C8 C1 E2 0A 0B D1 58
0105F554h:  81 C2 00 00 01 00 8B 4C 24 10 5F 5E 89 11 C3 55
0105F564h:  8B EC 51 83 65 FC 00 53 56 8B 75 0C 57 8B 7D 08
0105F574h:  80 3F 00 74 3B 8B 5D 10 85 DB 74 34 8D 45 0C 53
0105F584h:  50 57 E8 6A FD FF FF 83 C4 0C 85 C0 74 22 3B C3
0105F594h:  77 1E 56 03 F8 FF 75 0C 2B D8 E8 2A FF FF FF 59
0105F5A4h:  85 C0 59 74 0B 01 45 FC 80 3F 00 8D 34 46 75 C8
Stack (0012E9E0h):
0012E9C0h:  00A8F774 77FA88F0 77F521E0 0000005A
0012E9D0h:  00A8CD64 C0000005 00A8CD40 00A8CD50
0012E9E0h:  77C2AC46 77C2AA6B 00FCEE68 00000000
0012E9F0h:  00000000 01034497 00000000 00FCEE68
0012EA00h:  00000000 00000002 00000000 FFFFFFFF
0012EA10h:  011D5CE0 00F9ECA8 00F9ECAC 77C2AA6B
0012EA20h:  00FCEE68 011D6370 00000000 00F9ECB0
0012EA30h:  01063310 011D5F40 0000005B 0000005B
0012EA40h:  00000000 0000004A 008A0000 0012EAC8
0012EA50h:  01063310 011D5BE8 0000005B 0000005B
0012EA60h:  00000000 0000004A 01063310 0116EA70
0012EA70h:  00000011 00000011 00000000 0000000F
0012EA80h:  00FB38C8 0116AAC0 01006E2C 0104D34C
0012EA90h:  0012EAB4 00FB38C8 0116AAC0 0012EAB8
0012EAA0h:  011D5B80 00F9ECA8 01063310 00000000
0012EAB0h:  00000000 00000000 00000000 00000000
0012EAC0h:  0012F72C 01060D4B 00000017 0103B136
0012EAD0h:  00F9ECA8 011D5CE0 0012EB48 001B0598
0012EAE0h:  00000000 00000000 00000000 006B0004
0012EAF0h:  00163AD8 00000000 00000001 0000000A
Registers:
EAX: 00FCEE68, EBX: 00FCEE68, ECX: 00000000, EDX: 85020042
ESI: 00FCEE68, EDI: 00000000, EBP: 0012E9F0, ESP: 0012E9E0
Crash location: "foo_pod", loaded at 01030000h - 0108F000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 77F50000h - 77FF7000h
kernel32                         loaded at 77E60000h - 77F46000h
USER32                           loaded at 77D40000h - 77DCC000h
GDI32                            loaded at 7E090000h - 7E0D1000h
ADVAPI32                         loaded at 77DD0000h - 77E5D000h
RPCRT4                           loaded at 78000000h - 78087000h
ole32                            loaded at 771B0000h - 772D4000h
COMCTL32                         loaded at 71950000h - 71A34000h
msvcrt                           loaded at 77C10000h - 77C63000h
SHLWAPI                          loaded at 70A70000h - 70AD5000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F5000h
SHELL32                          loaded at 773D0000h - 77BC2000h
IMM32                            loaded at 76390000h - 763AC000h
LPK                              loaded at 629C0000h - 629C8000h
USP10                            loaded at 72FA0000h - 72FFA000h
foo_input_std                    loaded at 008E0000h - 00982000h
MSACM32                          loaded at 77BE0000h - 77BF4000h
WINMM                            loaded at 76B40000h - 76B6C000h
foo_output_std                   loaded at 00A10000h - 00A19000h
foo_ui_std                       loaded at 00A20000h - 00A37000h
foo_vis_manager                  loaded at 00A40000h - 00A48000h
foo_cdda                         loaded at 00A50000h - 00A5E000h
foo_flac                         loaded at 00A60000h - 00A76000h
foo_ape                          loaded at 00A80000h - 00AA0000h
foo_wavpack                      loaded at 00AA0000h - 00AAB000h
foo_speex                        loaded at 00AB0000h - 00AC8000h
foo_out_dsound_ex                loaded at 00AD0000h - 00AD9000h
DSOUND                           loaded at 51080000h - 510D6000h
VERSION                          loaded at 77C00000h - 77C07000h
foo_out_ks                       loaded at 00AF0000h - 00AFB000h
SETUPAPI                         loaded at 76670000h - 76757000h
foo_console                      loaded at 00B00000h - 00B07000h
foo_read_http                    loaded at 00B10000h - 00B19000h
WS2_32                           loaded at 71AB0000h - 71AC5000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_rgscan                       loaded at 00B20000h - 00B2B000h
foo_diskwriter                   loaded at 00B30000h - 00B42000h
foo_albumlist                    loaded at 00B50000h - 00B5A000h
foo_masstag                      loaded at 00B60000h - 00B71000h
foo_unpack                       loaded at 00B80000h - 00BB1000h
OLEAUT32                         loaded at 77120000h - 771AB000h
foo_id3v2                        loaded at 00BC0000h - 00BEE000h
MSVCP60                          loaded at 55900000h - 55961000h
foo_dsp_extra                    loaded at 00BF0000h - 00C05000h
foo_wma                          loaded at 00C10000h - 00C29000h
WMVCore                          loaded at 08530000h - 0872D000h
WMASF                            loaded at 07260000h - 07299000h
foo_vis_bacon                    loaded at 00C30000h - 00C44000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_freedb                       loaded at 00C60000h - 00C92000h
foo_winamp_spam                  loaded at 00CA0000h - 00CA8000h
foo_dsp_crossfade                loaded at 00CB0000h - 00CB7000h
foo_dsp_nogaps                   loaded at 00CC0000h - 00CC7000h
foo_tunes                        loaded at 00CD0000h - 00D11000h
gdiplus                          loaded at 70D00000h - 70EA1000h
MSCTF                            loaded at 74720000h - 74764000h
msctfime                         loaded at 00EA0000h - 00ECB000h
Secur32                          loaded at 76F90000h - 76FA0000h
foo_clienc                       loaded at 00EE0000h - 00EEB000h
CLBCATQ                          loaded at 7C890000h - 7C911000h
COMRes                           loaded at 77050000h - 77115000h
foo_podtranscoder                loaded at 00EF0000h - 00EFA000h
foo_podclienc                    loaded at 01020000h - 0102E000h
foo_pod                          loaded at 01030000h - 0108F000h
foo_scroll                       loaded at 01090000h - 01096000h
foo_search_ex                    loaded at 010A0000h - 010A8000h
UxTheme                          loaded at 5AD70000h - 5ADA4000h
appHelp                          loaded at 75F40000h - 75F5F000h
cscui                            loaded at 76620000h - 7666E000h
CSCDLL                           loaded at 76600000h - 7661B000h
Msimtf                           loaded at 746F0000h - 74716000h
msi                              loaded at 01650000h - 01851000h
SXS                              loaded at 75E90000h - 75F37000h
USERENV                          loaded at 75A70000h - 75B15000h
netapi32                         loaded at 71C20000h - 71C6E000h
ntshrui                          loaded at 76990000h - 769B4000h
ATL                              loaded at 76B20000h - 76B35000h
MPR                              loaded at 71B20000h - 71B31000h
drprov                           loaded at 75F60000h - 75F66000h
ntlanman                         loaded at 71C10000h - 71C1D000h
NETUI0                           loaded at 71CD0000h - 71CE6000h
NETUI1                           loaded at 71C90000h - 71CCC000h
NETRAP                           loaded at 71C80000h - 71C86000h
SAMLIB                           loaded at 71BF0000h - 71C01000h
davclnt                          loaded at 75F70000h - 75F79000h
wiashext                         loaded at 5A500000h - 5A58D000h
WININET                          loaded at 63000000h - 63096000h
CRYPT32                          loaded at 762C0000h - 76348000h
MSASN1                           loaded at 762A0000h - 762B0000h
browseui                         loaded at 71500000h - 715FD000h
shdocvw                          loaded at 71700000h - 71849000h
shmedia                          loaded at 5CAD0000h - 5CAF1000h
MSVFW32                          loaded at 73BD0000h - 73BF0000h
AVIFIL32                         loaded at 73B50000h - 73B65000h
mlang                            loaded at 74770000h - 747FF000h
browselc                         loaded at 72430000h - 72442000h
imagehlp                         loaded at 76C90000h - 76CB2000h
DBGHELP                          loaded at 6D510000h - 6D58D000h

Stack dump analysis:
Address: 77C2AC46h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "malloc" (+00000000h)
Address: 77C2AA6Bh, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+00000000h)
Address: 01034497h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 77C2AA6Bh, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+00000000h)
Address: 01063310h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 01063310h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 01063310h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 0104D34Ch, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 01063310h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 01060D4Bh, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 0103B136h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 01063310h, location: "foo_pod", loaded at 01030000h - 0108F000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 719D1660h, location: "COMCTL32", loaded at 71950000h - 71A34000h
Address: 72FC4DB7h, location: "USP10", loaded at 72FA0000h - 72FFA000h
Address: 72FE00DCh, location: "USP10", loaded at 72FA0000h - 72FFA000h
Address: 763A11F8h, location: "IMM32", loaded at 76390000h - 763AC000h
Symbol: "CtfImmSetCiceroStartInThread" (+00000312h)
Address: 763A5020h, location: "IMM32", loaded at 76390000h - 763AC000h
Address: 72FCA4FEh, location: "USP10", loaded at 72FA0000h - 72FFA000h
Symbol: "ScriptTextOut" (+0000017Ah)
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F53870h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 77F57D70h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+000001C2h)
Address: 77F58A3Ah, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAllocateHeap" (+00000E8Ch)
Address: 77F944CBh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001E1h)
Address: 77F58BCDh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+0000018Fh)
Address: 77F59037h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+000005F9h)
Address: 77F944CBh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001E1h)
Address: 77F58BCDh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+0000018Fh)
Address: 77F59037h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+000005F9h)
Address: 77D440C6h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 719A801Fh, location: "COMCTL32", loaded at 71950000h - 71A34000h
Symbol: "Ordinal384" (+0003332Dh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F51C78h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 77E7A6D4h, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "LocalAlloc" (+00000052h)
Address: 77F59BAAh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000028h)
Address: 77F59BB3h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000031h)
Address: 77F5A32Bh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReleasePebLock" (+00000741h)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)

Version info:
foobar2000 v0.8.2
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-07-06 14:49:24
Restarted my PC, downgraded to 0.9 and got the same problem as well:

Quote
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00F3F2B4h
Access violation, operation: read, address: 00000000h
Call path:
WinMain=>app_mainloop=>menu command: "foo_pod/Send selected to iPod"
This is the first crash logged by this instance.
Code bytes (00F3F2B4h):
00F3F274h:  B7 49 02 8B F9 23 FE 81 FF 00 DC 00 00 75 17 B8
00F3F284h:  FF 03 00 00 6A 02 23 D0 23 C8 C1 E2 0A 0B D1 58
00F3F294h:  81 C2 00 00 01 00 8B 4C 24 10 5F 5E 89 11 C3 55
00F3F2A4h:  8B EC 51 83 65 FC 00 53 56 8B 75 0C 57 8B 7D 08
00F3F2B4h:  80 3F 00 74 3B 8B 5D 10 85 DB 74 34 8D 45 0C 53
00F3F2C4h:  50 57 E8 6A FD FF FF 83 C4 0C 85 C0 74 22 3B C3
00F3F2D4h:  77 1E 56 03 F8 FF 75 0C 2B D8 E8 2A FF FF FF 59
00F3F2E4h:  85 C0 59 74 0B 01 45 FC 80 3F 00 8D 34 46 75 C8
Stack (0012E9E0h):
0012E9C0h:  00ABF6EC 77FA88F0 77F521E0 0000005A
0012E9D0h:  00ABCCB8 C0000005 00ABCC94 00ABCCA4
0012E9E0h:  77C2AC46 77C2AA6B 01192FF8 00000000
0012E9F0h:  00000000 00F14497 00000000 01192FF8
0012EA00h:  00000000 00000002 00000000 FFFFFFFF
0012EA10h:  011CD728 01026C88 01026C8C 77C2AA6B
0012EA20h:  01192FF8 011CDE58 00000000 01026C90
0012EA30h:  00F43310 011CD9D8 0000005B 0000005B
0012EA40h:  00000000 0000004A 008A0000 0012EAC8
0012EA50h:  00F43310 011CD630 0000005B 0000005B
0012EA60h:  00000000 0000004A 00F43310 011CCFC0
0012EA70h:  00000011 00000011 00000000 0000000F
0012EA80h:  0102F200 011CCCE8 01030564 00F2D12C
0012EA90h:  0012EAB4 0102F200 011CCCE8 0012EAB8
0012EAA0h:  011CD5C8 01026C88 00F43310 00000000
0012EAB0h:  00000000 00000000 00000000 00000000
0012EAC0h:  0012F72C 00F40A8B 00000017 00F1B136
0012EAD0h:  01026C88 011CD728 0012EB48 001B23A8
0012EAE0h:  00000000 00000000 00000000 006B0282
0012EAF0h:  001BF9D8 00000002 011CD3F0 0000000C
Registers:
EAX: 01192FF8, EBX: 01192FF8, ECX: 00000000, EDX: 079C0001
ESI: 01192FF8, EDI: 00000000, EBP: 0012E9F0, ESP: 0012E9E0
Crash location: "foo_pod", loaded at 00F10000h - 00F6F000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 77F50000h - 77FF7000h
kernel32                         loaded at 77E60000h - 77F46000h
USER32                           loaded at 77D40000h - 77DCC000h
GDI32                            loaded at 7E090000h - 7E0D1000h
ADVAPI32                         loaded at 77DD0000h - 77E5D000h
RPCRT4                           loaded at 78000000h - 78087000h
ole32                            loaded at 771B0000h - 772D4000h
COMCTL32                         loaded at 71950000h - 71A34000h
msvcrt                           loaded at 77C10000h - 77C63000h
SHLWAPI                          loaded at 70A70000h - 70AD5000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F5000h
SHELL32                          loaded at 773D0000h - 77BC2000h
IMM32                            loaded at 76390000h - 763AC000h
LPK                              loaded at 629C0000h - 629C8000h
USP10                            loaded at 72FA0000h - 72FFA000h
foo_input_std                    loaded at 008E0000h - 00982000h
MSACM32                          loaded at 77BE0000h - 77BF4000h
WINMM                            loaded at 76B40000h - 76B6C000h
foo_output_std                   loaded at 00A10000h - 00A19000h
foo_ui_std                       loaded at 00A20000h - 00A37000h
foo_vis_manager                  loaded at 00A40000h - 00A48000h
foo_cdda                         loaded at 00A50000h - 00A5E000h
foo_flac                         loaded at 00A60000h - 00A76000h
foo_ape                          loaded at 00A80000h - 00AA0000h
foo_wavpack                      loaded at 00AA0000h - 00AAB000h
foo_speex                        loaded at 00AB0000h - 00AC8000h
foo_out_dsound_ex                loaded at 00AD0000h - 00AD9000h
DSOUND                           loaded at 51080000h - 510D6000h
VERSION                          loaded at 77C00000h - 77C07000h
foo_out_ks                       loaded at 00AF0000h - 00AFB000h
SETUPAPI                         loaded at 76670000h - 76757000h
foo_console                      loaded at 00B00000h - 00B07000h
foo_read_http                    loaded at 00B10000h - 00B19000h
WS2_32                           loaded at 71AB0000h - 71AC5000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_rgscan                       loaded at 00B20000h - 00B2B000h
foo_diskwriter                   loaded at 00B30000h - 00B42000h
foo_albumlist                    loaded at 00B50000h - 00B5A000h
foo_masstag                      loaded at 00B60000h - 00B71000h
foo_unpack                       loaded at 00B80000h - 00BB1000h
OLEAUT32                         loaded at 77120000h - 771AB000h
foo_id3v2                        loaded at 00BC0000h - 00BEE000h
MSVCP60                          loaded at 55900000h - 55961000h
foo_dsp_extra                    loaded at 00BF0000h - 00C05000h
foo_wma                          loaded at 00C10000h - 00C29000h
WMVCore                          loaded at 08530000h - 0872D000h
WMASF                            loaded at 07260000h - 07299000h
foo_vis_bacon                    loaded at 00C30000h - 00C44000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_freedb                       loaded at 00C60000h - 00C92000h
foo_winamp_spam                  loaded at 00CA0000h - 00CA8000h
foo_dsp_crossfade                loaded at 00CB0000h - 00CB7000h
foo_dsp_nogaps                   loaded at 00CC0000h - 00CC7000h
foo_tunes                        loaded at 00CD0000h - 00D11000h
gdiplus                          loaded at 70D00000h - 70EA1000h
MSCTF                            loaded at 74720000h - 74764000h
foo_clienc                       loaded at 00E90000h - 00E9B000h
foo_podtranscoder                loaded at 00EA0000h - 00EAA000h
foo_podclienc                    loaded at 00EB0000h - 00EBE000h
msctfime                         loaded at 00ED0000h - 00EFB000h
foo_pod                          loaded at 00F10000h - 00F6F000h
foo_scroll                       loaded at 00F70000h - 00F76000h
Secur32                          loaded at 76F90000h - 76FA0000h
CLBCATQ                          loaded at 7C890000h - 7C911000h
COMRes                           loaded at 77050000h - 77115000h
foo_search_ex                    loaded at 00F80000h - 00F88000h
UxTheme                          loaded at 5AD70000h - 5ADA4000h
appHelp                          loaded at 75F40000h - 75F5F000h
cscui                            loaded at 76620000h - 7666E000h
CSCDLL                           loaded at 76600000h - 7661B000h
Msimtf                           loaded at 746F0000h - 74716000h
msi                              loaded at 01660000h - 01861000h
SXS                              loaded at 75E90000h - 75F37000h
USERENV                          loaded at 75A70000h - 75B15000h
netapi32                         loaded at 71C20000h - 71C6E000h
ntshrui                          loaded at 76990000h - 769B4000h
ATL                              loaded at 76B20000h - 76B35000h
MPR                              loaded at 71B20000h - 71B31000h
drprov                           loaded at 75F60000h - 75F66000h
ntlanman                         loaded at 71C10000h - 71C1D000h
NETUI0                           loaded at 71CD0000h - 71CE6000h
NETUI1                           loaded at 71C90000h - 71CCC000h
NETRAP                           loaded at 71C80000h - 71C86000h
SAMLIB                           loaded at 71BF0000h - 71C01000h
davclnt                          loaded at 75F70000h - 75F79000h
wiashext                         loaded at 5A500000h - 5A58D000h
WININET                          loaded at 63000000h - 63096000h
CRYPT32                          loaded at 762C0000h - 76348000h
MSASN1                           loaded at 762A0000h - 762B0000h
browseui                         loaded at 71500000h - 715FD000h
shdocvw                          loaded at 71700000h - 71849000h
browselc                         loaded at 72430000h - 72442000h
imagehlp                         loaded at 76C90000h - 76CB2000h
DBGHELP                          loaded at 6D510000h - 6D58D000h

Stack dump analysis:
Address: 77C2AC46h, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "malloc" (+00000000h)
Address: 77C2AA6Bh, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+00000000h)
Address: 00F14497h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 77C2AA6Bh, location: "msvcrt", loaded at 77C10000h - 77C63000h
Symbol: "free" (+00000000h)
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F2D12Ch, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F40A8Bh, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F1B136h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 719A8008h, location: "COMCTL32", loaded at 71950000h - 71A34000h
Symbol: "Ordinal384" (+00033316h)
Address: 72FDFE00h, location: "USP10", loaded at 72FA0000h - 72FFA000h
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 72FC4DB7h, location: "USP10", loaded at 72FA0000h - 72FFA000h
Address: 763A11F8h, location: "IMM32", loaded at 76390000h - 763AC000h
Symbol: "CtfImmSetCiceroStartInThread" (+00000312h)
Address: 763A5020h, location: "IMM32", loaded at 76390000h - 763AC000h
Address: 77F944A8h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001BEh)
Address: 00F43B70h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 77F944CBh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlRemoteCall" (+000001E1h)
Address: 77F58BCDh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+0000018Fh)
Address: 77F59037h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+000005F9h)
Address: 00F43310h, location: "foo_pod", loaded at 00F10000h - 00F6F000h
Address: 77F59037h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlFreeHeap" (+000005F9h)
Address: 77D440C6h, location: "USER32", loaded at 77D40000h - 77DCC000h
Symbol: "GetWindowLongW" (+00000034h)
Address: 719A801Fh, location: "COMCTL32", loaded at 71950000h - 71A34000h
Symbol: "Ordinal384" (+0003332Dh)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)
Address: 77F51C78h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Address: 719A8008h, location: "COMCTL32", loaded at 71950000h - 71A34000h
Symbol: "Ordinal384" (+00033316h)
Address: 77E7A6D4h, location: "kernel32", loaded at 77E60000h - 77F46000h
Symbol: "LocalAlloc" (+00000052h)
Address: 77F59BAAh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000028h)
Address: 77F59BB3h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlAcquirePebLock" (+00000031h)
Address: 77F5A32Bh, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "RtlReleasePebLock" (+00000741h)
Address: 77FA88F0h, location: "ntdll", loaded at 77F50000h - 77FF7000h
Symbol: "wcstombs" (+00003409h)

Version info:
foobar2000 v0.8.2
UNICODE


Not sure if it generates the same dump log as the one I posted previously.
Title: foo_pod - Foobar2000 meets the iPod
Post by: DreamweaverN on 2004-07-06 15:47:08
I'm not sure how the iPod works in relation to tags but here goes. Is it in some way possible to get the iPod to read APEv2 tags? Or is everything in a database on the iPod? If that is so does foo_pod read APEv2 tags and put it in the database? I ask because I killed off all my tags (906, dead ) and I thought it would be a good time to make everything right. I've been told that APEv2 is the way to go these days and it has Unicode support which is a big plus for me. These are all for MP3s BTW. As I said, I'm not sure how it all works so I'm asking .
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-06 16:51:30
Quote
I'm not sure how the iPod works in relation to tags but here goes. Is it in some way possible to get the iPod to read APEv2 tags? Or is everything in a database on the iPod? If that is so does foo_pod read APEv2 tags and put it in the database? I ask because I killed off all my tags (906, dead ) and I thought it would be a good time to make everything right. I've been told that APEv2 is the way to go these days and it has Unicode support which is a big plus for me. These are all for MP3s BTW. As I said, I'm not sure how it all works so I'm asking .

The iPod doesn't care about tags. All the info the iPod knows about is in the "database" on the iPod, and you can put anything you like in there, really. foo_pod uses whatever foobar tells it for the various tags, meaning that it'll work with APE tags just fine. Note that if you do this, however, iTunes cannot read APE tags, and so it'll have issues if you try to switch to it later. The main issue being that it won't see any tags on your files at all.
Title: foo_pod - Foobar2000 meets the iPod
Post by: DreamweaverN on 2004-07-06 17:32:35
Aaah, so the only real problem is iTunes? My hunch was correct . I requested APEv2 tag support on the Apple site, but I doubt it will get in. Well, as I plan to use Foobar only this shouldn't pose a problem. Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-06 19:39:36
Quote
Aaah, so the only real problem is iTunes? My hunch was correct . I requested APEv2 tag support on the Apple site, but I doubt it will get in. Well, as I plan to use Foobar only this shouldn't pose a problem. Thanks!

You could use the foobar2000 option to write both APEv2 and ID3v1 tags, to support *ahem* legacy players, i.e iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-06 19:49:33
Quote
Got a crash whenever I attempt to add songs using foo_pod 0.9b.

SNAG - would you please email me (foopod(at)argz.com) your iTunesDB file?  It is located at <ipod_drive>:\iPod_Control\iTunes\iTunesDB.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-06 20:10:28
Quote
Aaah, so the only real problem is iTunes?

Well... Yes and no. The iPod doesn't care about tags, but I have seen some rare cases where a really outstandingly bad ID3v2 tag will prevent iTunes *and* the iPod from playing the file. They'll read them correctly, seemingly, but then just skip over it during playback. The iPod/iTunes seem to handle APE tags fine when I've tried it (essentially just ignoring those tags entirely), and I'm sure many people here use APE tags without problems... but if you ever run across a file that the iPod instantly skips over for no obvious reason, try clearing any and all tags from it and see if that helps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-06 21:23:27
Quote
The iPod/iTunes seem to handle APE tags fine when I've tried it (essentially just ignoring those tags entirely), and I'm sure many people here use APE tags without problems... but if you ever run across a file that the iPod instantly skips over for no obvious reason, try clearing any and all tags from it and see if that helps.

One reason that the iPod/iTunes might tolerate APE tags is, like ID3v1, they are located at the end of the file.  ID3v2 tags are located at the beginning, and can contain weird stuff like cover art bitmaps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-07 09:11:40
Edit: Updated to 0.9.1a to fix a crash bug (see below)
Version 0.9.1a (http://www.loodi.com/foo_pod.zip) is now available.

This version brings smart playlist support for 1st and 2nd generation iPods, as well as a few new rules that even iTunes doesn't support.

1st and 2nd generation iPods (iPods with the firewire connector) aren't able to create smart playlists on the fly, like newer iPods.  But thanks to some nifty code from Otto42, foo_pod can build a regular playlist based on the smart playlist rules.  Speaking of smart playlist rules, this version adds some new rules (Does Not Start With, Does Not End With, and Is Not In The Range) that work on the iPod, but for one reason or another, aren't available in iTunes.  Maybe someday, iTunes will catch up to foo_pod...

Also, I tested out the method of adding/removing rules without the +/- buttons mentioned in an earlier post, and I didn't like how it worked.  Sorry, but the +/- buttons stay.  I did remove the empty item in the comboboxes, though.

Edit: 0.9.1a probably fixes SNAG's crash bug - it is triggered by songs with the Composer metadata set, and was introduced in version 0.9.



From the Readme:
Code: [Select]
Version 0.9.1 - July 7, 2004
*  Added Smart Playlist support for 1st and 2nd generation iPods (iPods with the firewire connector).  These iPods don't support dynamic smart playlists like 3rd generation iPods, but foo_pod creates a normal playlist based on the smart playlist rules.

*  Added new smart playlists rules that work on the iPod, but aren't included in iTunes - Does Not Start With,  Does Not End With, and Is Not In The Range.

*  Improved the handling of the playlist listview, so the keyboard as well as the mouse can be used to switch between playlists.

*  Removed empty item in the first column comboboxes.

*  Made the playlist editor a tool style window.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-07 09:15:44
Are there any (potential) foo_pod users running Windows 95/98/ME?

I don't have any of those operating systems, but I understand that foo_pod doesn't run on 16 bit Windows.  I'm not really interested in getting it to work on those operating systems, but if there is enough interest and I get some free time, I might consider it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-07-07 15:07:16
Quote
This version brings smart playlist support for 1st and 2nd generation iPods, as well as a few new rules that even iTunes doesn't support.

I'm very psyched to see this, Aero!  I won't be able to provide any feedback for a few weeks, as I'm off on vacation, but thanks again for the continued development of foo_pod.

btw, I use XP Pro, so no help there either.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-07-07 15:53:18
The latest version works like a charm...

And Aero, sent a copy of my DB to your email.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eido on 2004-07-07 21:09:06
I'm trying to set up a rule in the smart playlist editor for "date added is in the last 2 weeks", but every time I click apply and open the smart playlist editor back up it has changed from 2 weeks to 2 days.  The rule seems to be working correctly though, so I assume it's just a display glitch.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-07 22:38:33
Quote
1st and 2nd generation iPods (iPods with the firewire connector) aren't able to create smart playlists on the fly, like newer iPods.  But thanks to some nifty code from Otto42, foo_pod can build a regular playlist based on the smart playlist rules.  Speaking of smart playlist rules, this version adds some new rules (Does Not Start With, Does Not End With, and Is Not In The Range) that work on the iPod, but for one reason or another, aren't available in iTunes.  Maybe someday, iTunes will catch up to foo_pod...

Just so everybody knows, this method of building the playlists should be identical to the way iTunes does it. But I may have missed something, as it's a medium sized piece of rather annoyingly complicated code to do it.

So anybody with a 1st or 2nd gen iPod, keep a close eye on any smart playlists you create, and if you happen to notice anything "off" about them (on the iPod side), please let us know. This may not be an easy one to spot, as the playlist may simply be populated incorrectly, with songs there that should not be, or vice versa. Still, keep an eye open for it.

The new rules work, BTW, but will likely make iTunes freak out or behave oddly or something. So I would not recommend using these rules if you use iTunes with your iPod. But they work well, best as we can see. There's some other possibilities for rules that are not implemented in iTunes too, and I'll be looking into those. The iPod has a lot of hidden capability.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-07 23:01:40
Quote
I'm trying to set up a rule in the smart playlist editor for "date added is in the last 2 weeks", but every time I click apply and open the smart playlist editor back up it has changed from 2 weeks to 2 days.  The rule seems to be working correctly though, so I assume it's just a display glitch.

Thanks for the bug report.  Yeah, that was just a typo in the initialization code for the days/weeks/months drop down box, so as long as you change it back before you click Apply, everything should be fine. 

I have just fixed the bug and it will be in the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-10 11:25:11
I did a little experimenting with Nero's AAC encoder tonight, and here is a short guide on how to get it to work with foo_pod's transcoder.

Step 0: Buy Nero 6 and install it.  The free demo also works, but you are limited to 50 encodings and a message box pops up before each encoding.

Step 1: Download NAACEnc (http://www.rarewares.org/files/aac/NAACEnc.zip), unzip it, and put NAACEnc.exe in your Foobar2000 directory (where foobar2000.exe is located).

Step 2: Go to the foo_pod Preferences, Transcoder tab, and select "Use Custom Encoder Settings".  Click on the "Configure" button.

Step 3: Change the following settings:
  Encoder: NAACEnc.exe
  Extension: m4a or mp4 (doesn't really matter)
  Parameters: -internet -qf -lc %s %d
  Highest BPS Supported: 16
  Display Name: Nero AAC (Fast Internet AAC-LC)

Step 4: There is no step 4.

You can change the encoding quality by replacing -internet with one of the following (from lowest to highest quality): -tape, -radio, -internet, -streaming, -normal, -extreme, -audiophile, -transcode.  Also, the -qf argument means to use the fast quality setting.  -qh (High quality) doesn't seem to be any slower than -qf, but the bitrates are higher than with -qf.  Display Name can be anything you want, but it is written to the transcoded file as the TRANCODER metadata, so pick something descriptive.

I did some informal tests, and the Nero AAC encoder seemed to produce about the same quality as FAAC 1.24, at a 10kbps lower bitrate.  So it isn't a huge difference, but if you already own Nero 6, it might be worth using instead of FAAC.
Title: foo_pod - Foobar2000 meets the iPod
Post by: triode on 2004-07-10 19:13:33
Areo,

I've just been experimenting with Otto's iTunes scripts (http://www.hydrogenaudio.org/forums/index....showtopic=22391 (http://www.hydrogenaudio.org/forums/index.php?showtopic=22391)) and Foo diskwriter/foo_podclienc to transcode using iTunes (to ACC or Lossless) driven by foobar. 

This is almost giving me a one hop route to import my flac collection into iTunes.  But is giving me error messages if I just import files to iTunes (i.e. don't enable the copying of the converted file back to the destination location expected by foo_podclienc.)

1) Would it be possible to turn off whatever error checking is done in foo_podclienc to create "ERROR (foo_podclienc) : Encoding failed" in the console which interupts the process.

2) Have you considered writing a transcoder which accesses iTunes directly as this gives access to Lossless as well as AAC.  Looking at the documentation for the iTunes interface it appears the functions accessed by Otto's script are also directly accessable from C?

Greate work on foo_pod btw.

Triode
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-10 19:51:04
Quote
2) Have you considered writing a transcoder which accesses iTunes directly as this gives access to Lossless as well as AAC.  Looking at the documentation for the iTunes interface it appears the functions accessed by Otto's script are also directly accessable from C?
[a href="index.php?act=findpost&pid=224727"][{POST_SNAPBACK}][/a]

It would be pretty easy to write an EXE to use the COM interface of iTunes to convert files into whatever format you want, of course. If this is needed I can create it pretty fast, if someone wants it. The script method was just simpler.

But foobar doesn't actually support Apple Lossless, does it? I mean, if you had an ALE file then foobar wouldn't be able to read it or play it, right? Would it work with foo_pod in that case?
Title: foo_pod - Foobar2000 meets the iPod
Post by: triode on 2004-07-10 20:19:30
Hi Otto,

I can't make up my mind whether to convert from Flac to Apple lossless.  At present I think Flac is probably safer as my main archive.  Hence I see two applications:

1) Bulk conversion of Flac (or other format) into iTunes as ACC/Apple lossless (not my primary application, as I am not yet converted to iTunes!) 

2) On the fly transcoding to Apple lossless for download to iPod via Foo_pod.  This is probably my favourite as I stick with Foo_pod and Flac on the PC. 

The scipt works well for 1, except for the error checking done by foo_podclienc (as I have turned off the copy of the file back at the end)

I do have a problem with the script when file copying is enabled as I can't seem to stop my virus checker (McAfee) complaining every time!  Hence a com/exe solution would probably help here (ideally with the option to do ACC or Lossless).

Triode
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-10 20:35:48
Quote
1) Would it be possible to turn off whatever error checking is done in foo_podclienc to create "ERROR (foo_podclienc) : Encoding failed" in the console which interupts the process.

Possible, but the check is there on purpose to catch real encoding errors, and it removes the song from the iPod database, so you don't have dead entries on the iPod.  I haven't tried it, but it could be that the encoding error is due to the script returning the "wrong" return value.

Quote
2) Have you considered writing a transcoder which accesses iTunes directly as this gives access to Lossless as well as AAC.  Looking at the documentation for the iTunes interface it appears the functions accessed by Otto's script are also directly accessable from C?

I hadn't considered it, but it is an interesting idea.  Personally, I wouldn't use lossless encoding on the iPod, since I can get transparent quality with MP3 and/or AAC at much lower bitrates.  Using the iTunes AAC encoder might be worthwhile, though, since it is free (as in beer) unlike Nero and is supposedly better than FAAC at the same bitrate.

As far as I can tell, Otto's script should work in foo_pod as a custom encoder - I'll test it later tonight and see if I can see why it isn't working.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-10 20:42:22
Quote
But foobar doesn't actually support Apple Lossless, does it? I mean, if you had an ALE file then foobar wouldn't be able to read it or play it, right? Would it work with foo_pod in that case?
[a href="index.php?act=findpost&pid=224732"][{POST_SNAPBACK}][/a]

That is correct - Foobar doesn't play or understand Apple Lossless encoded files, so foo_pod won't do anything with them.  I think triode's point is that he can take files the Foobar does play (like FLAC) and use the iTunes encoder to write either AAC or ALE encoded songs to the iPod.  That should work fine, although there might be some hidden complication that is causing it to fail.
Title: foo_pod - Foobar2000 meets the iPod
Post by: triode on 2004-07-10 21:09:18
Quote
As far as I can tell, Otto's script should work in foo_pod as a custom encoder - I'll test it later tonight and see if I can see why it isn't working.

Just to clarify - it works, but because I have turned off the file copy at the end of the script, foo_podclienc creates the error message.  I think it is just looking to see if the correct file is produced (which it isn't as I have dissabled this due to my virus checker).

The scipt + foo_podclienc works fine appart from this and my PC is busy transcoding a few hundred flacs at present.  NB this is importing them to iTunes not really foo_pod, but it is a very worthwhile side effect of the code.  Thanks to you and Otto.

Triode
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-11 03:19:28
Quote
I do have a problem with the script when file copying is enabled as I can't seem to stop my virus checker (McAfee) complaining every time!  Hence a com/exe solution would probably help here (ideally with the option to do ACC or Lossless).
[a href="index.php?act=findpost&pid=224735"][{POST_SNAPBACK}][/a]

Well, if that's the only real problem, then I'll see what I can do to make an EXE version of the script. Should be simple enough, really. Probably easier than writing the script was, because I don't know javascript too well.

Kinda sucks that McAffe has no way to turn that off though.. Norton complains too, but I tell it to "Authorize this script" and it stops complaining for that script and that script only. Until I modify the script, at which point it complains again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-07-11 03:28:55
Quote
Quote
2) Have you considered writing a transcoder which accesses iTunes directly as this gives access to Lossless as well as AAC.   Looking at the documentation for the iTunes interface it appears the functions accessed by Otto's script are also directly accessable from C?
[a href="index.php?act=findpost&pid=224727"][{POST_SNAPBACK}][/a]

It would be pretty easy to write an EXE to use the COM interface of iTunes to convert files into whatever format you want, of course. If this is needed I can create it pretty fast, if someone wants it. The script method was just simpler.

But foobar doesn't actually support Apple Lossless, does it? I mean, if you had an ALE file then foobar wouldn't be able to read it or play it, right? Would it work with foo_pod in that case?
[a href="index.php?act=findpost&pid=224732"][{POST_SNAPBACK}][/a]


So this would allow the use of iTunes's encoder from within foobar?  That'd be pretty handy.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-11 04:30:14
Quote
So this would allow the use of iTunes's encoder from within foobar?  That'd be pretty handy.
[a href="index.php?act=findpost&pid=224797"][{POST_SNAPBACK}][/a]

Umm, sure. I guess. I don't exactly know how foobar works with that sort of thing. But it's just a command line program, sort of thing. Should work with most anything.

I'm working on it now, will have it within an hour or two, no trouble. All it does is to take some parameters, then call iTunes to do the actual work. Simple enough.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-11 05:11:48
Oops. Sorry. Posted twice somehow.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-11 05:28:33
Quote
Quote
So this would allow the use of iTunes's encoder from within foobar?  That'd be pretty handy.
[a href="index.php?act=findpost&pid=224797"][{POST_SNAPBACK}][/a]

Umm, sure. I guess. I don't exactly know how foobar works with that sort of thing. But it's just a command line program, sort of thing. Should work with most anything.

I'm working on it now, will have it within an hour or two, no trouble. All it does is to take some parameters, then call iTunes to do the actual work. Simple enough.
[a href="index.php?act=findpost&pid=224803"][{POST_SNAPBACK}][/a]

What Mike means is that instead of using LAME, FAAC, or NeroAAC as the encoder used by foo_pod when transcoding, it is now also possible to use iTunes' encoders.

Basically, this adds the ability to transcode to Apple's Lossless Format (so FLAC/APE/Shorten users can keep their music unmolested on the iPod, without have to resort to WAV or AIFF), as well as a high quality AAC encoder for free.  The downside is that iTunes' COM interface doesn't appear to allow setting the encoder settings, so you have to use iTunes to configure the encoder or accept the default values.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-11 08:01:21
Quote
What Mike means is that instead of using LAME, FAAC, or NeroAAC as the encoder used by foo_pod when transcoding, it is now also possible to use iTunes' encoders.

Basically, this adds the ability to transcode to Apple's Lossless Format (so FLAC/APE/Shorten users can keep their music unmolested on the iPod, without have to resort to WAV or AIFF), as well as a high quality AAC encoder for free.  The downside is that iTunes' COM interface doesn't appear to allow setting the encoder settings, so you have to use iTunes to configure the encoder or accept the default values.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=224810")

Ah. I see now. Okay. I was just confused before.

Anyway, I'm done. Took me a couple extra hours to figure out weirdness with regard to how to convert between two similar COM interfaces. But then i'd never programmed COM stuff in C++ before, so I learned something new.

Here you go: [a href="http://otto.homedns.org:8888/iTunes/iTunesEncode.zip]http://otto.homedns.org:8888/iTunes/iTunesEncode.zip[/url]

Feel free to mirror a copy somewhere else if you like (rarewares?), as my connection may go up and down, being on cable and such.

Anyway, the command line options for this EXE version are similar to the script version, but different, so you may want to read the readme file first.

Enjoy!
Title: foo_pod - Foobar2000 meets the iPod
Post by: triode on 2004-07-11 18:24:25
Thanks Otto,

Works well and doesn't annoy the virus checker.  (I found that you can totally dissable script checking with Mcafee, but not authorise a specific script  )

Triode
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-11 20:25:03
Quote
Works well and doesn't annoy the virus checker.  (I found that you can totally dissable script checking with Mcafee, but not authorise a specific script   )
[a href="index.php?act=findpost&pid=224934"][{POST_SNAPBACK}][/a]

May want to grab another copy, I found out that the -d option didn't work properly (it left a copy of the file hanging around). That's now fixed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-13 08:45:22
As I was rushing to load up some songs on my iPod this morning, I realized that I spend a lot more time wiping and reloading my iPod than enjoying it.  So I was wondering - does anyone have an iPod with a dead battery, upgraded to a larger iPod, or whatever, and would be willing to sell it?

It isn't a big deal, but it would help foo_pod development a bit. (I'll have a new version ready to post as soon as a 17 hour transfer/transcoding session completes...  )
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-13 14:45:47
Why not get the iPod the way you want it and then back it up to the hard drive? A simple copy of the iPod_Control folder would back up all the music and database and everything else. Then you could restore that to the iPod after you were done messing with it. Seems like it'd be a heck of a lot faster than transcoding anyway, at the cost of some hard drive space, I grant you. Of course, I recently bought a 200 gig firewire drive, so I'm kind of space happy right now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-13 17:03:08
Quote
Why not get the iPod the way you want it and then back it up to the hard drive? A simple copy of the iPod_Control folder would back up all the music and database and everything else. Then you could restore that to the iPod after you were done messing with it. Seems like it'd be a heck of a lot faster than transcoding anyway, at the cost of some hard drive space, I grant you. Of course, I recently bought a 200 gig firewire drive, so I'm kind of space happy right now.
[a href="index.php?act=findpost&pid=225555"][{POST_SNAPBACK}][/a]

Obviously, if you have enough free disk space, backing up the iPod is simple.  But the iPod disk/interface is fairly slow (around 10MB/sec), so a complete backup can take over an hour to copy it off and another hour to copy it back.  Certainly better than retranscoding, though.  Like I said, it isn't a big deal...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-13 22:22:01
Quote
Obviously, if you have enough free disk space, backing up the iPod is simple.  But the iPod disk/interface is fairly slow (around 10MB/sec), so a complete backup can take over an hour to copy it off and another hour to copy it back.  Certainly better than retranscoding, though.  Like I said, it isn't a big deal...
[a href="index.php?act=findpost&pid=225599"][{POST_SNAPBACK}][/a]

Hmm.. Assuming you don't fully erase the iPod with every test, you could use something like rsync to undo the changes made, as long as you have a complete copy of what you want the drive to look like. That'd certainly be faster than erasing and recopying the whole thing back, because it could copy back only the files that were modified in your testing. But yes, the drive space would still be needed to keep a copy around.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-14 10:05:49
Version 0.9.2 (http://www.loodi.com/foo_pod.zip) is now available.

This version fixes the display bug noted by eido, and added the Playlist smart playlist rule.  This isn't completely tested, so please report any problems or inconsistances.  There are also new units (minutes, hours, and years) that are available for In The Last smart playlist rules, and not supported by iTunes.

There is also a new option that will hide the Foobar2000 window during file transfers to the iPod.  This is particularly useful for long transfers, such as when doing a lot of transcoding. 


From the Readme:
Code: [Select]
Version 0.9.2 - July 14, 2004
*  Fixed a bug in the smart playlist editor which caused the date unit to initialized to Days, even though the correct value was stored in the iPod database.

*  Added support for the Playlist smart playlist rule type.  Note that Playlist (and Grouping) are slightly buggy in iPod firmware versions 2.2 and earlier, so there may be problems with the workaround required.

*  Added "minutes", "hours", and "years" units for "In The Last" smart playlist rules.  These are not available in iTunes.

*  Changed the default custom encoder to settings that work with NAACEnc/NeroAAC.

*  Improved the performance when using using custom transcoders that require a temporary file (such as NAACEnc).

*  Added an option (enabled by default) to hide the Foobar2000 window during file transfers to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: burriko on 2004-07-15 13:03:08
I just want to add a thank you for writing such a fantastic plugin, it's pretty much transformed the way i use my iPod now that i can do everything from within foobar2k.
I do have a couple of small suggestions too.  Would it be possible for the foo_pod playlist name to be the same as the iPod's name?  And would it be possible for the foo_pod playlist to automatically be created when the iPod is plugged in?  Basically so that when i plug in my iPod the playlist 'Graeme's iPod' would automatically be created.

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-15 21:50:32
Quote
I just want to add a thank you for writing such a fantastic plugin, it's pretty much transformed the way i use my iPod now that i can do everything from within foobar2k.
I do have a couple of small suggestions too.  Would it be possible for the foo_pod playlist name to be the same as the iPod's name?  And would it be possible for the foo_pod playlist to automatically be created when the iPod is plugged in?  Basically so that when i plug in my iPod the playlist 'Graeme's iPod' would automatically be created.

Those are both good ideas!

The only problem I can see with using the iPod's name as the playlist name is that it might already be in use (i.e. it is unlikely, but you might already have a "Graeme's iPod" playlist open).  In that case, I guess foo_pod would have to replace the existing playlist with the contents of the iPod.

Also, adding the playlist when the iPod is connected also implies that the playlist would be removed when the iPod is ejected.   

In foo_pod, I would keep the current preferences for the playlist name and the automatically update checkbox, so the behavior could be overridden.  I'll see about adding this to the next foo_pod release.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-16 04:29:31
Another ramification of doing the on connect thing is that you have to be running the iPod service (which I, personally, disabled due to current uselessness).
But if you do end up creating it, be sure to add a corresponding listener to pod.h. That would be awesome for personalized fast syncing, even if I'll have to re-enable the iPod service and waste like a bunch of RAM. Maybe you can make a third party, lean iPod service and maybe make it all powerful with awesome features that the iPod firmware supports but Apple refuses to make public? (like you did with smart playlists) Okay maybe I'm just making up stuff that aren't at all feasible... but are they? Cause that would be hella awesome.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-16 05:44:58
Quote
Another ramification of doing the on connect thing is that you have to be running the iPod service (which I, personally, disabled due to current uselessness).
But if you do end up creating it, be sure to add a corresponding listener to pod.h. That would be awesome for personalized fast syncing, even if I'll have to re-enable the iPod service and waste like a bunch of RAM. Maybe you can make a third party, lean iPod service and maybe make it all powerful with awesome features that the iPod firmware supports but Apple refuses to make public? (like you did with smart playlists) Okay maybe I'm just making up stuff that aren't at all feasible... but are they? Cause that would be hella awesome.
[a href="index.php?act=findpost&pid=226419"][{POST_SNAPBACK}][/a]

Nope - I can just detect when the iPod hardware is connected - no iPodService required. 

As far duplicating iPodService, that would require a lot of low level reverse engineering.  Although as I was thinking about your post, I thought about the "waste a bunch of RAM" part, and thought of a new feature.  I could add an option to shutdown the iPodService (if present) when Foobar exits.  Also kill iTunesHelper all of the time, since it doesn't seem to do anything useful.  Its purpose is unknown, but I believe it has something to the initial iPod user registration.  It seems to collect user supplied data (like iPod Serial Number and the user's name, zip code, and occupation?!?) and sends it to "littlebuddy.apple.com". 
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-16 07:18:53
littlebuddy.apple.com?! That's a funky hostname. Haha. Anyway, managing the iPod service like that sounds like a good idea... but... err... what are the benefits of running it anyway? I can still have a unique name for my iPod and have it in disk mode without the iPod service... is there anything else?
And iTunesHelper can easily be killed through startup tweaking so that's not an issue, but you might wanna have a button like "Remove iTunesHelper from startup" that will simply remove its startup entry.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-16 08:52:44
Quote
littlebuddy.apple.com?! That's a funky hostname. Haha. Anyway, managing the iPod service like that sounds like a good idea... but... err... what are the benefits of running it anyway? I can still have a unique name for my iPod and have it in disk mode without the iPod service... is there anything else?
And iTunesHelper can easily be killed through startup tweaking so that's not an issue, but you might wanna have a button like "Remove iTunesHelper from startup" that will simply remove its startup entry.
[a href="index.php?act=findpost&pid=226444"][{POST_SNAPBACK}][/a]

There aren't many benefits, but the main ones are being able to get the iPod name (for the playlist naming thing), and being able to do a soft eject (which means you can mount it again without having to undock the iPod). 

BTW, one problem I have discovered with stopping the iPodService is that it takes upto a minute after starting it again before it recognizes any connected iPods.  It must detect iPods when they are connected, as well as a via a timer set to go off once a minute.  So I'll keep the feature in there, but it probably best not to use it .

Also, iTunesHelper might be part of Windows startup, but I also believe iTunes (or possibly iPodService) also starts it.  Stopping iPodService also closed iTunesHelper, so they are somewhat related.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-16 15:18:49
Is there no function in the service's API to force it to look for an iPod, ignoring the timer?
And your experience with iTunesHelper seems to contradict my experience: I had the iPod service running just fine with iTunesHelper never ever running and off the startup list.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-16 21:46:56
Quote
Is there no function in the service's API to force it to look for an iPod, ignoring the timer?
Not that I'm aware of.

Quote
And your experience with iTunesHelper seems to contradict my experience: I had the iPod service running just fine with iTunesHelper never ever running and off the startup list.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=226514")

I'm not certain on how and when iTunesHelper is started, but I know in my case, it not started by Windows (the excellent [a href="http://www.sysinternals.com/ntw2k/freeware/autoruns.shtml]Autoruns[/url] utility verifies this), yet sometimes it is running after I exit iTunes.  So either iTunes or iPodService is starting it, and since closing iPodService also caused iTunesHelper to exit, there seems to be some connection there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Espique on 2004-07-17 00:42:45
Hello,

thanks for foo_pod. It replaced all my other pod software! I have a couple of questions but first of all I have a suggestion: This forum thread is getting HUGE! and thus, it is getting unclear and very cluttered. Makes it hard for occasional visitors who just seeks  basic foo_pod information oto actually find any.

Since the thread is huge I suppose the interest in the plugin is huge. Why not create a sub-forum here so the thread can be split up into different topics? A website or at least a sticky post containing FAQs and the likes would also be very helpful...

I'd be willing to help, too.

Sascha
Title: foo_pod - Foobar2000 meets the iPod
Post by: Espique on 2004-07-17 00:58:57
Question:

As I understand foo_pod, you manage the iPod songs through the foobar ipod playlist. How do you create custom playlists for files that are already on the pod? Say I have 5 albums of one artist on the pod and now I want to create a favorites playlist that displays under the iPod's playlist menu item. How?

Also, what's the difference between "send files to Ipod" and "Sync Playlist"?

And next: Are smart playlists automatically updated when plugging the pod in?

Thanks,
Sascha
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-17 02:14:48
Quote
thanks for foo_pod. It replaced all my other pod software! I have a couple of questions but first of all I have a suggestion: This forum thread is getting HUGE! and thus, it is getting unclear and very cluttered. Makes it hard for occasional visitors who just seeks  basic foo_pod information oto actually find any.

Since the thread is huge I suppose the interest in the plugin is huge. Why not create a sub-forum here so the thread can be split up into different topics? A website or at least a sticky post containing FAQs and the likes would also be very helpful...
[a href="index.php?act=findpost&pid=226613"][{POST_SNAPBACK}][/a]

Getting cluttered and unclear?  I thought the foo_pod forum was always cluttered and unclear! 

But you do have a point - documentation for foo_pod is basically non-existant.  I've already had an offer to help write documentation, but I have been negligent in providing information, so far, since foo_pod is still adding major features such as the smart playlist editor. 

Version 1.0 will need to have some sort of documentation and a FAQ, as well as a simple installer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-17 02:20:23
Quote
As I understand foo_pod, you manage the iPod songs through the foobar ipod playlist. How do you create custom playlists for files that are already on the pod? Say I have 5 albums of one artist on the pod and now I want to create a favorites playlist that displays under the iPod's playlist menu item. How?

If you create Foobar playlists with the same songs that are already on the iPod, foo_pod will create the playlist but not copy the duplicate songs.  Creating a smart playlist is also another solution.

Quote
Also, what's the difference between "send files to Ipod" and "Sync Playlist"?

Send means copy the selected files to the iPod, unless they are already there.  Sync Playlist means add and/or delete songs from the iPod so that it matches the Foobar playlist or playlists. 

Quote
And next: Are smart playlists automatically updated when plugging the pod in?

Currently, nothing happens automatically when the iPod is plugged in.  The smart playlists are updated when you click Apply in the smart playlist editor, or when you add songs to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-07-18 03:41:18
Just to OT a little:
The 4G iPod has been exposed on the upcoming issue of Newsweek. Specifications are uncertain though.

http://www.thinksecret.com/cgi-bin/pic.cgi...jpg&p=newipods2 (http://www.thinksecret.com/cgi-bin/pic.cgi?i=/archives/newsweeklarge.jpg&p=newipods2)

From the first impressions of it, I think I still prefer the 3G design...
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-07-18 05:17:00
I agree with SNAG.  I see the difference between the 3G and 4G to be about the same as the difference between the 1G and 2G.  Some minor cosmetic differences, minor size differences and a change in the controls.  I think I would just as soon wait for a 5G to upgrade.  I think the biggest difference would be in the processor.  I think I read that the processor that the mini uses fixes a flaw in the cache (or something) making the possibility of playing OGG more of a reality than before.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-18 05:43:01
Quote
Just to OT a little:
The 4G iPod has been exposed on the upcoming issue of Newsweek. Specifications are uncertain though.

http://www.thinksecret.com/cgi-bin/pic.cgi...jpg&p=newipods2 (http://www.thinksecret.com/cgi-bin/pic.cgi?i=/archives/newsweeklarge.jpg&p=newipods2)

From the first impressions of it, I think I still prefer the 3G design...

Yeah, although the 4G iPod looks to be a little shorter than previous versions, it doesn't seem that much shorter to justify removing the buttons.  One thing that struck me is the "Music" menu item - as if actually playing music is just another feature now rather than the main focus.  OTOH, maybe they just renamed "Playlists"... 

Hopefully there will be updated firmware for 3G and earlier iPods as well, but I'm not holding my breath.  Like Pete Townsend said, "I got to move with the fashion, or be outcast.".
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-07-18 14:41:52
Quote
Quote
Also, what's the difference between "send files to Ipod" and "Sync Playlist"?

Send means copy the selected files to the iPod, unless they are already there.  Sync Playlist means add and/or delete songs from the iPod so that it matches the Foobar playlist or playlists. 


Unless there's been a code change recently, you need to understand that "sync" will remove everything from your iPod except what you're syncing.  So, if you're syncing only one playlist, but you used to have multiple playlists on your iPod, they will all be removed, and the synced one will remain (including changes to that playlist if it already existed on the iPod.

I don't believe there is yet a way to update the contents of a single playlist, as send just adds songs, doesn't remove.  (For example, if you had a playlists of Beatle albums, and you decided you needed to take "Let It Be...Naked" out of rotation.)  Then again, I could be wrong.

Also, I believe just sending files by right-clicking a group of songs (as opposed to sending a playlist) will add the songs to your iPod, but it won't associate them to a specific playlist (but of course, if they're properly tagged, you shouldn't have any issues finding them by artist/album/song.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-19 01:08:11
I was just syncing all playlists with my iPod, which was almost completely filled with documents I store there for work, and I ran out of diskspace halfway through. So i moved some work files from the iPod to the hard drive and restarted the Sync all playlists. foo_pod figured everything out, didn't delete anything more and just copied all the files over that it should.

However, and I am not sure if this is foo_pod's fault... When I look in iPod_Control\Music, I see that folders F00-F19 have the hidden attribute, while F20-F49 do not. Is this done on purpose or not?

Edit:
Oh, and foo_pod also created my playlist named Radio (which contains some radio station HTTP streams) even though I selected to ignore it by right-clicking the playlist tab. It doesn't contain any entries, it is just a blank Radio playlist on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-19 05:01:34
Quote
However, and I am not sure if this is foo_pod's fault... When I look in iPod_Control\Music, I see that folders F00-F19 have the hidden attribute, while F20-F49 do not. Is this done on purpose or not?

iTunes creates the Fnn directories with the hidden attribute, but foo_pod doesn't. 

What happened is that you had F00 - F19 that were created by iTunes (or when you first formatted your iPod), and when you updated your iPod, foo_pod created F20 - F49.  Originally, iTunes (and foo_pod) only created F00 - F19, but as of the latest iTunes, it now creates F00 through F49.  So I changed foo_pod to also create F00 - F49 - the more directories, the less likely there will be filename conflicts.

Quote
Edit:
Oh, and foo_pod also created my playlist named Radio (which contains some radio station HTTP streams) even though I selected to ignore it by right-clicking the playlist tab. It doesn't contain any entries, it is just a blank Radio playlist on the iPod.

Are you sure you ignored the Radio playlist?  You can't right click on a tab and have that playlist be ignored - what you need to do is select the playlist first, then right click to ignore it.  If you select the Radio playlist, and it is already ignored, then there is a foo_pod bug.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-19 10:17:17
Quote
Quote
However, and I am not sure if this is foo_pod's fault... When I look in iPod_Control\Music, I see that folders F00-F19 have the hidden attribute, while F20-F49 do not. Is this done on purpose or not?

iTunes creates the Fnn directories with the hidden attribute, but foo_pod doesn't. 

What happened is that you had F00 - F19 that were created by iTunes (or when you first formatted your iPod), and when you updated your iPod, foo_pod created F20 - F49.  Originally, iTunes (and foo_pod) only created F00 - F19, but as of the latest iTunes, it now creates F00 through F49.  So I changed foo_pod to also create F00 - F49 - the more directories, the less likely there will be filename conflicts.

I have never used iTunes, but wouldn't it be better for foo_pod to have the option of emulating iTunes more closely - i.e An option for setting the maximum amount of FXX directories, and having them all hidden?

Quote
Quote
Edit:
Oh, and foo_pod also created my playlist named Radio (which contains some radio station HTTP streams) even though I selected to ignore it by right-clicking the playlist tab. It doesn't contain any entries, it is just a blank Radio playlist on the iPod.

Are you sure you ignored the Radio playlist?  You can't right click on a tab and have that playlist be ignored - what you need to do is select the playlist first, then right click to ignore it.  If you select the Radio playlist, and it is already ignored, then there is a foo_pod bug.
[a href="index.php?act=findpost&pid=227084"][{POST_SNAPBACK}][/a]

I am very sure that I ignored it properly. However, I will attempt to reproduce this playlist-creation tonight.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-19 10:35:26
Quote
I have never used iTunes, but wouldn't it be better for foo_pod to have the option of emulating iTunes more closely - i.e An option for setting the maximum amount of FXX directories, and having them all hidden?
[a href="index.php?act=findpost&pid=227145"][{POST_SNAPBACK}][/a]

Doesn't really matter that much, in this particular case. iTunes can cope with whatever foo_pod does in that respect. The iPod doesn't care whether the directories are hidden or not, iTunes will make them hidden if you happen to use it (or maybe not, either way, it's unimportant). And older iTunes versions can cope with the extra amount of directories. So really, this is kind of a moot point.

The real reason for the extra directories isn't due to filename conflicts (although that is a potential possibility), but due to the way the iPod reads directory structures. When it's going through a FAT32 filesystem, and it wants to load up a song, it has to read the directory structure in order until it finds the file it's looking for. All systems reading FAT32 must do this, actually. With the iPod, it causes a problem because it'll starve the decoder while looking for the file if the number of files in the directories get too large, and this causes issues like songs getting skipped over and such. Anyway, more directories = faster lookups on songs, and as they increase the size of iPod drives, this becomes pretty crucial. I'm somewhat surprised that they didn't push it up to F99 already.

But the iPod itself doesn't care what the directories are. You could call them G## or name them after the planets or the stars in the sky or cartoon characters. Whatever, it's just looking up the file's location in the database and passing it along. iTunes uses F## directories, which is why you want to stick to that for compatibility reasons. But there's no need to go overboard in the fiddly unimportant bits. There's enough other important fiddly bits to keep the programmer occupied for the moment.

If you didn't care about maintaining iTunes compatibility, it might be simplest and best to simply arrange the tracks in an artist/album/tracknum_songname.ext method. This would provide for fast enough lookups in most all cases I can come up with, while making it easier to find files on the iPod directly if you wanted to copy them back off the thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-19 13:34:26
So it is more a question of "why not do it?" than "why do it?"...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-19 14:59:55
Quote
So it is more a question of "why not do it?" than "why do it?"...
[a href="index.php?act=findpost&pid=227190"][{POST_SNAPBACK}][/a]

Not really. It's more a question of seeing that it's compatible enough as is, and not bothering to worry about the unimportant minor details that don't really matter anyway.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-19 16:12:21
Nope: http://www.apple.com/ipod/download/ (http://www.apple.com/ipod/download/)
The new firmware only updates the new iPods with all the neat stuff, but I can really live without all those features and the reduction in dimensions isn't that significant, nevertheless desirable.
I wonder if the iPod database interface Otto created will need updating to work with the new iPod. How was it when the mini was released?
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-07-19 16:50:15
Quote
Nope: http://www.apple.com/ipod/download/ (http://www.apple.com/ipod/download/)
The new firmware only updates the new iPods with all the neat stuff, but I can really live without all those features and the reduction in dimensions isn't that significant, nevertheless desirable.
I wonder if the iPod database interface Otto created will need updating to work with the new iPod. How was it when the mini was released?
[a href="index.php?act=findpost&pid=227228"][{POST_SNAPBACK}][/a]


Since they haven't had to release a update to iTunes to handle the new iPods I would assume that nothing has changed in terms of the interface with the iPod database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-19 20:43:35
Quote
I wonder if the iPod database interface Otto created will need updating to work with the new iPod. How was it when the mini was released?
[a href="index.php?act=findpost&pid=227228"][{POST_SNAPBACK}][/a]

I made no changes specifically to support the mini. And as far as I can tell, iTunes, which creates the databases, creates the same kind every time, regardless of what kind it's connected to. So far, anyway.

The multiple OTGPlaylist support will require changes to foo_pod, but I'm betting that it's just using multiple OTGPlaylist files and so should be relatively easy. But, no way to tell until somebody gets ahold of a 3.0 iPod and lets us know. Annoyingly, multi-OTGplaylists and deleting from OTGPlaylists should be software only and thus they could probably add these to the 3rd gen iPods.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rufu on 2004-07-19 21:00:53
Quote
Quote
I wonder if the iPod database interface Otto created will need updating to work with the new iPod. How was it when the mini was released?
[a href="index.php?act=findpost&pid=227228"][{POST_SNAPBACK}][/a]

I made no changes specifically to support the mini. And as far as I can tell, iTunes, which creates the databases, creates the same kind every time, regardless of what kind it's connected to. So far, anyway.

The multiple OTGPlaylist support will require changes to foo_pod, but I'm betting that it's just using multiple OTGPlaylist files and so should be relatively easy. But, no way to tell until somebody gets ahold of a 3.0 iPod and lets us know. Annoyingly, multi-OTGplaylists and deleting from OTGPlaylists should be software only and thus they could probably add these to the 3rd gen iPods.
[a href="index.php?act=findpost&pid=227297"][{POST_SNAPBACK}][/a]


I know, I was hoping that Apple would have release a firmware upgrade for the 3G iPods to give them some (if not all) of the new software features of the 4G 
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-19 21:02:42
Yes; most of the 4G improvements are firmware based. I wonder if the iPod Updater can be hacked and forced to install version 3.0 on 3G iPods... will be interesting.
I'm not much of a hacker/cracker, but I'll see what I can discover about how the updater makes the decision of which version to install on the mounted iPod. Maybe you, Otto, may have a better chance at figuring this one out.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-19 21:43:54
Quote
Quote
I wonder if the iPod database interface Otto created will need updating to work with the new iPod. How was it when the mini was released?
[a href="index.php?act=findpost&pid=227228"][{POST_SNAPBACK}][/a]

I made no changes specifically to support the mini. And as far as I can tell, iTunes, which creates the databases, creates the same kind every time, regardless of what kind it's connected to. So far, anyway.

The multiple OTGPlaylist support will require changes to foo_pod, but I'm betting that it's just using multiple OTGPlaylist files and so should be relatively easy. But, no way to tell until somebody gets ahold of a 3.0 iPod and lets us know. Annoyingly, multi-OTGplaylists and deleting from OTGPlaylists should be software only and thus they could probably add these to the 3rd gen iPods.
[a href="index.php?act=findpost&pid=227297"][{POST_SNAPBACK}][/a]



The iPod's filesystem supports deleting them just fine, as proven by the iPod Linux Project, so it's just Apple's annoying marketing scheme. Maybe someone will hack the firmware patch, or someone will emulate the iPod's menu/player system on iPod Linux.

Just like ye ol' battle between Windows and Linux, though without the firmware bit.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-19 22:44:00
Quote
Yes; most of the 4G improvements are firmware based. I wonder if the iPod Updater can be hacked and forced to install version 3.0 on 3G iPods... will be interesting.
I'm not much of a hacker/cracker, but I'll see what I can discover about how the updater makes the decision of which version to install on the mounted iPod. Maybe you, Otto, may have a better chance at figuring this one out.
[a href="index.php?act=findpost&pid=227302"][{POST_SNAPBACK}][/a]

Getting it on there is easy. Filling it with illegal drugs and sending it across the border is not.

Err.. I mean, that getting the firmware onto the device is not difficult to do, it's whether it'll run or not that's the big question. It may simply not be compatible. However, I'm betting that they will incorporate some of these new features into the older 3G iPod's. I'd say to give them some time. Some of the features added into 3rd gen iPod's made it down into 1st/2nd gen iPods too, as they released new firmwares for both simultaneously. The only time they've shown not to add new features is when the older hardware was not capable of supporting it, like in the case of the auto-updating smart playlists (older iPods are simply not fast enough to do this in a reasonable amount of time given the current DB format and such, and they may lack the memory to do it well also).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-19 23:42:54
Quote
Err.. I mean, that getting the firmware onto the device is not difficult to do, it's whether it'll run or not that's the big question. It may simply not be compatible. However, I'm betting that they will incorporate some of these new features into the older 3G iPod's. I'd say to give them some time. Some of the features added into 3rd gen iPod's made it down into 1st/2nd gen iPods too, as they released new firmwares for both simultaneously. The only time they've shown not to add new features is when the older hardware was not capable of supporting it, like in the case of the auto-updating smart playlists (older iPods are simply not fast enough to do this in a reasonable amount of time given the current DB format and such, and they may lack the memory to do it well also).

It is my understanding that the 4G iPods use the same CPU(s) as the iPod Mini (PortalPlayer 5020 (http://arm.convergencepromotions.com/catalog/507.htm)), while all previous iPods use a variant of the PP5002 (same CPUs as the 5020, but different support hardware), so forcing the 4G firmware onto a 3G iPod likely will not work. 

I'm sure Apple could have made dynamic smart playlists work on 1G/2G iPod, but like OTG playlists, it was a defining feature that set the 3G iPods apart.  That's also why multiple OTG playlists, the new menu structure, and the shuffle songs feature will likely never be available on 3G iPods, even though it istechnically possible.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-07-20 04:45:45
Well, it seems that to trick the iPod Updater all it takes is some really simple ResHack-ing, swaping some resources and editing some strings. I didn't try it though in fear of permanent damage to the iPod. Later, I was over at iPodlounge and someone, on OSX, decided to dare and try it and he says it just brings up a disk scanner error message on the iPod so he regressed back to 2.2... too bad, I guess. Maybe some hexing of the actual firmware and not just the updater can make it work on the 3G? Hmmm... I wonder if it's actually worth the bother... maybe the improved battery life is.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ezekiel2517 on 2004-07-24 03:50:35
Ipod g4 owner here. Just wanted to report that foo_pod seems to be working fine.

This is my first iPod, so I'm not experienced enough with either the iPod or foo_pod to be able to tell if everything is working 100% correctly, but so far so good.

Thanks for this great plug-in!
Title: foo_pod - Foobar2000 meets the iPod
Post by: fhjlx on 2004-07-24 04:48:31
I use ml_iPod and foo_pod too with my 3g 15gig iPod and I've found that while the smart playlists in foo_pod work, they mysteriously stop working after i edit the itunesdb with ml_iPod. Is there a particular reason for this? I like both plugins and would like to continue using both.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-24 06:02:51
Quote
I use ml_iPod and foo_pod too with my 3g 15gig iPod and I've found that while the smart playlists in foo_pod work, they mysteriously stop working after i edit the itunesdb with ml_iPod. Is there a particular reason for this? I like both plugins and would like to continue using both.
[a href="index.php?act=findpost&pid=228500"][{POST_SNAPBACK}][/a]

ml_iPod does not support true smart playlists. I've been working with the developer to help him add that support. Well, basically I told him how it works then I just let him actually do it.

Anyway, yes, ml_iPod currently knows nothing about the special mhod types for smart playlists, and so it will not write them out when it updates the iPod's database file. Only solution is not to use ml_iPod at the moment, because it will destroy a true smart playlist.

Edit: Also, and I admit I'm not 100% sure on this, foo_pod doesn't actually populate smart playlists except in some special cases (1st or 2nd gen iPod or SPL uses Playlist or Grouping rules). If this is true, as I think it probably is (for speed reasons), then if you have a 3rd gen or higher, and the SPL in question does not contain a grouping or playlist rule, then all that's really being written to the iPod is the rules itself. The iPod then figures out what's supposed to be in the playlist. In this case, programs like ml_iPod may not show the playlist correctly in their display of what's on the iPod. It'll appear to be empty. This is because it actually is empty, it just contains the necessary rules. iTunes actually fills in all the songs for all the smart playlists, but foo_pod only does it in certain cases because a) it's faster and b) you don't notice any real difference in normal usage anyway.

ml_iPod also lacks support for a lot of other things in there as well. One thing he did add, like last week or something, was reading and writing of all the extra track data in the mhit structures, so stuff like the ReplayGain info that foo_pod will put in there should be preserved if you use the latest ml_iPod. It would be erased if you are using an older ml_ipod version. I recommend keeping up to date on it as he changes it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-24 18:40:56
Quote
Ipod g4 owner here. Just wanted to report that foo_pod seems to be working fine.

Thanks for the report!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-24 19:02:03
Quote
I use ml_iPod and foo_pod too with my 3g 15gig iPod and I've found that while the smart playlists in foo_pod work, they mysteriously stop working after i edit the itunesdb with ml_iPod. Is there a particular reason for this? I like both plugins and would like to continue using both.

As Otto noted, this is almost certainly due to ml_ipod not understanding the smart playlist section in the iPod database, and instead of just copying and ignoring it, they are simply omitting it.

Out of curiousity, why do you want to use ml_ipod?  By that, I mean is there any special feature or function that isn't available in foo_pod (other than the fact that it runs in Winamp)?
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-07-25 17:36:25
Hi Aero, could you consider adding a "minimize" button to the transfer-in-progress window? (like the button in the "processing files" window that shows up when adding a lot of tracks to foobar's queue) If i add a couple of thousand songs to the iPod, i can't use my pc for about an hour, cause foobar can't be minimized during the proces.

tia

(i hope this hasnt been implemented in another way i havent noticed yet  can't use foobar's native minimize button, that's for sure)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-26 01:45:54
Quote
Hi Aero, could you consider adding a "minimize" button to the transfer-in-progress window? (like the button in the "processing files" window that shows up when adding a lot of tracks to foobar's queue) If i add a couple of thousand songs to the iPod, i can't use my pc for about an hour, cause foobar can't be minimized during the proces.

Actually in version 0.9.2, there is an option to hide the Foobar window during transfers.  That should take care of most of your problem.

As far the minimize button on the progress windows, there actually is supposed to one there.  I'm using the same progress windows as Windows Explorer, and I have the minimize button option enabled, but it doesn't seem to work.  I'll have to look into it further, but untili that is working, you might be able to minimize the window by pressing Windows Key + D, or right click on the Windows task bar and select Show Desktop.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-07-26 12:11:12
Geez, i still was on 0.9.1a, i must have missed your 9.2 post 

got 9.2 now, it does exactly what i want it to do! thanx! 

btw: Windows Key + D won't work when it's not minimized. everything will minimize except for foobar, which will just stay as it is. But heck, it minimizes itself automatically 
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-26 12:36:25
I am still having problems with playlists ignored in foobar2000 appearing as empty playlists on the iPod.

Perhaps the problem is that during a Sync All Playlists, playlists that are ignored but exist on the iPod are not deleted?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mintcoffee on 2004-07-27 01:34:37
Hi all! New to this board!  I would like to start off by thanking the author of this component. IT ROCKS! Without it, I can't imagine having to put up with ITunes in order to sync my music!! Thanks a lot!

Anyways, I'm having a problem with ignored playlists, still showing up on my iPod, when using the sync and send all. I'm using the latest plugin (0.92 i think).

I think this began happening after I installed the latest foobar, but this is not definate.

I've tried toggling the ignore and not ignored states to see if it would remedy the problem, but to no avail. So.. just asking if there's any solutions to this problem! (or if anyone has experienced it themselves!)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-07-27 03:29:17
In the Smart Playlist Editor, could you make the "Limit" clickable, as well as the check button? Like <label> in XHTML, if you've come across them... It's a good overall principle to make forms work this way.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 03:37:46
Quote
Hi all! New to this board!   I would like to start off by thanking the author of this component. IT ROCKS! Without it, I can't imagine having to put up with ITunes in order to sync my music!! Thanks a lot!

Thanks!


Quote
Anyways, I'm having a problem with ignored playlists, still showing up on my iPod, when using the sync and send all. I'm using the latest plugin (0.92 i think).

I think this began happening after I installed the latest foobar, but this is not definate.

I've tried toggling the ignore and not ignored states to see if it would remedy the problem, but to no avail. So.. just asking if there's any solutions to this problem! (or if anyone has experienced it themselves!)

This problem has been reported a few times (includes DocUK's post right before yours), but I have never been able to narrow down the problem.  I just picked up a 2nd iPod for development use, but I don't have a lot of free time at the moment to work on foo_pod.  I'll try to reproduce and fix the ignored playlist problem in the next release.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 03:45:27
Quote
In the Smart Playlist Editor, could you make the "Limit" clickable, as well as the check button? Like <label> in XHTML, if you've come across them... It's a good overall principle to make forms work this way.

This has been asked before (the foo_pod preferences work in the same fashion). 

Basically, I can do this, but I like the way it is now, so changing it is a very low priority.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-07-27 05:56:36
Okay... I would like to see it changed soon anyways. What is high priority right now?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 06:10:59
BTW, the new iPod I bought is a 4G iPod.  It just arrived today, so I haven't had much time to play with it, but here are my initial impressions:

Good: Bad:
There are a few other minor changes, like the Shuffle Songs menu item (I haven't tried it yet), and the wheel clicker noise can be configured to play through the speaker, the headphones, or both.  So the 4G iPod is basically a faster 3G iPod with slightly better software (that should run on a 3G anyway) and a (maybe) worse user interface.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 06:19:47
Quote
Okay... I would like to see it changed soon anyways. What is high priority right now?

Starting a new job and learning C# 

Oh, you mean as far as foo_pod is concerned.  My biggest focus now is adding regular playlist support to the smart playlist editor (and hence making it just the Playlist Editor).  Ideally, I want to make it so you can open up the PE, create a new playlist or edit an existing one, drag files from the Foobar window, and delete songs from the playlist.

Also now that I have the new iPod, adding something to deal with OTG playlists is suddenly a high(er) priority, along with potentially adding support for dealing with multiple iPods.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-07-27 06:27:43
I think I'm sticking with my 3rd gen pod until Apple gets off their asses and make some REAL changes.

If they don't release the new firmware to 3rd gen users I will also hate them for an eternity.

Edit; I am happy to hear about the improved speed though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-07-27 06:34:18
Quote
Quote
Okay... I would like to see it changed soon anyways. What is high priority right now?

Starting a new job and learning C# 

Oh, you mean as far as foo_pod is concerned.  My biggest focus now is adding regular playlist support to the smart playlist editor (and hence making it just the Playlist Editor).  Ideally, I want to make it so you can open up the PE, create a new playlist or edit an existing one, drag files from the Foobar window, and delete songs from the playlist.

Also now that I have the new iPod, adding something to deal with OTG playlists is suddenly a high(er) priority, along with potentially adding support for dealing with multiple iPods.
[a href="index.php?act=findpost&pid=229314"][{POST_SNAPBACK}][/a]


C#? I haven't decided if that's a mayor EWW yet... given any thought to Java? I'm kinda interested in starting programming for real.

But you can edit playlists directly in foobar? ...can't you?
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-07-27 14:52:48
Of course this also means you'll be able to get a 3G Ipod cheap as well.  I finally got to play with a Mini-Ipod the other day, and I think the move to the click wheel in the end is a good move for the 4G.  Still wondering how the sound compares.

Scott
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-07-27 15:56:12
Quote
Of course this also means you'll be able to get a 3G Ipod cheap as well.  I finally got to play with a Mini-Ipod the other day, and I think the move to the click wheel in the end is a good move for the 4G.   Still wondering how the sound compares.

Scott
[a href="index.php?act=findpost&pid=229406"][{POST_SNAPBACK}][/a]


OT again...
Speaking of sound quality, it has been reported in iPodlounge that there are some complaints of the 4G iPod having some interference with the internal components of the iPod - static, and the likes.

//un-OT

Just to ask, is foo_pod able to directly edit the information in the iPod DB, and subsequently update the ID tags in the MP3s itself (in short, works like iTunes, where you can just edit the info in iTunes directly)?

Is it also possible to update the ratings in foo_pod itself?

I could remember that I once meddled with the DB entries, and I screwed it up...
To backup the DB, the playlists (both smart and dumb ), can I just copy the iPodDB file in the iPod Control folder?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-27 17:23:44
Quote
Note for Otto - each saved OTG playlist is saved in the iTunes directory as "OTGPlaylistInfo_1", "OTGPlaylistInfo_2", etc.  The unsaved OTG playlist is still OTGPlaylistInfo.  I haven't tried parsing the saved OTG playlists yet, but it appears to be a standard MHPO.  Shame on Apple if they don't back port this feature to 3G iPods...

Boy, that sure makes it easy, doesn't it? Look for the OTGPlaylistInfo_X files, parse them into iPod_mhpo's, convert them into new iPod_mhlp's to make them into real playlists which can be manipulated through whatever exists to manipulate them, delete the OTG files. Done and done.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 17:47:49
Quote
C#? I haven't decided if that's a mayor EWW yet... given any thought to Java? I'm kinda interested in starting programming for real.

Yeah, I've done Java development in the past, and it is good for what it does.  But the future of Windows development is unquestionably .NET based, and with projects like Mono (http://www.mono-project.com/about/index.html), it looks like C#/.NET could be a nice cross platform development environment.  Sorta like Java could have been, but for various reasons, never really took off.  But I digress...

Quote
But you can edit playlists directly in foobar? ...can't you?

You can edit Foobar playlists, but you can currently only create iPod playlists and/or add songs to them.  My iPod playlist editor will let you add/remove playlists, rename them, and probably do some basic editing like add/remove songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 17:57:22
Quote
Speaking of sound quality, it has been reported in iPodlounge that there are some complaints of the 4G iPod having some interference with the internal components of the iPod - static, and the likes.

I haven't noticed any difference in sound quality between the 3G and 4G.  I have heard electronic interference related noise on my 3G in the past, though.  Usually after undocking...

Quote
Just to ask, is foo_pod able to directly edit the information in the iPod DB, and subsequently update the ID tags in the MP3s itself (in short, works like iTunes, where you can just edit the info in iTunes directly)?

Not really.  You can use Foobar to modify the ID3/APE tags of songs anywhere, including on the iPod.  But there really isn't a good way to update the iPod database after a song is already on the iPod (you can delete and resend it).

Quote
Is it also possible to update the ratings in foo_pod itself?

If you have the RATING metadata set before you transfer the song (0 - 5), foo_pod will convert that and store it in the iPod database.  But like I said, there isn't a good way to update songs that are already on the iPod.

Quote
I could remember that I once meddled with the DB entries, and I screwed it up...
To backup the DB, the playlists (both smart and dumb ), can I just copy the iPodDB file in the iPod Control folder?

Yes, backing up iTunesDB will backup regular and smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-27 19:11:22
Quote
Boy, that sure makes it easy, doesn't it? Look for the OTGPlaylistInfo_X files, parse them into iPod_mhpo's, convert them into new iPod_mhlp's to make them into real playlists which can be manipulated through whatever exists to manipulate them, delete the OTG files. Done and done.

Otto likes this because all of his work is done, and it is passed off on the application developer...

Speaking of new features that should be on the 3G (and earlier) iPods...the new Shuffle Songs menu option is an interesting feature, but one that Apple ultimately botched and implemented in the wrong way.

Shuffle Songs is a new (optional) main menu item that activates a sort-of temporary shuffle mode.  When you select it, the shuffle indicator (on the Now Playing screen) is displayed, and songs shuffle as usual, but the Shuffle menu item setting doesn't change.  For example, if Shuffle is turned off, it stays off but the indicator appears and the songs shuffle.  Also, it obeys the Shuffle setting, so if you have Shuffle set to albums, Shuffle Songs will shuffle by album (otherwise it shuffles by song).

Unfortunately, the only way to disable Shuffle Songs seems to be to change the current scope (changing to a different artist, for example).  And the fact that songs shuffle and the indicator appears, while the Shuffle setting still says "Off" is simply a mistake.  What Apple should have done is just make the Shuffle setting an optional Main Menu item - then you could control it without having to navigate to an extra menu and back, and the shuffle preference would be consistant.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-07-27 19:17:54
(sorry for the OT)

Quote
Quote
Quote
Okay... I would like to see it changed soon anyways. What is high priority right now?

Starting a new job and learning C# 

Oh, you mean as far as foo_pod is concerned.  My biggest focus now is adding regular playlist support to the smart playlist editor (and hence making it just the Playlist Editor).  Ideally, I want to make it so you can open up the PE, create a new playlist or edit an existing one, drag files from the Foobar window, and delete songs from the playlist.

Also now that I have the new iPod, adding something to deal with OTG playlists is suddenly a high(er) priority, along with potentially adding support for dealing with multiple iPods.
[a href="index.php?act=findpost&pid=229314"][{POST_SNAPBACK}][/a]


C#? I haven't decided if that's a mayor EWW yet... given any thought to Java? I'm kinda interested in starting programming for real.


[a href="index.php?act=findpost&pid=229318"][{POST_SNAPBACK}][/a]


I'm a student, and as such have done a lot of java in school, as well as more at work to automate various tasks on data files.  I'm just starting on c# now (got the book yesterday!) and so far i really like it.  The code is a lot like Java (actually its virtually identical), but without the horrors of Swing.  As for the .net framework, I'm just getting started and do know much of anything about it yet.  However from what i've read it looks really nice (and a LOT easier for windows centric things like registry access which is a horrible mess of native methiods to c libraries in java  ).

If mono really does take off, it could be what Java was supposed to have been.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-28 03:50:01
Quote
Otto likes this because all of his work is done, and it is passed off on the application developer...
[a href="index.php?act=findpost&pid=229484"][{POST_SNAPBACK}][/a]

Well, if you'd pass along the code, then I might have a choice in the matter.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-07-28 13:45:33
Zing!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-28 23:38:34
Heh...

One very cool thing about the 4G iPods is that SoundCheck now works through the Line Out port on the dock connector! 

This was one of my gripes about the 3G iPods, since SoundCheck only worked through the headphone jack, which made things like this (http://www.sik.com/imp.php) much less useful.  SoundCheck via Line Out also seems to be something that could be fixed in software on earlier iPods by simply scaling the decoded audio.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ndrake on 2004-07-29 16:07:15
First, just checking in to mention that foo_pod is still hands down the best ipod software out there - it works flawlessly with my 4th gen 40 gig.

Second, when you 'load iPod songs to the '___' playlist' is foo_pod just reading the database file? If so, can that file be rewritten every time it is updated according to some sort of organization rule (preferably the same way music is organized on the iPod's display)? It is a minor annoyance that the most recently added tracks appear at the top of said playlist, so that I have to manually sort the playlist in order to know what is actually already on the ipod.  It could just be me, but I'd prefer if that playlist generated from the iPod's tracks were already sorted...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-29 21:56:54
Quote
Second, when you 'load iPod songs to the '___' playlist' is foo_pod just reading the database file? If so, can that file be rewritten every time it is updated according to some sort of organization rule (preferably the same way music is organized on the iPod's display)? It is a minor annoyance that the most recently added tracks appear at the top of said playlist, so that I have to manually sort the playlist in order to know what is actually already on the ipod.  It could just be me, but I'd prefer if that playlist generated from the iPod's tracks were already sorted...

Yes, Load essentially just reads the database and presents it as a Foobar playlist.

Since this is just a regular Foobar playlist, it can be sorted any way you wish, and as you see, it is just displayed in the same order that it appears in the Foobar database by default.  I guess the best thing to do would be to add a preference item so the user can have a TAGZ format string to sort the iPod playlist by.  Or maybe just sort by artist/album/title/tracknumber by default?  Anyway, I'll do something for the next version - thanks for the suggestion!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-07-29 22:53:50
Quote
Yes, Load essentially just reads the database and presents it as a Foobar playlist.

Since this is just a regular Foobar playlist, it can be sorted any way you wish, and as you see, it is just displayed in the same order that it appears in the Foobar database by default.  I guess the best thing to do would be to add a preference item so the user can have a TAGZ format string to sort the iPod playlist by.  Or maybe just sort by artist/album/title/tracknumber by default?  Anyway, I'll do something for the next version - thanks for the suggestion!
[a href="index.php?act=findpost&pid=230127"][{POST_SNAPBACK}][/a]

Is it just presenting it in the same order that it's already in, in the iPodDB? Because you can just reorder that vector (or map.. whatever it is, I forget)in the mhyp and that'll be the order it gets displayed in on the iPod. At least, it should be. iTunes does it by renumbering the type 100 mhods in the mhyp, but iPodDB generates those on the write() call, so reordering the vector would reorder the playlist. I'll think about writing a function to make this simpler. Maybe we can pass it something to order by, perhaps... Hmm.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-30 00:06:39
Quote
Is it just presenting it in the same order that it's already in, in the iPodDB? Because you can just reorder that vector (or map.. whatever it is, I forget)in the mhyp and that'll be the order it gets displayed in on the iPod. At least, it should be. iTunes does it by renumbering the type 100 mhods in the mhyp, but iPodDB generates those on the write() call, so reordering the vector would reorder the playlist. I'll think about writing a function to make this simpler. Maybe we can pass it something to order by, perhaps... Hmm.

Yes, the first song in the MHLT is the first song that appears in the playlist.  I'm sure that reordering the songs on the iPod is useful, but to fix this in Foobar just took one line of code to sort the playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-30 11:59:01
Version 0.9.3 is now available (http://www.loodi.com/foo_pod.zip)

0.9.3 adds quite a few minor features, including some recently requested items.

Highlights include the Advanced Limiter is now applied to transcoded songs, when using Foobar 0.8.3 or higher.  Also, foo_pod now automatically sets default artist and/or album metadata items if they are not present, so you can always navigate to your songs on the iPod without having to go to the "All" view.  Also, the foo_pod playlist is automatically sorted when loaded, and if the playlist name is empty in the preferences, foo_pod will use either the iPodService device name or the Windows drive name. 

One big fix for some people is how foo_pod detects an iPod when iPodService is not available.  Previously, with certain kinds of flash card readers, foo_pod would cause message boxes to appear unless you forced the iPod drive.  This should now work as expected.  And the special bonus feature - you can now click on the checkbox text in the Smart Playlist Editor and control the checkbox (it doesn't work in the Preferences, because the controls don't line up correctly)...


From the Readme:
Code: [Select]
Version 0.9.3 - July 30, 2004
*  foo_pod now uses more directories to store music on the iPod, for better performance with a large number of files.

*  If Artist and/or Album metadata attributes aren't set when transferring a file to the iPod, foo_pod will set the artist to [Artist] and the album to [Album].  This allows all files to be browsed by artist/album on the iPod.

*  Modified the Nero AAC custom transcoder settings for better quality.

*  Sort the iPod playlist displayed in Foobar by the Artist/Album/Tracknumber/Title

*  The Foobar playlist name can now be automatically set to the iPod device name.  If "foo_pod Playlist Name" in the Preferences is empty, foo_pod will first try to find the device name via iPodService.  If that is not available, it will use the Windows drive name for the playlist.

*  Improved the iPod detection algorithm, so devices such as flash card readers won't cause a warning message box to appear, when the iPod drive letter is not set (i.e. auto detection).

*  Unset the hidden attribute on several directories on the iPod.  iTunes sets this, but it is unnecessary.

*  The Foobar Advanced Limiter will be applied to transcoded songs, to prevent clipping.  Note: due to a bug in Foobar2000, this feature only works on Foobar2000 0.8.3 and higher.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rmoody on 2004-07-30 18:34:10
Can someone please explain to me why the last two times I have updated foo_pod, when I try to update the information from a CUE file that it does not save it to the actual CUE file?  When I reload the database, all my changes are gone!  This is twice!  What's going on here?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-30 21:30:12
Quote
Can someone please explain to me why the last two times I have updated foo_pod, when I try to update the information from a CUE file that it does not save it to the actual CUE file?  When I reload the database, all my changes are gone!  This is twice!  What's going on here?

CUE sheet don't really work in foo_pod.  The reason is that to the Foobar SDK, they appear as a single file (someone correct me if I'm missing something).

On my long term list of things to do is adding real CUE sheet support.  It can be done, since the iPod allows you to set the starting and ending points in a song, so I can just transfer the audio once, and create n number of songs in the database with the correct start/stop times.  However, there is no functionality in the Foobar SDK to get the start/stop times for CUE sheet songs, so I would have to parse the CUE sheet myself.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-07-31 08:26:29
Aero,

I can definitely confirm 0.9.3 solves the problems I saw when I wasn't forcing a drive letter for my iPod.  Thanks for fixing that.

Now I'm trying to use the smart playlist editor with my 1st gen iPod, and fb2k 0.8.3, and I don't understand how it works.  Do I have to sync (and not send) playlists to my iPod for this to work?  Is it possible I'm missing something because I use the columns UI?  Any tips are appreciated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-31 09:14:20
Quote
I can definitely confirm 0.9.3 solves the problems I saw when I wasn't forcing a drive letter for my iPod.  Thanks for fixing that.

Cool!

Quote
Now I'm trying to use the smart playlist editor with my 1st gen iPod, and fb2k 0.8.3, and I don't understand how it works.  Do I have to sync (and not send) playlists to my iPod for this to work?  Is it possible I'm missing something because I use the columns UI?  Any tips are appreciated.

Short answer: just the act of creating a smart playlist in the SPL Editor and clicking Apply is all you need to do.


Long answer:
As soon as you click Apply in the Smart Playlist Editor, foo_pod creates the smart playlist(s) on the iPod.  Also, Smart Playlists aren't related to the regular playlists that get created when you send/sync a Foobar playlist.

If you have an iPod that doesn't support dynamic smart playlists (i.e. a 1st or 2nd generation iPod), a smart playlist is emulated by applying the smart playlist rules to the songs on your iPod, and creating a regular playlist.  This is done automatically whenever needed (i.e. you add or remove songs), so you don't have to do anything special to make it work. 

In theory, smart playlists should work almost the same on a 1st or 2nd gen iPod as they do on later models, but I don't have an earlier iPod to test this on.  I believe that it works in general, although there are bound to be some bugs in how the smart playlist rules are emulated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-07-31 10:57:54
Is there a plugin for rating songs in foobar? I can't find anything in the context menu... I want my smartlists to be based on the ratings, and if I understand correctly I should be able to sort of make smartlists directly in foobar too, with the Extended Playlist Editor?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-07-31 13:17:40
Quote
Is there a plugin for rating songs in foobar? I can't find anything in the context menu... I want my smartlists to be based on the ratings, and if I understand correctly I should be able to sort of make smartlists directly in foobar too, with the Extended Playlist Editor?
[a href="index.php?act=findpost&pid=230526"][{POST_SNAPBACK}][/a]


Ah, I found Quick Tag, solved this problem swiftly.

Does "Delete All iPod Music And Playlists" format the whole iPod, or only remove the database and the music files in it? I ask because I use the iPod for disk storage, so I don't want it all to be gone. What I want is to clear the database. I have already removed all music files from I:\Ipod_control\Music\*.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-31 20:09:05
Quote
Does "Delete All iPod Music And Playlists" format the whole iPod, or only remove the database and the music files in it? I ask because I use the iPod for disk storage, so I don't want it all to be gone. What I want is to clear the database. I have already removed all music files from I:\Ipod_control\Music\*.

Delete All deletes all music (the iPod_Control\Music directories) as well as the database file and other associated files from iPod_Control\iTunes.  Otherwise, nothing else is deleted, so as long as your data isn't in the music directories, you're safe.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2004-07-31 20:25:45
Hey Aero,

Nice going with foo_pod. I like the way it's coming  ! My question is: Is there a way to send a playlist to the iPod without sending the music that's in the playlist? Like, I have a playlist that I made in foobar. I'd like to put that playlist on my iPod and the music is already on there. Is there a way, and if so, how do I put it on my iPod?

Thanks!

-Tristan
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-07-31 21:09:40
Quote
Nice going with foo_pod. I like the way it's coming  ! My question is: Is there a way to send a playlist to the iPod without sending the music that's in the playlist? Like, I have a playlist that I made in foobar. I'd like to put that playlist on my iPod and the music is already on there. Is there a way, and if so, how do I put it on my iPod?

Thanks!

foo_pod won't transfer duplicate songs, so if they are already on the iPod, sending them again won't hurt.  What this means is you can have Song A in Foobar Playlists 1 and 2, and if you send both playlists to the iPod, Song A will be copied once, but still appear in both playlists on the iPod.

So if you want to create an iPod playlist, just create a Foobar playlist and fill it up with the songs you want, then select Send Current Playlist To iPod.  foo_pod will create an iPod playlist of the same name and copy files as needed.


I admit that this is somewhat confusing, but it is the best that I can do with the Foobar interface.  Once the playlist editor is complete, creating and manipulating playlists will be much simplier.
Title: foo_pod - Foobar2000 meets the iPod
Post by: BUSH on 2004-08-03 02:05:53
I've just got an 4G ipod and foo_pod is just the sort of software i love, nice and simple, especially since i stopped using itunes. I have a couple of questions though:


1.Is it possible to rename the smart playlists that you can create using foo_pod

2. Will it be possible to delete playlists that have been created on the ipod, as i have a couple on there i would like to get rid of and i really dont want to load up itunes.

3. If i transfer files on to the ipod does it also transfer the play_count data from my pc?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-03 02:29:49
Quote
1.Is it possible to rename the smart playlists that you can create using foo_pod

Yes, just select the smart playlist you wish to rename with the left mouse button, wait about a second, and click it again.  It works the same as renaming files in Windows Explorer.

Quote
2. Will it be possible to delete playlists that have been created on the ipod, as i have a couple on there i would like to get rid of and i really dont want to load up itunes.

It isn't currently possible to delete regular playlists, but as soon as I complete the general Playlist Editor, you will be able to create, rename, and delete regular and smart playlists.

Quote
3. If i transfer files on to the ipod does it also transfer the play_count data from my pc?

No, foo_pod does not currently support transferring play counts from the PC to the iPod (it does transfer from the iPod to the PC, though).
Title: foo_pod - Foobar2000 meets the iPod
Post by: BUSH on 2004-08-03 15:55:42
Quote
No, foo_pod does not currently support transferring play counts from the PC to the iPod (it does transfer from the iPod to the PC, though).



Does it mean that the total shown on foobar is a cumlative total for times played on pc + times played on ipod eg:

Play a song on pc 10 times -> transfer to ipod and play 3 times -> connect ipod to back to pc:

Does play_count on foobar for the version kept on the pc show:

13 times ( pc play_count + ipod play_count)

or

3 times ( Ipod playcount overwriting pc playcount data)


sorry if thats not very clear
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-04 02:10:12
Quote
Does it mean that the total shown on foobar is a cumlative total for times played on pc + times played on ipod eg:

Play a song on pc 10 times -> transfer to ipod and play 3 times -> connect ipod to back to pc:

Does play_count on foobar for the version kept on the pc show:

13 times ( pc play_count + ipod play_count)

or

3 times ( Ipod playcount overwriting pc playcount data)

In your example, foo_pod would report (in the IPOD_PLAY_COUNT metadata item, so it wouldn't overwrite any other component's metadata) that the song had been played 3 times.  I purposefully made it so that foo_pod would only consider songs that had been played on the iPod itself, since Foobar doesn't store the play count without an optional component.

But I'm willing to reconsider counting both iPod and Foobar plays, if people think that is the right thing to do (I noticed that iTunes seems to count plays in both iTunes and on the iPod).
Title: foo_pod - Foobar2000 meets the iPod
Post by: ndrake on 2004-08-05 06:18:51
Quote
Version 0.9.3 is now available (http://www.loodi.com/foo_pod.zip)

Great release! Thanks for including my idea about sorting the files read from the ipod db. 

I'd like to chime in that it would be nice if foo_pod had an option to work in concert with the playcount plugin to maintain the number of times you've played a song in foobar and the ipod.  It would make the playcount actually useful for someone like me who plays music more on the ipod than at home.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-08-05 12:09:25
Quote
But I'm willing to reconsider counting both iPod and Foobar plays, if people think that is the right thing to do (I noticed that iTunes seems to count plays in both iTunes and on the iPod).
[a href="index.php?act=findpost&pid=231644"][{POST_SNAPBACK}][/a]


Quote
I'd like to chime in that it would be nice if foo_pod had an option to work in concert with the playcount plugin to maintain the number of times you've played a song in foobar and the ipod.  It would make the playcount actually useful for someone like me who plays music more on the ipod than at home.
[a href="index.php?act=findpost&pid=232046"][{POST_SNAPBACK}][/a]


Yeah I can't really understand why the playcount from foobar2000 isn't counted in either. It would be the only sensible and semantically correct thing to do, as it would reflect many times the file actually has been played. Also, if iTunes does it, I think there should be no question that this is the way things should be done.

Or, alternatively, a preferences item to choose between them: "iPod count, foobar2000 count, or both"
Title: foo_pod - Foobar2000 meets the iPod
Post by: Espique on 2004-08-05 13:55:27
hi,

the readme for 0.9.3 talks about improvements with the NERO encoder presets for transcoding. I can't find that anywhere in the config. The config only has lame and faac. ???   

thanks,
sascha
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2004-08-05 15:31:39
Quote
Yeah I can't really understand why the playcount from foobar2000 isn't counted in either. It would be the only sensible and semantically correct thing to do, as it would reflect many times the file actually has been played. Also, if iTunes does it, I think there should be no question that this is the way things should be done.

Or, alternatively, a preferences item to choose between them: "iPod count, foobar2000 count, or both"
[a href="index.php?act=findpost&pid=232122"][{POST_SNAPBACK}][/a]


I totally second (third) this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-06 03:48:38
Quote
the readme for 0.9.3 talks about improvements with the NERO encoder presets for transcoding. I can't find that anywhere in the config. The config only has lame and faac. ???

The preconfigured presets are only for LAME and FAAC, but you can use just about any command line encoder with the Custom Encoder Settings options.

To use Nero's AAC encoder, first you need put a copy of  NAACEnc (http://www.rarewares.org/files/aac/NAACEnc.zip) in your Foobar2000 directory. Then go to the foo_pod Transcoder preferences, select Use Custom Encoder, and click the settings button. 

This image (http://www.hydrogenaudio.org/forums/index.php?act=Attach&type=post&id=796) demonstrates how you should set the settings for use with NAACEnc (you can modify the "-internet -qf" part depending on your encoding quality choice).

For the next version of foo_pod, I might add a set of radio buttons to choose between FAAC and Nero, now that a good command line interface for Nero is available.  Or maybe just squeeze some Nero defaults in there as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-08-06 18:24:29
Quote
For the next version of foo_pod, I might add a set of radio buttons to choose between FAAC and Nero, now that a good command line interface for Nero is available.  Or maybe just squeeze some Nero defaults in there as well.
[a href="index.php?act=findpost&pid=232340"][{POST_SNAPBACK}][/a]


Why use commandline at all?  Why not use foo_nero diskwriter or similar and make it graphical?

+Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-06 20:34:37
Quote
Why use commandline at all?  Why not use foo_nero diskwriter or similar and make it graphical?

I could make it graphical (by that, I assume you mean have a progress dialog) with the current transcoder, at least for LAME and FAAC.

The reason I am using the command line interface is because it makes it easy for anyone to add support for a new encoder/interface (like NAACEnc).  Also, I personally use LAME, FAAC, and NeroAAC, which would mean that I would have to interface with 3 separate libraries as opposed to having a single piece of code that works with everything today and in the future.
Title: foo_pod - Foobar2000 meets the iPod
Post by: overthink on 2004-08-09 04:50:21
Hi there,

First off: foo_pod is fantastic -- thank you Aero and any other developers who've been involved.  I wouldn't have bought my iPod were it not for this component -- Apple should be cutting you guys in.

I've been using foo_pod successfully for a month or so, but I still feel like I'm probably not using it "correctly".  That is, the standard use case is not obvious to me 

1) How are most people managing what's on the iPod?  Just via the "Load iPod Songs to Foobar 2000 Playlist" and then "deleting selected" and "send files to ipod" etc?

2) I had been syncing to a single playlist... but that smokes any smart playlists on the pod which is a bit annoying (though not terrible)

3) If I transfer a bunch of files to the iPod and then rate some of them on the (disconnected) iPod, is there a way to have those ratings automagically persisted back (when the pod is docked) to the source files in my main collection (as ID3 tags or something)?  Same goes for things like play count, last played, etc...

Ideally meta info would live on in the actual source mp3 file on my HDD (as opposed to only on the ipod), thus allowing me to wipe the ipod clean periodically but not lose ratings and other meta info.

Technical question: how does the iPod determine sameness in files?  If I try to copy the same track to the pod twice, obviously it doesn't make two copies of it.  Is it hashed, or based on tags, or filename, or something else?

If these are answered somewhere else in this (long) thread, I apologize, but I wasn't able to find them.

Any input or suggestions is appreciated -- Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-08-11 08:07:01
First of all, apologies for this OT message.

I have just received a new 20G click-wheel iPod and I'm looking for a general advice about how to get the most out of it (and this is the place I trust most for this kind of question ).

I'd like to use it as portable MP3 player (of course) and to transfer data between office/home PCs (Win2k/XP-Pro, USB2.0).

1) What are the *minimum* SW requirements? I'd stay away from iTunes, if possible, and use Fb2k/foo_pod: what other program (if any) is needed?

2) Can I have both functions (player and data repository) at the same time or are they mutually exclusive?

3) I'll read with interest any suggestion or comment from you and pointers to *good* source of information on the subject.

Thanks for your time.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-08-12 22:11:46
You only need foobar/foo_pod.

You can use the player while copying files to the Ipod.

This thread is actually a pretty good place to read up on how the Ipod works.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-08-13 11:21:55
Thanks for your reply Mike.

> You only need foobar/foo_pod.

That's good news: had a look at iTunes and quickly got rid of it... brrr...

> This thread is actually a pretty good place to read up on how the Ipod works.

Well, sure... but it's a bit time consuming (and perhaps too "technical" for me): guess I'm looking for a "foo_pod for dummies" guide .

Anyway, I'll tinker about with it for a while and try to figure out its basic features.

Regards.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-08-14 10:34:27
Hi again!

Congrats to Aero, Otto and everybody here for this great plugin!

It's really simple to use and quite fast.

Now a few questions:

1) In Preferences / iPod Service tab: Device Name, Owner's Name and Enable Disk Mode are empty and greyed out: is this normal? And is Stop iPod Service on Exit recommended or should I leave it unchecked?

2) I set foobar to write APEv2 and ID3v1 tags, but some files contain old ID3v2 tags too: foo_pod, if I'm not mistaken, seems to be using the latter to write info in iPod db. Is it possible to set foo_pod so that it uses APEv2/ID3v1 first?

3) What is the Enable Sync checkbox? I tried checking it but I see no difference...

Thanks.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-14 20:58:29
Quote
Congrats to Aero, Otto and everybody here for this great plugin!

It's really simple to use and quite fast.

Thanks!

Quote
1) In Preferences / iPod Service tab: Device Name, Owner's Name and Enable Disk Mode are empty and greyed out: is this normal? And is Stop iPod Service on Exit recommended or should I leave it unchecked?

That probably means that you don't have iTunes/iPod Service installed, or iTunes is already running when you start Foobar2000.  iPodService is necessary to utilize those features, but foo_pod works perfectly well without it.

I would recommend setting Set iPodService on Exit unchecked, but if you don't have it installed in the first place, it won't do anything.


Quote
2) I set foobar to write APEv2 and ID3v1 tags, but some files contain old ID3v2 tags too: foo_pod, if I'm not mistaken, seems to be using the latter to write info in iPod db. Is it possible to set foo_pod so that it uses APEv2/ID3v1 first?

foo_pod gets the metadata information directly from Foobar, and never directly accesses tag information.  So your problem really is with Foobar, and how to get it to use APEv2/ID3v1 tags instead of ID3v2.

Quote
3) What is the Enable Sync checkbox? I tried checking it but I see no difference...

After too many people accidently wiped out their iPods because they didn't understand how the Sync Current Playlist/Sync All Playlists features worked, I added that checkbox to ensure that the user had to explicitly enable the sync features (and read/ignore a short message explaining how they work).  So if that checkbox is not checked, you won't see the Sync Current/All Playlist options in the foo_pod menu.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-08-15 08:47:53
Thanks for taking time to reply, Aero.
Quote
That probably means that you don't have iTunes/iPod Service installed, or iTunes is already running when you start Foobar2000.  iPodService is necessary to utilize those features, but foo_pod works perfectly well without it.

I would recommend setting Set iPodService on Exit unchecked, but if you don't have it installed in the first place, it won't do anything.
Well, as I said I tried iTunes but soon uninstalled it. In task manager, though, I still see an iPodService running: are you saying I don't need it at all? Is it perhaps necessary only for firmware update or iPod format/reset?
Quote
foo_pod gets the metadata information directly from Foobar, and never directly accesses tag information.  So your problem really is with Foobar, and how to get it to use APEv2/ID3v1 tags instead of ID3v2.
Not sure I understand: does it mean that there's no solution to this problem or are you implying I'm not using foobar correctly?
Quote
After too many people accidently wiped out their iPods because they didn't understand how the Sync Current Playlist/Sync All Playlists features worked, I added that checkbox to ensure that the user had to explicitly enable the sync features (and read/ignore a short message explaining how they work).  So if that checkbox is not checked, you won't see the Sync Current/All Playlist options in the foo_pod menu.
But after checking it I still couldn't see those options: I'll check again as soon as I'm back to work.

One more thing: I suspect my home PC has USB V1 (when I connect the iPod it warns me about a high speed device being connected to a low speed hub, or something like that). I have no problem accessing it through Windows Explorer, but in foobar I don't see the iPod playlist (as in my office PC) and if I send the same song multiple times it doesn't raise an error. I therefore suspect foo_pod should not be used with USB V1: is that correct?

Regards.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-08-15 23:27:49
Quote
Well, as I said I tried iTunes but soon uninstalled it. In task manager, though, I still see an iPodService running: are you saying I don't need it at all? Is it perhaps necessary only for firmware update or iPod format/reset?

iPodService isn't really necessary at all. If you install the iPod Firmware Updater software, it will get installed. Basically, if you install iTunes or any Apple iPod related software, it gets installed. foo_pod can use it if it's there, but it doesn't need to be there. Realistically, it doesn't make any difference whether it's there or not.

Quote
Not sure I understand: does it mean that there's no solution to this problem or are you implying I'm not using foobar correctly?

I think he's not implying it so much as he's flat out stating it.

foo_pod doesn't care what kind of tags you use because it doesn't access the tags directly. It simply accesses foobar's information, which can come from APE, ID3v1, ID3v2, whatever. If foobar says that the name of a song is "Big Empty" then foo_pod accepts that as the word from god. Where foobar gets that information from is not up to foo_pod. So if you're getting the wrong info into the iPod, the problem is that you have something set badly in foobar itself.

Quote
One more thing: I suspect my home PC has USB V1 (when I connect the iPod it warns me about a high speed device being connected to a low speed hub, or something like that). I have no problem accessing it through Windows Explorer, but in foobar I don't see the iPod playlist (as in my office PC) and if I send the same song multiple times it doesn't raise an error. I therefore suspect foo_pod should not be used with USB V1: is that correct?

No, that's not correct. foo_pod treats the iPod as a drive letter. It doesn't care how it's connected because all foo_pod is doing, really, is writing data to and from a drive. Now it does interface somewhat to the iPodService, which does more than that, but it doesn't have to do so. If you remove the iPodService, some of the problems might go away. Or not. It's not an easy thing to say without trying different configs to see what works.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-08-16 08:40:11
Hi Otto, thx for joining!
Quote
iPodService isn't really necessary at all. If you install the iPod Firmware Updater software, it will get installed. Basically, if you install iTunes or any Apple iPod related software, it gets installed. foo_pod can use it if it's there, but it doesn't need to be there. Realistically, it doesn't make any difference whether it's there or not.
Well, the service starts as soon as I connect the iPod and I wasn't able to stop it manually. Not a big deal anyway, I suppose I can live with it.
Quote
I think he's not implying it so much as he's flat out stating it.

foo_pod doesn't care what kind of tags you use because it doesn't access the tags directly. It simply accesses foobar's information, which can come from APE, ID3v1, ID3v2, whatever. If foobar says that the name of a song is "Big Empty" then foo_pod accepts that as the word from god. Where foobar gets that information from is not up to foo_pod. So if you're getting the wrong info into the iPod, the problem is that you have something set badly in foobar itself.
I always grant the benefit of the doubt, just in case...

The only setting I'm aware of is Standard inputs --> MP3 tag writing (where, as I said earlier, I selected "APEv2 and ID3v1"). I also (recently) checked "remove ID3v2 tags while updating", but some MP3s still contains old v2 tags. I understand this is OT here, but can you tell me where/what to change in foobar to solve my little problem? Or maybe I should remove ALL ID3v2 tags from my files? If so, can this task be automated somehow (masstagger or some other tool)?

Cheers.

Alessandro

PS: I confirm I can't find the Sync options: are they supposed to be accessed via the right-click/foo_pod menu or should I look elsewhere?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-08-16 18:57:32
Quote
PS: I confirm I can't find the Sync options: are they supposed to be accessed via the right-click/foo_pod menu or should I look elsewhere?
Geez! Found it. Now I feel really stupid! 

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-08-16 19:46:19
Quote
Quote
PS: I confirm I can't find the Sync options: are they supposed to be accessed via the right-click/foo_pod menu or should I look elsewhere?
Geez! Found it. Now I feel really stupid! 
[a href="index.php?act=findpost&pid=234871"][{POST_SNAPBACK}][/a]


Ahh, but not as bad as you'll feel if you destroy some music on your iPod by not fully understanding sync.  Think of it this way: syncing will replace everything on your ipod except what you're syncing, whether its a single playlist or multiple playlists.

Used properly, it can be helpful.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Pootle_1 on 2004-08-19 16:22:18
foo_pod playlist displaying wrong information.

I use Anapod Explorer to add songs to my iPod.  For indexing purposes Anapod changes the MP3 filename to XXXX.mp3, for example 4685.mp3.  But it keeps all the tag information in the file - you can verify this by finding an ANapod file on the iPod in Explorer and dragging it to your harddisk. MP3 tags are preserved.

When I first do "Load iPod songs to Foobar2000 playlist" the song information is all displayed correctly and can be read with "Properties".

However if I use the iPod playlist to actually play files from the iPod, the filename of the track being played appears in the playlist and all "Properties" information disappears.  It can be restored by selecting "Load iPod songs to Foobar2000 playlist" again.

Apologies if this has been posted before - I couldn't find any relevant info in this thread.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Pootle_1 on 2004-08-19 17:32:04
Quote
foo_pod playlist displaying wrong information.


Answering my own question...

It's because I have used MP3Gain on the files, which stores MP3Gain and Replaygain information in an APE header.  When foobar2000 finds an APE header, it doesn't look for any more information in any other headers.

This is a shame because it limits foobar.  Plenty of people will have used MP3Gain on gigabytes of MP3s before they started using foobar.

I guess when foo_pod gets data from the iPod it gets it from the iTunes database on the iPod.  The information used to build this database HAS used all the available headers.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Pootle_1 on 2004-08-20 14:00:08
foo_pod doesn't transfer ID3 data to iPod if APE tags exist in source file

Please excuse my many postings to this forum - I've just found foo_pod and I'm
very keen on it. But last night I used foo_pod in anger and found another
problem, which stems from the same root cause as my previous posting ("foo_pod
playlist displaying wrong information")

On my PC I have thousands of MP3s which I ReplayGained using MP3Gain.  MP3Gain
adds an APE tag with ReplayGain data. 

Because foo_bar will only read APE tags if a file has them - ignoring all other
tags - files added to a playlist for sending to iPod do not have ID3 data. When
these files are sent to the iPOd with foo_pod, artist/abum/track/title ID3 data
is not sent.  They do not appear correctly on the iPod - they appear all mixed
up in one huge directoy called [Artist].

I can't see a way around this unless foo_bar can be persuaded to send ALL tag
data to foo_Pod.

Any ideas?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-20 15:28:47
Quote
On my PC I have thousands of MP3s which I ReplayGained using MP3Gain.  MP3Gain adds an APE tag with ReplayGain data. 

Because foo_bar will only read APE tags if a file has them - ignoring all other
tags - files added to a playlist for sending to iPod do not have ID3 data. When
these files are sent to the iPOd with foo_pod, artist/abum/track/title ID3 data
is not sent.  They do not appear correctly on the iPod - they appear all mixed
up in one huge directoy called [Artist].

I can't see a way around this unless foo_bar can be persuaded to send ALL tag
data to foo_Pod.


You might want to ask about the APE vs. ID3 tag issue on the General or Support forums.  I don't have any control over how Foobar2000 obtains the metadata, although theoretically, I could parse the ID3v1 tags directly in foo_pod and optionally use that data.  Still, this is really a Foobar problem, so I'd like to see if addressed there.

I don't know how to make Foobar read both sets of tags, but one solution would be to find a program that can fill in the APE metadata values based on the ID3v1 tag.  Maybe Foobar can do this with MassTagger...I'm not sure.  Ultimately, you might just want to strip the ReplayGain out of your files using Foobar2000->ReplayGain->Remove Replaygain info from files, then recalculate it using Foobar.  I have done something like that myself, and although it can take a long time to complete (depending on the number of songs and speed of your computer), it does work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-08-20 20:22:55
Quote
foo_pod doesn't transfer ID3 data to iPod if APE tags exist in source file

Please excuse my many postings to this forum - I've just found foo_pod and I'm
very keen on it. But last night I used foo_pod in anger and found another
problem, which stems from the same root cause as my previous posting ("foo_pod
playlist displaying wrong information")

On my PC I have thousands of MP3s which I ReplayGained using MP3Gain.  MP3Gain
adds an APE tag with ReplayGain data. 

Because foo_bar will only read APE tags if a file has them - ignoring all other
tags - files added to a playlist for sending to iPod do not have ID3 data. When
these files are sent to the iPOd with foo_pod, artist/abum/track/title ID3 data
is not sent.  They do not appear correctly on the iPod - they appear all mixed
up in one huge directoy called [Artist].

I can't see a way around this unless foo_bar can be persuaded to send ALL tag
data to foo_Pod.

Any ideas?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=235795")


Remove the APEv2 tags and then complain to the author of MP3gain for mucking up your files.  Plugins have no control over what tag type gets read, and Peter has said he doesn't plan on dealing with files that have conflicting tag data because there is no way to consistantly tell which tag should be read.

Edit:  This thread explains some of the problem:
[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=15964&hl=mp3gain]http://www.hydrogenaudio.org/forums/index....5964&hl=mp3gain[/url]

After reading that, I think the best solution would be to get Peter to allow the user to manually set the tag priority, so that people who are useing mp3gain can set ID3v2 higher then APEv2.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Pootle_1 on 2004-08-23 10:11:54
Quote
foo_pod doesn't transfer ID3 data to iPod if APE tags exist in source file

Edit:  This thread explains some of the problem:
http://www.hydrogenaudio.org/forums/index....5964&hl=mp3gain (http://www.hydrogenaudio.org/forums/index.php?showtopic=15964&hl=mp3gain)

This thread also has further information, and a reply from Snelg (the author of
MP3Gain and a foobar fan) explaining why MP3Gain was coded in that way

http://www.hydrogenaudio.org/forums/index....opic=21730&st=0 (http://www.hydrogenaudio.org/forums/index.php?showtopic=21730&st=0)
Title: foo_pod - Foobar2000 meets the iPod
Post by: =trott= on 2004-08-24 23:01:53
Hey all,


I think I've managed to read through most of this thread, but haven't yet found how to delete files from the ipod, without using the sync feature. As a side remark, when you use smart playlists is it normal that randomization always seems to randomize in the same way? I have created 2 smart playlists. When I play either of them, they successfully select only the songs matching the criteria, but though my ipod is in shuffle mode I always seem to hear the same songs...

Otherwise a great job on the plug-in!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-08-24 23:59:18
I'm not at a computer with foo_pod loaded right now, but I believe you can just right click the song, choose the foo_pod menu and choose "remove from iPod".
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-25 03:26:48
Quote
I think I've managed to read through most of this thread, but haven't yet found how to delete files from the ipod, without using the sync feature.

As Lew_Zealand mentioned, just Load the iPod playlist, then you can select the file(s) you want to delete and select "Delete file(s) from iPod".


Quote
As a side remark, when you use smart playlists is it normal that randomization always seems to randomize in the same way? I have created 2 smart playlists. When I play either of them, they successfully select only the songs matching the criteria, but though my ipod is in shuffle mode I always seem to hear the same songs...

That is the iPod's fault - foo_pod is just telling it to randomize the songs included in the smart playlist, and it is up to the iPod to do the randomization.  I (and others) have noticed that the iPod's randomizer is fairly repeatitive.
Title: foo_pod - Foobar2000 meets the iPod
Post by: metamorphoise on 2004-08-25 04:48:58
hi, new ipod/foo_pod user here

one thing that irritates me about ipod is the handling of various artist albums, because i browse by genre>artist on the ipod theres like a bazillion artists with just one song from a VA album.
my tags are like this: %various%='rebirth of cool', %artist%='smoke city' %title%='underwater love'

i wonder, would it be possible to give foo_pod the option to parse the tag info like this....?
if %various% exists, write %various% to the artist field in ipodDB and write %artist%~%title% in the title field in ipodDB

anyway, thanks for the great plugin, soo much better than having to deal with itunes
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-26 03:51:04
Quote
one thing that irritates me about ipod is the handling of various artist albums, because i browse by genre>artist on the ipod theres like a bazillion artists with just one song from a VA album.
my tags are like this: %various%='rebirth of cool', %artist%='smoke city' %title%='underwater love'

i wonder, would it be possible to give foo_pod the option to parse the tag info like this....?
if %various% exists, write %various% to the artist field in ipodDB and write %artist%~%title% in the title field in ipodDB

anyway, thanks for the great plugin, soo much better than having to deal with itunes

Thanks!

I have, as a long term subproject, to add scripting support to foo_pod, so you could dynamically change the metadata stored in the iPod database, as you are suggesting.

foo_pod currently does support an alternate set of metadata, mostly to support people with tags in non-Latin based languages (that don't display well on the iPod). 

In the preferences, there is an item called "Alternate Metadata Prefix".  What that does is instructs foo_pod to look for metadata starting with that value (POD_ by default), and use that instead of the regular metadata.  So for example, if you have a song with ARTIST set to "The Artist" and POD_ARTIST set to "Various Artists", foo_pod will write "Various Artists" to the iPod database, and the song will show up as Various Artists on the iPod. 

So all you need to do is find a program that you can transfer the tags to POD_* (foo_pod supports TITLE, ARTIST, ALBUM, GENRE, COMMENT, COMPOSER, and TRACKNUMBER  for use with the alternate metadata prefix).  I think Foobar's MassTagger can do this, but I only have limited experience using it, so I'm not sure.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-08-26 04:08:52
Aero,

Any news on the Playlist Generator front?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-26 04:26:09
Quote
Any news on the Playlist Generator front?

Unfortunately, I haven't had any free time in the past 3 weeks in order to seriously work on foo_pod.  I'm close to finishing up a contract, so after that is complete, I'll hopefully have some cycles to put into foo_pod. 

But before this latest rush, I was able to get a really good start on CUE sheet parsing and some work on the Playlist Editor.  I was able to get playlist renaming, adding, and deleting hooked up, but I had some problems adding support for dragging Foobar songs to build a playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mj-barton on 2004-08-27 01:22:46
I have to suggestions that would signifcantly increase my use for the iPod.

1.  Allow foo_pod to have an Auto-Update function where it compares the music files stored on iPod to those in the Album List database.  I think would be a very simple function to create.

2.  I like the idea of browsing my audio collection on my hard-drive with the album list.  An "album list" for the iPod it makes managing my iPod a lot easier then scrolling through a huge playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-08-27 04:42:01
Quote
1.  Allow foo_pod to have an Auto-Update function where it compares the music files stored on iPod to those in the Album List database.  I think would be a very simple function to create.[a href="index.php?act=findpost&pid=237260"][{POST_SNAPBACK}][/a]


Why not just create a playlist of your album list, and sync with that?
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-08-29 21:09:42
Quote
2.  I like the idea of browsing my audio collection on my hard-drive with the album list.  An "album list" for the iPod it makes managing my iPod a lot easier then scrolling through a huge playlist.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=237260")


Is this what you're looking for? [a href="http://www.foobar2000.org/foo_albumlist.zip]http://www.foobar2000.org/foo_albumlist.zip[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: hermit22 on 2004-08-31 18:14:18
First off, many thanks for a great product.  It does almost anything I can think of.

I did run into a really weird problem recently, though.  I looked through the past 5 pages or so of this thread and didn't find anything on it.

A majority of my music is full albums FLAC'd and then Matroska'd.  With iTunes, I would just transcode it to mp3, load those files and copy them over.  I figured that the transcode feature of foo_pod would allow me to skip this step.  However, when I highlight such an album and select Send Files to iPod in the right context menu, it only transcodes the first song and then quits as if it was all done.

Is this expected behavior?  Am I doing something wrong?

Any help would be appreciated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-08-31 19:29:22
Quote
A majority of my music is full albums FLAC'd and then Matroska'd.  With iTunes, I would just transcode it to mp3, load those files and copy them over.  I figured that the transcode feature of foo_pod would allow me to skip this step.  However, when I highlight such an album and select Send Files to iPod in the right context menu, it only transcodes the first song and then quits as if it was all done.

Is this expected behavior?  Am I doing something wrong?


I'm not very familiar with Matroska, but I believe it is a container format that bundles up an entire album as a single file and has something like a cue sheet to present individual songs, correct? 

The problem is that Foobar doesn't do a very good job with such formats, and it looks like a single file to components like foo_pod.  I was/am working on support for cue sheets, but for right now, you will just get a single song.

So you aren't doing anything wrong, and I'll need to add support for such formats in the future.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nchase on 2004-09-10 13:20:12
I really like foo_pod. Whenever I use it however, I have to go into iTunes and delete the playlist that is created in order to be able to view my songs on the iPod. If I don't delete that playlist, nothing is visible. As soon as I delete it, everything works. Perhaps someone could point me in the right direction? I'd appreciate it 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-11 02:00:24
Quote
I really like foo_pod. Whenever I use it however, I have to go into iTunes and delete the playlist that is created in order to be able to view my songs on the iPod. If I don't delete that playlist, nothing is visible. As soon as I delete it, everything works. Perhaps someone could point me in the right direction? I'd appreciate it 

That's pretty weird...I can't ever recall seeing that or hearing someone else report it.  Apparently you can reproduce it, so the next time it happens, please select the "Export iTunesDB As XML" option in the foo_pod menu, zip up the XML, and email it to me so I can see if I can see what is going on.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-13 09:59:43
I've just finished reading through this entire thread.  Whew, that was long but very informative.

First off, I'd like to say a big thanks! to Areo (and Otto42) for all of the hard work.  I've almost completely replaced iTunes on my 4thGen 20GB.

I record talk radio on my PC and transcode the shows into M4A format.  I would like to "convert" these to M4B so I can use bookmarks and faster playback.  Unfortunately the stars aren't quite in alignment for this to work with FooBar+foo_pod. 

I am currently using iTunes to load the M4B files onto the iPod.  Once they are there, foo_pod does a great job with them.

What I would love to see is a command in foo_pod that would convert an existing M4A file into M4B.  To do this it would rename the filename on the iPod and then update the ipod database to reflect the file name change.  This would allow me to use foobar to place the files on the iPod and switch them over to M4B without having to involve iTunes.

I've tried to do it manually, but there doesn't seem to be any way to re-import an XML export so I'm kind of stuck.

Thanks again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-13 15:48:53
Quote
I record talk radio on my PC and transcode the shows into M4A format.  I would like to "convert" these to M4B so I can use bookmarks and faster playback.  Unfortunately the stars aren't quite in alignment for this to work with FooBar+foo_pod. 

...

What I would love to see is a command in foo_pod that would convert an existing M4A file into M4B.  To do this it would rename the filename on the iPod and then update the ipod database to reflect the file name change.  This would allow me to use foobar to place the files on the iPod and switch them over to M4B without having to involve iTunes.

Hmmm...I have never used bookmarking on the iPod, but this article (http://www.ipodlounge.com/articles_more.php?id=3233_0_8_0_M) seems to back up what you are saying about just changing the file extension to "m4b " (with a space on the end).  I'll look into it more tonight, but since you mentioned that you are already transcoding, try this:

Go to the foo_pod Preferences, Transcoder tab.  Then select custom encoder, and (assuming you are using FAAC), set it as follows:

  Encoder: faac.exe
  Extension: m4b      (remember the trailing space(?))
  Parameters: -q75 -w - -o %d
  Format is: lossy
  Highest BPS: 24
  Tag: default

(you can put whatever you want for the -q (quality) setting, but -q 75 or lower would seem to be appropriate for voice recordings).

Now when you transcode your recordings, use the custom encoder and it will write out m4b songs and database entries.  I can't test it right now, but it if the article is correct, this method should work.  It won't change the recordings you already have on your iPod, though, so I might still do a context menu function where you can select one or more m4a songs on your iPod and convert them to m4b.  The only problem is that Foobar isn't set up to treat m4b as audio files, so you won't be able to play them back in Foobar.


Quote
I've tried to do it manually, but there doesn't seem to be any way to re-import an XML export so I'm kind of stuck.

Yeah, I have been meaning to implement that.  Originally, I was just going to do it so you could import smart playlist settings, but I decided it might be useful to have a complete import functionality.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-09-13 23:57:57
Hey Aero. Can you include in the next version a transcoded file processing abilities similar to the diskwriter's like passing files through the DSP and, more importantly, imposing ReplayGaining (dock line out doen't have Sound Check in the 3G as you know)? I bet you can just borrow that code from the diskwriter source like you borrowed code (the whole code even  ) from the clienc file writer.
I plan to retransfer files to my iPod, transcoding them all so I figured I'd wait for these features first.

So how's that contract going? Profitable? I don't wanna sound pushy, but when do you think you would resume work on foo_pod? I understand that paying programming jobs would be way up higher on the list, but I'm just wondering if you have any foresight into how long it would be.

Thanks again for all the work you put into this wonderful plugin. Not a single iPod interfacer even comes close to it. Apple ought to get a contract with you before they loose you to those other guys who have a contract with you.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-14 05:58:02
Quote
Hey Aero. Can you include in the next version a transcoded file processing abilities similar to the diskwriter's like passing files through the DSP and, more importantly, imposing ReplayGaining (dock line out doen't have Sound Check in the 3G as you know)? I bet you can just borrow that code from the diskwriter source like you borrowed code (the whole code even  ) from the clienc file writer.
I plan to retransfer files to my iPod, transcoding them all so I figured I'd wait for these features first.

Actually, there is already a DSP filter that is applied by default - Advanced Limiter.  So I really just need to hook up a GUI to control the DSP filters applied during transcoding.  I considered it for the last release, but other than a limiter, there aren't many DSP filters that are useful (maybe EQ or Crossfeed being the exceptions).  So maybe I'll hook just those up, for simplicity.  ReplayGain could also be hooked up without much trouble, although a ReplayGain -> Volume conversion might be more useful, since it would be effective on both transcoded and normal files.

Quote
So how's that contract going? Profitable? I don't wanna sound pushy, but when do you think you would resume work on foo_pod? I understand that paying programming jobs would be way up higher on the list, but I'm just wondering if you have any foresight into how long it would be.

I'm actually just wrapping up a contract, so I'm enjoying a little extra free time right now.  But for what it is worth, stepping back from working on foo_pod has given me some different insights needs to be done.

As for a timeframe, I can't really say - although next week is looking promising.  I'd like to get a few more features in, then call it a 1.0 release and decide where to go next.

Quote
Thanks again for all the work you put into this wonderful plugin. Not a single iPod interfacer even comes close to it. Apple ought to get a contract with you before they loose you to those other guys who have a contract with you.

Heh...that would be fun.  I'm sure I could hang out with Steve Jobs, tell him all of the deficiences in the iPod, how I would do it better, and get fired - all in the same day! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-14 06:25:51
Aero, thanks for your reply about using the transcoder to turn an m4a file into a m4b.  Also interesting that the article you referenced suggests using "m4b " and not "m4b".  I've been using "m4b" with i tunes for a few days already and its worked just fine.

I didn't want to transcode the files again (they've already been from wav to mp3 to aac) so I decided to take a short cut:

Encoder: xcopy.exe
Extension: m4b
Parameters: %s %d
Format is: lossless
Highest BPS: 16
Tag: default

For those following along at home, this ends up simply copying the temp file to another temp file with the magic m4b extention.  No transcoding needed and its very quick.

Now I only need to make sure I don't accidently leave transcoding aac files enabled when I do a big sync/copy.

Aero, any chance you could add another logic grouping to the transcoding section.  I'm thinking "Transcode AAC files below xxx kbps".  And maybe have it trigger a seperate script...

Or maybe adding "convert to m4b" action somewhere is easier?

Thanks again!
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-14 06:34:41
What is the state of maintaining "ratings", "number of plays", and "date last played" data when using foo_pod?

This thread has discussed it, but I'm not clear where it stands now.  Am I correct that these values are read from the iPod and added to the Foobar database, but not written out to the iPod on a sync?

Slightly OT...
What are the proper TAGZ codes to get "ratings", "number of plays", and "date last played" data in Foobar?  I'm using the Columns UI and I've added a column for %rating% which seemed to work okay, but I can't figure out the others.  Is there a big list of these somewhere?  I couldn't find one searching with goodle.
Title: foo_pod - Foobar2000 meets the iPod
Post by: BoneJazz on 2004-09-14 07:56:37
Firts: Kudos for developers of this great plugin!

Then my little issue; in the Smart Playlist Editor once I've pressed the Add Button, I cannot see any choice in two of the drop-down menu: I mean if I try to change "Artist" or "Contains" no drop-down choice is showed ("All", "Songs" and "Random" are working...).
Am I wrong in something or what?

I'm running foo_pod with f2k 0.8.3 on a wk2 SP3 machine

Thanks in advance for your support and I'm sorry for my bad english.

BoneJazz
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-09-14 13:13:47
Quote
there aren't many DSP filters that are useful (maybe EQ or Crossfeed being the exceptions).  So maybe I'll hook just those up, for simplicity.  ReplayGain could also be hooked up without much trouble, although a ReplayGain -> Volume conversion might be more useful, since it would be effective on both transcoded and normal files.


The EQ would be just fine. Figured it would be better to make it so you can just make your own DSP stack or to pass the files through the DSP stack configured in the DSP manager for personilization's sake, but if it's too time consuming to do it that way, just drop it and do only those DSPs which are important.
Apart from that, I'm not sure I understand this concept you talk of: "ReplayGain -> Volume coonversion." I don't know what you understood from what I wrote in my last post, but what I was thinking of is simply hard-encoding the RG calculations on the transcoded file's volume like diskwriter can do if you tell it to use RG in processing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-14 15:55:31
Quote
Apart from that, I'm not sure I understand this concept you talk of: "ReplayGain -> Volume coonversion." I don't know what you understood from what I wrote in my last post, but what I was thinking of is simply hard-encoding the RG calculations on the transcoded file's volume like diskwriter can do if you tell it to use RG in processing.

There are 3 ways (in general) to get ReplayGain corrections onto the iPod:

1. Permanently modify the audio file so that its volume is changed.  The advantage of this is that it will playback at the correct volume level on all players, even if they don't support ReplayGain.  The disadvantage is that the file is altered, and you can't switch off the ReplayGain adjustments on the iPod.

2. Use the SoundCheck database field in the iPod database.  This is nice because it is already implemented in foo_pod and it can be switched on/off as needed on the iPod.  The downside is that the SoundCheck adjustment isn't available through the Line Out  port on 3G iPods (it does work on 4G iPods, though).

3. Use the Volume database field in the iPod database.  The major differences between SoundCheck and Volume is that Volume can't be turned off, but it is effective through the Line Out port on 3/4G iPods. 


I don't currently have a way to map ReplayGain values to Volume values, but it shouldn't be too hard to work something out.  Once that is ready, it would just be another choice in the Preferences - to either apply ReplayGain corrections to the SoundCheck or Volume fields in the database.  Most people would want to use the SoundCheck entry, but if you have a 3G iPod and want ReplayGain through the Line Out, you would choose the Volume option.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-15 07:10:05
I did some experimentation with iPod bookmarks tonight, and had some interesting results.

First of all, I cleared up another entry in the iPod database (Otto, if you're out there, mhit::unk6 is the bookmark time, in milliseconds).  The really weird thing this database field is only used if the filename ends in ".m4b".  The exact same file, named ".m4a", with the exact same database entries doesn't make use of the bookmark.  Technically, this could work for any supported iPod audio format, but for whatever reason, Apple is restricting it to their "protected AAC" audio book format.

So while the good news is that I can create bookmarked in foo_pod, the bad news is, like I mentioned before, that Foobar isn't set up to handle .m4b files.  So my earilier suggestion to transcode to file extension "m4b" won't work, since Foobar can't update the metadata after transcoding, so the transcoding fails.  I added a temporary workaround in foo_pod to make this work for testing, but the real solution is to get Peter to add m4b to the list of supported file extensions in mp4_parser.cpp, or at least find someone to rebuild foo_input_std.dll, and add M4B to the list of extensions.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jarsonic on 2004-09-15 20:54:06
Aero -

What is error #76 or #78?  I get it on occasion (especially lately...) when trying to add music to my ipod using foo_pod - I have room to spare on the ipod, but it won't let me add more, citing that error.  Any ideas?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-15 21:08:41
Quote
What is error #76 or #78?  I get it on occasion (especially lately...) when trying to add music to my ipod using foo_pod - I have room to spare on the ipod, but it won't let me add more, citing that error.  Any ideas?

Would you post the relevant section of the Foobar console output, so I can see the error in context?
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-15 21:33:59
Quote
First of all, I cleared up another entry in the iPod database (Otto, if you're out there, mhit::unk6 is the bookmark time, in milliseconds).[a href="index.php?act=findpost&pid=241846"][{POST_SNAPBACK}][/a]


While I have not seen an actual Apple brand audio book, it is my understanding that they have several pre programmed "bookmarks" at the chapter stops.  I am guessing these are not temporary like the bookmark the iPod sets on its own.

That could account for more of those unknown entries in the database.

Quote
So while the good news is that I can create bookmarked in foo_pod, the bad news is, like I mentioned before, that Foobar isn't set up to handle .m4b files.  So my earilier suggestion to transcode to file extension "m4b" won't work, since Foobar can't update the metadata after transcoding, so the transcoding fails.  I added a temporary workaround in foo_pod to make this work for testing, but the real solution is to get Peter to add m4b to the list of supported file extensions in mp4_parser.cpp, or at least find someone to rebuild foo_input_std.dll, and add M4B to the list of extensions.


This is consistant with my xcopy.exe hack.  For some reason it worked once for me (when I had already loaded a handful of m4b files via itunes first), but its not working now on a blank iPod.  Could a simple hexedit on foo_imput_std.dll give us a stop gap solution by changing a currently suported (but not often used) format into "m4b"?  I'll have to give that a try.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-15 21:53:46
Quote
While I have not seen an actual Apple brand audio book, it is my understanding that they have several pre programmed "bookmarks" at the chapter stops.  I am guessing these are not temporary like the bookmark the iPod sets on its own.

That could account for more of those unknown entries in the database.

If there is more than one bookmark, then there must be some unknown list in the database, because there aren't that many unknowns left.  Or they could be creating multiple database entries, each pointing to the same audio file, with a start/stop time for each chapter.  Without knowing any more, I'd bet they are doing it like that.

Edit: BTW, is it possible to actually create/modify a bookmark on the iPod?  In my limited testing, I only saw that you could seek to a certain point in iTunes, and the iPod would start playing from that point.


Quote
This is consistant with my xcopy.exe hack.  For some reason it worked once for me (when I had already loaded a handful of m4b files via itunes first), but its not working now on a blank iPod.  Could a simple hexedit on foo_imput_std.dll give us a stop gap solution by changing a currently suported (but not often used) format into "m4b"?  I'll have to give that a try.

Yeah, you will need to do 2 substitutions:

1. Look for "*.MP4;*.M4A;*.M4P".  Change the MP4 to M4B.
2. Then approximately 16 bytes later, there will be the string "M4P M4A MP4" (the spaces shown here are actually the null (0) value).  Again, change MP4 to M4B. 

I actually just tested this to make sure I was giving the correct information, and uploaded the modified version of foo_input_std.dll (http://www.loodi.com/foo_input_std_M4B_SUPPORT.zip) (from Foobar v0.8.3).  If you want to try this out, make a backup copy of foo_input_std.dll, and realize that by adding support for .m4b files, supported for .mp4 files was removed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-16 04:32:44
I must have been mistaken about the multi bookmarks.  I downloaded some free audio books from the iTMS (just search for 9-11 hearing) but I didn't see any indexing bookmarks at all.  Oh well.  That would be a good idea for the future.

Thanks for the link to the patched foo_input_std.dll file.  I loaded it up and it works great.  I don't have any mp4 files so I don't care that they are gone.  And its easy enough to rename them if I ever need to support them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-09-17 15:29:17
Quote
(Otto, if you're out there, mhit::unk6 is the bookmark time, in milliseconds).[a href="index.php?act=findpost&pid=241846"][{POST_SNAPBACK}][/a]

So this is just the last time that the file was at? Cool. I'll rename it to something more useful.

For what it's worth, I use my own M4B files all the time on the iPod and iTunes. Essentially, the iPod simply remembers the last point at which it was playing an M4B file. This transfers in both directions with iTunes, near as I can tell. I figured it was in there, but I had not found it yet.

I *think* that the one weird "timestamp" field in the Play Counts file contains the last point that the iPod played an M4B and this is how it transfers the info back to iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-19 05:04:10
Quote
I *think* that the one weird "timestamp" field in the Play Counts file contains the last point that the iPod played an M4B and this is how it transfers the info back to iTunes.

Yep - I checked, and PCEntry::unk1 is the bookmark time/last played location on the iPod.

So not only is another MHIT unknown discovered, but PCEntry is now also completely fleshed out.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-09-19 17:18:40
Quote
Yep - I checked, and PCEntry::unk1 is the bookmark time/last played location on the iPod.

So not only is another MHIT unknown discovered, but PCEntry is now also completely fleshed out.
[a href="index.php?act=findpost&pid=242751"][{POST_SNAPBACK}][/a]

Sweet. I've changed iPodDB to rename both of those entries to "bookmark". Seems descriptive enough.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-20 16:44:58
I've just started to use the Smart Playlist Editor and I must say it does everything I could hope for.  I was able to create all kinds of interesting smart playlists for both music and my talk radio clips.

The problem I am having is that my Smart Playlists disappear from the iPod after every sync.  Is this normal?  Am I doing something wrong?

If this is normal, would it be possibile to add an import and export feature to the Smart Playlist Editor so we don't have to re-enter the lists constantly?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-21 05:01:54
Quote
I've just started to use the Smart Playlist Editor and I must say it does everything I could hope for.  I was able to create all kinds of interesting smart playlists for both music and my talk radio clips.

The problem I am having is that my Smart Playlists disappear from the iPod after every sync.  Is this normal?  Am I doing something wrong?

If this is normal, would it be possibile to add an import and export feature to the Smart Playlist Editor so we don't have to re-enter the lists constantly?

It isn't normal - the smart playlists should persist until you delete them.  Are you using iTunes or any other program (other than foo_pod) with your iPod?

I am currently working on adding support for import/export - not only of smart playlists, but of the whole iTunesDB database.  You can already export the database as XML, but I'm adding the ability to import it from XML as well.  Then I will create a subset of those functions to only include the smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-09-21 07:55:43
Is it normal that when I go to Components --> foo_pod --> Smart Playlist Editor the two dropdowns (where I define the rules) aren't working?

I have to use the keyboard (arrows or first letter) to select an item because clicking on arrow button doesn't expand the field (hope this is clear ).

Please note that the Match All/Any dropdown is functioning correctly.

Thanks.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-21 08:10:38
Quote
It isn't normal - the smart playlists should persist until you delete them.  Are you using iTunes or any other program (other than foo_pod) with your iPod?
[a href="index.php?act=findpost&pid=243208"][{POST_SNAPBACK}][/a]

Nope.  Just foo_pod.  I do have iTunes installed, but I haven't used it for quite some time.

I have two playlists on my PC which I use to load up my iPod.  One holds all of my music and the other holds some talk radio shows.  I have them both loaded in foobar (and no other play lists are loaded).

I create some SPL's which work okay.  I can mount and unmount my iPod all day long and the SPL's stay in place just fine.

If I go to the foo_pod menu and select "Sync All Playlists" it does it work and then comes back (if I haven't changed anything (like a rating) then no files are moved, but the iPod database gets rebuilt).  Now if I to do the SPL Editor, everything is blank and I have to start over with my SLP's.

I've done this twice now with the same results.  Next I will do a foo_pod "Delete all iPod music and playlists" and then a "Sync All Playlists", build some SLP's, sync again, and see if they still come up missing.

Quote
I am currently working on adding support for import/export - not only of smart playlists, but of the whole iTunesDB database.  You can already export the database as XML, but I'm adding the ability to import it from XML as well.  Then I will create a subset of those functions to only include the smart playlists.
[a href="index.php?act=findpost&pid=243208"][{POST_SNAPBACK}][/a]


Cool.  That will do exactly what I am looking for.

PS, I'm still trying to figure out exactly how the ratings, play count, and time of last play values are exchanged between the iPod and foo_pod.  I've read through the thread for the details, but it seems the thoughts were never completed.  I'm working with ratings now.  From what I can tell, I have to do the ratings in foo_pod and then load those into the iPod.  Is there any exchange of ratings from the iPod back to Foobar?
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-21 09:10:32
Okay, I wiped my pod, did a sync all playlists, made a SPL entry, did another sync all, and the SPL was missing again.  That should pretty much rule out intervention from an outside program like iTunes.

What can I do to help now?  I'm running windows XP SP2, foobar 0.8.3, and a 4th gen 20Gig iPod.  I'm not sure how to tell what version of foo_pod I have, but its 384,000 bytes and dated Spet 10th.

I'd post a XML dump, but I'm not sure its relevant quite yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Majdas on 2004-09-22 12:09:33
Hi, I would like to thank the author of this plugin, it's awesome.

There's just one little thing I would like to ask about if it's possible. Since the iPod likes to arrange the songs by the song title in the id3 tag if there's no tracknumber it gets kinda messy sometimes. Is it possible that the plugin can edit mp3s "on the fly" when transfering them and add a tracknumber? Lets say I have some songs that's name 01 - something.mp3 02 - something.mp3 and when transfering it adds 1 as tracknumber in the id3 tag if there isn't one without changing the mp3 on the harddrive? That would've been awesome.

Thanks again!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-22 21:09:48
Quote
Hi, I would like to thank the author of this plugin, it's awesome.

Thanks!

Quote
There's just one little thing I would like to ask about if it's possible. Since the iPod likes to arrange the songs by the song title in the id3 tag if there's no tracknumber it gets kinda messy sometimes. Is it possible that the plugin can edit mp3s "on the fly" when transfering them and add a tracknumber? Lets say I have some songs that's name 01 - something.mp3 02 - something.mp3 and when transfering it adds 1 as tracknumber in the id3 tag if there isn't one without changing the mp3 on the harddrive? That would've been awesome.


Yes, that would be very possible, since the iPod relies solely on the database for metadata. 

There are a couple of ways that this could eventually be implemented.  First, I have been planning all along to embed a Lua scripting engine into foo_pod, so users could write simple scripts to do exactly what you are looking for.  It is more of a long term goal, though.

Another way to do it would be to use the (upcoming) XML database import feature.  Or I could extend the Pod interface so developers could create Foobar components that could better interface with foo_pod.  Finally, I could borrow code from Foobar's MassTagger to guess at missing metadata. 

Out of those possibilities, adding the scripting support would probably be the best solution.  I'll get around to adding it sooner or later! 


FreydNot and mobyduck - I'll look into your smart playlist problems tonight.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-23 04:56:31
Quote
Is it normal that when I go to Components --> foo_pod --> Smart Playlist Editor the two dropdowns (where I define the rules) aren't working?

I have to use the keyboard (arrows or first letter) to select an item because clicking on arrow button doesn't expand the field (hope this is clear ).

That isn't normal, but I can't reproduce it on my system, either. 

One question - when you press the tab key until the first drop down box is selected (Edit: or just click in the box), then press F4, what happens?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-09-23 10:13:38
Quote
Quote
Is it normal that when I go to Components --> foo_pod --> Smart Playlist Editor the two dropdowns (where I define the rules) aren't working?

I have to use the keyboard (arrows or first letter) to select an item because clicking on arrow button doesn't expand the field (hope this is clear ).

That isn't normal, but I can't reproduce it on my system, either. 

One question - when you press the tab key until the first drop down box is selected (Edit: or just click in the box), then press F4, what happens?
Exaclty the same thing that happens when I click on the arrow button.

To be more precise, the item "loses focus" (it isn't highlighted anymore) and a black line appears below the combo.

As I said, all ohters combo are behaving correctly, su I suspect it may have something to do with the "repeat region" where the rules are drawn (BTW, tab order should be arranged, I think).

Using Win2K SP4 (no problem on XP).

Thanks for your time.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Majdas on 2004-09-23 15:17:05
Quote
Quote
There's just one little thing I would like to ask about if it's possible. Since the iPod likes to arrange the songs by the song title in the id3 tag if there's no tracknumber it gets kinda messy sometimes. Is it possible that the plugin can edit mp3s "on the fly" when transfering them and add a tracknumber? Lets say I have some songs that's name 01 - something.mp3 02 - something.mp3 and when transfering it adds 1 as tracknumber in the id3 tag if there isn't one without changing the mp3 on the harddrive? That would've been awesome.


Yes, that would be very possible, since the iPod relies solely on the database for metadata. 

There are a couple of ways that this could eventually be implemented.  First, I have been planning all along to embed a Lua scripting engine into foo_pod, so users could write simple scripts to do exactly what you are looking for.  It is more of a long term goal, though.

Another way to do it would be to use the (upcoming) XML database import feature.  Or I could extend the Pod interface so developers could create Foobar components that could better interface with foo_pod.  Finally, I could borrow code from Foobar's MassTagger to guess at missing metadata. 

Out of those possibilities, adding the scripting support would probably be the best solution.  I'll get around to adding it sooner or later! 


FreydNot and mobyduck - I'll look into your smart playlist problems tonight.
[a href="index.php?act=findpost&pid=243674"][{POST_SNAPBACK}][/a]


Sounds good. I'll be waiting.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-09-23 15:44:03
Quote
Is it normal that when I go to Components --> foo_pod --> Smart Playlist Editor the two dropdowns (where I define the rules) aren't working?
I have to use the keyboard (arrows or first letter) to select an item because clicking on arrow button doesn't expand the field (hope this is clear ).
(...............)
To be more precise, the item "loses focus" (it isn't highlighted anymore) and a black line appears below the combo.

I have that too, and like mobyduck, i run on w2k sp4..
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-23 15:52:03
Quote
Quote
Is it normal that when I go to Components --> foo_pod --> Smart Playlist Editor the two dropdowns (where I define the rules) aren't working?
I have to use the keyboard (arrows or first letter) to select an item because clicking on arrow button doesn't expand the field (hope this is clear ).
(...............)
To be more precise, the item "loses focus" (it isn't highlighted anymore) and a black line appears below the combo.

I have that too, and like mobyduck, i run on w2k sp4..

I have a test version of foo_pod that might fix this problem.  Try foo_pod_comboboxtest.zip (http://www.loodi.com/foo_pod_comboboxtest.zip) and see if it helps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-09-23 16:48:31
Quote
I have a test version of foo_pod that might fix this problem.  Try foo_pod_comboboxtest.zip (http://www.loodi.com/foo_pod_comboboxtest.zip) and see if it helps.
Nope, sorry: no difference here.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2004-09-23 21:00:32
Great plug-in.  Thanks so much!

A request:  I like to have the music directory on my ipod arranged by artist and album (music\artist1\album2\song3), rather than F?? (music\f00\song3).  Is there any way to do this in foo_pod?  (I tried to read the whole thread, apologies if I missed this.)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-23 21:23:25
Quote
Great plug-in.  Thanks so much!

Thanks!

Quote
A request:  I like to have the music directory on my ipod arranged by artist and album (music\artist1\album2\song3), rather than F?? (music\f00\song3).  Is there any way to do this in foo_pod?  (I tried to read the whole thread, apologies if I missed this.)

You can not currently control how foo_pod places songs on the iPod.  I haven't done any experiments to see what you are requesting would actually work, but it might cause problems with other iPod utilities.

This isn't quite what you are asking for, but you can export songs from the iPod to your hard drive and have foo_pod place the songs in a directory structure like you suggested..  Just select one or more files in the iPod playlist, right click, and select Save iPod Files To Disk.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2004-09-23 23:18:56
Quote
You can not currently control how foo_pod places songs on the iPod.  I haven't done any experiments to see what you are requesting would actually work, but it might cause problems with other iPod utilities.


There was an extensive discussion of this on some of the ipod forums a number of months ago.  No one reported any problems using this method.  People liked it because it made it easy to sync with a simple directory sync utility and because it made it easy to copy files to a hard disk without special software.  This was before the latest gen Ipod and iTunes.

In any event, could I set up the directory structure and songs on my ipod as I want, then use foo_pod to create a new iTunesDB?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SoulEata on 2004-09-24 01:46:13
why not just make it so this could play music from any addon-harddrive?

Like thumb-drives, digital audio players , etc.

I know winamp has some plugin called gUSB that works like that
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-24 06:13:02
Quote
why not just make it so this could play music from any addon-harddrive?

Like thumb-drives, digital audio players , etc.

I know winamp has some plugin called gUSB that works like that

Is this a new question, or a follow up to an earlier post?

If you are asking why foo_pod doesn't support thumb drives and such, it is because there is no need for a plugin - Foobar can play songs from those devices without assistance. Since an iPod has a database that contains lots of metadata, even through the songs are technically playable directly from the iPod, a component like foo_pod is required.

If you also mean why doesn't foo_pod support other devices, then that is easy - I don't have any other players (other than an old unused Rio 500)...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-24 06:37:17
Quote
In any event, could I set up the directory structure and songs on my ipod as I want, then use foo_pod to create a new iTunesDB?

Almost.  foo_pod has a "Repair iTunesDB" feature, which rebuilds a database based on the metadata contained in files on the iPod.  So in essence, this is just want you want - it will search for songs and create a functional database.

Unfortunately...it is currently hard coded to only look in the Music\Fnn directories, and only a single level deep.

There are only a few other dependancies on the Music\Fnn layout in foo_pod, so I guess I could make it more generic so at least Repair would search the entire Music directory and subdirectories.  Then you could just put your artist/album subdirectories under the iTunes\Music directory, run Repair, and you would be set.  Maybe I could even create a little utility that would just start up Foobar/foo_pod, automatically run the Repair feature, and then exit.  So updating your iPod would be as easy as using Windows Explorer to copy/remove files, and then running the utility to recreate the iTunesDB.  Hmm...that's not a bad idea, if I do say so myself! 


Another option would be to wait for my Import iTunesDB From XML.  Then assuming you could find a utility to create compatable XML, you could use that feature to convert XML to a iTunesDB file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SoulEata on 2004-09-24 07:11:49
Quote
Quote
why not just make it so this could play music from any addon-harddrive?

Like thumb-drives, digital audio players , etc.

I know winamp has some plugin called gUSB that works like that

Is this a new question, or a follow up to an earlier post?

If you are asking why foo_pod doesn't support thumb drives and such, it is because there is no need for a plugin - Foobar can play songs from those devices without assistance. Since an iPod has a database that contains lots of metadata, even through the songs are technically playable directly from the iPod, a component like foo_pod is required.

If you also mean why doesn't foo_pod support other devices, then that is easy - I don't have any other players (other than an old unused Rio 500)...
[a href="index.php?act=findpost&pid=244050"][{POST_SNAPBACK}][/a]



Ah. didnt know that. Good deal.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rpop on 2004-09-24 07:22:17
Quote
Great plug-in.  Thanks so much!

A request:  I like to have the music directory on my ipod arranged by artist and album (music\artist1\album2\song3), rather than F?? (music\f00\song3).  Is there any way to do this in foo_pod?  (I tried to read the whole thread, apologies if I missed this.)
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=243942")

As far as I know, the only program that can currently do this is [a href="http://dbpoweramp.com/sveta-portable-audio.htm]Sveta Portable Audio[/url], which does a pretty nice job:

Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2004-09-24 12:31:14
Quote
There are only a few other dependancies on the Music\Fnn layout in foo_pod, so I guess I could make it more generic so at least Repair would search the entire Music directory and subdirectories.  Then you could just put your artist/album subdirectories under the iTunes\Music directory, run Repair, and you would be set.  Maybe I could even create a little utility that would just start up Foobar/foo_pod, automatically run the Repair feature, and then exit.  So updating your iPod would be as easy as using Windows Explorer to copy/remove files, and then running the utility to recreate the iTunesDB.  Hmm...that's not a bad idea, if I do say so myself! 


That would be great!
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2004-09-24 12:33:18
Quote
As far as I know, the only program that can currently do this is Sveta Portable Audio (http://dbpoweramp.com/sveta-portable-audio.htm), which does a pretty nice job:

It would be nice to see something just as customizable, if not even more so, in foo_pod
[a href="index.php?act=findpost&pid=244067"][{POST_SNAPBACK}][/a]


I've used Sveta.  It makes you load too much stuff just to get the one function.  I prefer foo_pod, if Aero can implement the change he suggests.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-09-24 15:35:23
The real question regarding this sort of thing is is it iTunes compatible? If you only use foo_pod, great, but if you switch around a lot and use iTunes, then this might cause issues. Of course this means a simple preference switch to toggle on/off or something, but you get my drift.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zeer on 2004-09-24 21:21:27
Quote
The real question regarding this sort of thing is is it iTunes compatible? If you only use foo_pod, great, but if you switch around a lot and use iTunes, then this might cause issues. Of course this means a simple preference switch to toggle on/off or something, but you get my drift.
[a href="index.php?act=findpost&pid=244152"][{POST_SNAPBACK}][/a]


at least it is compatible in read-mode. itunes reads itunesDB and gets paths accordingly. deleting files from itunes works. (used anapod explorer and itunes combo with the above  mentioned directory structure - works except when you run itunes it recreates Fxx subdirs - no time to crack itunes just to remove this behavior)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-24 22:41:30
Version 0.9.4 (http://www.loodi.com/foo_pod.zip) is now available.

Well, long time no build.  There isn't a whole lot new in this build, but it should fix the combo box problem people have been reporting on Windows 2000, and it also modifies the Repair iPod Database feature to support richard123's idea about supporting non-Fnn directories for the music.

It works like this - first, Repair iPod Database has been renamed to the friendlier "Rebuild iPod Database".  The other big change is that it will search for any iPod playable file in the iPod_Control\Music directory or any subdirectories, and add those songs to the database. 

What this means is that you can using Windows Explorer to copy any files or directories into the Music directory, run Rebuild iPod Database, and you should end up with those songs being playable on the iPod.  And since the database is completely rebuilt each time you run it, you can also delete and move files with Explorer (or other file utility).  So if you want, you can avoid using foo_pod to add/remove songs.

The major caveat is that rebuilding the database will wipe out all playlists (smart and normal), along with certain fields in the database, such as play counts and stars.  So this feature may not be appropriate for everyone, but if you just want to add/remove songs to your iPod, it could be useful.



From the Readme file:
Code: [Select]
Version 0.9.4 - September 24, 2004
*  Added support for lowering, as well as raising, the iPod pre-amp/volume setting

*  Hacked support for .m4b files.  These are nothing more than .m4a files with a different extension,
  but the iPod treats them differently in that it stores the last played position in the database.  foo_pod
  doesn't currently do anything with this, but it is used by iTunes.

*  Fixed a bug in the Smart Playlist editor on Windows 2000 where the drop down boxes would appear to be empty.

*  Changed the name of "Repair iPod Database" to "Rebuild iPod Database", and also added support for discovering
  files anywhere in the iPod_Control\Music directory.  This means that you can copy songs to the Music directory
  (or any subdirectories) using Windows Explorer, then run Rebuild iPod Database, and foo_pod will create a
  working database on the iPod.  This is useful if you want to store your songs in human readable directories,
  rather than in F00 - F99.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2004-09-24 23:42:57
Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-09-25 00:52:11
Quote
it should fix the combo box problem people have been reporting on Windows 2000

yup, works!
Title: foo_pod - Foobar2000 meets the iPod
Post by: zeer on 2004-09-25 17:44:28
2 Aero:

one more feature request:

please, add a checkbox and code that allows to rebuild database from the root of ipod ( eg. h:\ instead of h:\iTunes_Control\Music\)

i hope that should not be too hard... and i don't use iPod for other file storage so i prefer to access the drive for music only.

ps. the paths like H:\foo.mp3 works with ipod perfectly if it is written in itunesDB (should be :foo.mp3 in DB)

[edit]
pps.
ofcourse itunesDB should reside where it was.
[/edit]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-25 19:01:37
Quote
please, add a checkbox and code that allows to rebuild database from the root of ipod ( eg. h:\ instead of h:\iTunes_Control\Music\)

i hope that should not be too hard... and i don't use iPod for other file storage so i prefer to access the drive for music only.

ps. the paths like H:\foo.mp3 works with ipod perfectly if it is written in itunesDB (should be :foo.mp3 in DB)


Yeah, that is no problem.  I guess the only question is if anyone would want another preference item that would limit it to iTunes_Control\Music?

I was actually thinking about this yesterday when I was using the Windows "Send To" feature to copy some files to my USB drive.  (When you have a removable device connected to a Windows machine, you can right click files or folders, and select the device under the Send To menu item, and Windows will copy the files to the root of the device).  So if Rebuild acted on the whole iPod, you wouldn't even have to open up Windows Explorer to copy files to the iPod - you could simply select Send To.  And with a global Foobar shortcut key set up for Rebuild, you wouldn't even have to go to the Foobar window to start the Rebuild process.

I am also going to modify Rebuild so that it doesn't destroy your smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Majdas on 2004-09-25 19:03:29
Just a quick question. Where's this "Rebuild iPod database" located? I cant find it anywhere, haha.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-25 20:37:18
Quote
Just a quick question. Where's this "Rebuild iPod database" located? I cant find it anywhere, haha.

Do you have foo_pod 0.9.4 installed?  If so, it is located under the Components menu -> foo_pod -> Rebuild iTunesDB database on iPod
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-09-26 00:52:11
Hey aero, i have a couple of suggestions for you.

When i load my ipod tracks in foobar using components > foo_pod > load ipod songs to playlist, and i delete one or more tracks in that playlist using rightclick > foo_pod > delete file from ipod, the file gets removed from the ipod, but it will stay in the playlist. It would be cool if you could make it so that the file gets removed from the playlist as well.

My other question is concerning the synchronize option. I don't know how this option works (technically speaking), but is it possible to not let foo_pod's synchronization look at differences in certain (perhaps user defined) tags, cause now, whenever one of these tags (PLAY_COUNTER, PLAY_DATE, PLAY_TIME) get changed, foo_pod deletes the tracks from the ipod only to upload them again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-26 04:56:02
Quote
My other question is concerning the synchronize option. I don't know how this option works (technically speaking), but is it possible to not let foo_pod's synchronization look at differences in certain (perhaps user defined) tags, cause now, whenever one of these tags (PLAY_COUNTER, PLAY_DATE, PLAY_TIME) get changed, foo_pod deletes the tracks from the ipod only to upload them again.
[a href="index.php?act=findpost&pid=244497"][{POST_SNAPBACK}][/a]


I think the real problem is the play counter (and last played?) foobar plugins are writing the data into the id3 tags of the files.  This causes the size and date of the audio files to change and foo_pod has no way to knowing it should ignore them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-09-26 05:57:48
I just wanted to confirm that iTunes works on the same principle. Any changes that cause the timestamp of the file to change will cause iTunes to resend the file to the iPod on a sync operation.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Majdas on 2004-09-26 07:37:51
Quote
Quote
Just a quick question. Where's this "Rebuild iPod database" located? I cant find it anywhere, haha.

Do you have foo_pod 0.9.4 installed?  If so, it is located under the Components menu -> foo_pod -> Rebuild iTunesDB database on iPod
[{POST_SNAPBACK}][/a]
(http://index.php?act=findpost&pid=244450")



I'm probably just stupid but I cant find it;

[a href="http://www.obnoxious.se/foo_pod.gif]foo_pod.gif[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-09-26 10:49:33
Quote
Quote
Quote
Just a quick question. Where's this "Rebuild iPod database" located? I cant find it anywhere, haha.

Do you have foo_pod 0.9.4 installed?  If so, it is located under the Components menu -> foo_pod -> Rebuild iTunesDB database on iPod
[{POST_SNAPBACK}][/a]
(http://index.php?act=findpost&pid=244450")



I'm probably just stupid but I cant find it;

[a href="http://www.obnoxious.se/foo_pod.gif]foo_pod.gif[/url]
[a href="index.php?act=findpost&pid=244542"][{POST_SNAPBACK}][/a]


Hi Majdas,

You can find the foo_pod options in the "Components" tab in the options menu above. There should be a foo_pod menu. It's not in the "Preferences" page.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Majdas on 2004-09-26 13:14:19
Haha. I understand now, thanks! I dont have the "Menu" there by default.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-09-27 05:58:47
I'm trying to add a column to show the last played time into a Columns UI preset (Watercolor by Silverbolt).  My problem is I'm not sure what format the date is in.  A string of "[%ipod_last_played_time%]" gives me values like "1096012076" which I'm guessing is seconds after some fixed date and time.

How is the ipod_last_played_time value formatted?  Is there an easy way to convert it to human readable form using TAGZ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-09-27 06:06:27
Quote
I'm trying to add a column to show the last played time into a Columns UI preset (Watercolor by Silverbolt).  My problem is I'm not sure what format the date is in.  A string of "[%ipod_last_played_time%]" gives me values like "1096012076" which I'm guessing is seconds after some fixed date and time.

How is the ipod_last_played_time value formatted?  Is there an easy way to convert it to human readable form using TAGZ?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=244742")

It's the number of seconds since the epoch (1/1/1970). So 1096012076 = Friday, September 24, 2004 07:47:56 GMT. I dunno about "TAGZ", but here's a nice little conversion javascript page for you: [a href="http://dan.drydog.com/unixdatetime.html]http://dan.drydog.com/unixdatetime.html[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: idioteque on 2004-09-30 15:10:39
First off, let me just say thanks for foo_pod, it's really great. 
Secondly, is there a foobar global variable to get the iPod drive usage so I could display it in the status bar like I do with "__bitrate" and "__samplerate"?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-30 16:22:38
Quote
First off, let me just say thanks for foo_pod, it's really great. 
Secondly, is there a foobar global variable to get the iPod drive usage so I could display it in the status bar like I do with "__bitrate" and "__samplerate"?

Thanks!

By "iPod drive usage", do you mean the song's filesize, or the amount of free disk space on the iPod? 

If it is filesize, then I think %__filesize% is what you are looking for (or something like that, I am unable to check right now).  If you want the free iPod disk space, then I don't think that is available, although if you know the iPod's drive letter, maybe there is a TAGZ function to get free disk space?
Title: foo_pod - Foobar2000 meets the iPod
Post by: idioteque on 2004-09-30 21:15:16
Quote
By "iPod drive usage", do you mean the song's filesize, or the amount of free disk space on the iPod? 
[a href=\"index.php?act=findpost&pid=245503\"][{POST_SNAPBACK}][/a]

Sorry I was unclear there. Yes I meant iPod disk space.  What's TAGZ? Nevermind I get it.  Yeah I couldn't find any functions in the foobar2000 documents I read.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-09-30 21:32:34
Quote
Quote
If it is filesize, then I think %__filesize% is what you are looking for (or something like that, I am unable to check right now).  If you want the free iPod disk space, then I don't think that is available, although if you know the iPod's drive letter, maybe there is a TAGZ function to get free disk space?


Sorry I was unclear there. Yes I meant iPod disk space.  What's TAGZ?


I don't know of any way to get the free disk space in TAGZ (that is name for the formatting strings, like %__bitrate% or %__samplerate%).  Since it isn't a property of an individual song, it may not be possible - but I don't really know.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-10-03 22:03:18
I'm not sure if this is possible, but here goes:

I have a lot of album in high bitrate ogg/mpc.  I transcode these to lowbitrate AAC useing Nero + foobar then load them into my Ipod.  This works great for me.

I know the ipod keeps track of play counts, and that foobar can read these.  Is there someway to have foobar read in the playcounts on the ipod, and then increment the play times on the orginal high bitrate files as well so that they keep sync?

I realize this is a PITA since you'd some way to keep track of plays between syncs on both copies of the song, but its worth a shot.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-05 04:54:16
Quote
I have a lot of album in high bitrate ogg/mpc.  I transcode these to lowbitrate AAC useing Nero + foobar then load them into my Ipod.  This works great for me.

I know the ipod keeps track of play counts, and that foobar can read these.  Is there someway to have foobar read in the playcounts on the ipod, and then increment the play times on the orginal high bitrate files as well so that they keep sync?

I realize this is a PITA since you'd some way to keep track of plays between syncs on both copies of the song, but its worth a shot.

Hmmm...it sounds pretty tough.  I could write the original filename into the transcoded file.  Then when doing an update, it could write the playcounts and rating back to the original file.  Except a lot of people probably don't want their original files modified like this, and some formats might not be able to be tagged (like WAV or AIFF).

So while it can be done, I will have to make this a pretty low priority.  I have almost completed XML importing, and I have been considering adding functionality somewhat akin to iPodder (http://www.ipodder.org/), except it would also have some Notes support and ideally I would like to hook up with something along the lines of StreamRipper (http://streamripper.sourceforge.net/). 

It might be best to keep those as separate applications, and when they output to the iPod, have foo_pod wait for such files and automatically add them to the database.  Anyway, I have a lot of plans, so I really need to prioritize what I am able to work on.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2004-10-09 00:19:52
This sounds like something that should be handled by foobar's internal database and not hacked in by a plugin then.  I'll ask in General if theres someway to link multiple files together into some sort of meta entry that represents the same song stored in two or more formats.
Title: foo_pod - Foobar2000 meets the iPod
Post by: r00tie on 2004-10-13 15:50:59
Hmmmm I don't know exactly if this is the right place, but I have a feature request.
I'm using foo_pod now, and very happy about it, great work
But I'm mainly using foobar for it's handling of mp3's+cuesheets.
Then I have 1 big mix, and cuesheet cuts it up with correct tags etc.
When I try to copy those files to my iPod trough foo_pod, it's not working, maybe you could implement some feauture which can handle the mp3's + cuesheets
It'll be r0x0ring

thnx in advance,

r00tie
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-13 16:07:09
Quote
Hmmmm I don't know exactly if this is the right place, but I have a feature request.
I'm using foo_pod now, and very happy about it, great work
But I'm mainly using foobar for it's handling of mp3's+cuesheets.
Then I have 1 big mix, and cuesheet cuts it up with correct tags etc.
When I try to copy those files to my iPod trough foo_pod, it's not working, maybe you could implement some feauture which can handle the mp3's + cuesheets
It'll be r0x0ring


I've had a few requests to add support for cuesheets and similar formats.  It would be a really nice feature to have and it will work on the iPod, but Foobar doesn't have very good programatic support for cue sheets, so I have to do custom parsing of the cue sheets. 

I'm actually about 50% complete on adding cue sheet support - I wrote a parser, and now I just need to add the code the manages the individual songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-14 22:37:30
Quote
Is there someway to have foobar read in the playcounts on the ipod, and then increment the play times on the orginal high bitrate files as well so that they keep sync?
[a href="index.php?act=findpost&pid=246151"][{POST_SNAPBACK}][/a]


Hi, I would certainly like that  You can always make it optional (and not default obviously) so if you want it: turn it on

Anyway, my girlfriend just buy me an Ipod (20GB, 3 gen) and I'm playing with your plugin. I love foobar and I love it even more if I can use my Ipod with it, so just this: THANKS A LOT! Really.

Good work guys.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-15 00:24:30
Ok, I got my first straneg behaviour 

I'm using latest version of foo_pod (0.9.4) with foobar 0.8.3. When I try to send playlist (whatever I selected some files or an entire playlist) I get the following error:

ERROR (foo_pod) : Error #3 copying d:\MP3\Electric six\Fire\Electric Six - 13 - Synthesizer.mp3 to j:

If files are non mp3 I get another error with some sort of transcoding failure (I can reproduce it if you wish).

The Ipod is unmounted and I can't mount it again directly with foobar or in Itunes (it just isn't there anymore). I have to reinitialise the Ipod, disconnect it from the PC and the reconnect again, and then I can mount it again. The files are there but only the first file on the playlist seems to play (completely), other are skipped.

I've reeboted several time the PC (windows Xp pro SP1) but didn't work 

I'll try to reformat again the Ipod, I'm surely missing something.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-15 02:20:39
Quote
I'm using latest version of foo_pod (0.9.4) with foobar 0.8.3. When I try to send playlist (whatever I selected some files or an entire playlist) I get the following error:

ERROR (foo_pod) : Error #3 copying d:\MP3\Electric six\Fire\Electric Six - 13 - Synthesizer.mp3 to j:

If files are non mp3 I get another error with some sort of transcoding failure (I can reproduce it if you wish).

The Ipod is unmounted and I can't mount it again directly with foobar or in Itunes (it just isn't there anymore). I have to reinitialise the Ipod, disconnect it from the PC and the reconnect again, and then I can mount it again. The files are there but only the first file on the playlist seems to play (completely), other are skipped.

How are you ejecting the iPod - from foo_pod or from the Windows "Safely Remove Hardware" systray thing?

If you use the "Safely Remove Hardware" method, you need to physically undock/disconnect the iPod from your computer, then hook it up again (and wait about 15 seconds for it to be recognized by Windows).  If you can't see the iPod drive in your My Computer window, foo_pod won't be able to write to it.

foo_pod's eject is a little different.  If you have the iPod Service installed (if you have iTunes installed, you have iPodService...), then foo_pod can do a "soft" eject.  That is different in that you can mount the iPod again without having to physically disconnect it from your computer.  If iPodService isn't available, foo_pod just does the regular eject and then you would have to disconnect it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-15 13:36:05
Quote
If you use the "Safely Remove Hardware" method, you need to physically undock/disconnect the iPod from your computer, then hook it up again (and wait about 15 seconds for it to be recognized by Windows).  If you can't see the iPod drive in your My Computer window, foo_pod won't be able to write to it.


Apparently the problem is that, once my iPod is recognised by the computer (I can see the tray icon (device) in the task bar) and I send several files via foo_pod, the process start but after some seconds the error message pop up and the device is unmounted immediately after that. The tray icon dissapear and foo_pod can't unmount it no matter how many times I try. Nevertheless, the files appears on the iPod, but they're all skipped.

Anyway, this seems not only a foo_pod problem, since it also happens with iTunes (I have it installed along with the Ipodservice). The only difference is that no error message pop-up and the program displays that the iPod was updated. The iPod still show in iTunes but the tray icon dissapear. Weird.

So, sorry to bother you since it doesn't seems at all a problem with foo_pod. At the same time, if someone knows something about this and can point me to the right direction I will really appretiate that 
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-10-15 16:01:55
Quote
if someone knows something about this and can point me to the right direction I will really appretiate that 
I had a similar experience when I started using my iPod a couple of months ago.

The first thing I tried was iTunes and it was awful: file xfer was slow and after loading a handful of songs the connection was failing with an error (which I don't recall at the moment).

Besides, I had problems disconnecting the iPod: I remember once I even had to wait for the battery to exhaust because I couldn't reset the device.

So I decided to completely remove iTunes (the iPod Service is still here, though... don't ask ), updated the firmware (using 3.0.1 ATM) and installed foo_pod: works like a charm!

It goes without saying that I'm no expert at all. Also, my usage is really basic: only mp3s, no fancy playlists, nothing else.

Reviewing my message, I realize it will be of little or no help, after all...

Oh well, my 2 cents

Good luck with your new toy.

Alessandro

PS: I confirm I can successfully disconnect the iPod, both when closing foobar and through the systray (yes, I also use it as external disk); after disconnecting, you can unplug it (you should see the iPod main menu) and if you plug it back you should see the device (both in Windows and in foobar).

PPS: please ignore all mistakes, that's just my ignorance.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-15 16:33:33
Quote
I had a similar experience when I started using my iPod a couple of months ago.

Good to know I'm not the only one experiencing that, nor that I'm glad, but I feel less dumb 

Quote
So I decided to completely remove iTunes (the iPod Service is still here, though... don't ask ), updated the firmware (using 3.0.1 ATM) and installed foo_pod: works like a charm!

Same here, I've just removed iTunes, and updated the firmware to 3.0.1. iPod service still there and running... 

What I really find weird is that I still can't get foo_pod to recognize the iPod. I can see it on the taskbar, and under My computer as a external device. But in foo_pod, under 'iPod service' it won't show anything, just blank.

I've used a program called vpod (http://www.vonnieda.org/vPod/) and I just have to select the drive letter for the Ipod and it works. I can transfer to the iPod

But even when the iPod is mounted in vpod, foo_pod still doesn't recognize it 

Well, that's it. I don't know what it's wrong, if anyone is also experiencing this, but apaprently there's no reason it shouldn't work as mobyduck seems to have same configuration as me (no iTunes, just ipod updater, latest firmaware installed and ipod service running) and it works for him  Computer are crazy (or humans are just so dumb)
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-10-15 17:07:22
Quote
What I really find weird is that I still can't get foo_pod to recognize the iPod. I can see it on the taskbar, and under My computer as a external device. But in foo_pod, under 'iPod service' it won't show anything, just blank.
Wait: it's blank here as well. Have you tried sending a file regardless? I have just checked and foo_pod also reports (incorrectly) 0 GB as available disk space (drive letter is correct, though): still I can transfer my mp3s.

HTH.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-15 17:30:09
Quote
Wait: it's blank here as well. Have you tried sending a file regardless? I have just checked and foo_pod also reports (incorrectly) 0 GB as available disk space (drive letter is correct, though): still I can transfer my mp3s.
[a href="index.php?act=findpost&pid=247943"][{POST_SNAPBACK}][/a]

You're right  I can transfer files, and even transcoding them, wow! Thanks a lot!  I guess that the problem was caused by the old firmware...I don't know. I was confused since the iPod service tab on the foo_pod plugin was blank and I thought that it didn't recognize it and will again give me an error when transferring files. So, for sure foo_pod doesn't need ipodservice to be running to work 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-10-15 20:49:22
The iPodService is also installed with the iPod firmware updater program. It's not just included with iTunes. So if you have, basically, any Apple software on the machine, you get the iPodService. It's not a big deal though, foo_pod can work with it and use it.

But yes, it'll work fine without the iPodService as well. The iPod appears to Windows as a normal external hard drive, if you don't have the iPodService installed. When you have the iPodService installed, it recognizes the iPod attached and starts up some program like iTunes, as well as providing an interface for programs to do things like discover the ipod's drive letter and mount/unmount the iPod. But it's not absolutely critical or anything. It's not like a driver. Just a minor convience that is kinda unnecessary.

In case of any doubt, remove iTunes, remove the firmware updater, and disable the iPodService in the Services Control Panel (if it's still there). foo_pod will work fine.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-17 16:29:28
Quote
Quote
My other question is concerning the synchronize option. I don't know how this option works (technically speaking), but is it possible to not let foo_pod's synchronization look at differences in certain (perhaps user defined) tags, cause now, whenever one of these tags (PLAY_COUNTER, PLAY_DATE, PLAY_TIME) get changed, foo_pod deletes the tracks from the ipod only to upload them again.
[a href="index.php?act=findpost&pid=244497"][{POST_SNAPBACK}][/a]


I think the real problem is the play counter (and last played?) foobar plugins are writing the data into the id3 tags of the files.  This causes the size and date of the audio files to change and foo_pod has no way to knowing it should ignore them.
[a href="index.php?act=findpost&pid=244526"][{POST_SNAPBACK}][/a]

Ok, now I understand why playcount isn't updated on my HDD files from iPod played files played. AFAIK there's no way of not writting play_counter tags into the file itself unless you block tag updated (and that means every tag operation  ). So, there's no way to link files between iPod and HDD since (ex.):

1) Let's take file bip.mp3 on HDD with play_counter=20. I transfer it to iPod. Aparently (from what I've read around here) this tag isn't transfered on the iPod.

2) I play this file 3 times on the iPod:

2a) bip.mp3 on HDD has not been played since so file size remain the same (no tag write). File should be updated with next sync with iPod and show play_counter=25 (on HDD).

2b) bip.mp3 on HDD has been played since so file size isn't the same (tag has been wirte). File can't be updated (on HDD) because for the iPod isn't the same file that was transfered.

Am I right or totally missing the point? 

Anyway, what I don't understand is why when I 'load iPod songs to the foobar2000 playlist' counter still empty, should I enter an specific string in the column to display it?
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-17 16:49:25
A little request and a question for/and about Smart Playlist Editor  :

- Request: Could it be possible to add custom tag use in the Smart Playlist Generator? But I guess it will break compatibility with iTunes. So it should if possible be an option and not default 

- Question: What tag/info uses SPE for the 'Date added' value? Does it use this foobar plugin (http://www.hydrogenaudio.org/forums/index.php?showtopic=23966&hl=system,and,date) or anything else? And does it refer to the date the file was added to the iPod or to foobar/HDD?

Thanks a lot.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-17 18:30:08
Quote
- Request: Could it be possible to add custom tag use in the Smart Playlist Generator? But I guess it will break compatibility with iTunes. So it should if possible be an option and not default

Ultimately, whatever I do needs to work on the iPod.  Since it wouldn't understand any custom tags, the Smart Playlist wouldn't work on the iPod.  What I mean by that is while I could add anything to the database, the iPod is designed only to look at certain values. 

Note that foo_pod already does support some additional Smart Playlist features that work on the iPod, but aren't supported in iTunes (such as the "Is Not Greater Than" rule).

Quote
\- Question: What tag/info uses SPE for the 'Date added' value? Does it use this foobar plugin (http://www.hydrogenaudio.org/forums/index.php?showtopic=23966&hl=system,and,date) or anything else? And does it refer to the date the file was added to the iPod or to foobar/HDD?


Date Added is whatever is in the database.  I'm not sure how iTunes fills in the date, but foo_pod uses the creation date of the file, not when it was added to a Foobar playlist (no way to get that info) or from any third party component.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-19 19:21:51
Hmmm, I'm having some issues with foo_pod and iPod. When I try to transfer (Sync or send playlists command) a lot of songs to the iPod and if this require a lot of transcoding (from musepack and vorbis to mp3), the transfer process can take hours.

The problem is that after a while (let's say an hour) the console window pop-up a message with error #55 saying that there's no available disk space on the iPod. Of course, there's disk space available, what happens is that the iPod seems to have been ejected and therefore foo_pod can't send the songs to the iPod. I've checked and the hard drive power settings of my Windows (XP pro SP1) isn't to stop spinning when I'm not using it.

Is someone experiencing this?

Another thing, I guess related to the Ipod service (that I have installed and running) is that when i check for 'iPod free space' is always showing 0.00 GB. Not a big deal since I can check it on explorer 
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-19 22:22:44
When transcoding from mpc to mp3, the filename is changed to something with number and letters, I thought by reading this topic that this only happens when foo_pod have a non-supported character (like ë, î...), and only for this specific character.

This happens to me with regular characters, and on every transcoded file via foo_pod:

ex. original filename: Offspring - 13 - Not the one.mpc
      trascoded filename on the ipod: 262bdb9804c4646d1.mp3

BTW, is possible to have some documentation about the errors that are shown in the console relatives to foo_pod? It will prevent users to bother developpers about an error if there's an easy explanation to it  For ex. I have a #23 and #25 error sometimes and don't know what it's....
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-20 00:26:29
Quote
Hmmm, I'm having some issues with foo_pod and iPod. When I try to transfer (Sync or send playlists command) a lot of songs to the iPod and if this require a lot of transcoding (from musepack and vorbis to mp3), the transfer process can take hours.

The problem is that after a while (let's say an hour) the console window pop-up a message with error #55 saying that there's no available disk space on the iPod. Of course, there's disk space available, what happens is that the iPod seems to have been ejected and therefore foo_pod can't send the songs to the iPod. I've checked and the hard drive power settings of my Windows (XP pro SP1) isn't to stop spinning when I'm not using it.

Is someone experiencing this?

Another thing, I guess related to the Ipod service (that I have installed and running) is that when i check for 'iPod free space' is always showing 0.00 GB. Not a big deal since I can check it on explorer 

I'm not sure about the second problem, but as for the first, is there any chance that your iPod's battery is dying halfway through the extended transfers?  I know that with heavy access, my iPod - on battery power alone, can be drained in an hour or so.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-20 00:31:47
Quote
When transcoding from mpc to mp3, the filename is changed to something with number and letters, I thought by reading this topic that this only happens when foo_pod have a non-supported character (like ë, î...), and only for this specific character.

This happens to me with regular characters, and on every transcoded file via foo_pod:

ex. original filename: Offspring - 13 - Not the one.mpc
      trascoded filename on the ipod: 262bdb9804c4646d1.mp3

When transcoding, foo_pod always changes the name of the song to the original song's md4 hash value.  This makes finding duplicate songs much easier and much much faster, since I can just compare the song's hash value against the list of files on the iPod.

Non-transcoded song filenames are only escaped if they contain characters that are illegal on the iPod.

Quote
BTW, is possible to have some documentation about the errors that are shown in the console relatives to foo_pod? It will prevent users to bother developpers about an error if there's an easy explanation to it   For ex. I have a #23 and #25 error sometimes and don't know what it's....

For the most part, those are standard Windows error codes - foo_pod doesn't have any error codes of its own.  I'm sure the list is on Microsoft's MSDN site, but I found this site (http://www.apl2000.com/learning/elibrary/source/disk14_toc70852810.htm) after a quick search.  Error 23 is "ERROR_CRC" and 25 is "ERROR_SEEK".  Both of those sound very suspicious, as in your iPod's drive might be unreliable.  If you want to do a quick test, copy several gigabytes of MP3s to your iPod using Windows Explorer and see if there are any errors.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-21 09:14:30
Quote
For the most part, those are standard Windows error codes - foo_pod doesn't have any error codes of its own.  I'm sure the list is on Microsoft's MSDN site, but I found this site (http://www.apl2000.com/learning/elibrary/source/disk14_toc70852810.htm) after a quick search.

Thanks for the doc. It seems to cover all errors displayed by foo_pod.
Quote
Error 23 is "ERROR_CRC" and 25 is "ERROR_SEEK".  Both of those sound very suspicious, as in your iPod's drive might be unreliable.

You're right. I've done an HDD SCAN (diagnostic mode via iPod) and it give an error. It's only a 15 days old iPod so time to send it to Apple for a repair...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-21 17:21:32
Quote
You're right. I've done an HDD SCAN (diagnostic mode via iPod) and it give an error. It's only a 15 days old iPod so time to send it to Apple for a repair...
[a href="index.php?act=findpost&pid=249035"][{POST_SNAPBACK}][/a]

Sorry to hear about your bum iPod, but at least you figured out the problem (good idea to use the diagnostics...I had forgotten about that) and you can send it in and get a replacement.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-10-24 06:36:33
Or better yet, take it into an Apple Store and talk to someone at the Genius Bar.  Often they will swap you iPods on the spot.  This just happened with my sons 60 day old mini and we didn't even buy it from Apple (we got it at CompUSA).  Walked out of there with a brand new mini.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-24 14:48:10
Quote
Or better yet, take it into an Apple Store and talk to someone at the Genius Bar.  Often they will swap you iPods on the spot.  This just happened with my sons 60 day old mini and we didn't even buy it from Apple (we got it at CompUSA).  Walked out of there with a brand new mini.
[a href="index.php?act=findpost&pid=249623"][{POST_SNAPBACK}][/a]

Well, sorry to go OT.
Here in Europe (at least here in Belgium) stores are only there to sell products, they don't do 'post-selling' support. I've phone them and they send me directly to the service support via internet  Kind of sad, since it's a really expensive toy. Normally monday I receive a box to send them my iPod.

Back on topic. It's there some way to sync play_counter in foobar (via tags that change size of the file itself) and iPod? AFAIK, right now you can send PC to iPod, but not the other way.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lance Uppercut on 2004-10-24 19:36:21
On the next update, could play count be added on the foobar end for songs, and not just the iPod?

If not, the plugin still rules.
Title: foo_pod - Foobar2000 meets the iPod
Post by: bradenmcg on 2004-10-25 06:16:23
Is there any way to create iPod playlists from items in foobar?

In otherwords, if I use foo_pod and load the entire grouping of songs, can I then select certain items and tell it to create a new iPod playlist of just those songs?

Even better, can I automate it and have it create new iPod playlists for every album? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-25 08:04:51
Quote
Back on topic. It's there some way to sync play_counter in foobar (via tags that change size of the file itself) and iPod? AFAIK, right now you can send PC to iPod, but not the other way.
[a href="index.php?act=findpost&pid=249698"][{POST_SNAPBACK}][/a]

There are some technical issues that make it difficult to sync the play counts back to the PC files.  For example, what if a song on the iPod isn't in one of your Foobar playlists?  Would foo_pod just not update that song's play count, or can the Foobar database help out here?  I really haven't looked into it enough to say.

Another issue is how to how to resolve the different play counts.  Say Song A has been played 10 times on the iPod, and 3 times in Foobar (as reported by the play counter component).  If you sync up (which really means Load iPod Playlist in the foo_pod menu), does foo_pod write that Song A has been played 10 times or 13 times?  I would guess that should write 13, but again, I don't know for sure.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-25 08:11:49
Quote
Is there any way to create iPod playlists from items in foobar?

In otherwords, if I use foo_pod and load the entire grouping of songs, can I then select certain items and tell it to create a new iPod playlist of just those songs?

When you use Send Playlist To iPod, foo_pod not only copies the files that aren't already on the iPod, but it also creates the playlist on the iPod.  So to create a new playlist, just create the playlist in Foobar, and select Send Playlist To iPod (assuming you have the Create iPod Playlist option in the Preferences set - this is the default).

In addition, in the Preferences, there are two options that can create additional iPod playlists based on the playlist - random and a custom format.  The random playlist is just that - it takes the songs in the playlist and shuffles them (and does a better job randomizing them than the iPod's shuffle feature).  Custom means that you can use a standard Foobar TAGZ string to sort the playlist.  For example, you could have the playlist sorted by artist.

Quote
Even better, can I automate it and have it create new iPod playlists for every album? 
[a href="index.php?act=findpost&pid=249848"][{POST_SNAPBACK}][/a]

You can't directly do this in foo_pod at the moment, but if there is some way to create those album playlists in Foobar, you can use the Send All Playlist feature to make all of the iPod playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-25 12:52:01
Quote
Even better, can I automate it and have it create new iPod playlists for every album? 
[a href="index.php?act=findpost&pid=249848"][{POST_SNAPBACK}][/a]

Why do you need that? When you browse your music on the iPod, just go to album>name of album and hold select button. It'll play the entire album.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-10-25 12:59:33
Quote
For example, what if a song on the iPod isn't in one of your Foobar playlists?  Would foo_pod just not update that song's play count, or can the Foobar database help out here?  I really haven't looked into it enough to say.

Maybe you can do this:
1) Check if song is on a playlist. If it's then update count. If not:
2) Check if song is on database. If it's then udpate. If not:
3) Don't update.

Maybe you could skip 1) because normally, songs on playlists are auto added to the database. But it will work for people that don't have database enabled, in this case, playlist should be useful.

Just guessing... 

Quote
Another issue is how to how to resolve the different play counts.  Say Song A has been played 10 times on the iPod, and 3 times in Foobar (as reported by the play counter component).  If you sync up (which really means Load iPod Playlist in the foo_pod menu), does foo_pod write that Song A has been played 10 times or 13 times?  I would guess that should write 13, but again, I don't know for sure.
[a href="index.php?act=findpost&pid=249864"][{POST_SNAPBACK}][/a]

I would go for 13.
But a question here: Would this work for transcoded files? I mean, files transcoded from PC to iPod, then: will the original files (non supported format) be updated with counts from iPod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: bradenmcg on 2004-10-25 18:21:18
Quote
Quote
Even better, can I automate it and have it create new iPod playlists for every album? 
[a href="index.php?act=findpost&pid=249848"][{POST_SNAPBACK}][/a]

Why do you need that? When you browse your music on the iPod, just go to album>name of album and hold select button. It'll play the entire album.
[a href="index.php?act=findpost&pid=249908"][{POST_SNAPBACK}][/a]
Because the iPod doesn't handle various artists albums well at all.

See, here's my sort string:
Code: [Select]
$if(%VARIOUS%,%ALBUM%,%ARTIST%) - %DATE% - %ALBUM% - $num(%TRACKNUMBER%,2)

I want it sorted by Artist - Year - Album, unless it is Various Artists, at which point I want it Album - Year.  I've got all of my music tagged properly, but the ipod is stupid and doesn't understand VARIOUS=1.  It puts songs from soundtracks into artist folders based on the song artist.  Now, I could browse by album, but I don't necessarily remember all of my album names - I tend to think of "ok, 3rd album released by artist X," so I browse for artist X and then I want a listing of albums.  Can't get this with Album mode - it mixes all the albums up.  If I browse in Artist mode, I have all of these extra Artists listed who have a single song on a VA album...  I don't want to see those as "Artists" in the iPod sense.

My solution was to create playlists for each album, and title them Artist - Year - Album, or Album - Year for VA stuff.  I had a bunch on here that I had transferred with Anapod, but I rebuilt my iTunesDB to add Soundcheck info and didn't realize it would kill my playlists.  Now I have no easy way to put them back.    I could put all the albums back on with Anapod, but I'm assuming it will tromp on my Soundcheck info...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-26 06:48:35
Quote
But a question here: Would this work for transcoded files? I mean, files transcoded from PC to iPod, then: will the original files (non supported format) be updated with counts from iPod?
[a href="index.php?act=findpost&pid=249909"][{POST_SNAPBACK}][/a]

That's a good question - writing the playcount metadata back to the original file will change the file's hash.  As I pointed out earlier, the hash is used to help associate the original file with the transcoded file.  So that is an additional complication that will need to be addressed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-10-27 10:12:30
Not to go too far off topic here but...

When did the iPod start supporting HighEfficency encoded AAC files?  I was always told AAC's must always be LC to play on the pod.

I was doing some low bit rate encoding tests using foo_nero and I accidentally uploaded a HE files to the pod.  I was quite suprised when it played just fine (and sounded better).  This was on a 4G with the latest firmware.

Have I just been living under a rock or something?

PS, I would like to see some kind of playcount integration solution also.  All I need it to do is maintain the play count on the iPod after a sync all operation.  I use the PC for smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-27 20:58:55
Quote
Not to go too far off topic here but...

No such thing! 

Quote
When did the iPod start supporting HighEfficency encoded AAC files?  I was always told AAC's must always be LC to play on the pod.

I was doing some low bit rate encoding tests using foo_nero and I accidentally uploaded a HE files to the pod.  I was quite suprised when it played just fine (and sounded better).  This was on a 4G with the latest firmware.

Are you sure?  I just did a quick test using NAACEnc and the latest version of Nero AAC.  I encoded the same file as a HE-AAC (-streaming) and a LC-AAC (-streaming -lc).  Both played on the iPod, but the HE-AAC file was unlistenable, due to severe high frequency distortion (it seemed to be playing back only the non-SBR part). 

Maybe NAACEnc was causing the problem, but the HE-AAC file played back fine in Foobar, and FAAD correctly identified it as a HE-AAC, so I don't think NAACEnc/Nero is to blame.  BTW, for those who don't know, HE-AAC is a version of AAC that is somewhat similar to MP3Pro.  It processes the high frequencies in a way that the file can be much smaller (2x) and still retain execellent quality.

Quote
 
Have I just been living under a rock or something?

I wasn't able to find anyone reporting being able to play HE-AAC files on an iPod, so maybe you accidently loaded regular LC-AAC files instead of the HE-AAC ones?  Try using FAAD or the Properties menu in Foobar to verify the AAC type.  Being able to play HE-AAC songs on an iPod would be huge, especially for using with foo_pod's transcoder.

Quote
PS, I would like to see some kind of playcount integration solution also.  All I need it to do is maintain the play count on the iPod after a sync all operation.  I use the PC for smart playlists.
[a href="index.php?act=findpost&pid=250352"][{POST_SNAPBACK}][/a]

The play counts on the iPod should be maintained - if not, that is a bug in foo_pod.  Now that i think of it, I can believe it doesn't work if you use sync...I should fix that.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-27 21:01:28
BTW, does anyone here have (or is going to buy) one of the new photo iPods?  I'd be interested in seeing the new database format and see how they are storing the photos/album art.  Along the same lines, if someone has $500 - $600 laying around, I'd be happy to add album art support to foo_pod...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-10-28 00:34:56
Quote
Quote
Quote
Even better, can I automate it and have it create new iPod playlists for every album? 
[a href="index.php?act=findpost&pid=249848"][{POST_SNAPBACK}][/a]

Why do you need that? When you browse your music on the iPod, just go to album>name of album and hold select button. It'll play the entire album.
[a href="index.php?act=findpost&pid=249908"][{POST_SNAPBACK}][/a]
Because the iPod doesn't handle various artists albums well at all.

See, here's my sort string:
Code: [Select]
$if(%VARIOUS%,%ALBUM%,%ARTIST%) - %DATE% - %ALBUM% - $num(%TRACKNUMBER%,2)

I want it sorted by Artist - Year - Album, unless it is Various Artists, at which point I want it Album - Year.  I've got all of my music tagged properly, but the ipod is stupid and doesn't understand VARIOUS=1.  It puts songs from soundtracks into artist folders based on the song artist.  Now, I could browse by album, but I don't necessarily remember all of my album names - I tend to think of "ok, 3rd album released by artist X," so I browse for artist X and then I want a listing of albums.  Can't get this with Album mode - it mixes all the albums up.  If I browse in Artist mode, I have all of these extra Artists listed who have a single song on a VA album...  I don't want to see those as "Artists" in the iPod sense.
[a href="index.php?act=findpost&pid=249963"][{POST_SNAPBACK}][/a]

A solution using foo_pod would be to open the preferences and put "POD_" in the "Alternate Metadata Prefix" field. Then for all your various artist albums, add some metadata that looks like POD_ARTIST="Various Artists" or something along those lines. Then when you sync using foo_pod, the tracks will all get the "Various Artists" name in the Browse menu and on the display, and won't have all those extra artists listed. All those albums will be listed under the "Various Artists" Artist name.

The iPod doesn't care about metadata in the file in any real way. It doesn't even read it. All the iPod cares about is what is in the iTunesDB file, and that's the file that foo_pod is creating.

You can use the MassTagger to create the POD_ARTIST metadata based on the existence of your VARIOUS=1 metadata.

If you also want to change the Album display to include the year, then set POD_ALBUM=2000 Albumname  or similar. Again, use the Masstagger and such.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-10-28 01:07:49
Well, false alarm on the iPod playing AAC HE correctly.

I was testing recordings from FM talk radio.  I had already applied a 7khz low pass filter to the audio source.  I did sucessfully make both LC and HE versions, and they do both play on the iPod.  In fact for my application (voice only radio recordings) the HE sounds better then the LC on the iPod (even though it is not being decoded properly).

I did a second test with some real music.  Wow what a difference.  I had no idea HE would sound so good.  I made a 32kbit HE file from a FLAC 44.1 source and played it in foobar.  It sounded very close to the origional.  Not exactly, but damn good for something that you could stream through a 56k modem connection.  When I played it on the iPod, it sounded like a low pass filter had been applied.  All mud and no highs.

Sorry if I got anyone hopes up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: bugmenot on 2004-10-28 07:15:09
I think I ran into a small issue with foo_pod.  When filenames contain a semicolon, they cannot be uploaded to the iPod.  Renaming all of the files fixed the issue.
Title: foo_pod - Foobar2000 meets the iPod
Post by: bradenmcg on 2004-10-28 13:31:26
Quote
Quote
Quote
Quote
Even better, can I automate it and have it create new iPod playlists for every album? 
[a href="index.php?act=findpost&pid=249848"][{POST_SNAPBACK}][/a]

Why do you need that? When you browse your music on the iPod, just go to album>name of album and hold select button. It'll play the entire album.
[a href="index.php?act=findpost&pid=249908"][{POST_SNAPBACK}][/a]
Because the iPod doesn't handle various artists albums well at all.

See, here's my sort string:
Code: [Select]
$if(%VARIOUS%,%ALBUM%,%ARTIST%) - %DATE% - %ALBUM% - $num(%TRACKNUMBER%,2)

I want it sorted by Artist - Year - Album, unless it is Various Artists, at which point I want it Album - Year.  I've got all of my music tagged properly, but the ipod is stupid and doesn't understand VARIOUS=1.  It puts songs from soundtracks into artist folders based on the song artist.  Now, I could browse by album, but I don't necessarily remember all of my album names - I tend to think of "ok, 3rd album released by artist X," so I browse for artist X and then I want a listing of albums.  Can't get this with Album mode - it mixes all the albums up.  If I browse in Artist mode, I have all of these extra Artists listed who have a single song on a VA album...  I don't want to see those as "Artists" in the iPod sense.
[a href="index.php?act=findpost&pid=249963"][{POST_SNAPBACK}][/a]

A solution using foo_pod would be to open the preferences and put "POD_" in the "Alternate Metadata Prefix" field. Then for all your various artist albums, add some metadata that looks like POD_ARTIST="Various Artists" or something along those lines. Then when you sync using foo_pod, the tracks will all get the "Various Artists" name in the Browse menu and on the display, and won't have all those extra artists listed. All those albums will be listed under the "Various Artists" Artist name.

The iPod doesn't care about metadata in the file in any real way. It doesn't even read it. All the iPod cares about is what is in the iTunesDB file, and that's the file that foo_pod is creating.

You can use the MassTagger to create the POD_ARTIST metadata based on the existence of your VARIOUS=1 metadata.

If you also want to change the Album display to include the year, then set POD_ALBUM=2000 Albumname  or similar. Again, use the Masstagger and such.
[a href="index.php?act=findpost&pid=250526"][{POST_SNAPBACK}][/a]

OMG, <3.  I didn't know this was possible.  Now I know what the "alternate prefix" option does.    This will work fine for my purposes.  Thanks a ton Otto!  I'm assuming that if foobar doesn't find any metadata with the prefix, it just uses the standards, right?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-10-28 16:46:38
Quote
OMG, <3.  I didn't know this was possible.  Now I know what the "alternate prefix" option does.    This will work fine for my purposes.  Thanks a ton Otto!  I'm assuming that if foobar doesn't find any metadata with the prefix, it just uses the standards, right?
[a href="index.php?act=findpost&pid=250637"][{POST_SNAPBACK}][/a]

Right. It uses (prefix)ARTIST if it's around or ARTIST if it's not. Same thing applies to all metadata that foo_pod uses when creating the iTunesDB file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nicholas on 2004-10-29 19:26:09
Thanks so much for foo_pod, it is great.  I have one question though.

When syncing all playlists with my ipod, all songs are transfered, but one playlist always seems to be left out.  Is there a way for me to get all of my playlists listed in the playlist menu on my ipod?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-10-29 20:15:39
Quote
Thanks so much for foo_pod, it is great.  I have one question though.

Thanks!

Quote
When syncing all playlists with my ipod, all songs are transfered, but one playlist always seems to be left out.  Is there a way for me to get all of my playlists listed in the playlist menu on my ipod?


Is it always the same playlist?  foo_pod can be told to ignore specific playlists, based on the playlist name.  Select the playlist that doesn't get transferred in Foobar, then right click on one of the songs and go to the foo_pod menu.  Does one of the menu items say "Ignored Playlist"?
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-10-30 08:13:03
Any progress on the disappearing smart play lists?  They disappear each and every time I preform a sync operation.  They do not diappear when I do a simple Send File to iPod or Remove File from iPod operation.

Title: foo_pod - Foobar2000 meets the iPod
Post by: billcow on 2004-10-30 22:19:30
Great plugin, but I have one problem with it and one suggestion...

The problem is that it doesn't seem to correctly ignore playlists for sync all - I have one playlist that has every file in my database, and have it set to ignore. The problem is that all the songs end up getting transfered anyway. I'm not sure if the playlist ends up getting created because the errors popping up in the console slow down the process so much that I just click cancel.

The suggestion is that there be an option similar to the ipod tag prefix that is generated on the fly from a tagz string. For example, ALBUM could be set as "%album%$if(%disc%, (Disc %disc%))" to add in the disc number without having to run the masstagger on all multi-disc albums.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-01 15:40:07
Quote
The problem is that it doesn't seem to correctly ignore playlists for sync all - I have one playlist that has every file in my database, and have it set to ignore. The problem is that all the songs end up getting transfered anyway. I'm not sure if the playlist ends up getting created because the errors popping up in the console slow down the process so much that I just click cancel.

I have never been able to reproduce the ignore playlist problems, but several people have reported them so something must be going on.  I'll try to figure it out.

Quote
The suggestion is that there be an option similar to the ipod tag prefix that is generated on the fly from a tagz string. For example, ALBUM could be set as "%album%$if(%disc%, (Disc %disc%))" to add in the disc number without having to run the masstagger on all multi-disc albums.
[a href="index.php?act=findpost&pid=251073"][{POST_SNAPBACK}][/a]

Hmm...this is a pretty good idea.  I'll make sure to implement this in the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: blurryeyes on 2004-11-01 21:55:51
Best ipod plugin i ever seen!!
Thx for your job.....

btw..would the transfer window add the data transfer bitrate?
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2004-11-02 20:08:05
Anyone here (Otto or Aero?) know anything about this issue?

AAC tagging & binary fields:

http://www.hydrogenaudio.org/forums/index....showtopic=29120 (http://www.hydrogenaudio.org/forums/index.php?showtopic=29120)

+Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: gcsherwood on 2004-11-04 23:39:02
I've lurked here for a while.  I've used Foobar for a quite a while.  Reading about the foo_ipod plugin helped me decide to go with ipod over some of the competing units.

But I'm having significant problems with large playlists.  I have two main genres, rock and celtic.  I have a playlist for each, 3200 mp3 titles of the former, about 1200 of the latter.  Foobar gives the correct counts in the playlists.  When I send the playlists over to the ipod (clean, no files on it, so all the files need to be transferred as well) the ipod (4G, 40 GB) only reports about 2400 titles in the first playlist and 1000 in the second.

So I cleaned the ipod off again, then just mounted it and copied the files directly over, rebuilding the ipod database when I finished.  I created smart playlists for each (using the GENRE tag) and got the right number of files reported in each playlist.  This does work, but I don't really like the random function of the ipod.  I guess it is trying to conserve power by clumping its random feature so it doesn't have to read from the disk so often -- but I listen to it in my car so it is aways on external power and with as many albums as I have I don't want to hear three tunes from the same album in an hour.

So I wanted to create a randomized playlist for each genre, then download those.  Foo_ipod immediately started resending all of the files.  My guess is that since the files aren't in the usual places on the ipod it didn't recognize them as being the same.  So I downloaded the database from the ipod to a foobar playlist using foo_ipod, deleted all the rock entries (to make a celtic playlist) then transferred the playlist back.  At first this seemed to go fine -- it didn't try to copy any new files since it knew where they all were, and the playlist showed up on the ipod.  With a total of 20 entries in it.  Out of 1200.  I tried the same thing again, with the same result.  20 entries.  All celtic, all random, but about 1180 entries short.

Shouldn't what I tried have worked?

Or maybe there is just another way to do what I want to do.  All I want to do is to go through a randomized playlist in order.  Unfortunately, if I switch back and forth between the rock and celtic playlists, each time I switch I start at the beginning of the corresponding playlist.  If the ipod had some feature that said resume playing a playlist the same place you left it I'd be set -- that is *exactly* the behavior I'm trying to mimic -- but I haven't seen anything like that.

I figure if I can get the randomized playlists sent correctly, I can do something with smart playlists to get something like the behavior I want.  If I were to play every tune once in order I could just look for 'longest time since played' (or whatever the smart playlist option is -- I don't have my ipod with me so I can't check).  Not played in the last two months should work somewhat, but after two months I think the songs which had been played before that would start jumping back to the front of the playlist so I'd never hear the ones at the end.  In each of these cases I have the 'randomize' flag OFF and use the 'select songs from playlist' option of the smart playlist.

Any ideas on this score would be most welcome as well.

thanks,

Geoff Sherwood
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-06 19:53:18
Quote
I've lurked here for a while.  I've used Foobar for a quite a while.  Reading about the foo_ipod plugin helped me decide to go with ipod over some of the competing units.

Apple should be paying me a commission! 

Quote
But I'm having significant problems with large playlists.  I have two main genres, rock and celtic.  I have a playlist for each, 3200 mp3 titles of the former, about 1200 of the latter.  Foobar gives the correct counts in the playlists.  When I send the playlists over to the ipod (clean, no files on it, so all the files need to be transferred as well) the ipod (4G, 40 GB) only reports about 2400 titles in the first playlist and 1000 in the second.

So I cleaned the ipod off again, then just mounted it and copied the files directly over, rebuilding the ipod database when I finished.  I created smart playlists for each (using the GENRE tag) and got the right number of files reported in each playlist.  This does work, but I don't really like the random function of the ipod.  I guess it is trying to conserve power by clumping its random feature so it doesn't have to read from the disk so often -- but I listen to it in my car so it is aways on external power and with as many albums as I have I don't want to hear three tunes from the same album in an hour.

Are there any errors on the Foobar console?  I have playlists with more than 7000 songs and I have never noticed any problems, so I don't think it has anything to do with the number of files you are transferring.  But if there any errors while transferring the files, it could explain why you aren't seeing the full playlist count. 


Quote
So I wanted to create a randomized playlist for each genre, then download those.  Foo_ipod immediately started resending all of the files.  My guess is that since the files aren't in the usual places on the ipod it didn't recognize them as being the same.  So I downloaded the database from the ipod to a foobar playlist using foo_ipod, deleted all the rock entries (to make a celtic playlist) then transferred the playlist back.  At first this seemed to go fine -- it didn't try to copy any new files since it knew where they all were, and the playlist showed up on the ipod.  With a total of 20 entries in it.  Out of 1200.  I tried the same thing again, with the same result.  20 entries.  All celtic, all random, but about 1180 entries short.

Shouldn't what I tried have worked?

I'm not sure that I have tested your exact situation yet, but it should work.  foo_pod shouldn't care where the files are on the iPod, as long as the database entries are correct.  But there certainly could be a foo_pod bug that is causing the problem, so I'll look into it.

Quote
Or maybe there is just another way to do what I want to do.  All I want to do is to go through a randomized playlist in order.  Unfortunately, if I switch back and forth between the rock and celtic playlists, each time I switch I start at the beginning of the corresponding playlist.  If the ipod had some feature that said resume playing a playlist the same place you left it I'd be set -- that is *exactly* the behavior I'm trying to mimic -- but I haven't seen anything like that.

That would be nice, but I don't believe the iPod can do that.  Sort of a playlist bookmark feature...


Let me know if there is any unusual activity in the Foobar console, and I'll look into the Rebuild Database feature and make sure that is working correctly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: gcsherwood on 2004-11-08 15:24:55
I deleted all of the files in the F folders since they were duplicates when foo_ipod started sending files that it thought weren't already there.  I have a tree structure under iPod_Control/Music with folders like comedy, irish, rock, etc, with all of my albums as subfolders within them, and all of the tracks within those subfolders (pretty standard layout, I'd expect).

I rebuilt the ipod database.  This completed without errors.  I downloaded the database to foobar using the Components->foo_pod->Load Ipod Songs to Foobar2000 Playlist command.  I got two errors when I did this:

WARNING (foo_pod) : mhit(id = 4272) doesn't have a MHOD_LOCATION - removing it from the iTunesDB
WARNING (foo_pod) : mhit(id = 6489) doesn't have a MHOD_LOCATION - removing it from the iTunesDB

I sorted the new playlist appropriately in foobar2000 (default interface) and deleted songs I did not want in my playlist, winding up with a total of 1082 songs.  Checking properties on one of the songs in the list it shows location as f:\iPod_Control\Music\irish\Altan - Harvest Storm\<song title>, which is what I'd expect.  The ipod is mounted as f: on my computer.

I then renamed the playlist to something meaningful (irish list) and sent that playlist to the ipod using the Components->foo_pod->Send Current Playlist to iPod command.  Foobar went away for a second or two, then popped back up with another window on top saying it was preparing the list, updating the iTunes database, etc.  There were no warnings or errors on the console.  Everything looked as if it worked perfectly.  The appropriate playlist appeared on the ipod.

It was empty.

In the previous test I had gotten 20 tunes in the playlist.  My surmise is that those were the duplicate tracks which foo_ipod had started sending down (before I aborted it) I mentioned at the beginning of this post and in my first one.  I cannot confirm that, but considering the number sounds right (I aborted pretty quickly when I saw it sending down files I knew that were already there) and once I deleted all files in the F folders I wound up with empty playlists, it sure sounds plausible.

If I can give you any other information to help you reproduce this, please let me know.

I really like being able to manage the file system myself rather than having files stuck in random directories, so I hope there is some way out of this.  The only negative is that if I add a new album the only way I can get it to be played is to rebuild the database, right?  And that blows away all information such as when it was last played, play counts, etc.  If you'd entertain an feature request, it would be really nice to have an 'update database' which would preserve the existing info if available.  Would that be difficult to do?  I'd think you could keep a copy of the existing database, create the new one, then for any song entry in the new database which is also in the old, just copy the corresponding fields.  Of course, all things are easy to he who does not have to do it.....  This would be good as an additional command, keeping the current one for cases where the database is corrupt and you really *don't* want anything hanging around.

thanks much for your time,

Geoff Sherwood
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-11-08 15:33:16
Hi Aero,

I have my iPod repaired  I just wanted to know if there's some improvements in the counts sync between PC and iPod. Do you have plans for that? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-11-09 13:43:37
Hey guys!
It's been a while since I last checked this thread out...

Not to be an irritating person, but Aero, are there any updates to the current version?

Here are my suggestions (2 cents worth) of inputs:

1) I realised that the OTG Playlist for the 3G iPod (not sure if it happens on the 4G) disappears after new songs have been added to the iPod. Can this be prevented?

2) It would be really cool if foo_pod could allow the user to save the OTG playlist onto the DB. (I guess this applies to ol' time 3G/2G users like me.)

Looking forward to seeing new revisions of foo_pod online!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-11-09 18:01:16
Quote
1) I realised that the OTG Playlist for the 3G iPod (not sure if it happens on the 4G) disappears after new songs have been added to the iPod. Can this be prevented?

No. The iPod deletes those files itself when the iTunesDB file changes.

Quote
2) It would be really cool if foo_pod could allow the user to save the OTG playlist onto the DB. (I guess this applies to ol' time 3G/2G users like me.)

This is possible. Functionality to do it is in the iPodDB library, but code would need to be added to foo_pod. Specifically, it'd need to:
-read the OTG Playlist files
-parse them ( iPod_mhpo->parse() )
-either create normal foobar playlists from them (probably not easy to do.. I dunno) or convert them to normal iPod playlists in the iTunesDB (trivially easy to do.. functionality to do just that is in the iPodDB library... iPod_mhpo->CreatePlaylistFromOTG() ).

This is just me talking off the top of my head, mind you. Only Aero knows how easy/hard it would really be to do in foo_pod. I guess the question is whether you want it to become a foobar playlist or a new iPod playlist only.
Title: foo_pod - Foobar2000 meets the iPod
Post by: gcsherwood on 2004-11-09 18:24:21
It occurs to me that the 'update database' request I was looking for almost has to be mostly implemented already.  foo_ipod has a way of adding new tunes to the database -- otherwise sending down a playlist wouldn't work.  It seems to me that all that would be needed would be to scan the ipod's file system looking for audio files (which the 'rebuild database' command already does), check to see if each file found is already in the database, and if not simply add it in the normal way.

That should allow new albums added to arbitrary places on the ipod disk to be made available to the ipod without messing up what is already there.

Does this make any sense?

thanks,

Geoff Sherwood
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-11-13 08:10:46
Quote
Quote
1) I realised that the OTG Playlist for the 3G iPod (not sure if it happens on the 4G) disappears after new songs have been added to the iPod. Can this be prevented?

No. The iPod deletes those files itself when the iTunesDB file changes.

Quote
2) It would be really cool if foo_pod could allow the user to save the OTG playlist onto the DB. (I guess this applies to ol' time 3G/2G users like me.)

This is possible. Functionality to do it is in the iPodDB library, but code would need to be added to foo_pod. Specifically, it'd need to:
-read the OTG Playlist files
-parse them ( iPod_mhpo->parse() )
-either create normal foobar playlists from them (probably not easy to do.. I dunno) or convert them to normal iPod playlists in the iTunesDB (trivially easy to do.. functionality to do just that is in the iPodDB library... iPod_mhpo->CreatePlaylistFromOTG() ).

This is just me talking off the top of my head, mind you. Only Aero knows how easy/hard it would really be to do in foo_pod. I guess the question is whether you want it to become a foobar playlist or a new iPod playlist only.
[a href="index.php?act=findpost&pid=252849"][{POST_SNAPBACK}][/a]


Just installed iTunes 4.7, and realised that it displays a OTG playlist as a separate playlist (therefore I can save the OTG playlist)...
Title: foo_pod - Foobar2000 meets the iPod
Post by: scottder on 2004-11-16 12:11:29
Ok I may be doing something wrong, but why can't I change the name of a Smart Playlist?
Title: foo_pod - Foobar2000 meets the iPod
Post by: jokull on 2004-11-16 17:50:09
Is it not possible to transcode from a FLAC file with an embedded CUESHEET with track info correctly to single AAC files properly tagged?

Also one complaint to this otherwise tremendous plugin is the lack of information (progress) when trasncoding and transfering in one step.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-11-17 07:41:55
Quote
Ok I may be doing something wrong, but why can't I change the name of a Smart Playlist?
Select it and, after 1 sec. or so, click on it one more time. Works for me.

HTH.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: eTapio on 2004-11-19 08:38:04
Hello,

first of all, thank you for this great plugin.

I just have one question. If I use the option 'Send Current playlist to iPod' it only transfers the songs within the playlist, not the playlist itself. Is this correct?

Regards
eTapio
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-11-19 11:20:03
Quote
I just have one question. If I use the option 'Send Current playlist to iPod' it only transfers the songs within the playlist, not the playlist itself. Is this correct?
[a href="index.php?act=findpost&pid=254932"][{POST_SNAPBACK}][/a]

AFAIK, it transfers all the songs in the playlist + the playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eTapio on 2004-11-19 14:54:22
Quote
AFAIK, it transfers all the songs in the playlist + the playlist.
[a href="index.php?act=findpost&pid=254952"][{POST_SNAPBACK}][/a]


Hmm...doesn't work for me. Is there any special setting? In the Preferences I marked the option 'Create iPod playlists'. I also tried it with option 'Enable sync functions' switched on and off. But I get the same result. The songs has been transfered to the iPod, the playlist not.

eTapio
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2004-11-21 19:23:29
There shouldn't be any special setting that you have to turn on.


I have a question aswell, if you use Sync Current Playlist, will that just make the playlist that is on the iPod look the same as the current playlist? For example, I made a playlist of some songs and I clicked Send Current Playlist. It sent and I have the playlist on my iPod now. I now realize that there's a song I don't want in that playlist (I just want it on my iPod, but not in a specific playlist). Can I remove the song from the playlist in foobar, then click sync current playlist?

Hope this isn't too confusing.

Thanks,
-Tristan
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-11-21 20:19:10
Quote
Can I remove the song from the playlist in foobar, then click sync current playlist?
[a href="index.php?act=findpost&pid=255346"][{POST_SNAPBACK}][/a]


Sync will make your iPod look exactly like this playlist, which means: Delete and add all files on your iPod to look like this playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eTapio on 2004-11-22 06:43:46
Hi,

there must be something wrong. If I use option 'Sync current playlist', foo_pod deletes all files on the IPod. But it did not transfer the files from the playlist!?!

'Send Current playlist to iPod' still works, but it transfer only the songs.

I also create a playlist with EphPod 2 and this creates the playlist on the iPod like it should. So there must be someting wrong with the interface or do I miss something?

eTapio
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-11-22 11:03:16
Quote
there must be something wrong. If I use option 'Sync current playlist', foo_pod deletes all files on the IPod. But it did not transfer the files from the playlist!?!

Are you getting errors during the tranfer on the console window?
And are you using last firmware for the iPod?
And, aren't really the files on your iPod? Sometimes they're there but don't know why, they're not shown as transfered.

I have some symptoms like yours and this were the problems:
1) Didn't have the last firmaware.
2) HDD iPod issues.

Quote
'Send Current playlist to iPod' still works, but it transfer only the songs.

You should wait to the developper to answer you.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eTapio on 2004-11-22 14:41:51
Quote
Are you getting errors during the tranfer on the console window?

No, the console didn't show anything.

Quote
And are you using last firmware for the iPod?

I updated it to Version 3.0.2. Still the same behaviour.

Quote
And, aren't really the files on your iPod? Sometimes they're there but don't know why, they're not shown as transfered.

I checked the iPod Filesystem. They are not there.

Quote
You should wait to the developper to answer you.

Ok, I will wait.

Thanks for your help!

eTapio
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-11-22 15:12:17
Quote
Quote
And, aren't really the files on your iPod? Sometimes they're there but don't know why, they're not shown as transfered.

I checked the iPod Filesystem. They are not there.
[a href="index.php?act=findpost&pid=255478"][{POST_SNAPBACK}][/a]

One more tip, maybe it'll help who knows? 
make sure when you send a playlist to the iPod to send the active playlist. I mean, the playlist that's being displayed on foobar. If you send to the iPod a playlist, right-clicking on the playlist tab, but the playlist isn't active (another playlist is displayed) I think some people reported problems with that, but I suggest you to read this topic (a bite long but very helpful).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-27 06:19:32
Version 0.9.5 (Release Candidate) (http://www.loodi.com/foo_pod.zip) is now available.

I'm not dead, but between work, family, and Half Life 2, I haven't had much free time lately.  Still, I have some good new stuff in this version that should help usability.

Probably the most visible change is that Rebuild Database not only work on the whole iPod now, but it also retains any smart playlists from your previous database.  I also believe I fixed retaining smart playlist with the sync functions, but I'd appreciate some user testing to make sure.  I also made the alternate metadata items (e.g. POD_TITLE) work as TAGZ strings, so any valid TAGZ formatting string can be used here.

Also, I fixed some problems with Rebuild Database and sending files to the iPod.  Previously, if you rebuilt the database and then attempted to send an existing file to the iPod, you would end up with two identical copies of the song on the iPod.  This is fixed now, so as long don't care about normal playlist, play counts, or ratings, rebuilding the database from files you have copied directly to the iPod is a usable solution.

Another new feature that might be interesting is the Import Database From XML feature.  This is basically a XML -> iTunesDB feature, so you can either create a new database directly as XML, or export an existing database, edit it in any text editor, and import it again.


I'm calling this a Release Candidate, since while I have been slowing adding features over the past 2 months, they aren't all fully tested.  Also, I'd like to get one more feature in (Send Songs as AudioBooks) in before I declare a new version.



Code: [Select]
Version 0.9.5 - November 26, 2004
*  Added the ability to import XML and create the resulting iTunesDB database file.  This allows easy human access to the database.

*  Rebuild iTunesDB function now searches for iPod playable music anywhere on the iPod, not just in the Music directories.  This allows you to copy music to anywhere on the iPod, and after running Rebuild, creates a working database.  Also, Rebuild now preserves any existing Smart Playlists.

*  Fixed an incompatability with recent versions of iPodService, which caused the Mount/Eject functions to not work correctly.

*  The alternate metadata feature now allows for TAGZ strings in the metadata.  This allows you to have dynamic  metadata created by any legal TAGZ string.

*  The Sync functions now also preserve any existing Smart Playlists.

*  Fixed a bug when created a database using the Rebuild Database feature.  Previously, any songs added by this feature had incorrect timestamps, so if a user tried to add the same song again, it would copy a new version of the song to the iPod.

*  Delete All Songs and Playlists preserves the iTunes Music Store key files (iSCInfo and iSCInfo2).

*  Fixed Backup/Restore Database features.  
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2004-11-27 07:24:44
Very awesome Aero, I thank you very much.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-11-27 08:22:51
Lovely update Aero. It's a shame you do not have as much time to work on foo_pod, nowadays.
I hope you have not abandoned plans on implementing the VOLUME alternative option for RG so volume balancing also works on 3G's through the dock's line out and implementing an option to pass transcoded files through the DSP or at least the limiter and the eq. Just a friendly reminder. I don't mean to pressure you (but I guess I kinda am). I was just wondering... and hoping.
Hmm... that was possibly a tad blunt.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-11-27 10:02:01
Quote
Version 0.9.5 (Release Candidate) (http://www.loodi.com/foo_pod.zip) is now available.

I'm not dead, but between work, family, and Half Life 2, I haven't had much free time lately.  Still, I have some good new stuff in this version that should help usability.

Probably the most visible change is that Rebuild Database not only work on the whole iPod now, but it also retains any smart playlists from your previous database.  I also believe I fixed retaining smart playlist with the sync functions, but I'd appreciate some user testing to make sure.  I also made the alternate metadata items (e.g. POD_TITLE) work as TAGZ strings, so any valid TAGZ formatting string can be used here.

Also, I fixed some problems with Rebuild Database and sending files to the iPod.  Previously, if you rebuilt the database and then attempted to send an existing file to the iPod, you would end up with two identical copies of the song on the iPod.  This is fixed now, so as long don't care about normal playlist, play counts, or ratings, rebuilding the database from files you have copied directly to the iPod is a usable solution.

Another new feature that might be interesting is the Import Database From XML feature.  This is basically a XML -> iTunesDB feature, so you can either create a new database directly as XML, or export an existing database, edit it in any text editor, and import it again.


I'm calling this a Release Candidate, since while I have been slowing adding features over the past 2 months, they aren't all fully tested.  Also, I'd like to get one more feature in (Send Songs as AudioBooks) in before I declare a new version.

[a href="index.php?act=findpost&pid=256368"][{POST_SNAPBACK}][/a]


Great Work Aero, and thanks for the update!

Will give this new plugin a workout this weekend.... Finally something to play around with.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-11-27 10:42:39
Thanks you Aero
I thought you were hiding from us 
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-11-27 14:16:18
I seem to have found a bug.
I am using IDv2 tags, and the long entries (Title) seem to be truncated with foo_pod when viewed with iTunes.

Will try again to see if I can replicate the bug.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-11-28 00:39:41
Quote
I seem to have found a bug.
I am using IDv2 tags, and the long entries (Title) seem to be truncated with foo_pod when viewed with iTunes.

Will try again to see if I can replicate the bug.
[a href="index.php?act=findpost&pid=256401"][{POST_SNAPBACK}][/a]


I've seen this too, but I believe it is because iTunes uses the IDv1 tags only?
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-11-28 00:51:04
I had foo_pad 0.9.5RC crash hard on me today.  This was the first time I used 0.9.5RC.

I did a sync playlist and after a fair amount of progress, I got the error below.

It looked like it had moved the files around and was doing the database rebuild when it crashed.

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7C910F29h
Access violation, operation: read, address: 00000000h
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/22| Sync Current Playlist"
This is the first crash logged by this instance.
Code bytes (7C910F29h):
7C910EE9h:  E8 14 D2 FF FF E9 32 FE FF FF 0F B7 0E 03 C8 81
7C910EF9h:  F9 00 FE 00 00 0F 87 45 FD FF FF 80 7D 14 00 0F
7C910F09h:  85 25 8B 03 00 8A 46 05 24 10 A8 10 88 47 05 0F
7C910F19h:  85 92 00 00 00 8B 4E 0C 8D 46 08 8B 10 89 4D 0C
7C910F29h:  8B 09 3B 4A 04 89 55 14 0F 85 EA 0F 00 00 3B C8
7C910F39h:  0F 85 E2 0F 00 00 56 53 E8 4E FC FF FF 8B 45 14
7C910F49h:  8B 4D 0C 3B C1 89 01 89 48 04 74 38 8A 46 05 A8
7C910F59h:  04 0F 85 A9 8B 03 00 0F B7 0E 8B 45 10 01 08 0F
Stack (0012EA48h):
0012EA28h:  00000000 00000000 00000000 00000000
0012EA38h:  00000000 00000000 00000000 00000000
0012EA48h:  00890000 042DA988 00000000 0012EB28
0012EA58h:  7C910D5C 03FFEFF8 00000000 0012EB0C
0012EA68h:  00000000 00000003 042DA990 03FBED40
0012EA78h:  02530000 042D8768 00890340 04341FA0
0012EA88h:  0430BD28 043B9DB0 00890288 042E6DD0
0012EA98h:  00890208 008902E8 00000018 00000010
0012EAA8h:  0012EB7C 04305898 00890000 7C910E91
0012EAB8h:  00890608 7C91056D 00890000 00000000
0012EAC8h:  00000058 00890000 00000000 00000000
0012EAD8h:  00000000 00000000 01010000 00000012
0012EAE8h:  0012EA44 0012EA48 00890000 7C90EE18
0012EAF8h:  7C910570 FFFFFFFF 00000000 00000000
0012EB08h:  01010000 00000028 0012EA6C 0012E66C
0012EB18h:  0012EB60 7C90EE18 7C910570 00000001
0012EB28h:  0012EB70 77C2C2DE 00890000 00000000
0012EB38h:  042DA990 00000003 042DA990 03FBED40
0012EB48h:  77C2C2E3 01CD5EE2 04305D80 0432B928
0012EB58h:  0012EB3C 0012E66C 0012EB9C 77C35C94
Registers:
EAX: 042DA9E8, EBX: 00890000, ECX: 00000000, EDX: 01CEC7F4
ESI: 042DA9E0, EDI: 042DA8A0, EBP: 0012EA54, ESP: 0012EA48
Crash location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+0000049Ah)

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                         loaded at 7C800000h - 7C8F4000h
USER32                           loaded at 77D40000h - 77DD0000h
GDI32                            loaded at 77F10000h - 77F56000h
ole32                            loaded at 774E0000h - 7761C000h
msvcrt                           loaded at 77C10000h - 77C68000h
ADVAPI32                         loaded at 77DD0000h - 77E6B000h
RPCRT4                           loaded at 77E70000h - 77F01000h
COMCTL32                         loaded at 773D0000h - 774D2000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F9000h
SHELL32                          loaded at 7C9C0000h - 7D1D4000h
foo_abx                          loaded at 008D0000h - 008DC000h
foo_albumlist                    loaded at 008E0000h - 008EB000h
foo_ape                          loaded at 008F0000h - 0090F000h
foo_cdda                         loaded at 00910000h - 0091E000h
foo_console                      loaded at 00920000h - 00927000h
foo_dbsearch                     loaded at 00930000h - 00948000h
foo_dirvol                       loaded at 00950000h - 00959000h
WINMM                            loaded at 76B40000h - 76B6D000h
DrvTrNTm                         loaded at 6BC00000h - 6BC14000h
DrvTrNTl                         loaded at 6BC20000h - 6BC3C000h
foo_diskwriter                   loaded at 00BE0000h - 00BF2000h
foo_dsp_extra                    loaded at 00C00000h - 00C15000h
foo_flac                         loaded at 00C20000h - 00C3C000h
foo_freedb                       loaded at 00C40000h - 00C6E000h
WS2_32                           loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_id3v2                        loaded at 00C70000h - 00CA0000h
MSVCP60                          loaded at 76080000h - 760E5000h
foo_infobox                      loaded at 00CA0000h - 00CB3000h
foo_input_std-orig               loaded at 00CC0000h - 00D5E000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
foo_masstag                      loaded at 00D60000h - 00D74000h
foo_output_std                   loaded at 00D80000h - 00D89000h
foo_playcount                    loaded at 00D90000h - 00D9A000h
foo_quicktag                     loaded at 00DA0000h - 00DA9000h
foo_read_http                    loaded at 00DB0000h - 00DB9000h
foo_rgscan                       loaded at 00DC0000h - 00DCD000h
foo_setyear                      loaded at 00DD0000h - 00DE2000h
foo_shn                          loaded at 00DF0000h - 00DFF000h
foo_speex                        loaded at 00E00000h - 00E18000h
foo_ui_columns                   loaded at 00E20000h - 00E4F000h
foo_ui_std                       loaded at 00E50000h - 00E67000h
foo_unpack                       loaded at 00E70000h - 00EA1000h
OLEAUT32                         loaded at 77120000h - 771AC000h
foo_wavpack                      loaded at 00EB0000h - 00EC2000h
foo_vis_bacon                    loaded at 00ED0000h - 00EE7000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_vis_manager                  loaded at 00F00000h - 00F08000h
foo_vis_simple_spectrum          loaded at 00F10000h - 00F1A000h
foo_vis_vu_meter                 loaded at 00F20000h - 00F28000h
foo_nero                         loaded at 00F30000h - 00F3F000h
MFC42                            loaded at 73DD0000h - 73ECE000h
foo_midi                         loaded at 00F40000h - 00FCF000h
foo_ac3                          loaded at 00FD0000h - 00FE3000h
foo_mod                          loaded at 00FF0000h - 00FF9000h
BASS                             loaded at 01000000h - 0105A000h
foo_spc                          loaded at 01060000h - 01071000h
foo_tfmx                         loaded at 01080000h - 01089000h
foo_ofr                          loaded at 01090000h - 01096000h
OptimFROG                        loaded at 010A0000h - 010CC000h
foo_tta                          loaded at 010E0000h - 010E9000h
foo_tta_old                      loaded at 010F0000h - 010F9000h
foo_lpac                         loaded at 01100000h - 01107000h
lpac_codec_api                   loaded at 01110000h - 0111A000h
lpaccodec                        loaded at 01120000h - 01149000h
foo_wma                          loaded at 01370000h - 0138A000h
WMVCore                          loaded at 086C0000h - 08904000h
WMASF                            loaded at 070D0000h - 0710B000h
foo_psf                          loaded at 01490000h - 0153C000h
foo_nez                          loaded at 01540000h - 0156B000h
foo_festalon                     loaded at 01610000h - 0174E000h
foo_sid                          loaded at 01570000h - 015B7000h
foo_xa                           loaded at 015C0000h - 015CF000h
foo_matroska                     loaded at 01750000h - 01798000h
foo_out_dsound_ex                loaded at 015D0000h - 015D9000h
DSOUND                           loaded at 73F10000h - 73F6C000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_out_ks                       loaded at 015F0000h - 015FB000h
SETUPAPI                         loaded at 77920000h - 77A13000h
foo_search_ex                    loaded at 017A0000h - 017A8000h
foo_bitcompare                   loaded at 017B0000h - 017B9000h
foo_burninate                    loaded at 017C0000h - 017CC000h
foo_apl                          loaded at 017D0000h - 017DA000h
foo_oggpreview                   loaded at 017E0000h - 018E1000h
foo_mpeg4u                       loaded at 018F0000h - 01919000h
foo_history                      loaded at 01920000h - 01930000h
foo_scroll                       loaded at 01930000h - 01936000h
foo_utils                        loaded at 01940000h - 01951000h
foo_playlistgen_ex               loaded at 01960000h - 0196F000h
foo_convolve                     loaded at 01970000h - 019BF000h
foo_dsp_crossfeed                loaded at 019C0000h - 019C6000h
foo_dynamics                     loaded at 019D0000h - 019D7000h
foo_dsp_soundtouch               loaded at 019E0000h - 019EB000h
foo_dsp_crossfade                loaded at 019F0000h - 019F7000h
foo_dsp_skip_silence             loaded at 01A00000h - 01A07000h
foo_dsp_nogaps                   loaded at 01A10000h - 01A17000h
foo_dsp_pause                    loaded at 01A20000h - 01A27000h
foo_pphsresample                 loaded at 01A30000h - 01A40000h
foo_clienc                       loaded at 01A40000h - 01A4B000h
foo_vorbisenc                    loaded at 01A50000h - 01B61000h
foo_flaccer                      loaded at 01B70000h - 01B86000h
foo_monkey                       loaded at 01B90000h - 01BAC000h
foo_faac                         loaded at 01BB0000h - 01BE3000h
foo_null                         loaded at 01BF0000h - 01BF7000h
foo_input_std                    loaded at 01C00000h - 01CA2000h
foo_pod                          loaded at 01CB0000h - 01D1D000h
foo_podclienc                    loaded at 01D20000h - 01D2E000h
foo_podtranscoder                loaded at 01D30000h - 01D3B000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                           loaded at 77050000h - 77115000h
msi                              loaded at 7D1E0000h - 7D492000h
USERENV                          loaded at 769C0000h - 76A73000h
xpsp2res                         loaded at 20000000h - 202C5000h
SXS                              loaded at 75E90000h - 75F40000h
WINTRUST                         loaded at 76C30000h - 76C5E000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                           loaded at 77B20000h - 77B32000h
IMAGEHLP                         loaded at 76C90000h - 76CB8000h
wdmaud                           loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
midimap                          loaded at 77BD0000h - 77BD7000h
browseui                         loaded at 75F80000h - 7607C000h
browselc                         loaded at 02510000h - 02522000h
mp3PRO_dmo                       loaded at 26000000h - 26013000h
wsock32                          loaded at 71AD0000h - 71AD9000h
VqfEncLib1                       loaded at 05720000h - 0582D000h
WINSPOOL                         loaded at 73000000h - 73026000h
WININET                          loaded at 771B0000h - 77256000h
NeroIPP                          loaded at 05830000h - 0593C000h
AdvrCntr                         loaded at 05940000h - 05A5B000h
appHelp                          loaded at 77B40000h - 77B62000h
cscui                            loaded at 77A20000h - 77A74000h
CSCDLL                           loaded at 76600000h - 7661D000h
ntshrui                          loaded at 76990000h - 769B5000h
ATL                              loaded at 76B20000h - 76B31000h
NETAPI32                         loaded at 5B860000h - 5B8B4000h
shdocvw                          loaded at 77760000h - 778CC000h
CRYPTUI                          loaded at 754D0000h - 75550000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
MPR                              loaded at 71B20000h - 71B32000h
drprov                           loaded at 75F60000h - 75F67000h
ntlanman                         loaded at 71C10000h - 71C1E000h
NETUI0                           loaded at 71CD0000h - 71CE7000h
NETUI1                           loaded at 71C90000h - 71CD0000h
NETRAP                           loaded at 71C80000h - 71C87000h
SAMLIB                           loaded at 71BF0000h - 71C03000h
davclnt                          loaded at 75F70000h - 75F79000h
shgina                           loaded at 73D70000h - 73D83000h
MSGINA                           loaded at 75970000h - 75A67000h
WINSTA                           loaded at 76360000h - 76370000h
ODBC32                           loaded at 74320000h - 7435D000h
odbcint                          loaded at 02710000h - 02727000h
Secur32                          loaded at 77FE0000h - 77FF1000h
Audiodev                         loaded at 092D0000h - 09349000h
wiashext                         loaded at 593F0000h - 59482000h
gdiplus                          loaded at 4EC50000h - 4EDF3000h
sti                              loaded at 73BA0000h - 73BB3000h
CFGMGR32                         loaded at 74AE0000h - 74AE7000h
urlmon                           loaded at 77260000h - 772FE000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 7C910D5Ch, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 01010000h, location: "BASS", loaded at 01000000h - 0105A000h
Symbol: "BASS_SampleStop" (+00008DF8h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 01010000h, location: "BASS", loaded at 01000000h - 0105A000h
Symbol: "BASS_SampleStop" (+00008DF8h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 77C2C2DEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C3h)
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 01CD5EE2h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12070h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C78h)
Address: 01CDB545h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CD5262h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEB747h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CDB518h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CD14D5h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEB5F0h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CDB3A8h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CD0F35h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEB590h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CDCD37h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEB8C0h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CB9777h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEC5E4h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEC5D0h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEC444h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 01CEC954h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEC804h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEC8A4h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEC95Ch, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 00E34146h, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 7744433Bh, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "CreateToolbar" (+00000037h)
Address: 00E33ADDh, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 00E33ADDh, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 00E3403Bh, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 00E409D4h, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 00E33ADDh, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 00E33B03h, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 77D48709h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000072h)
Address: 00E33ADDh, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 00E33ADDh, location: "foo_ui_columns", loaded at 00E20000h - 00E4F000h
Address: 7700D4DEh, location: "CLBCATQ", loaded at 76FD0000h - 7704F000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 77C2C3C9h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000001AEh)
Address: 77C2C3CEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000001B3h)
Address: 01CF868Ch, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12088h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C90h)

Version info:
foobar2000 v0.8.3
UNICODE


So then I tried to do a database repair on the iPod and got a similar crash report.

Next I cleared the iPod of all files and am doing a fresh sync of all files.  That is in progress now.  I'll report back if it worked.

The only thing I can think of is I recently upgraded the firmware in my iPod (4G 20GB).  Maybe they changed the database format on us?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-11-28 00:53:32
Quote
Quote
I seem to have found a bug.
I am using IDv2 tags, and the long entries (Title) seem to be truncated with foo_pod when viewed with iTunes.

Will try again to see if I can replicate the bug.
[a href="index.php?act=findpost&pid=256401"][{POST_SNAPBACK}][/a]


I've seen this too, but I believe it is because iTunes uses the IDv1 tags only?
[a href="index.php?act=findpost&pid=256458"][{POST_SNAPBACK}][/a]


Not sure about this.. But I don't think that I've seen this problem surface on the previous revisions of foo_pod...

Another question: I've also uploaded some songs that do not have a album title. When viewed on iTunes 4.7 (I forgot to state the version..  ), they display as [Album].

Just to ask, could this be due to foo_pod, or could this be due to my playlist formatting strings?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-28 02:40:28
Quote
Lovely update Aero. It's a shame you do not have as much time to work on foo_pod, nowadays.
I hope you have not abandoned plans on implementing the VOLUME alternative option for RG so volume balancing also works on 3G's through the dock's line out and implementing an option to pass transcoded files through the DSP or at least the limiter and the eq. Just a friendly reminder. I don't mean to pressure you (but I guess I kinda am). I was just wondering... and hoping.
Hmm... that was possibly a tad blunt.
[a href="index.php?act=findpost&pid=256378"][{POST_SNAPBACK}][/a]

I haven't totally forgotten it, and in fact, it is almost complete, but I need to invoke the collective brainpower of the readers in order to complete it.

The problem is that I need a way to map gain values to a volume value.  Gain values are the ReplayGain values that you see in Foobar, like -7.95dB or 3.14dB.  Volume values are from -255 (complete silence) to 255 (loudest volume).

I actually tried mapping the Soundcheck values to Volume values previously, but that didn't work.  As I'm typing this, I'm thinking that setting -255 = -20dB and 255 = 20dB would probably be ok, so the equation to get the Soundcheck-ish volume setting would be gain * 12.75 (and setting the limits to +/- 255).


Also for the transcoder, it already does go through the Advanced Limiter (no option to disable).  I thought about adding other DSP options, but unless you are transcoding everything, I figured that it would be weird to have some songs with the equalizer applied, and some not.


Edit: I plugged in the gain * 12.75 equation into my code, and it works beautifully.  The way it works is in the Preferences, there is a "3G iPod Line Out Mode" checkbox next to the regular Soundcheck radio buttons.  If you click this, instead of writing the ReplayGain values to the soundcheck portion of the database, they are written to the volume section.  This means that it will work on the docking connector's line out, but you can't disable it by turning SoundCheck off in the iPod Settings menu.  Unfortunately, this is the only way to get SoundCheck to work via the line out jack on 3G iPods.

BTW, speaking of 3G iPods, I am selling my 40GB 3G iPod.  I don't want to commercialize this forum, but if you'd like to own a little piece of foo_pod history or find out more, email me or drop me a private message.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-28 02:45:10
Quote
Another question: I've also uploaded some songs that do not have a album title. When viewed on iTunes 4.7 (I forgot to state the version..  ), they display as [Album].

Just to ask, could this be due to foo_pod, or could this be due to my playlist formatting strings?
[a href="index.php?act=findpost&pid=256462"][{POST_SNAPBACK}][/a]

This is foo_pod's doing.  If there isn't an artist metadata item, foo_pod uses [Artist], and if there isn't an Album, it sets the album metadata (in the iTunesDB database only) to [Album].

This is so you can easily find songs on the iPod which don't have album or artists.  Sort of a catch-all artist/album.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-28 02:47:23
Quote
I had foo_pad 0.9.5RC crash hard on me today.  This was the first time I used 0.9.5RC.

I did a sync playlist and after a fair amount of progress, I got the error below.

It looked like it had moved the files around and was doing the database rebuild when it crashed.

(snip)

So then I tried to do a database repair on the iPod and got a similar crash report.

Next I cleared the iPod of all files and am doing a fresh sync of all files.  That is in progress now.  I'll report back if it worked.

The only thing I can think of is I recently upgraded the firmware in my iPod (4G 20GB).  Maybe they changed the database format on us?
[a href="index.php?act=findpost&pid=256461"][{POST_SNAPBACK}][/a]

No, based on your report, I think it is in the code that retains the smart playlist.  I'll try to reproduce and fix it.

Thanks for the report!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-11-28 04:39:19
Glad to see development on foo_pod is still in flight, Aero.  (man oh man, blame that one on too much turkey.)  I've got a question about the "Send/Sync Playlist" settings:

Would it be possible to choose which playlists get randomized?  If I have several playlists loaded with foo_pod, I generally only need one randomized, and would prefer to not have the "Playlists" list cluttered.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-11-28 05:18:24
Quote
The problem is that I need a way to map gain values to a volume value.  Gain values are the ReplayGain values that you see in Foobar, like -7.95dB or 3.14dB.  Volume values are from -255 (complete silence) to 255 (loudest volume).
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=256466")


I may not have all of my facts strait here, but as I recall...

Gain expressed in dB is a non-linear scale.  I believe -3dB is equal to 1/2 the amount of percieved loudness.

I found a good URL on the topic [a href="http://www.dr-lex.34sp.com/info-stuff/volumecontrols.html]here[/url].  An excerpt...


Quote
Because people have so little time nowadays, here is the essention of this text, compressed into a few sentences:

    * Volume sliders must not be linear. Linear volume sliders are an annoyment to users because the human hearing is not linear at all, it is logarithmic. That's why all audio equipment worth its name, uses the dB scale to indicate volume and gain settings. For a relative volume level x, the dB value is equal to 20*log10(x). Positive dB values mean amplification, negative values mean attenuation.
    * The ideal volume slider follows an exponential curve, with its lowest setting corresponding to 0dB(A) and its highest setting to the loudest volume the user's audio equipment produces. This is quite unpractical to work with because you can only make vague assumptions about what equipment the user has, so forget about this unless you are working on a very high-end product.
    * A good all-around and computationally cheap approximation of an exponential curve which fits most consumer audio configurations, is the 4th power of the volume slider's position, so: volume scale factor = x4, where x is the volume slider's position, rescaled to the interval [0,1]. Use this simple formula for all your volume sliders, it's not perfect, but a billion times better than a linear slider!!!

If you want to know more, read on. Otherwise, read the third point again and make sure you'll never forget it
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-11-28 05:33:51
Quote
No, based on your report, I think it is in the code that retains the smart playlist.  I'll try to reproduce and fix it.

Thanks for the report!
[a href="index.php?act=findpost&pid=256468"][{POST_SNAPBACK}][/a]


I would go along with that.  My smart playlists are pretty much alwasys fsked up in some way.  They are always good the first time I create them, but after an operation like a playlist sync or "send file to iPod", they get goofed up. 

Everything did go just fine after I cleared the iPod completely and reuploaded everything.  I made a single large playlist with everything I wanted on my iPod and then did a sync playlist.  Then I had to go back and create the smart playlist (since I cleared the entire iPod first).

After using the pod for a bit, I redocked it and added a few songs:

I loaded up the same playlist I used to sync my pod the first time (it has 2467 entires).
I double checked that the smart playlist looked sane in the smart playlist editor.
I added 5 tracks to the playlist (2 hour long m4b's if that matters)
I did Components|foo_pod|Sync Current Playlist
foo_pod sent the 5 new files to the pod
foo_pod crashed when trying to make the new database.
I undocked the pod and checked the smart play list on the pod itself.  All the files were listed properly in the SPL including the new ones I just uploaded.

I guess the crash happens sometime after the new songs get inserted into the database.

Usually when my SPL's get messed up they just end up with a few blank entires and no real entries.  That seems to be fixed, so this is still an improvement  as far as I am concerned

Here is the latest crash report...
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7C93426Dh
Access violation, operation: read, address: 00000000h
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/22| Sync Current Playlist"
This is the first crash logged by this instance.
Code bytes (7C93426Dh):
7C93422Dh:  90 90 90 FF FF FF FF 00 00 00 00 62 CA 93 7C 90
7C93423Dh:  90 90 90 90 64 A1 18 00 00 00 53 6A 00 8B 40 30
7C93424Dh:  FF 70 18 E8 E8 C1 FD FF C3 88 4F 05 8D 48 08 8B
7C93425Dh:  11 89 95 64 FF FF FF 8B 40 0C 89 85 5C FF FF FF
7C93426Dh:  8B 00 3B 42 04 0F 85 13 01 00 00 3B C1 0F 85 0B
7C93427Dh:  01 00 00 FF 75 B0 8B 75 E4 56 E8 08 C9 FD FF 8B
7C93428Dh:  85 64 FF FF FF 8B 8D 5C FF FF FF 89 01 89 48 04
7C93429Dh:  3B C1 0F 84 E4 77 00 00 8B 45 B0 0F B7 08 29 4E
Stack (0012E884h):
0012E864h:  0113DCDC 7C9C76F0 77F643DD 7C9C76F0
0012E874h:  00000004 00000000 0113D1E8 00000000
0012E884h:  0417DF70 00000060 000000E6 7C911596
0012E894h:  7C9106EB 05E900E8 00000020 00000000
0012E8A4h:  7C90EE18 7C910738 FFFFFFFF 7C910732
0012E8B4h:  7C911596 7C9106EB 05E900E8 000000B4
0012E8C4h:  0013517A 77C5FCE0 00000000 00000000
0012E8D4h:  00000000 00000000 00000000 008901B0
0012E8E4h:  01F40000 00890178 008901E0 03A80000
0012E8F4h:  00890218 00000000 00890178 00890198
0012E904h:  00000000 00000000 00000000 01F40000
0012E914h:  0417DD68 0403DFD0 00000000 00890178
0012E924h:  01F40000 00890608 0403DF68 03A80000
0012E934h:  0417E108 0027E410 00000000 043B7C38
0012E944h:  00000016 00000000 01F40000 043B7C30
0012E954h:  0000000A 00890178 00000000 043B7C98
0012E964h:  00000008 0417E110 00890178 00000001
0012E974h:  0417E050 008901D0 00000020 00000008
0012E984h:  00890220 0417D9D0 00890220 043B7C30
0012E994h:  0417E0C0 0417E028 00000002 00890178
Registers:
EAX: 00000000, EBX: 0000A174, ECX: 04408840, EDX: 00000000
ESI: 043B7C30, EDI: 043B7C98, EBP: 0012EAA4, ESP: 0012E884
Crash location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlInitializeContext" (+000001ECh)

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                         loaded at 7C800000h - 7C8F4000h
USER32                           loaded at 77D40000h - 77DD0000h
GDI32                            loaded at 77F10000h - 77F56000h
ole32                            loaded at 774E0000h - 7761C000h
msvcrt                           loaded at 77C10000h - 77C68000h
ADVAPI32                         loaded at 77DD0000h - 77E6B000h
RPCRT4                           loaded at 77E70000h - 77F01000h
COMCTL32                         loaded at 773D0000h - 774D2000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F9000h
SHELL32                          loaded at 7C9C0000h - 7D1D4000h
foo_abx                          loaded at 008D0000h - 008DC000h
foo_albumlist                    loaded at 008E0000h - 008EB000h
foo_ape                          loaded at 008F0000h - 0090F000h
foo_cdda                         loaded at 00910000h - 0091E000h
foo_console                      loaded at 00920000h - 00927000h
foo_dbsearch                     loaded at 00930000h - 00948000h
foo_dirvol                       loaded at 00950000h - 00959000h
WINMM                            loaded at 76B40000h - 76B6D000h
DrvTrNTm                         loaded at 6BC00000h - 6BC14000h
DrvTrNTl                         loaded at 6BC20000h - 6BC3C000h
foo_diskwriter                   loaded at 00BE0000h - 00BF2000h
foo_dsp_extra                    loaded at 00C00000h - 00C15000h
foo_flac                         loaded at 00C20000h - 00C3C000h
foo_freedb                       loaded at 00C40000h - 00C6E000h
WS2_32                           loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_id3v2                        loaded at 00C70000h - 00CA0000h
MSVCP60                          loaded at 76080000h - 760E5000h
foo_infobox                      loaded at 00CA0000h - 00CB3000h
foo_input_std-orig               loaded at 00CC0000h - 00D5E000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
foo_masstag                      loaded at 00D60000h - 00D74000h
foo_output_std                   loaded at 00D80000h - 00D89000h
foo_playcount                    loaded at 00D90000h - 00D9A000h
foo_quicktag                     loaded at 00DA0000h - 00DA9000h
foo_read_http                    loaded at 00DB0000h - 00DB9000h
foo_rgscan                       loaded at 00DC0000h - 00DCD000h
foo_setyear                      loaded at 00DD0000h - 00DE2000h
foo_shn                          loaded at 00DF0000h - 00DFF000h
foo_speex                        loaded at 00E00000h - 00E18000h
foo_ui_columns                   loaded at 00E20000h - 00E4F000h
foo_ui_std                       loaded at 00E50000h - 00E67000h
foo_unpack                       loaded at 00E70000h - 00EA1000h
OLEAUT32                         loaded at 77120000h - 771AC000h
foo_wavpack                      loaded at 00EB0000h - 00EC2000h
foo_vis_bacon                    loaded at 00ED0000h - 00EE7000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_vis_manager                  loaded at 00F00000h - 00F08000h
foo_vis_simple_spectrum          loaded at 00F10000h - 00F1A000h
foo_vis_vu_meter                 loaded at 00F20000h - 00F28000h
foo_nero                         loaded at 00F30000h - 00F3F000h
MFC42                            loaded at 73DD0000h - 73ECE000h
foo_midi                         loaded at 00F40000h - 00FCF000h
foo_ac3                          loaded at 00FD0000h - 00FE3000h
foo_mod                          loaded at 00FF0000h - 00FF9000h
BASS                             loaded at 01000000h - 0105A000h
foo_spc                          loaded at 01060000h - 01071000h
foo_tfmx                         loaded at 01080000h - 01089000h
foo_ofr                          loaded at 01090000h - 01096000h
OptimFROG                        loaded at 010A0000h - 010CC000h
foo_tta                          loaded at 010E0000h - 010E9000h
foo_tta_old                      loaded at 010F0000h - 010F9000h
foo_lpac                         loaded at 01100000h - 01107000h
lpac_codec_api                   loaded at 01110000h - 0111A000h
lpaccodec                        loaded at 01120000h - 01149000h
foo_wma                          loaded at 01370000h - 0138A000h
WMVCore                          loaded at 086C0000h - 08904000h
WMASF                            loaded at 070D0000h - 0710B000h
foo_psf                          loaded at 01490000h - 0153C000h
foo_nez                          loaded at 01540000h - 0156B000h
foo_festalon                     loaded at 01610000h - 0174E000h
foo_sid                          loaded at 01570000h - 015B7000h
foo_xa                           loaded at 015C0000h - 015CF000h
foo_matroska                     loaded at 01750000h - 01798000h
foo_out_dsound_ex                loaded at 015D0000h - 015D9000h
DSOUND                           loaded at 73F10000h - 73F6C000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_out_ks                       loaded at 015F0000h - 015FB000h
SETUPAPI                         loaded at 77920000h - 77A13000h
foo_search_ex                    loaded at 017A0000h - 017A8000h
foo_bitcompare                   loaded at 017B0000h - 017B9000h
foo_burninate                    loaded at 017C0000h - 017CC000h
foo_apl                          loaded at 017D0000h - 017DA000h
foo_oggpreview                   loaded at 017E0000h - 018E1000h
foo_mpeg4u                       loaded at 018F0000h - 01919000h
foo_history                      loaded at 01920000h - 01930000h
foo_scroll                       loaded at 01930000h - 01936000h
foo_utils                        loaded at 01940000h - 01951000h
foo_playlistgen_ex               loaded at 01960000h - 0196F000h
foo_convolve                     loaded at 01970000h - 019BF000h
foo_dsp_crossfeed                loaded at 019C0000h - 019C6000h
foo_dynamics                     loaded at 019D0000h - 019D7000h
foo_dsp_soundtouch               loaded at 019E0000h - 019EB000h
foo_dsp_crossfade                loaded at 019F0000h - 019F7000h
foo_dsp_skip_silence             loaded at 01A00000h - 01A07000h
foo_dsp_nogaps                   loaded at 01A10000h - 01A17000h
foo_dsp_pause                    loaded at 01A20000h - 01A27000h
foo_pphsresample                 loaded at 01A30000h - 01A40000h
foo_clienc                       loaded at 01A40000h - 01A4B000h
foo_vorbisenc                    loaded at 01A50000h - 01B61000h
foo_flaccer                      loaded at 01B70000h - 01B86000h
foo_monkey                       loaded at 01B90000h - 01BAC000h
foo_faac                         loaded at 01BB0000h - 01BE3000h
foo_null                         loaded at 01BF0000h - 01BF7000h
foo_input_std                    loaded at 01C00000h - 01CA2000h
foo_pod                          loaded at 01CB0000h - 01D1D000h
foo_podclienc                    loaded at 01D20000h - 01D2E000h
foo_podtranscoder                loaded at 01D30000h - 01D3B000h
UxTheme                          loaded at 5AD70000h - 5ADA8000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                           loaded at 77050000h - 77115000h
msi                              loaded at 7D1E0000h - 7D492000h
USERENV                          loaded at 769C0000h - 76A73000h
xpsp2res                         loaded at 20000000h - 202C5000h
SXS                              loaded at 75E90000h - 75F40000h
WINTRUST                         loaded at 76C30000h - 76C5E000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                           loaded at 77B20000h - 77B32000h
IMAGEHLP                         loaded at 76C90000h - 76CB8000h
wdmaud                           loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
midimap                          loaded at 77BD0000h - 77BD7000h
mp3PRO_dmo                       loaded at 26000000h - 26013000h
wsock32                          loaded at 71AD0000h - 71AD9000h
VqfEncLib1                       loaded at 056D0000h - 057DD000h
WINSPOOL                         loaded at 73000000h - 73026000h
WININET                          loaded at 771B0000h - 77256000h
NeroIPP                          loaded at 057E0000h - 058EC000h
AdvrCntr                         loaded at 058F0000h - 05A0B000h
browseui                         loaded at 75F80000h - 7607C000h
browselc                         loaded at 01F60000h - 01F72000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 77C2C3C9h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000001AEh)
Address: 77C29CD4h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "operator new" (+0000000Fh)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12088h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C90h)
Address: 77C2C3E7h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000001CCh)
Address: 77C29CD4h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "operator new" (+0000000Fh)
Address: 01CD2B6Fh, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 77C29CD4h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "operator new" (+0000000Fh)
Address: 01CEB6E4h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CD1B87h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 77C464BFh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "strnicmp" (+00000000h)
Address: 01CEB67Ah, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CD17D1h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CEB636h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CD10A5h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CDCE01h, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 01CB5BDAh, location: "foo_pod", loaded at 01CB0000h - 01D1D000h
Address: 00440073h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 6BC03212h, location: "DrvTrNTm", loaded at 6BC00000h - 6BC14000h
Address: 6BC0D3A8h, location: "DrvTrNTm", loaded at 6BC00000h - 6BC14000h
Address: 77D70494h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetClipboardFormatNameA" (+0000014Fh)
Address: 77D4B258h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DefWindowProcW" (+00000073h)

Version info:
foobar2000 v0.8.3
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-28 06:03:31
Quote
Would it be possible to choose which playlists get randomized?  If I have several playlists loaded with foo_pod, I generally only need one randomized, and would prefer to not have the "Playlists" list cluttered.
[a href="index.php?act=findpost&pid=256476"][{POST_SNAPBACK}][/a]


I know what you mean...I had a playlist with 3 songs and foo_pod randomized it anyway... 

I'm not sure how I would implement the option to randomize only certain playlists.  I guess I could add it as a context menu item, like Ignore Playlist, but that seems like overkill.  How about only randomizing playlists that contain more than 25/50/100 songs?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-11-28 20:49:48
Quote
Quote
Would it be possible to choose which playlists get randomized?  If I have several playlists loaded with foo_pod, I generally only need one randomized, and would prefer to not have the "Playlists" list cluttered.
[a href="index.php?act=findpost&pid=256476"][{POST_SNAPBACK}][/a]

How about only randomizing playlists that contain more than 25/50/100 songs?
[a href="index.php?act=findpost&pid=256482"][{POST_SNAPBACK}][/a]


Hmm.  I'm not sure that's what I'm looking for either.  Would it be possible to enter a list of playlists to be randomized?  Alternatively, the context menu stuff could work, but that might get tedious - especially if you sync and randomize only a few of multiple playlists in fb2k.

Anyone else think this would be helpful?  I'm open to ideas on how it could be implemented.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Fickle on 2004-11-29 14:16:01
I recently had a HD failure, and found myself having to reinstall everything.  Anyway - I seem to be having troubles with foo_pod - ive installed the latest version of iTunes (4.7), and the latest version of foo_pod in this thread in foobar 0.83.  Foo_pod works, except it doesnt seem to recognise the Ipod service, and I cant use the mount / eject functionality from the foo_pod menu. 

Any suggestions anyone ?

Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-29 17:18:16
Quote
I recently had a HD failure, and found myself having to reinstall everything.  Anyway - I seem to be having troubles with foo_pod - ive installed the latest version of iTunes (4.7), and the latest version of foo_pod in this thread in foobar 0.83.  Foo_pod works, except it doesnt seem to recognise the Ipod service, and I cant use the mount / eject functionality from the foo_pod menu. 
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=256721")

Are you using the [a href="http://www.loodi.com/foo_pod.zip]latest 0.9.5RC[/url] version of foo_pod?  I just fixed an incompatability introduced in the latest iPodService - at least it works for me with the version in the iPod Updater 2004-11-15.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Fickle on 2004-11-29 19:47:55
Quote
Quote
I recently had a HD failure, and found myself having to reinstall everything.  Anyway - I seem to be having troubles with foo_pod - ive installed the latest version of iTunes (4.7), and the latest version of foo_pod in this thread in foobar 0.83.  Foo_pod works, except it doesnt seem to recognise the Ipod service, and I cant use the mount / eject functionality from the foo_pod menu. 
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=256721")

Are you using the [a href="http://www.loodi.com/foo_pod.zip]latest 0.9.5RC[/url] version of foo_pod?  I just fixed an incompatability introduced in the latest iPodService - at least it works for me with the version in the iPod Updater 2004-11-15.
[a href="index.php?act=findpost&pid=256749"][{POST_SNAPBACK}][/a]


Ah, just installed the latest iPod update and its working now - thanks !
Title: foo_pod - Foobar2000 meets the iPod
Post by: ronyzyz1 on 2004-11-29 23:45:39
Will we ever see a unification of the three libraries?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-30 00:50:48
Quote
Will we ever see a unification of the three libraries?
[a href="index.php?act=findpost&pid=256824"][{POST_SNAPBACK}][/a]

No.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-11-30 05:30:22
I've got another bug to report again:
I sent the iPod DB to a foobar playlist, and when I check on the song properties in the foo_pod playlist, the iTunesDB gets a little screwy.

As a result, I get a "corrupted" message when I use iTunes for my iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-11-30 18:16:16
Quote
I've got another bug to report again:
I sent the iPod DB to a foobar playlist, and when I check on the song properties in the foo_pod playlist, the iTunesDB gets a little screwy.

As a result, I get a "corrupted" message when I use iTunes for my iPod.
[a href="index.php?act=findpost&pid=256867"][{POST_SNAPBACK}][/a]

Can you send me your corrupted iTunesDB so I can see if I can figure out what is wrong?  Also, can you reproduce this on a regular basis?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2004-12-01 13:23:40
Quote
Quote
I've got another bug to report again:
I sent the iPod DB to a foobar playlist, and when I check on the song properties in the foo_pod playlist, the iTunesDB gets a little screwy.

As a result, I get a "corrupted" message when I use iTunes for my iPod.
[a href="index.php?act=findpost&pid=256867"][{POST_SNAPBACK}][/a]

Can you send me your corrupted iTunesDB so I can see if I can figure out what is wrong?  Also, can you reproduce this on a regular basis?
[a href="index.php?act=findpost&pid=257002"][{POST_SNAPBACK}][/a]


Hi... Tried to replicate the problem, but strangely, everything's fine now.  Actually I have experienced this for quite a few times.

Will take note to copy out the DB file when this happens next.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-12-02 16:44:43
For anybody who's interested, I recently spent a lot of time over at the iPodLinux wiki putting all the stuff we have thus far learned about the iTunesDB and related files on the iPod into a nice bit of documentation. Wiki's are hella convienent for writing documentation, I'll give them that.

It contains everything that the iPodDB class libraries foo_pod uses currently know about the iTunesDB. So if you want to know the byte for byte details of the iPod's database files, check it out.

Direct Link: http://www.ipodlinux.org/index.php/ITunesDB (http://www.ipodlinux.org/index.php/ITunesDB)
Title: foo_pod - Foobar2000 meets the iPod
Post by: zot on 2004-12-03 09:07:13
I'm having problems with playlists.  Since I started using foo_pod my smart playlists have been unusable and when I tried adding new ones there was no effect.  Also, I can't figure out how to make a new regular playlist on my ipod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zot on 2004-12-04 13:20:30
Quote
I'm having problems with playlists.  Since I started using foo_pod my smart playlists have been unusable and when I tried adding new ones there was no effect.  Also, I can't figure out how to make a new regular playlist on my ipod.
[a href="index.php?act=findpost&pid=257536"][{POST_SNAPBACK}][/a]


Can anyone help me with this?  I finally got to the point where I could send a playlsit to my ipod.  It was a playlist of songs already on the ipod but one I wanted grouped together in a playlist.  It got sent to the ipod and showed up among playlists but only contained one of the songs I placed on the foobar playlist.

Secondly now I can get smart playlists to show up but for some reason none of them are poulated with songs.  I've already double checked my setting for each smart playlist, they're good but for some reason they're still not populating.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-05 00:07:35
Quote
Can anyone help me with this?  I finally got to the point where I could send a playlsit to my ipod.  It was a playlist of songs already on the ipod but one I wanted grouped together in a playlist.  It got sent to the ipod and showed up among playlists but only contained one of the songs I placed on the foobar playlist.

How it should work is if you create a Foobar playlist with the same name as a playlist on your iPod, then use Send Playlist To iPod, foo_pod will create the playlist and copy any necessary files to the iPod.

Try creating your playlist, populating it with all of the songs you want in it (even if they are already on the iPod and even if they are already in the playlist), then Send Playlist.

Quote
Secondly now I can get smart playlists to show up but for some reason none of them are poulated with songs.  I've already double checked my setting for each smart playlist, they're good but for some reason they're still not populating.
[a href="index.php?act=findpost&pid=257753"][{POST_SNAPBACK}][/a]

Do you have a 1st or 2nd generation iPod?  Also, please post one of your smart playlist that aren't populating so I can see what you are trying.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-05 11:45:01
Version 0.9.5 (final) (http://www.loodi.com/foo_pod.zip) is now available.

This version fixes a very critical bug dealing with playlists.  I have seen problems where after doing operations with foo_pod, there would be a blank entry in the Playlists menu on the iPod, and most of the playlists missing.  I finally figured out what was going on - if you deleted a song from the iPod, foo_pod was not removing it from the playlist(s).  This caused the iPod to stop parsing the database after that song. 

Another big playlist related change is I have modified the Smart Playlist Editor into just the Playlist Editor.  Currently, you can delete, rename, and display normal playlists, but not directly modify them in the editor.  I will add that in upcoming versions.

Also new is the much asked for 3G Sound Check Line Out mode.  Since the 3G iPod's don't have Sound Check via the line out port, when you enable this mode (in the Preferences), it will use the volume entry in the database to do the Sound Check/ReplayGain correction.  This means that it will work via both the headphone and line out ports, but unlike Sound Check, you can't turn it off on the iPod.  This is really only applicable for 3G owners, since older iPods don't have the line out, and newer iPods do use Sound Check via the line out port.  I would appreicate some feedback on the quality of the corrections using this mode - I am using a linear algorithm to calculate the correction, rather than the method suggested by FreydNot.  I tried the logarithmic method, but due to the limited range supported by the volume database field, the corrections didn't work right.

From the Readme:
Code: [Select]
Version 0.9.5 - December 5, 2004
*  Added the ability to import XML and create the resulting iTunesDB database file.  This allows easy human
  access to the database.

*  Rebuild iTunesDB function now searches for iPod playable music anywhere on the iPod, not just in the Music
  directories.  This allows you to copy music to anywhere on the iPod, and after running Rebuild, creates a
  working database.  Also, Rebuild now preserves any existing Smart Playlists.

*  Fixed an incompatability with recent versions of iPodService, which caused the Mount/Eject functions to not work correctly.

*  The alternate metadata feature now allows for TAGZ strings in the metadata.  This allows you to have dynamic metadata created by any legal TAGZ string.

*  The Sync functions now also preserve any existing Smart Playlists.

*  Fixed a bug when created a database using the Rebuild Database feature.  Previously, any songs added by this feature had incorrect timestamps, so if a user tried to add the same song again, it would copy a new version of the song to the iPod.

*  Delete All Songs and Playlists preserves the iTunes Music Store key files (iSCInfo and iSCInfo2).

*  Fixed Backup/Restore Database features.  

The following are new since 0.9.5RC:

*  Added very basic support for handling normal playlist in the Playlist Editor (renamed from Smart Playlist Editor).  Normal playlists can be displayed, renamed, and deleted - but nothing else yet.  
  Eventually, it will be possible to create normal playlists as well as editing their contents.
 
*  Fixed a critical bug in handling playlists.  In all previous versions, deleting a song from the iPod would corrupt any playlist that song was previously in.  This would be seen on the iPod as empty playlists or a blank entry in the list of playlists.

*  Added a 3G Soundcheck Line Out feature.  Since 3G iPods do not have Sound Check available via the Line Out port (it only works via the headphone jack), this feature applies the ReplayGain corrections using a different method.  Unlike Sound Check, this can not be turned off on the iPod.

*  Fixed a crash bug introduced in 0.9.5RC involving the alternate metadata feature.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2004-12-05 17:57:42
Thanks for the new version, Aero! I really appreciate the effort you put into foo_pod and I'm sure everyone else does too.
Say, does the iTunesDB maintain the data about which song is currently being played? The reason I ask this is I was wondering if it is possible to make it so when you send a playlist to the iPod, you can set it so when you disconnect the iPod, it will be paused at the beginning of the song that was playing on foobar when you were sending the playlist. So, like if you have your playlist in foobar and it's playing and then you're done on the computer and you need to go somewhere so you send your playlist to the iPod and then just disconnect and press play. Otherwise, you would need to go into the playlists, search for your playlist, search for the song you were listening to and play.
So, I was just wondering if it's possible. This isn't really a request because I know you got better things to implement into foo_pod in the time you dedicate to it.
Maybe if it is possible, I would try to write a small menu item component that would look at the playlist that is now playing in foobar, ask foo_pod for the iPod playlists list, check if there's a playlist of the same name there as the foobar one, check which song is playling, check if that song is in the iPod playlist, and then set the iPod to be paused on the beginning of it (or even at the time offset you're at). The last step would be the tricky one, though, as I have no idea where it is in the DB if it is there at all.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2004-12-05 18:55:03
Quote
Say, does the iTunesDB maintain the data about which song is currently being played? The reason I ask this is I was wondering if it is possible to make it so when you send a playlist to the iPod, you can set it so when you disconnect the iPod, it will be paused at the beginning of the song that was playing on foobar when you were sending the playlist.

Nope. Can't be done. There's no support on the iPod side for this sort of thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-05 19:06:15
Quote
Thanks for the new version, Aero! I really appreciate the effort you put into foo_pod and I'm sure everyone else does too.

Thanks!

Quote
Say, does the iTunesDB maintain the data about which song is currently being played? The reason I ask this is I was wondering if it is possible to make it so when you send a playlist to the iPod, you can set it so when you disconnect the iPod, it will be paused at the beginning of the song that was playing on foobar when you were sending the playlist. So, like if you have your playlist in foobar and it's playing and then you're done on the computer and you need to go somewhere so you send your playlist to the iPod and then just disconnect and press play. Otherwise, you would need to go into the playlists, search for your playlist, search for the song you were listening to and play.
So, I was just wondering if it's possible. This isn't really a request because I know you got better things to implement into foo_pod in the time you dedicate to it.

I don't believe that is possible.  Audiobooks (.m4b and .aa) files have a bookmark feature, so you can be playing a song in iTunes (foo_pod doesn't directly support bookmarks), and when you get to that song on the iPod, it will pick up at the same spot.  But I don't know of any way to specify which song to start up with. 

Quote
Maybe if it is possible, I would try to write a small menu item component that would look at the playlist that is now playing in foobar, ask foo_pod for the iPod playlists list, check if there's a playlist of the same name there as the foobar one, check which song is playling, check if that song is in the iPod playlist, and then set the iPod to be paused on the beginning of it (or even at the time offset you're at). The last step would be the tricky one, though, as I have no idea where it is in the DB if it is there at all.
[a href="index.php?act=findpost&pid=257896"][{POST_SNAPBACK}][/a]

I think the way it would have to be implemented is you would have a Snapshot menu item in foo_pod, which would look at the current playlist and if the song is on the iPod, create a single song "Snapshot" or "Currently Playing" playlist on the iPod containing that song.  Then you could always go to that playlist to play the last playing song in Foobar.  Otherwise, I don't see how it could be done...although, maybe it would be a good use for the Notes feature on the iPod.  There could be a snapshot notes feature in foo_pod that would create a notes file listing the last 10,20,50 songs played in Foobar, in reverse chronological order.

Actually, you wouldn't need foo_pod to do this at all - just use the History component's interface to get the last played song list, use foo_pod's interface to get the iPod's drive letter, then build the Notes file and copy it yourself.  If someone is interested, I'd be willing to help.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-12-07 08:44:03
Sorry for the slightly OT post, but I'd like to know how many iPod/foo_pod users are using the new firmware (3.0.2 - 15-NOV-2004).

I fought with it for one day (I have a 20GB click-wheel) and have now switched back to the previous release.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-12-07 09:56:18
Quote
Sorry for the slightly OT post, but I'd like to know how many iPod/foo_pod users are using the new firmware (3.0.2 - 15-NOV-2004).
[a href="index.php?act=findpost&pid=258219"][{POST_SNAPBACK}][/a]


I'm using it on my 4th gen 20Gig now.  I haven't noticed anything unusually wrong.  The newest version of foo_pod was giving me some hard crashes (detailed above) but those have gone away once I rebuilt the database on the iPod (a clean wipe and total re-sync).

What problems did you have?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-12-07 10:40:57
Well, I tried it on both my home PC (XP SP1) and at work (W2k SP4).

At home, when I attached the iPod the first message I saw was an error from foo_looks () complaining about an unrecognized file on the device.

Then I tried creating a couple of Smart Playlists. No errors, but:

1) I couldn't disconnect the device (neither closing foobar nor via the tray icon)
2) My playlist was empty (but the songs where still physically present on the iPod

So, I tried re-synching and... boom! the PC rebooted (did 3 or 4 times).

On W2k, with iPod connected, I was having problems even at startup: OS complaining about an unrecognized format device. So I didn't bother to test any further.

Sorry but I don't remember the exact error messages I got.

I should also mention that I tried both the latest foo_pod and the previous release.

After downgrading, all problems gone except that (on W2k) it seems that disconnect no longer works and I have to shutdown the PC : anyone knows how can I fix that?

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-12-07 11:00:47
Quote
it seems that disconnect no longer works and I have to shutdown the PC : anyone knows how can I fix that?
It's NAV: stopping the service I am now able to disconnect the iPod. Wasn't necessary before, though...

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-09 00:38:14
Version 0.9.6 (http://www.loodi.com/foo_pod.zip) is now available.

This is another release that deals mostly with playlists.  The major enhancements are the ability to open all iPod playlists in Foobar, as well a new Update Playlist context menu item, and the ability to create normal playlists in the Playlist Editor, as well as removing songs.

Here is how I have been using the new features to manage playlists and songs:

First, I still create a new iPod playlist by creating a Foobar playlist, then using the Send Playlist To iPod feature.  You can also create new blank playlists in the Playlist editor, if you choose.

When I want to add, remove, or reorder songs in an iPod playlist, I select the Open iPod Playlists As Tabs menu item.  The iPod playlists are shown as the name of the playlist plus the "  [iPod]" suffix.  Don't edit this...

After I add/remove/move songs in an iPod playlist, I right click on one of those songs and select the foo_pod/Update Playlist On iPod menu item.  This will copy any files not already on the iPod, as well as updating the playlist.

To delete a playlist, just use the Playlist Editor.  It is also possible to delete (but not add or reorder) songs in the Playlist Editor.


From the Readme:
Code: [Select]
Version 0.9.6 - December 8, 2004
*  Improved the playlist editor by adding the ability to remove songs (highlight one or more songs and press the delete key).

*  Added the "Open iPod Playlist As Tabs" feature in the foo_pod Component menu.  This creates a new Foobar playlist for each playlist on the iPod.  These playlists are noted by the suffix "  [iPod]" at the end of the playlist name.  There is also a "Close iPod Playlist Tabs", which will close all iPod playlists in Foobar.
 
  The iPod playlists can be edited (songs added, removed, reordered) like any Foobar playlist, and when you are done, right click on a song in the playlist and select the "Update Playlist On iPod" option.  This will copy files (if necessary) to the iPod and create the specified playlist.

*  Added the ability to create both normal and smart playlists from the Playlist Editor.  Normal playlists can now be created directly in the Playlist Editor, or via the Send Playlist To iPod feature.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2004-12-09 09:12:21
Quote
Version 0.9.6 (http://www.loodi.com/foo_pod.zip) is now available.
Hi Aero.

Thanks for your work!

I have just downloaded the latest version and synch'ed my playlist (I'm experimenting with per-track ReplayGain).

The files were all transferred (presuming from their date on the iPod) but at the end I got a crash and foobar closed.

I tried the synch a second time: no files sent but another crash:
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 00433CAAh
Access violation, operation: read, address: 0000000Eh
Call path:
WinMain=>app_mainloop=>playback_format_title_ex=>titleformat_i::run
This is the first crash logged by this instance.
Code bytes (00433CAAh):
00433C6Ah:  5F 80 24 06 00 5E 5B C2 08 00 56 8B 74 24 08 56
00433C7Ah:  E8 95 4D 00 00 59 8B C8 EB 11 0F BE 04 31 50 E8
00433C8Ah:  9D FE FF FF 83 C4 04 84 C0 75 07 49 79 EC 33 C0
00433C9Ah:  5E C3 8D 41 01 5E C3 8B 51 14 4A 78 17 8B 49 04
00433CAAh:  0F BE 04 11 50 E8 77 FE FF FF 83 C4 04 84 C0 75
00433CBAh:  06 4A 79 EC 33 C0 C3 8D 42 01 C3 56 33 F6 39 71
00433CCAh:  14 76 2A 8B 41 04 8D 14 06 8A 02 3A 44 24 0C 74
00433CDAh:  16 0F BE C0 50 E8 66 FE FF FF 83 C4 04 84 C0 74
Stack (0012EE78h):
0012EE58h:  0012FE80 B25B7948 8199E054 B25B7C1C
0012EE68h:  8045E9F0 80405558 FFFFFFFF B25B7C2C
0012EE78h:  0042EE16 0000000E 0012FAA8 0012EF54
0012EE88h:  0012EEA8 004467B0 00000000 0012EF90
0012EE98h:  00434896 01C046B8 0012EED0 02F84748
0012EEA8h:  78462A06 007E0000 02F84740 02F84748
0012EEB8h:  0012EEAC 007E0688 0012EF64 78461F55
0012EEC8h:  78462A40 FFFFFFFF 0012EF00 02F84748
0012EED8h:  78462A06 007E0000 02F84740 0012EF14
0012EEE8h:  01389598 78462A06 007E0000 01389590
0012EEF8h:  01389598 0012EEF0 007E0688 0012EFA8
0012EF08h:  78461F55 78462A40 FFFFFFFF 0012EFB8
0012EF18h:  784AC71E 007E0718 0043946C 00000000
0012EF28h:  00000010 00000010 00000000 0000000F
0012EF38h:  00000000 0012EF78 0042E8A1 0012EF55
0012EF48h:  01BE6388 01175678 0012F0C0 7269645F
0012EF58h:  6F746365 616E7972 0000656D 0012F04D
0012EF68h:  0012F084 0012F05B 0012FAA8 0012FAA8
0012EF78h:  0012F040 0042E411 0012EF54 0000000E
0012EF88h:  0012F0C0 00000010 0012F084 0012F04C
Registers:
EAX: 00000000, EBX: 00000000, ECX: 00000000, EDX: 0000000E
ESI: 10002911, EDI: 0012EF55, EBP: 0012EF3C, ESP: 0012EE78
Crash location: "foobar2000", loaded at 00400000h - 00452000h

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 78460000h - 784E2000h
KERNEL32                         loaded at 796B0000h - 7976A000h
USER32                           loaded at 77E10000h - 77E75000h
GDI32                            loaded at 77F40000h - 77F7B000h
ole32                            loaded at 77A50000h - 77B3F000h
RPCRT4                           loaded at 77120000h - 77191000h
ADVAPI32                         loaded at 79260000h - 792C2000h
COMCTL32                         loaded at 71710000h - 71794000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 76B10000h - 76B4E000h
SHLWAPI                          loaded at 63180000h - 631E9000h
msvcrt                           loaded at 78000000h - 78045000h
SHELL32                          loaded at 77590000h - 777D9000h
foo_ape                          loaded at 00800000h - 0081F000h
foo_cdda                         loaded at 00820000h - 0082E000h
foo_clienc                       loaded at 00830000h - 0083B000h
foo_console                      loaded at 00840000h - 00847000h
foo_dsp_extra                    loaded at 00850000h - 00865000h
foo_flac                         loaded at 00870000h - 0088C000h
foo_infobox                      loaded at 00890000h - 008A3000h
foo_info_samurize                loaded at 008B0000h - 008CD000h
foo_input_std                    loaded at 008E0000h - 00982000h
MSACM32                          loaded at 773F0000h - 77403000h
WINMM                            loaded at 77550000h - 77581000h
SYNCOR11                         loaded at 6BD00000h - 6BD0D000h
foo_looks                        loaded at 00A10000h - 00A7D000h
gdiplus                          loaded at 70D00000h - 70E91000h
MSVCP60                          loaded at 780C0000h - 78121000h
foo_lyricshow                    loaded at 00A90000h - 00AA7000h
foo_masstag                      loaded at 00AB0000h - 00AC4000h
foo_mod                          loaded at 00AD0000h - 00AD9000h
BASS                             loaded at 00AE0000h - 00B3A000h
foo_output_std                   loaded at 00B40000h - 00B49000h
foo_out_dsound_ex                loaded at 00B50000h - 00B59000h
DSOUND                           loaded at 51080000h - 510DA000h
VERSION                          loaded at 77820000h - 77827000h
LZ32                             loaded at 75980000h - 75986000h
foo_out_ks                       loaded at 00B70000h - 00B7B000h
SETUPAPI                         loaded at 783C0000h - 78450000h
USERENV                          loaded at 79060000h - 790C2000h
foo_playlistfind                 loaded at 00B80000h - 00B89000h
foo_pod                          loaded at 00B90000h - 00C00000h
OLEAUT32                         loaded at 779B0000h - 77A4B000h
foo_read_http                    loaded at 01010000h - 01019000h
WS2_32                           loaded at 74FE0000h - 74FF4000h
WS2HELP                          loaded at 74FD0000h - 74FD8000h
foo_repeat                       loaded at 01020000h - 0103F000h
foo_rgscan                       loaded at 01040000h - 0104D000h
foo_shuffle                      loaded at 01050000h - 0105B000h
foo_speex                        loaded at 01060000h - 01078000h
foo_ui_std                       loaded at 01080000h - 01097000h
foo_wavpack                      loaded at 010A0000h - 010B2000h
CLBCATQ                          loaded at 72C90000h - 72D20000h
msi                              loaded at 01E60000h - 02064000h
wdmaud                           loaded at 77540000h - 77548000h
msacm32                          loaded at 773E0000h - 773E8000h
KsUser                           loaded at 5EF80000h - 5EF84000h
browseui                         loaded at 71500000h - 715FD000h
browselc                         loaded at 71960000h - 71973000h
imagehlp                         loaded at 77920000h - 77943000h
DBGHELP                          loaded at 729A0000h - 729CD000h

Stack dump analysis:
Address: 0042EE16h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004467B0h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00434896h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 78462A06h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78461F55h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462A40h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462A06h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462A06h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78461F55h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462A40h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 784AC71Eh, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E8A1h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E411h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 78461F55h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462528h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78001E00h, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 78461F55h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462518h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78001532h, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 0042EE5Eh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 7800BD6Ah, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 78032250h, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 780014CFh, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 0042E37Dh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E391h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E300h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E31Eh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042AE70h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042D617h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E557h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E5B6h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 78462A06h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78461F55h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78462518h, location: "ntdll", loaded at 78460000h - 784E2000h
Address: 78001532h, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 78001532h, location: "msvcrt", loaded at 78000000h - 78045000h
Address: 0042E391h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00420029h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E31Eh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042AE70h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042B3FAh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0042E5B6h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00433C21h, location: "foobar2000", loaded at 00400000h - 00452000h

Version info:
foobar2000 v0.8.3
UNICODE
Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-12-09 09:34:51
Thanks Aero! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: jackalope on 2004-12-10 00:59:35
when i try and send to the ipod i just get an "ERROR (foo_pod) : Error #3 copying C:\Documents and Settings\schuyler\My Documents\My Music\iTunes Music\Frantic Situations (CU)\Bridge Commander Funnies\Earl Grey Bass.mp3 to f:\iPod_Control\Music\F46\Earl Grey Bass.mp3" or whatever it is im trying to send...

im useing a brand new ipod(got in the mail today), and up to date everything in foobar

any help?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-10 06:02:00
Quote
when i try and send to the ipod i just get an "ERROR (foo_pod) : Error #3 copying C:\Documents and Settings\schuyler\My Documents\My Music\iTunes Music\Frantic Situations (CU)\Bridge Commander Funnies\Earl Grey Bass.mp3 to f:\iPod_Control\Music\F46\Earl Grey Bass.mp3" or whatever it is im trying to send...
[a href="index.php?act=findpost&pid=258811"][{POST_SNAPBACK}][/a]


Error #3 is "The system cannot find the path specified.", meaning that foo_pod could find the source file.  Make sure that the file exists (can you play it in Foobar?), and if it does exist and can be played, also check that f:\iPod_Control\Music\F46 exists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jackalope on 2004-12-10 12:16:56
it does exist, i can now send music to the ipod, but nothing shows up on it(it shows the transfureing window, but nothing happens on the ipod)
Title: foo_pod - Foobar2000 meets the iPod
Post by: MOCKBA on 2004-12-10 13:37:16
Sorry if it's a bit of topic, where can I get sources of foo_pod? I maintain some program decoding iTunesDB and I have some dark spots, so sources could help me better understand iTunesDB format.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-10 16:06:21
Quote
Sorry if it's a bit of topic, where can I get sources of foo_pod? I maintain some program decoding iTunesDB and I have some dark spots, so sources could help me better understand iTunesDB format.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=258905")

foo_pod is not open source, but the library that it uses - [a href="http://otto.homedns.org:8888/iTunes/iPodDB.zip]iPodDB[/url] - is.  Everything I have learned about the database format has gone back into iPodDB, and since foo_pod is really just Foobar <-> iPodDB glue, it wouldn't be too useful.

Even better than the source code is the iTunesDB Wiki (http://www.ipodlinux.org/index.php/ITunesDB) that Otto42 put up.  In fact, I'd start there since it is a lot easier to understand than the source code.
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-11 00:10:14
Is there a good place we could make a Wiki for foo_pod?  I find it really hard to sift through all these pages trying to find what I think are simple answers.  I'll help maintain and get it started if anyone knows of a good host.

Besides that, I was wondering how foo_pod is designed to update our iPod.  I have yet to use the "sync on playlists" function since it seems that it will want to have the files on the active playlist on the iPod, deleting the rest.  When I try it I always select "no" and chicken out.  Right now, I create a new playlist, then send files to iPod, then send playlist to iPod.  Surely this program has a better way of doing things.  How is it supposed to be done?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Xecter on 2004-12-11 04:42:30
Would it be possible to use foobar formatting strings to determine which text is sent to each field?

IE:

Artist (On the ipod) = $if(%album artist%,%album artist%,%artist%)
Album (on the ipod) = %album% [%date/year%]
Songs (on the ipod) = $num(%tracknumber%). %title%
Rating (ipod) = $div(%PLAY_COUNTER%,$put(play_counter_divider))

etc.


isn't this technically possible, since foo_pod builds the itunesDB on the ipod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-11 15:02:54
Quote
Would it be possible to use foobar formatting strings to determine which text is sent to each field?
[a href="index.php?act=findpost&pid=259056"][{POST_SNAPBACK}][/a]


Not sure about that one.  I know that you can use the "Alternate Metadata Prefix" in the foo_pod options.  From the Readme.txt:

Code: [Select]
The alternate metadata feature now allows for TAGZ strings in the metadata.  This allows you to have dynamic metadata created by any legal TAGZ string.

and
Code: [Select]
Added a preference item to append to certain metadata items, which allows the user to use a second set of metadata items for the iPod while not distrubing the regular metdata.

The following metadata items are supported: TITLE, ARTIST, ALBUM, GENRE, COMMENT, COMPOSER, and TRACKNUMBER

For example, if the Alternate Metadata Prefix setting is "POD_" and "POD_ARTIST" is set, the artist field on the iPod will be the value from POD_ARTIST.  Otherwise, it will fallback to ARTIST.
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-11 15:17:07
Quote
Version 0.9.5 (final) (http://www.loodi.com/foo_pod.zip) is now available.
Also new is the much asked for 3G Sound Check Line Out mode. 
[a href="index.php?act=findpost&pid=257867"][{POST_SNAPBACK}][/a]


I'm curious.  What is this line-out port you're speaking of.  Do you mean the sendstation's lineout?  I have the 3G but don't have an extra lineout port.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2004-12-11 15:30:34
Quote
Quote
Another question: I've also uploaded some songs that do not have a album title. When viewed on iTunes 4.7 (I forgot to state the version..  ), they display as [Album].

Just to ask, could this be due to foo_pod, or could this be due to my playlist formatting strings?
[a href="index.php?act=findpost&pid=256462"][{POST_SNAPBACK}][/a]

This is foo_pod's doing.  If there isn't an artist metadata item, foo_pod uses [Artist], and if there isn't an Album, it sets the album metadata (in the iTunesDB database only) to [Album].

This is so you can easily find songs on the iPod which don't have album or artists.  Sort of a catch-all artist/album.
[a href="index.php?act=findpost&pid=256467"][{POST_SNAPBACK}][/a]
Hi, I also noticed this, do you think you could make it optional or change it to something like [None] or [Unspecified]?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-11 18:13:16
Quote
Is there a good place we could make a Wiki for foo_pod?  I find it really hard to sift through all these pages trying to find what I think are simple answers.  I'll help maintain and get it started if anyone knows of a good host.

Yeah, a Wiki would be perfect for the type of documentation that foo_pod really needs.

Quote
Besides that, I was wondering how foo_pod is designed to update our iPod.  I have yet to use the "sync on playlists" function since it seems that it will want to have the files on the active playlist on the iPod, deleting the rest.  When I try it I always select "no" and chicken out.  Right now, I create a new playlist, then send files to iPod, then send playlist to iPod.  Surely this program has a better way of doing things.  How is it supposed to be done?
[a href="index.php?act=findpost&pid=259025"][{POST_SNAPBACK}][/a]

The way I tend to use foo_pod is Send File/Send Playlist and Delete Files From iPod, along with the newly enabled Playlist Editor to delete playlists. I actually never use the Sync functions, and therefore, they get much less testing and more likely to have bugs.  But in general, sync should work but it is much more dangerous (as in deleting files that you didn't expect) than Send File and deleting files manually.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-11 18:16:00
Quote
Would it be possible to use foobar formatting strings to determine which text is sent to each field?

IE:

Artist (On the ipod) = $if(%album artist%,%album artist%,%artist%)
Album (on the ipod) = %album% [%date/year%]
Songs (on the ipod) = $num(%tracknumber%). %title%
Rating (ipod) = $div(%PLAY_COUNTER%,$put(play_counter_divider))


infrared's reply was correct - the alternate metadata feature does exactly what you are looking for (as of version 0.9.5).

For example, to use your Artist string, you would add a new metadata item to your songs named POD_ARTIST.  The prefix is configurable, but defaults to POD_.  Then set it to:$if(%album artist%,%album artist%,%artist%)  and you should be set.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-11 18:19:28
Quote
Quote

This is foo_pod's doing.  If there isn't an artist metadata item, foo_pod uses [Artist], and if there isn't an Album, it sets the album metadata (in the iTunesDB database only) to [Album].

This is so you can easily find songs on the iPod which don't have album or artists.  Sort of a catch-all artist/album.
[a href="index.php?act=findpost&pid=256467"][{POST_SNAPBACK}][/a]
Hi, I also noticed this, do you think you could make it optional or change it to something like [None] or [Unspecified]?
[a href="index.php?act=findpost&pid=259118"][{POST_SNAPBACK}][/a]

I suppose I could make it configurable, with a blank string meaning to disable the feature completely.  I'll try to squeeze it into the preferences somewhere...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-11 18:38:49
And just a heads up for upcoming features.  I got an iPod Photo as an early Christmas present (don't tell my wife that I already opened it!  ), and I have been figuring out the new database format and how album art works.

First of all, be very wary of using iTunes to add album art to your music.  It stores the art as a JPEG in a ID3v2 tag in the MP3 song itself (I'm sure there is something similar for AAC, and I have no idea what they do for WAV and AIFF).  If you do this directly on the files already on the iPod, it will create problems for foo_pod since the song will have changed and foo_pod will send it again.  I'm not sure why it puts the album art in the file itself, because the iPod doesn't access this directly - it uses pre-sized thumbnail images. 

Also, since there isn't a really good way to use the Foobar interface to access album art, foo_pod's artwork editor will be a separate application, almost definitely written in .NET.  This will mean you will need the .NET Framework on your computer if you want to use the artwork editor (and I don't want to hear any complaints about needing it, either...). 

Although I have the db and image formats figured out, the artwork editor hasn't even been started, and won't be available until at least 2005.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jackalope on 2004-12-11 18:53:37
Quote
it does exist, i can now send music to the ipod, but nothing shows up on it(it shows the transfureing window, but nothing happens on the ipod)
[a href="index.php?act=findpost&pid=258893"][{POST_SNAPBACK}][/a]


ok, it does add it to albums now, but if its just a playlist(like my favorits playlist) it does not add it to the playlist folder
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2004-12-11 20:12:51
Quote
Quote
Is there a good place we could make a Wiki for foo_pod?  I find it really hard to sift through all these pages trying to find what I think are simple answers.  I'll help maintain and get it started if anyone knows of a good host.

Yeah, a Wiki would be perfect for the type of documentation that foo_pod really needs.


Quote


Aero, my [now public] offer to assist with documentation still stands, although now it would probably need to wait until the new year, and I can't offer to host the wiki myself.
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-11 21:58:28
Quote
Aero, my [now public] offer to assist with documentation still stands, although now it would probably need to wait until the new year, and I can't offer to host the wiki myself.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=259156")


Sweet!  I'll get the Wiki started on the wiki [a href="http://doc.hydrogenaudio.org/wikis/foobar2000/FrontPage]here[/url] and I'll let you know.  Hopefully in a week(ish).
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-11 22:17:38
How is the iPod (foo_pod) playlist supposed to work?  If for example, I changed the file (and database) locally and I updated the tags in the mp3.  How is the best way to get those changes reflected on the iPod?

I would guess that if loaded the iPod's playist, and press "sync playlist" it would update the database (and files I suppose) on the iPod.  I guess what I'm asking is if the database on both the PC and iPod are linked so changes are reflected when they need to be updated.  I hope I don't sound harsh because that's not my intention
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2004-12-11 23:03:57
I tend to use foo_pod differently then aero does.  I keep a big folder on my PC called "Songs on iPod" which contains (can you guess?) copies of all of the songs which are on my iPod.  It is intended to be a mirror of what should be on the pod.

When I get a new CD ripped and all formated the way I like it I put the files into a subdirectory under "Songs on iPod".  Then I open up foobar make a new play list, rename it to ALL, and drop the "Songs on iPod" folder into the playlist.  This results in a single playlist with all the songs I want on the iPod.  Next I do a Sync Current Playlist to transfer the new songs over and update any database changes to the iPod.

Using this method I can easily re-create my iPod from scratch if I've goofed up the database file (or more likely deleted a bunch of songs so I could move a large file from work to home).  It also has the benifit of never keeping orphined songs on the iPod.

The down side is that things like ratings and play counts that were added on the iPod get lost during the sync.  Aero, is this still true?

One other thing to watch out for is the hidden Foo_pod Warning box.  When you do a sync which will remove many songs from the iPod it pops up a box asking for confirmation.  For some reason on my PC that dialog box always gets buried under the foobar window.  Once you realise nothing is happening, you have to go find the box and click yes (or no).

Thats my take on the best way to use foo_pod, YMMV.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-12-12 12:08:36
maybe a bit offtopic, but.. My method is comparible, yet slightly better imo

I have far more than 40GB worth of MP3's. I have them all nicely sorted. The files i want on my iPod, i have given a tag (ipod IS yes). I can edit the tags of the files anytime i want and when i want to sync the iPod, all I need to do is create a playlist using Extended Playlist Generator (ipod IS yes). Then all my MP3s with the IPOD-tag are filtered out of my database and put in one playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-12 22:46:28
Quote
For example, to use your Artist string, you would add a new metadata item to your songs named POD_ARTIST.  The prefix is configurable, but defaults to POD_.  Then set it to:$if(%album artist%,%album artist%,%artist%)  and you should be set.
[a href="index.php?act=findpost&pid=259139"][{POST_SNAPBACK}][/a]


Humm.. I guess I'm not competely understanding the new feature.  What I gather from what you're saying is that you need to add a new meta tag to each mp3 called "POD_ARIST".  You then run the masstagger to set POD_ARIST = $if(%album artist%,%ablum artist%, %artist%).  I'm not seeing how that's dynamic since you are just using a masstager so I guess I don't understand what you're saying.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-12 23:09:07
Quote
Humm.. I guess I'm not competely understanding the new feature.  What I gather from what you're saying is that you need to add a new meta tag to each mp3 called "POD_ARIST".  You then run the masstagger to set POD_ARIST = $if(%album artist%,%ablum artist%, %artist%).  I'm not seeing how that's dynamic since you are just using a masstager so I guess I don't understand what you're saying.
[a href="index.php?act=findpost&pid=259310"][{POST_SNAPBACK}][/a]

You first need to set the POD_ARTIST tag using something like MassTagger, but the dynamic part comes in when foo_pod actually transfers the song to the iPod.  It looks at the TAGZ string in POD_ARTIST and sends the dynamically created output from the TAGZ string to the iPod database.

For example, if you want a song's comment to appear where the album name would normally appear on the iPod, falling back to the album name and finally "[ALBUM]" you could set POD_ALBUM to:
Code: [Select]
$if3(%comment%, %album%, "[ALBUM]").


There is no such thing as dynamically updating metadata on the iPod, so the album name will always be fixed that whatever it was when foo_pod sent it.  So in that respect, it isn't truly dynamic.
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-12 23:27:10
Quote
There is no such thing as dynamically updating metadata on the iPod, so the album name will always be fixed that whatever it was when foo_pod sent it.  So in that respect, it isn't truly dynamic.
[a href="index.php?act=findpost&pid=259315"][{POST_SNAPBACK}][/a]


Okay, I get it now.  However, would it not be more efficient (and less maintenance) to have pref in foo_pod where you could just specify the field that you would like foo_pod to dynamically change?  ie. in the prefs have a list of fields that map to either a static name or to a tagz?  Acting a filter. Like what was mentioned earlier:

in foo_pod prefs:
Code: [Select]
Comment = "From iNFRA's collection"
ARTIST = $if(%album artist%, %album artist%, %artist%)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-13 00:03:03
Quote
Okay, I get it now.  However, would it not be more efficient (and less maintenance) to have pref in foo_pod where you could just specify the field that you would like foo_pod to dynamically change?  ie. in the prefs have a list of fields that map to either a static name or to a tagz?  Acting a filter. Like what was mentioned earlier:

in foo_pod prefs:
Code: [Select]
Comment = "From iNFRA's collection"
ARTIST = $if(%album artist%, %album artist%, %artist%)

[a href="index.php?act=findpost&pid=259318"][{POST_SNAPBACK}][/a]

That would work globally (i.e. on all songs).  By using the POD_ alternate metadata, you can specify exactly which songs you want the TAGZ string applied to, as well as potentially having different strings for each song.  Besides, have you seen how crowded the preference dialogs are? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-14 03:18:09
Quote
That would work globally (i.e. on all songs).  By using the POD_ alternate metadata, you can specify exactly which songs you want the TAGZ string applied to, as well as potentially having different strings for each song.  Besides, have you seen how crowded the preference dialogs are? 
[a href="index.php?act=findpost&pid=259324"][{POST_SNAPBACK}][/a]


Aye, well put.  I'm still trying to test out the "Sync" function.  I was wondering; how come when you create the "iPod (foo_pod)" playlist and make changes to it, it doesn't do anything.  A window comes up and disappears really fast.  My fault?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-14 03:33:22
Quote
Aye, well put.  I'm still trying to test out the "Sync" function.  I was wondering; how come when you create the "iPod (foo_pod)" playlist and make changes to it, it doesn't do anything.  A window comes up and disappears really fast.  My fault?
[a href="index.php?act=findpost&pid=259584"][{POST_SNAPBACK}][/a]

The iPod (foo_pod) playlist really just displays all of the songs on the iPod, so reordering it won't have any effect. 

You can add new songs to it then choose Send Playlist To iPod, which will copy the new songs over (and ignore all of the songs already on the iPod).  You can also delete file(s) on the iPod by selecting songs in the iPod (foo_pod) playlist, right clicking, and selecting Delete Files From iPod.

If you want to modify actual playlists on the iPod, select the Load iPod Playlists As Tabs.  Then when you reorder, remove, or add songs to the playlist (noted by the "  [iPod]" suffix), you can right click on one of those files and select the "Update this playlist on iPod" menu item to make the changes on the iPod.  Note that removing a song from the playlist does not delete it from the iPod - to do that, you need to load the iPod (foo_pod) playlist, select the song, and choose the Delete File item from the right click menu.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kindofblue on 2004-12-14 05:59:37
Just want to say thanks for the update, Aero.  I was using 0.9.5RC and was looking for a way to rename/edit my ipod playlists.  I see you've fixed this with 0.9.6. Great work.   

kindofblue
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-12-14 15:40:37
Sorry to bother you again with this Aero, but do you have any news about the playcount integration between the iPod and fb2k via foo_pod? 

Thanks for everything.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-14 19:50:19
Quote
Sorry to bother you again with this Aero, but do you have any news about the playcount integration between the iPod and fb2k via foo_pod?  
[a href="index.php?act=findpost&pid=259655"][{POST_SNAPBACK}][/a]

I don't want to have foo_pod modifying the source music files on your hard drive, so I don't know what I can do with respect to play counts. 

If the author of the Play Counter component would add a Foobar interface to his component so I could use that instead of writing directly, then I would consider adding this feature to foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2004-12-14 20:20:02
I have a question, what determines if the file is different when you send files to the ipod, it seems like its file mod time or something like that, I always get duplicates when I send a file thats already on there.  I figured it was mod time cause I have playcount and rating tags that get updated pretty frequently.
Is this how it works? or different?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-14 20:42:10
Quote
I have a question, what determines if the file is different when you send files to the ipod, it seems like its file mod time or something like that, I always get duplicates when I send a file thats already on there.  I figured it was mod time cause I have playcount and rating tags that get updated pretty frequently.
Is this how it works? or different?
[a href="index.php?act=findpost&pid=259719"][{POST_SNAPBACK}][/a]

Last Modified time is one factor in determining if a song matches. 

Your example is a good example of why I don't want to modify the source file, since it breaks the file matching detection.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2004-12-14 22:03:46
Quote
Quote
Sorry to bother you again with this Aero, but do you have any news about the playcount integration between the iPod and fb2k via foo_pod?  
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=259655")

I don't want to have foo_pod modifying the source music files on your hard drive, so I don't know what I can do with respect to play counts. 

If the author of the Play Counter component would add a Foobar interface to his component so I could use that instead of writing directly, then I would consider adding this feature to foo_pod.
[a href="index.php?act=findpost&pid=259715"][{POST_SNAPBACK}][/a]

AFAIK there's no way to keep playcount (the same for other tags as rating, etc...) with fb2k only in the database. That's what I've read on these forums, and I guess that this won't change in very soon. Maybe the only solution (which isn't really one) is to block all tag updates, which then stores new tags in the database. But I think, and please someone correct me if I'm wrong, that it's stored in the playlist where the song is, so if you delete the playlist you also lose your 'tagged' information. Also, it doesn't allow any other tagging operation.

Anyway, the developer of this [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=20719]plugin[/url] is I think tboehrer. Kode54 did a version which stores the playcounts in a external (http://www.hydrogenaudio.org/forums/index.php?showtopic=24160&st=0&p=228277&#entry228277) mysql database, which of course means that you have to install it and it's a little out of the average fb2k user 

So definitely I don't see a solution apart of waiting to have a foobar2000 database that allows the external storing of this sort of information. But I don't even know if there's any plan about it 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Fickle on 2004-12-15 17:41:18
I have a minor annoyance with the latest foo_pod - I usually keep my iPod sitting docked and disconnected - but every time I right click on the playlist for the context menu, my iPod reconnects / mounts itself.  Is there any way to disable this behaviour ?

Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-15 19:44:03
Quote
I have a minor annoyance with the latest foo_pod - I usually keep my iPod sitting docked and disconnected - but every time I right click on the playlist for the context menu, my iPod reconnects / mounts itself.  Is there any way to disable this behaviour ?
[a href="index.php?act=findpost&pid=259926"][{POST_SNAPBACK}][/a]

I'm not able to reproduce your problem with the latest iPodService service.  You might want to download and install the most recent iPod Update software (on Windows, not necessarily update your iPod) and see if that helps.

If it doesn't, you should be able to avoid this behavior by forcing foo_pod to use a specified drive letter.  Make a note of the drive letter your iPod is assigned when it is connected, then go to the foo_pod Preferences, and set that in the 'Force iPod Drive Letter' drop down box.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Franky on 2004-12-16 12:45:02
Here's a bit of a newbie question.

I've got an iPod Mini with several songs and playlists already on it. I want to use foo_pod's ability to apply true replay gain to the songs already on the iPod without altering the existing playlists or metadata. Can this be done and if so, how? Every time I try to use the replay gain scanner on a song on the iPod, all metadata disappear from the file. Not permanently though, because if I reload the song from the iPod the metadata is there again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Fickle on 2004-12-16 18:36:00
Quote
Quote
I have a minor annoyance with the latest foo_pod - I usually keep my iPod sitting docked and disconnected - but every time I right click on the playlist for the context menu, my iPod reconnects / mounts itself.  Is there any way to disable this behaviour ?
[a href="index.php?act=findpost&pid=259926"][{POST_SNAPBACK}][/a]

I'm not able to reproduce your problem with the latest iPodService service.  You might want to download and install the most recent iPod Update software (on Windows, not necessarily update your iPod) and see if that helps.

If it doesn't, you should be able to avoid this behavior by forcing foo_pod to use a specified drive letter.  Make a note of the drive letter your iPod is assigned when it is connected, then go to the foo_pod Preferences, and set that in the 'Force iPod Drive Letter' drop down box.
[a href="index.php?act=findpost&pid=259946"][{POST_SNAPBACK}][/a]

Thanks - this has fixed the problem.  One last thing tho - is there any way to stop the iPod connecting when foobar2000 starts - as the default behaviour seems to connect the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-16 19:14:53
Quote
I've got an iPod Mini with several songs and playlists already on it. I want to use foo_pod's ability to apply true replay gain to the songs already on the iPod without altering the existing playlists or metadata. Can this be done and if so, how? Every time I try to use the replay gain scanner on a song on the iPod, all metadata disappear from the file. Not permanently though, because if I reload the song from the iPod the metadata is there again.
[a href="index.php?act=findpost&pid=260051"][{POST_SNAPBACK}][/a]

There really isn't a good way to change the songs on the iPod then update the database.  You could apply the ReplayGain operation to the songs on the iPod, then use the Rebuild iPod Database feature, but this would erase your playlists.

In general, you are better off if you can do the ReplayGain on the files on your hard drive, then transfer them to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-16 19:16:59
Quote
Thanks - this has fixed the problem.  One last thing tho - is there any way to stop the iPod connecting when foobar2000 starts - as the default behaviour seems to connect the iPod.
[a href="index.php?act=findpost&pid=260139"][{POST_SNAPBACK}][/a]

You could disable or uninstall iPodService, but otherwise, there isn't currently a way to do this.  I'll add an option in the next foo_pod version to not use iPodService, which will prevent the iPod from mounting when starting Foobar.
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2004-12-21 02:19:46
Well gang, I got a wiki up running.  Looks like it'll be just what we need.  I would put it on the foobar wiki that's already up but they are blocking quite a few subnets (including me) so I started my own.  If the link changes I'll post the new URL here.  Feel free to add or change the wiki.  I put some ideas on how to maybe structure it.  You are especially welcome if you have some Wiki experince already.

http://jevy.org/mediawiki/index.php/Foo_pod (http://jevy.org/mediawiki/index.php/Foo_pod)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Snelg on 2004-12-22 19:45:25
Quote
Quote
I've got an iPod Mini with several songs and playlists already on it. I want to use foo_pod's ability to apply true replay gain to the songs already on the iPod without altering the existing playlists or metadata. Can this be done and if so, how? Every time I try to use the replay gain scanner on a song on the iPod, all metadata disappear from the file. Not permanently though, because if I reload the song from the iPod the metadata is there again.
[a href="index.php?act=findpost&pid=260051"][{POST_SNAPBACK}][/a]

There really isn't a good way to change the songs on the iPod then update the database.  You could apply the ReplayGain operation to the songs on the iPod, then use the Rebuild iPod Database feature, but this would erase your playlists.

In general, you are better off if you can do the ReplayGain on the files on your hard drive, then transfer them to the iPod.
[a href="index.php?act=findpost&pid=260148"][{POST_SNAPBACK}][/a]


I, too, am trying to insert ReplayGain values into the "Soundcheck" field with minimal disturbance to the existing data on my iPod (i.e. don't screw up the iTunesDB, and don't modify the song files themselves).
Right now, I'm not using foo_pod at all for this, although I'd like to figure out if I can. No sense in duplicating effort.

Here's what I do:

I have the foobar2000 Database options set to "Enable Database" and "Block tag update operations".

After I add new songs to the iPod (using iTunes -- so sue me  ), I open foobar, create a new (blank) playlist, do "Playlist - Add directory...", and select the iPod_Control directory on the iPod-mounted drive.

I use "Add directory" instead of the handy foo_pod "Load iPod Songs To foobar2000 Playlist" because if I use the foo_pod function, then the ReplayGain values do not get loaded from the fb2k database. In fact, it clears them from the database and I have to re-calculate.

So after the songs are loaded into the playlist, I select all of the songs and do a ReplayGain scan on them. fb2k is smart enough to skip the ones I've already analyzed, so it only spends time analyzing the new songs.

Then I run a little function I made using Otto's iPodDB functions. It loads the data from the iTunesDB file and the foobar2000 database. For each iTunesDB entry, it finds the corresponding foobar2000 database entry. If the iTunesDB soundcheck value doesn't match the fb2k replay gain value, then it adjusts the iTunesDB entry. After checking all the iTunesDB entries, it writes the adjusted iTunesDB data back to the iPod. Voila.

I've been trying to figure this out from an average user's point of view, though. Those steps are just a tad too complicated, methinks. Suggestions on how to make this process simpler?

-Glen
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2004-12-27 16:56:19
EDIT: nevermind
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-27 19:05:45
Version 0.9.7 (http://www.loodi.com/foo_pod.zip) is now available.


This build just contains couple little things that I have wanted to add to make loading Podcasts easier and better.  This version adds the option of sending (aka transcoding) any song to the iPod as a .m4b audiobook.  There are several good reasons for doing this, since the iPod handles audiobooks special even though they are just regular AAC files with the .m4b file extension. 

Just to give you an idea how I use foo_pod with Podcasts, I first have Foobar set up to append newly enqueued files to the end of a "Command Line" playlist.  Then when I download a podcast, I set it to open automatically in Foobar.  Then I use foo_pod to send the podcast to the iPod as an audiobook.  Finally, I create a Podcasts playlist on the iPod, load the iPod playlists in Foobar, and from the [Default]  [iPod] playlists, I scroll to the bottom to see the newly added podcast, and drag that into the Podcasts [iPod] playlist and update it.  It sounds more complicated that it really is...


As a reminder, Foobar 0.8.3 doesn't understand .m4b songs, so if you are going to be using them with foo_pod, make sure you download my modified foo_input_std.dll (http://www.loodi.com/foo_input_std_M4B_SUPPORT.zip) file and replace your current foo_input_std.dll.




From the Readme:
Code: [Select]
Version 0.9.7 - December 27, 2004
*  Added a "Send To iPod as Audiobook" feature to a song's right click menu.  Audiobooks are treated differently on the iPod in a number of respects - they have automatic bookmarking, which allows you to return to a specific point in a song.  Also, on newer iPods (4G+), there is a menu item that displays audiobooks, and they can be played faster or slower than normal speed.  This feature requires that an AAC encoder is available - the default configuration uses FAAC.exe, located in the Foobar2000 directory, but the settings can be changed via the Transcoder tab in the Preference dialog.

*  Opening the iPod playlists now also shows the default hidden playlist.  This playlist is not visible on the iPod, and contains every song on the iPod.  The playlist order is not important and editing is not allowed, but since newly added songs are located at the bottom, it can help you identify songs that have been recently added.

*  Added an option on the iPod Service Preference tab to disable the use of iPodService.  This is only really useful in rare cases, and normally it should not be set.

*  Considerably sped up the display of playlist items in the Playlist Editor.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kalmark on 2004-12-27 19:39:00
One quick question, as an "outsider" (I have no ipod) - if you transfer normal M4A/MP4/AAC file to the ipod, will they be transcoded or simply renamed to M4B?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-27 21:52:31
Quote
One quick question, as an "outsider" (I have no ipod) - if you transfer normal M4A/MP4/AAC file to the ipod, will they be transcoded or simply renamed to M4B?
[a href="index.php?act=findpost&pid=261775"][{POST_SNAPBACK}][/a]

Currently, it will be transcoded.  There are a couple of reasons for this - first, it makes it easier for foo_pod to find matching songs on the iPod.  Secondly, since the Audiobook transcoding parameters are customizable, it is possible to compress the audio even further, if you want.

If you already have AAC files, just rename them to .m4b and send them to the iPod normally and they will appear as audiobooks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kalmark on 2004-12-27 22:51:14
Okay, great, I was just curious  Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: BUSH on 2004-12-28 00:09:49
is there the possibility for any kind of support for Apple Lossless. I understand that transcoding for example FLAC to Apple Lossless is unlikely, but it would be great if foo_pod allowed you to transfer apple lossless files to the the ipod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2004-12-28 05:18:29
Quote
is there the possibility for any kind of support for Apple Lossless. I understand that transcoding for example FLAC to Apple Lossless is unlikely, but it would be great if foo_pod allowed you to transfer apple lossless files to the the ipod.
[a href="index.php?act=findpost&pid=261798"][{POST_SNAPBACK}][/a]

Until Foobar has some support for ALE, foo_pod can't do anything with that format.  The last time I checked, you couldn't put a ALE song in a Foobar playlist or even load it in Foobar. 

As soon as someone adds ALE support to Foobar, it should work with little or no changes in foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2004-12-31 22:01:00
Hi everyone,

first of all, you did a great job on iPodDB and foo_pod.
I recently got my first ipod (4G), installed iTunes and it didn't convince me.
One reason is that I use flac for all my audio-files. I hate to maintain everything twice, so I guess foo_pod and transcoding on te fly would be the way to go.

But with this I have some trouble.
Sending files to the ipod works well as expected, but sync wont.
Here is what I do:
- I create a playlist with all the songs (flac) I want on the ipod
- then I select foo_pod->sync current playlist

Result:
A progress window is popping up and closing instantly, a playlist "ipod (foo_pod)" appears and it is empty. On the iPod are no files or playlists.
There are no error-messages or warnings. Not even in debug-mode.

When i repeat the same steps as above but use mp3 instead of flac everything works as expected: The files are transferred to the iPod and a playlist (with the same name as the foobar-playlist) is created on the ipod.
This is what i would expect from sync regardless of the file-format.
In a mixed playlist containing mp3 and flac only the mp3-files will be transferred.

What I could do, to work around this, is to select all the files I want on the ipod and use foo_pod->send files to ipod. Then everything works fine (transcode/transfer) and I could create the playlists I want using the files in "ipod (foo_pod)".


There seems to be another problem with sync and transcoding:
- foo_pod->load ipod playlists as tabs
- add a flac that is not on the ipod to one of these playlists
- foo_pod->update this playlist on the ipod

Result:
The flac will be transcoded and transferred successfully. It is present on the ipod, but it won't appear in the playlist that I added it to.
When I repeat the above steps foo_pod notifies me that the file is already there and skips transcoding/transferring, but the entry in the playlist will still be missing.
With mp3 again this works as expected.

foo_pod is probably one of the most useful plugins for foobar, but these few problems I have are a bit annoying and using it could be more efficient. Sync would make it a lot easier.

happy new year
jug

[Edit: just some additions - without my explanation was misleading]
Title: foo_pod - Foobar2000 meets the iPod
Post by: jrbamford on 2005-01-01 17:29:32
I was wondering if anyone could help me out with some basic foopod usage... I've looked through this monster thread as far as i could.. tried looking at the wiki as well.. I just brought an ipod for my sister for christmas.. I used foopod to transfer all the songs i wanted to onto it for her.. This took some figuring out.. I was hoping to not have to install ANY apple software, but it quickly became obvious that i'd need to install the "drivers" as such so that it could work at all.. before doing this, windows would find the hdd of the ipod but when you tried going onto it it said it was unformatted..

I now come to wanting to set up my sister's laptop for long term usage of her ipod.. I just wondered what are the required steps..

Do i have to install itunes etc to get the drivers needed for foopod to work?

In the initial installation if itunes is installed will it delete the current files on there from foopod?

How can i stop itunes loading as default when the ipod is connected?

Is there a way for itunes and foobar/pod to live together.. ideally i'll set up my sister using EAC and lame to encode her music and then foopod to upload to the ipod, but its possible that i may have to relent and let her use itunes for easyness sake... if i turn off syncing in itunes is it happy to leave foopod uploaded files on the ipod and happily add itunes encoded (or EAC/lame) files via itunes on top?

I've done the whole ipod music as playlist option in foopod.. what is the best way of getting these files back off the ipod onto the computer.. surely using diskwriter isn't the right way for this although technically it would work!??

Does the auto chart stuff where an ipod lists the most popular tracks, albums etc still work when using foopod.. I'm sure i read somewhere that every time you upload these tags with foopod have to get overwritten or something... sorry i've never used an ipod before so i've not had chance to properly test this yet (and besides since she's started using it its yet to be reconnected to any computer) .. this kind of stuff is quite a neat feature of ipod.. I imagine my sister would like it.. if its not possible with foopod yet then that will be another small reason to use itunes instead.. if it IS possible then that reason will be removed and i'll feel even easier about forcing her away from itunes

In fact in short what features are different for the worse/better on the ipod when using foopod as oppossed to itunes!?

Thanks for your time.. great plugin!!

If these questions do get answered, perhaps a newbie section in the WIKI would be a good place to put those answers.. questions like "what do i need to install to use foopod" would of been great to have read before i'd managed to get it working... for complete fresh installed (or not as the case maybe) ipod users..
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2005-01-01 20:04:40
Hi jrbamford,

first of, i'm new to this whole ipod, foo_pod, itunes - stuff, but i could try to answer some of your questions :-)

Quote
I now come to wanting to set up my sister's laptop for long term usage of her ipod.. I just wondered what are the required steps..

Be careful with laptops.
As far as i understand it, you need a high-power usb 2.0 port or a firwire port to get the iPod to work properly. Therefor the laptop needs to have external power supply when the ipod is connected. The battery won't be able to do this...
If the laptop has neither there might be a problem. Have a look at this small(ish) sort of reference/manual that came with the ipod and look for system requirements. Or check the apple/ipod website. Also Check the laptop specifications to check if the ports are available.

Quote
Do i have to install itunes etc to get the drivers needed for foopod to work?

No, as you already noticed, when you connect your iPod, windows will recognize it as external hd and foo_pod could use it. Updating the ipod is just a bunch of file-system operations on this external hd. You don't need any apple-software installed, except for the initial setup (ie formatting the ipod-hd).

Quote
How can i stop itunes loading as default when the ipod is connected?

In the preferences, there is an ipod-tab. There is a checkbox, whether or not to load itunes when an ipod is connected. Uncheck it.

Quote
I've done the whole ipod music as playlist option in foopod.. what is the best way of getting these files back off the ipod onto the computer..

When you have done "load ipod songs to foobar2000 playlist" the you could simply rightclick on the "ipod (foo_pod)" playlist and select "foo_pod->save ipod files to disc"

Quote
In fact in short what features are different for the worse/better on the ipod when using foopod as oppossed to itunes!?

erm... well. I try to break it down to what i know for sure.
pro itunes:
- itunes of course understands the ipod-technology entirely and thus provides the best and most complete implementation of all the features.
- it will respect the playcount and rating data on the ipod and merge it into its own local database

contra itunes:
- uses a lot of resources
- its closed source

pro foo_pod:
- the classes foo_pod relies on are open source
- it's possible to download the media-files from the ipod without any trouble
- almost all the main features of itunes are present (updating/syncing, playlists, smart playlists)
- it is faster and needs less system-resources than itunes
- it allows transcoding of media-types ipod/itunes does not understand, that means you don't need to keep and maintain a copy of your music collection. For me this is the ultimate itunes-killer-feature
- still in development -> there will be more new features in the future (hopefully)

contra foo_pod:
- still in development, there are features missing, incomplete or may not work as expected
- it won't respect playcount/rating on the ipod and will not merge these data into foobars database or the local files. but it adds local values to the ipod-database if there are any available


These are just the info that i could figure out myself, testing and reading this thread. If i'm wrong in some points please correct me, i'm just trying to understand this all myself.
There might also be a language problem, because i'm not native to english, but you might have noticed that already...

cheers
jug
Title: foo_pod - Foobar2000 meets the iPod
Post by: jrbamford on 2005-01-01 20:17:16
Thanks Jug..

So having already set it all up i wont need to install itunes at all on my sisters machine.. or any apple software.. i guessed it could of formatted it when it first ran stuff..

I assumed something of apple was required to be installed to get the "iPod Service" stuff all working.. it was this that didn't work until i installed everything..

Do we know if its possible to get itunes and foopod coexisting.. I have all the files i uploaded but its about 10gig and i'd rather not reupload if at all possible

Thanks for the laptop warning... i'll have a look.. it does have a charging PSU.. i can tell her to always have her laptop plugged in whenever she is going to do anything with it.. its hard to believe that the ipod has that much of a power requirement.. i'd of thought an unpowered firewire port to just have the ipod run of batteries when uploading... fair enough not great.. but do able if you wanted to do a couple of albums and you knew it was on full enough charge..

Cheers.. Happy New Year!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: jrbamford on 2005-01-01 22:55:27
It turns out that i'm going to have to wait to play with this some more anyways.. sisters laptop, and mine for that matter has the smaller 4 pin firewire connector... 4G ipods don't come with the adapter for it in the box.. as for your power related query, it does seem like an issue.. there are a couple of adapters that take one firewire lead (from your mains power adapter) and the other from your unpowered 4 pin laptop and combines it into 1 powered 6 pin port ready for the ipod.. getting hold of these at all and especially in Europe is looking like a difficult one.. until then my foopod fiddlings will have to wait
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2005-01-02 22:51:38
Well, the Wiki's up and running but people are needed to update and maintainers for it.  Aero: How do you feel about moving updates and the changelog there?

Is there any objections about the Wiki?
Title: foo_pod - Foobar2000 meets the iPod
Post by: datdude on 2005-01-02 23:08:27
Trying to transfer flac and wma files to ipod by transcoding, however I get this error:

ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying E:\Mikey's Music\Main Library\Albums\311 - 311 - 01 - Down.flac to d:\iPod_Control\Music\F84\

I am using v0.8.3 foobar and 0.9.7 foo_pod. 

I have followed the readme file and have transfered both foo_podtranscoder.dll and foo_podclienc.dll to the Components directory.

I have transfered lame.exe 3.96.1 to the foobar main directory.  In preferences I have selected the lame best wuality setting.

Any suggestions on why it will not transcode?

Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-03 00:11:37
Quote
Trying to transfer flac and wma files to ipod by transcoding, however I get this error:

ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying E:\Mikey's Music\Main Library\Albums\311 - 311 - 01 - Down.flac to d:\iPod_Control\Music\F84\

I am using v0.8.3 foobar and 0.9.7 foo_pod. 

I have followed the readme file and have transfered both foo_podtranscoder.dll and foo_podclienc.dll to the Components directory.

I have transfered lame.exe 3.96.1 to the foobar main directory.  In preferences I have selected the lame best wuality setting.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=262756")

That looks like foo_pod wasn't able to find lame.exe.  A couple things to try:

1. Make sure that the LAME executable is named 'lame.exe' and it is in the same directory as foobar2000.exe.
2. Copy lame.exe to c:\windows
3. Copy [a href="http://pessoal.onda.com.br/rjamorim/faac.zip]faac.exe[/url] to the Foobar directory, select one of the FAAC transcoder settings.

If none of those work, let me know.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-03 00:20:56
Quote
first of all, you did a great job on iPodDB and foo_pod.
I recently got my first ipod (4G), installed iTunes and it didn't convince me.
One reason is that I use flac for all my audio-files. I hate to maintain everything twice, so I guess foo_pod and transcoding on te fly would be the way to go.

But with this I have some trouble.
Sending files to the ipod works well as expected, but sync wont.
Here is what I do:
- I create a playlist with all the songs (flac) I want on the ipod
- then I select foo_pod->sync current playlist

Result:
A progress window is popping up and closing instantly, a playlist "ipod (foo_pod)" appears and it is empty. On the iPod are no files or playlists.
There are no error-messages or warnings. Not even in debug-mode.

When i repeat the same steps as above but use mp3 instead of flac everything works as expected: The files are transferred to the iPod and a playlist (with the same name as the foobar-playlist) is created on the ipod.
This is what i would expect from sync regardless of the file-format.
In a mixed playlist containing mp3 and flac only the mp3-files will be transferred.

What I could do, to work around this, is to select all the files I want on the ipod and use foo_pod->send files to ipod. Then everything works fine (transcode/transfer) and I could create the playlists I want using the files in "ipod (foo_pod)".

Sync is almost unsupported in foo_pod.  I don't use it, so it get the kind of testing it needs.  I strong recommend using Send Files/Delete Files to manage the files on the iPod, at least until I get some time to get sync working as it should.

Quote
There seems to be another problem with sync and transcoding:
- foo_pod->load ipod playlists as tabs
- add a flac that is not on the ipod to one of these playlists
- foo_pod->update this playlist on the ipod

Result:
The flac will be transcoded and transferred successfully. It is present on the ipod, but it won't appear in the playlist that I added it to.
When I repeat the above steps foo_pod notifies me that the file is already there and skips transcoding/transferring, but the entry in the playlist will still be missing.
With mp3 again this works as expected.
[a href="index.php?act=findpost&pid=262377"][{POST_SNAPBACK}][/a]

This is a general problem with transcoding and playlists, not just with sync.  The best workaround right now is, after transcoding, go to the "[Default]  [iPod]" playlist and find the transcoded file (it should be at the end of the playlist), then add that to the iPod playlist.  I'll work on a better fix for this problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: datdude on 2005-01-03 02:18:51
Quote
That looks like foo_pod wasn't able to find lame.exe.  A couple things to try:

1. Make sure that the LAME executable is named 'lame.exe' and it is in the same directory as foobar2000.exe.
2. Copy lame.exe to c:\windows
3. Copy faac.exe (http://pessoal.onda.com.br/rjamorim/faac.zip) to the Foobar directory, select one of the FAAC transcoder settings.

If none of those work, let me know.
[a href="index.php?act=findpost&pid=262760"][{POST_SNAPBACK}][/a]


Still not working and the same error with FAAC

I have a 4 g ipod with latest firmware but im assuming the ipod has nothing to do with it.  I am using windows xp service pack 2 as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2005-01-03 04:09:52
OT a little here, but a little observation.

I was attempting to reproduce a bug that I had encountered sometime back (on corrupted DB with foo_pod), and I had did a backup copy of the DB file in the /Ipod_Control/iTunes folder.

When I plugged out my iPod, I realised that there were double entries in my DB, and this was because of iPod reading the 2 DB files simulteneously.

Moral of the story? Don't place 2 DB files in the iTunes folder, and if you do, give an extension to the file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-03 05:29:48
Quote
I was attempting to reproduce a bug that I had encountered sometime back (on corrupted DB with foo_pod), and I had did a backup copy of the DB file in the /Ipod_Control/iTunes folder.

When I plugged out my iPod, I realised that there were double entries in my DB, and this was because of iPod reading the 2 DB files simulteneously.

Moral of the story? Don't place 2 DB files in the iTunes folder, and if you do, give an extension to the file.
[a href="index.php?act=findpost&pid=262781"][{POST_SNAPBACK}][/a]

Hmm...that is very odd.  I typically have several DB files in my iTunes directory, and I have never seen the duplicate database thing. 

Are you sure that you just didn't end up with an iTunesDB with multiple entries?  If not, what did you name the DB files in order to see the duplicates?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2005-01-03 05:47:29
Quote
Quote
I was attempting to reproduce a bug that I had encountered sometime back (on corrupted DB with foo_pod), and I had did a backup copy of the DB file in the /Ipod_Control/iTunes folder.

When I plugged out my iPod, I realised that there were double entries in my DB, and this was because of iPod reading the 2 DB files simulteneously.

Moral of the story? Don't place 2 DB files in the iTunes folder, and if you do, give an extension to the file.
[a href="index.php?act=findpost&pid=262781"][{POST_SNAPBACK}][/a]

Hmm...that is very odd.  I typically have several DB files in my iTunes directory, and I have never seen the duplicate database thing. 

Are you sure that you just didn't end up with an iTunesDB with multiple entries?  If not, what did you name the DB files in order to see the duplicates?
[a href="index.php?act=findpost&pid=262786"][{POST_SNAPBACK}][/a]


Hmm.. such strange things are always happening to me... 
I just did an copy and paste of the file, without giving it any file extension whatsoever (unlike foo_pod, where its backup function adds an extension). The duplicate file was called "Copy of iTunesDB".

EDIT: The problem that I encountered with 2 DB files was that the DB entries were largely duplicated, and they were no longer sorted alphabetically.  Even full albums were not sorted according to tracknumber.

If you want, I still have the duplicate file on my HDD, and I can email it over to you..
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2005-01-03 07:10:19
my sister just got an ipod photo for xmas. i have been using foo_pod for a while now with my own ipod and have had no problems. i tried to put all my songs onto her ipod photo, but something wasn't working correctly. the transfer conpletes fine, but when i select a song on her ipod, some of the songs play, while others just skip over. i have tried many things, hoping i could find the problem (formatted, applied latest ipod software, and rebuilt the database) but nothing worked. does foo_pod support ipod photo?

@aero: i searched the thread to find your post about your ipod photo. are you having any difficulties?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-03 08:24:17
Quote
my sister just got an ipod photo for xmas. i have been using foo_pod for a while now with my own ipod and have had no problems. i tried to put all my songs onto her ipod photo, but something wasn't working correctly. the transfer conpletes fine, but when i select a song on her ipod, some of the songs play, while others just skip over. i have tried many things, hoping i could find the problem (formatted, applied latest ipod software, and rebuilt the database) but nothing worked. does foo_pod support ipod photo?

@aero: i searched the thread to find your post about your ipod photo. are you having any difficulties?
[a href="index.php?act=findpost&pid=262797"][{POST_SNAPBACK}][/a]

No difficulties in general, although I have seen the skipping problem you describe.  I have seen it happen on 3G, 4G, and especially on the iPod Photo.  If they never play, that could be a foo_pod problem.  But if it takes 2-3 selections to get them to play, then it is almostly definitely an iPod problem.

I seem to remember that early 3G firmwares especially had this problem, but it was fixed in later releases.  The problem seems to occur when the disk doesn't spin up or seek fast enough before something times out and moves on to the next song.  Too bad Apple's firmware release schedule is so slow, and they do such a horrible job supporting their older players...


As an aside, as someone who has owned a 3G, 4G, and iPod Photo, the quality of the firmware appears to be going down as time goes on.  Mostly little problems, but with the iPod Photo in particular, I have been disappointed by the quality of the overall design (the new databases and iTunes' lackluster support for moving photos to the iPod).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-03 08:33:33
Quote
Still not working and the same error with FAAC

I have a 4 g ipod with latest firmware but im assuming the ipod has nothing to do with it.  I am using windows xp service pack 2 as well.
[a href="index.php?act=findpost&pid=262772"][{POST_SNAPBACK}][/a]

It isn't an iPod or XP problem.  Can you try the following?

1. Go to the foo_pod preferences, and for Console Debug Mode, set it to "All Debug Messages". 
2. Open up the Foobar console (Components menu, Show Console), and click Reset to clear it.
3. Find a FLAC/WMA file, double click on it to make sure it plays, then right click and select "Send File To iPod". 
4. Send me or post the entire contents of the Console window if the transcoding fails. 


Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-01-03 09:10:38
Quote
Sync is almost unsupported in foo_pod. I don't use it, so it get the kind of testing it needs. I strong recommend using Send Files/Delete Files to manage the files on the iPod, at least until I get some time to get sync working as it should.
This is something I always wanted to ask: suppose I have a relatively large playlist (~1000 songs) and I change its content (add/remove files, change MP3 tags, replaygain, etc.), what am I supposed to do to keep the iPod playlist "in synch" with it? Do I have to select all the files on my PL and Send them over to the iPod? Wouldn't it produce duplicates or unwanted (not removed) files on the iPod?

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2005-01-03 18:51:35
Quote
Sync is almost unsupported in foo_pod.  I don't use it, so it get the kind of testing it needs.  I strong recommend using Send Files/Delete Files to manage the files on the iPod, at least until I get some time to get sync working as it should.

Well then i'll keep doing it that way, it's just annoying, because foo_pod could do most of that already, it just needs to be "automated".
- determine which files to send or delete * that's the tricky part i guess
- transcode if needed
- use the same send/delete functions that are already working
- create/remove playlists if needed
- add/remove entries to/from playlists
Most of these steps are already implemented and working. The only problem is that first step. I don't know much about programming in C, or whatever it is you use, but i don't consider this a big effort. Ok, thinking about it, i have to admit, that "what to compare?" is harder than the comparison itself.
You use the filesize as one criteria, but that is weak for transcoded files - All files will be deleted, transcoded and sent all over again.  This is really time-consuming.
Istead you could store the size of the local file on the ipod using a tag (e.g. POD_FILESIZE). Thus transcoding would not affect this comparison. Just a thought...

Quote
I'll work on a better fix for this problem.

Great

cheers
jug
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-03 23:52:21
Quote
Well then i'll keep doing it that way, it's just annoying, because foo_pod could do most of that already, it just needs to be "automated".
- determine which files to send or delete * that's the tricky part i guess
- transcode if needed
- use the same send/delete functions that are already working
- create/remove playlists if needed
- add/remove entries to/from playlists
Most of these steps are already implemented and working. The only problem is that first step. I don't know much about programming in C, or whatever it is you use, but i don't consider this a big effort. Ok, thinking about it, i have to admit, that "what to compare?" is harder than the comparison itself.
You use the filesize as one criteria, but that is weak for transcoded files - All files will be deleted, transcoded and sent all over again.  This is really time-consuming.
Istead you could store the size of the local file on the ipod using a tag (e.g. POD_FILESIZE). Thus transcoding would not affect this comparison. Just a thought...

It should already work that way, it just appears that some bug was introduced and since I don't use the sync functions, I didn't spot it.

Also, I don't use filesize for transcoded file comparisons - when a file is transcoded, its filename on the iPod is changed to the original file's MD4 hash value.  So when looking for a matching song, I only have to hash the source song and look for a matching filename on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2005-01-04 00:02:55
Quote
It should already work that way, it just appears that some bug was introduced and since I don't use the sync functions, I didn't spot it.

Also, I don't use filesize for transcoded file comparisons - when a file is transcoded, its filename on the iPod is changed to the original file's MD4 hash value.  So when looking for a matching song, I only have to hash the source song and look for a matching filename on the iPod.

Alright then, i stop complaining and look forward to see it fixed some day.
Keep up the great job!

cheers
jug
Title: foo_pod - Foobar2000 meets the iPod
Post by: ElBooto on 2005-01-05 07:53:51
Quote
Quote
Still not working and the same error with FAAC

I have a 4 g ipod with latest firmware but im assuming the ipod has nothing to do with it.  I am using windows xp service pack 2 as well.
[a href="index.php?act=findpost&pid=262772"][{POST_SNAPBACK}][/a]

It isn't an iPod or XP problem.  Can you try the following?

1. Go to the foo_pod preferences, and for Console Debug Mode, set it to "All Debug Messages". 
2. Open up the Foobar console (Components menu, Show Console), and click Reset to clear it.
3. Find a FLAC/WMA file, double click on it to make sure it plays, then right click and select "Send File To iPod". 
4. Send me or post the entire contents of the Console window if the transcoding fails. 
[a href="index.php?act=findpost&pid=262802"][{POST_SNAPBACK}][/a]


I'm having the same problems, I can't seem to transcode files when sending them to the ipod. Using faac 1.24+, foo_pod 0.9.7 and foobar 0.8.3 special fresh install. I placed faac.exe in both the foobar and windows directories.

When I try to transfer a file i get this message:
Code: [Select]
INFO (CORE) : opening file for playback :
INFO (CORE) : location: "file://d:\Documents and Settings\gareth\Desktop\Save Ferris - [01] The World Is New.ogg" (0)
INFO (foo_pod) : WriteITunesDBFile: backup of g:\iPod_Control\iTunes\iTunesDB to C:\Program Files\foobar2000\iTunesDB.bak succeeded
INFO (foo_pod) : WriteITunesDBFile: DeleteFile(g:\iPod_Control\iTunes\iTunesDB) succeeded
INFO (foo_pod) : iTunesDB successfully written
INFO (foo_pod) : Transcoding d:\Documents and Settings\gareth\Desktop\Save Ferris - [01] The World Is New.ogg
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying d:\Documents and Settings\gareth\Desktop\Save Ferris - [01] The World Is New.ogg to g:\iPod_Control\Music\F69\
INFO (foo_pod) : WriteITunesDBFile: backup of g:\iPod_Control\iTunes\iTunesDB to C:\Program Files\foobar2000\iTunesDB.bak succeeded
INFO (foo_pod) : WriteITunesDBFile: DeleteFile(g:\iPod_Control\iTunes\iTunesDB) succeeded
INFO (foo_pod) : iTunesDB successfully written
INFO (foo_pod) : 0 files copied (0.00 MB) to the iPod in 0.97 seconds (0.00 MB/s)
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-01-06 17:03:28
Playcount Question:

First, thank to all contributors for this great plugin. Second, apologies if this has already been answered in the thread...

I'm trying to use foo_pod to manage my audioscrobbler submissions for music played only on my ipod. I'm following this procedure:
1. Start up foo_pod.
2. "Load iPod Songs to foobar Playlist".
3. Run Extended Playlist Generator on the foo_pod playlist to get songs played in a date range.
4. Play the generated playlist while foo_audioscrobbler is running.

This seems to work fine, but I am noticing one bad behavior:
5. Eject iPod and use normally.
6. Reconnect iPod and start up foo_pod.
7. "Load iPod Songs to foodbar Playlist".
8. Now the %IPOD_PLAY_COUNT% has been removed for all songs except those played in step 5.

I notice upon exporting the iTunes db that the <HTMI><PLAYCOUNT> element is maintaining the correct playcount, but for some reason it's not being re-read and set to the %IPOD_PLAY_COUNT% metadata when I perform step 7.

What am I doing wrong here? I've set foobar to "block tag update operations", and I've also removed my foo_quicktag and foo_playcount components.

Thanks,
Steve
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-06 23:14:21
Quote
I'm trying to use foo_pod to manage my audioscrobbler submissions for music played only on my ipod. I'm following this procedure:
1. Start up foo_pod.
2. "Load iPod Songs to foobar Playlist".
3. Run Extended Playlist Generator on the foo_pod playlist to get songs played in a date range.
4. Play the generated playlist while foo_audioscrobbler is running.

This seems to work fine, but I am noticing one bad behavior:
5. Eject iPod and use normally.
6. Reconnect iPod and start up foo_pod.
7. "Load iPod Songs to foodbar Playlist".
8. Now the %IPOD_PLAY_COUNT% has been removed for all songs except those played in step 5.

I notice upon exporting the iTunes db that the <HTMI><PLAYCOUNT> element is maintaining the correct playcount, but for some reason it's not being re-read and set to the %IPOD_PLAY_COUNT% metadata when I perform step 7.

What am I doing wrong here? I've set foobar to "block tag update operations", and I've also removed my foo_quicktag and foo_playcount components.
[a href="index.php?act=findpost&pid=263382"][{POST_SNAPBACK}][/a]

This might be a bug in how I'm handling play counts.  I haven't tested it on an iPod yet, but from looking at the code, when you load the iPod playlist I am replacing the database's playcount value instead of appending to what is already there.

That would explain the behavior you are seeing - basically the play counts are wiped and only songs that have been played since the last load iPod playlist are present.  It is a one liner fix, so I'll test it tonight and put it in the next version.

Edit: Yep, that was it.  It was a dumb mistake on my part, but it is fixed now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-06 23:29:05
Quote
When I try to transfer a file i get this message:
Code: [Select]
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying d:\Documents and Settings\gareth\Desktop\Save Ferris - [01] The World Is New.ogg to g:\iPod_Control\Music\F69\

[a href="index.php?act=findpost&pid=263134"][{POST_SNAPBACK}][/a]

Can you open up g:\iPod_Control\Music\F69 and see if there is a .m4a file there, dated when you did the transcoding?  It looks to me, from the error messages, that the transcoding might have actually worked, but foo_pod thought it didn't...
Title: foo_pod - Foobar2000 meets the iPod
Post by: ElBooto on 2005-01-07 03:55:12
Quote
Quote
When I try to transfer a file i get this message:
Code: [Select]
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying d:\Documents and Settings\gareth\Desktop\Save Ferris - [01] The World Is New.ogg to g:\iPod_Control\Music\F69\

[a href="index.php?act=findpost&pid=263134"][{POST_SNAPBACK}][/a]

Can you open up g:\iPod_Control\Music\F69 and see if there is a .m4a file there, dated when you did the transcoding?  It looks to me, from the error messages, that the transcoding might have actually worked, but foo_pod thought it didn't...
[a href="index.php?act=findpost&pid=263474"][{POST_SNAPBACK}][/a]


I just checked, there's only mp3 files there, and all older  .  So its not gettng that far.
Using the custom encoder option seems to work with faac.exe, so it's not something directly wrong with the exe I guess. 

It doesn't work with lame (3.96 from rarewares) either.
The Error # changes from #0 to #5 sometimes, although I can't tell what circumstances cause the switch.

Any other ideas?
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-01-07 03:58:26
Quote
This might be a bug in how I'm handling play counts.  I haven't tested it on an iPod yet, but from looking at the code, when you load the iPod playlist I am replacing the database's playcount value instead of appending to what is already there.

That would explain the behavior you are seeing - basically the play counts are wiped and only songs that have been played since the last load iPod playlist are present.  It is a one liner fix, so I'll test it tonight and put it in the next version.

Edit: Yep, that was it.  It was a dumb mistake on my part, but it is fixed now.
[a href="index.php?act=findpost&pid=263466"][{POST_SNAPBACK}][/a]


Aero:

Thanks for fixing this! Your prompt bugfix is really appreciated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-07 04:35:34
Quote
Using the custom encoder option seems to work with faac.exe, so it's not something directly wrong with the exe I guess. 

It doesn't work with lame (3.96 from rarewares) either.
The Error # changes from #0 to #5 sometimes, although I can't tell what circumstances cause the switch.

Any other ideas?
[a href="index.php?act=findpost&pid=263510"][{POST_SNAPBACK}][/a]

Good detective work in figuring out that the custom encoder setting works!

What did you put in the encoder setting in the custom encoder setting?  Is it just "faac.exe", or is it the full path like "c:\program files\foobar2000\faac.exe"?

Since both the preset Lame and Faac settings didn't work, but the custom one did, I'm thinking that the problem might be related to using a relative path vs. the absolute path.  If you have the full path in the custom encoder, try changing it to just faac.exe and see if it fails.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-01-07 08:33:19
Quote
It doesn't work with lame (3.96 from rarewares) either.
The Error # changes from #0 to #5 sometimes, although I can't tell what circumstances cause the switch.
[a href="index.php?act=findpost&pid=263510"][{POST_SNAPBACK}][/a]

It happens here too. I didn't change anything in the transcoder settings and it was working with previous version of foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-07 08:50:05
Version 0.9.7a (http://www.loodi.com/foo_pod.zip) is now available.

This is just a bug fix release, fixing the playcount and transcoder problems that have been recently reported.  The playcount problem was long standing, but the transcoder error was just introduced in version 0.9.7 (it turns out that I wasn't retrieving the LAME/FAAC default settings correctly, so only the custom encoder settings option worked...).


From the Readme:
Code: [Select]
Version 0.9.7a - January 7, 2005
*  Fixed a significant bug with the handling of playcounts - they were not cumlative and the playcount of a song would always be replaced with the new count.  For example, if a song had been played 3 times, the iPod was undocked, and the song was played once more, when the iPod was docked the playcount would be set to 1, instead of 4.

*  Hopefully fixed some problems with starting the transcoder executable.  Also added additional console warning/errors to help users identify any remaining problmems.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-01-07 08:51:23
Quote
Edit: Yep, that was it.  It was a dumb mistake on my part, but it is fixed now.
Is it available for download?

Alessandro

[Edit]Ooops! Sorry. [/Edit]
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2005-01-08 23:23:42
Regarding the Syncing issue.  When I click on "sync playlist" it syncs the playlist files to the entire iPod database instead of the equivalent playlist on the iPod.  It's a quick and easy test just press "no" when it asks you if you want to delete all those files.

Am I missing the purpose of this feature?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ElBooto on 2005-01-09 01:41:50
Quote
Version 0.9.7a (http://www.loodi.com/foo_pod.zip) is now available.

This is just a bug fix release, fixing the transcoder problems that have been recently reported.
[a href="index.php?act=findpost&pid=263537"][{POST_SNAPBACK}][/a]


Hey thanks aero! Its working great now .
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-09 09:23:15
Quote
my sister just got an ipod photo for xmas. i have been using foo_pod for a while now with my own ipod and have had no problems. i tried to put all my songs onto her ipod photo, but something wasn't working correctly. the transfer conpletes fine, but when i select a song on her ipod, some of the songs play, while others just skip over. i have tried many things, hoping i could find the problem (formatted, applied latest ipod software, and rebuilt the database) but nothing worked. does foo_pod support ipod photo?

@aero: i searched the thread to find your post about your ipod photo. are you having any difficulties?
[a href="index.php?act=findpost&pid=262797"][{POST_SNAPBACK}][/a]

I was able to reproduce the file skipping problem tonight on my iPod Photo, and was able to figure out what was going on.

It turns out that the iPod Photo (only) is sensitive to filename length.  For example, I had a song that played fine on my 4G but was skipped on the Photo.  I was able to determine that song filenames longer than about 37 characters (including file extension) are not played on the Photo, but work fine on older iPods.  iTunes limits the filename to 31 characters, so I have also changed foo_pod to this limit as well, and this fix will be in the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-10 07:18:43
Quote
It turns out that the iPod Photo (only) is sensitive to filename length.
[a href="index.php?act=findpost&pid=263934"][{POST_SNAPBACK}][/a]

Actually, older iPod's have the same issue. That's one reason programs like EphPod default to changing the names to shorter ones using numbers or some other kind of scheme. Lot of people encountered this initially because they had silly naming schemes like tracknumber-artist-album-genre.mp3 sort of filenames, and these were naturally huge and caused issues until they figured the problem out. Later iPod firmware revisions reduced the problem, but did not cure it entirely.

Basically, when the iPod is searching for a track, if it takes too long to find it, it'll skip it. Well, in some cases, when the filename is too long, there's too many fake LFN entries in the directory index, and in skipping over those it takes too long for it to seek the thing. Result is skipped files.

Long filenames in FAT32 work by putting fake directory entries in the directory index that immediately precede the normal entries. Each LFN entry can only hold 13 characters, and if it's longer, it takes more entries, and so forth. After a certain length, any iPod will have issues. Make a whole bunch of 200 character filenames on an older iPod and you'll see the same impact.

You might consider including a "compatibility" mode where you rename all the files to short 8.3 names, if you're not basing anything on filename alone. In order to not produce any LFN entries, and thus achieve maximum compatibility, the filenames have to fit into 8.3 format, and be all uppercase or numeric. This would totally prevent skipping due to excessive directory index read time.

This directory index searching time is also the same reason that later iTunes versions have been adding more music directories. It used to be f00-f29, but now it's up to what, f60 or so? More directories means less files per directory means less sequential searching time through the structure. That's the only way they could get it up to 40 or 60 gig. They can't figure out how to solve the problem, so they took steps to reduce it instead.

Oh, the reason it's probably happening more on the iPod Photo is that the iPod Photo is searching for more stuff, most likely. It has to find the album art in the artwork db and so forth. This could be causing more disk read and more searching, which causes the problem to manifest more easily.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-10 16:11:02
Quote
Actually, older iPod's have the same issue. That's one reason programs like EphPod default to changing the names to shorter ones using numbers or some other kind of scheme. Lot of people encountered this initially because they had silly naming schemes like tracknumber-artist-album-genre.mp3 sort of filenames, and these were naturally huge and caused issues until they figured the problem out. Later iPod firmware revisions reduced the problem, but did not cure it entirely.

I have considered moving to a completely hash based filename system, like I do for transcoded files.  It would simplify a lot of internal details and probably speed things up, but I think a lot of people expect to see the unaltered (as much as possible) filename on the iPod.


Quote
Basically, when the iPod is searching for a track, if it takes too long to find it, it'll skip it. Well, in some cases, when the filename is too long, there's too many fake LFN entries in the directory index, and in skipping over those it takes too long for it to seek the thing. Result is skipped files.

I'm sure that is true in general, but the iPod Photo is definitely different than previous iPods.  I had only 3-5 songs on the iPod, and the long filename was skipped 100% of the time.  I was even able to get it to the point where adding a single character to a filename caused it to be skipped consistantly, whereas the shorter filename always played.


Quote
You might consider including a "compatibility" mode where you rename all the files to short 8.3 names, if you're not basing anything on filename alone. In order to not produce any LFN entries, and thus achieve maximum compatibility, the filenames have to fit into 8.3 format, and be all uppercase or numeric. This would totally prevent skipping due to excessive directory index read time.

Other than the iPod Photo weirdness, I haven't seen much (if any) song skipping lately.  I don't know if it is improved firmwares or the addition of extra fnn directories. 


Quote
This directory index searching time is also the same reason that later iTunes versions have been adding more music directories. It used to be f00-f29, but now it's up to what, f60 or so? More directories means less files per directory means less sequential searching time through the structure. That's the only way they could get it up to 40 or 60 gig. They can't figure out how to solve the problem, so they took steps to reduce it instead.

foo_pod goes up to 11 (actually f99) now, for this reason.

Thanks for the info on FAT32!  I'll keep it in mind for future changes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-12 22:06:01
Quote
I'm sure that is true in general, but the iPod Photo is definitely different than previous iPods.  I had only 3-5 songs on the iPod, and the long filename was skipped 100% of the time.  I was even able to get it to the point where adding a single character to a filename caused it to be skipped consistantly, whereas the shorter filename always played.

Damn, that is annoying.

Something that you might try is to use the short name in the iTunesDB file but leave the long name in the filesystem. The short name will be something like "long file name.mp3" into "longfi~1.mp3", where 1 increments, sort of thing. That will at least let you see if it's a filesystem bug or if it's something screwy with the way the iPod Photo is dealing with the iTunesDB. Because you should be able to reference it by short name and have it find the file okay.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-01-13 07:27:14
Aero,

I'm getting this error while transcoding to my iPod (4G):

ERROR (foo_pod) : Error #0 copying d:\Musica\Kyo\300 lesions\Kyo - 12 - L'assaut Des Regards.mp3 to k:\iPod_Control\Music\F36\

this seems to happen while transcoding mp3 higher than a certain bitrate to a lower bitrate via foo_pod to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-13 14:53:43
Quote
I'm getting this error while transcoding to my iPod (4G):

ERROR (foo_pod) : Error #0 copying d:\Musica\Kyo\300 lesions\Kyo - 12 - L'assaut Des Regards.mp3 to k:\iPod_Control\Music\F36\

this seems to happen while transcoding mp3 higher than a certain bitrate to a lower bitrate via foo_pod to the iPod.
[a href="index.php?act=findpost&pid=264993"][{POST_SNAPBACK}][/a]

Are you using the latest version of foo_pod (version 0.9.7a)?  Also, will you paste the entire foo_pod contents of Console so I can see what is going on before the error?
Title: foo_pod - Foobar2000 meets the iPod
Post by: nicholas on 2005-01-13 17:57:29
Quote
I'm getting this error while transcoding to my iPod (4G):

ERROR (foo_pod) : Error #0 copying d:\Musica\Kyo\300 lesions\Kyo - 12 - L'assaut Des Regards.mp3 to k:\iPod_Control\Music\F36\

this seems to happen while transcoding mp3 higher than a certain bitrate to a lower bitrate via foo_pod to the iPod.
[a href="index.php?act=findpost&pid=264993"][{POST_SNAPBACK}][/a]

I noticed a similar error (with version 0.9.7a).  I also had trouble transferring a huge list of files that included flac, m4a and mp3 files with and without transcoding of higher mp3 bitrates checked.  I would let it run and come back to my computer a day or so later and nothing would be transferred to the iPod and there would be tons of error messages like the one above.

Transferring the files separately by file type allowed me to transfer the files.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-01-13 19:12:28
Quote
Are you using the latest version of foo_pod (version 0.9.7a)?  Also, will you paste the entire foo_pod contents of Console so I can see what is going on before the error?
[a href="index.php?act=findpost&pid=265048"][{POST_SNAPBACK}][/a]

Sorry, I didn't have the last version. I did install it sometime ago, but don't know how I must have installed the previous version 0.9.7 by mistake 

Everything works fine now 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-13 19:19:48
Hmm...I can't see how the source file's codec, bitrate, or the number of files would have any effect on the foo_pod transcoder, since after Foobar decodes it, it is just a stream of audio data that is passed directly to LAME/FAAC/whatever.

I'm transcoding 7,000 songs right now as a test (using the LAME "good quality" preset), and I haven't had any problems so far.  If you are able to reproduce transcoder problems, please post the following details:

* Which preset you are using (or if you are using a custom preset, all the data from the dialog).  Also post the version of the encoder you are using.
* All foo_pod related output from the Console (you can edit it down to 1 or 2 songs, if you get multiple errors).
* If there are any special steps you did to reproduce the problem.
* If reverting to a previous version (such as 0.9.5 (http://www.loodi.com/foo_pod_0.9.5.zip) or 0.9.6 (http://www.loodi.com/foo_pod_0.9.6.zip) helps).

Also, make sure you are updating ALL of the foo_pod DLLs (foo_pod.dll, foo_podtranscoder.dll, and foo_podclienc.dll).  For 0.9.7a, they all should have the same date - Jan 7, 2005.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nicholas on 2005-01-13 19:59:08
Quote
Hmm...I can't see how the source file's codec, bitrate, or the number of files would have any effect on the foo_pod transcoder, since after Foobar decodes it, it is just a stream of audio data that is passed directly to LAME/FAAC/whatever.

I'm transcoding 7,000 songs right now as a test (using the LAME "good quality" preset), and I haven't had any problems so far.  If you are able to reproduce transcoder problems, please post the following details:

* Which preset you are using (or if you are using a custom preset, all the data from the dialog).  Also post the version of the encoder you are using.
* All foo_pod related output from the Console (you can edit it down to 1 or 2 songs, if you get multiple errors).
* If there are any special steps you did to reproduce the problem.
* If reverting to a previous version (such as 0.9.5 (http://www.loodi.com/foo_pod_0.9.5.zip) or 0.9.6 (http://www.loodi.com/foo_pod_0.9.6.zip) helps).

Also, make sure you are updating ALL of the foo_pod DLLs (foo_pod.dll, foo_podtranscoder.dll, and foo_podclienc.dll).  For 0.9.7a, they all should have the same date - Jan 7, 2005.
[a href="index.php?act=findpost&pid=265133"][{POST_SNAPBACK}][/a]

I will be away from my computer until next Saturday.  I will try to isolate the issue then.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-14 23:08:55
Version 0.9.8 (http://www.loodi.com/foo_pod.zip) is now available.

This version has some additional changes to how transcoding is handled, so if you have had problems with the past few versions, try this one and see if it helps.

It also has the fix for long filenames on the iPod Photo, which caused file skipping.

Also, this version adds a feature that smart playlist users will find useful.  You can now open up the smart playlists as Foobar playlist tabs, just like with regular playlists.  foo_pod reads the smart playlist rules and builds up the playlist with the matching songs from your iPod.  I am really enjoying this feature, since I listen to a lot of podcasts, and have a smart playlist rule that groups them all into one playlist.  Being able to open up a populated smart playlist in Foobar means it is easy to select and delete old shows.


As a side note, has anyone tried foo_pod with an iPod Shuffle yet?  I don't know if it works the same as regular iPod (*cough*I'm open to donations...*cough*), but I'm guessing that it is basically the normal iPod software with a permanent smart playlist that iTunes manages (for file disk space vs. song disk space). 


From the Readme:
Code: [Select]
*  Improved compatability with the iPod Photo.  For some reason, the iPod Photo appears to skip songs with long filenames (longer than about 37 characters), so foo_pod now truncates long filenames.

*  Fixed a potential file copy problem when transcoding is disabled.

*  Added a "Open iPod Smart Playlists As Tabs" feature.  This will read any smart playlists on your iPod and display the iPod songs that match the rules (i.e. the songs that are displayed on the iPod).
Title: foo_pod - Foobar2000 meets the iPod
Post by: LadFromDownUnder on 2005-01-15 00:09:34
I've searched and couldn't find whether this question has been asked before: could I place foobar on an iPod, connect the iPod as an external drive, and run foobar (including foo_pod) from the iPod?  I'm thinking YES, but before I purchase a Shuffle I want to know how 'portable' my music solution can be.

Thanks in advance.

ps: Many thanks to Aero (and Otto42, and all others) for their work on this project.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-15 04:29:24
Quote
I've searched and couldn't find whether this question has been asked before: could I place foobar on an iPod, connect the iPod as an external drive, and run foobar (including foo_pod) from the iPod?  I'm thinking YES, but before I purchase a Shuffle I want to know how 'portable' my music solution can be.
[a href="index.php?act=findpost&pid=265429"][{POST_SNAPBACK}][/a]

This is a very good question. 

The answer is absolutely yes - Foobar2000 and foo_pod will work great running from any drive, including directly from an iPod.  I actually hadn't tried this before you posted, but for a test, I just copied my entire Foobar2000 directory from my hard drive to my iPod, then ran it.  It only took 6MB of disk space, and that is a full "special" install of Foobar along with LAME and FAAC, so it could be a lot smaller.  One nice thing is that since Foobar and foo_pod store all of their settings in a file, rather than in the registry, you can easily move the Foobar2000 directory around, and it will just work.  It actually makes a lot of sense to put foo_pod directly on the iPod, so you can always move files onto and off of the iPod.

One question that I don't know the answer to is if foo_pod actually works with the iPod Shuffle.  I am so Apple's bitch, so I will probably end up buying at least a 512MB Shuffle, but until I do or hear from a Shuffle owner, I have no idea if it works at all...
Title: foo_pod - Foobar2000 meets the iPod
Post by: LadFromDownUnder on 2005-01-15 05:37:43
Quote
Quote
I've searched and couldn't find whether this question has been asked before: could I place foobar on an iPod, connect the iPod as an external drive, and run foobar (including foo_pod) from the iPod?  I'm thinking YES, but before I purchase a Shuffle I want to know how 'portable' my music solution can be.
[a href="index.php?act=findpost&pid=265429"][{POST_SNAPBACK}][/a]

This is a very good question. 

The answer is absolutely yes - Foobar2000 and foo_pod will work great running from any drive, including directly from an iPod.  I actually hadn't tried this before you posted, but for a test, I just copied my entire Foobar2000 directory from my hard drive to my iPod, then ran it.  It only took 6MB of disk space, and that is a full "special" install of Foobar along with LAME and FAAC, so it could be a lot smaller.  One nice thing is that since Foobar and foo_pod store all of their settings in a file, rather than in the registry, you can easily move the Foobar2000 directory around, and it will just work.  It actually makes a lot of sense to put foo_pod directly on the iPod, so you can always move files onto and off of the iPod.

One question that I don't know the answer to is if foo_pod actually works with the iPod Shuffle.  I am so Apple's bitch, so I will probably end up buying at least a 512MB Shuffle, but until I do or hear from a Shuffle owner, I have no idea if it works at all...
[a href="index.php?act=findpost&pid=265466"][{POST_SNAPBACK}][/a]


Cheers Aero!  Exactly what I suspected, and hoped for.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-15 06:47:31
If I were a betting man, I'd bet that the iPod Shuffle does not use the iTunesDB concept, since it doesn't allow for things like playlists and doesn't do things like display track names and such.

So my guess is that foo_pod will not work with the iPod Shuffle as it is. But until somebody actually takes a gander at it, we won't know.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-15 07:13:27
Quote
If I were a betting man, I'd bet that the iPod Shuffle does not use the iTunesDB concept, since it doesn't allow for things like playlists and doesn't do things like display track names and such.

So my guess is that foo_pod will not work with the iPod Shuffle as it is. But until somebody actually takes a gander at it, we won't know.
[a href="index.php?act=findpost&pid=265478"][{POST_SNAPBACK}][/a]

I'm not so sure.  The smart thing for Apple to do would be to build a cheap player that uses the already existing iTunesDB format - it saves work on both the player and iTunes sides.  The player needs some kind of database for the songs anyway and there has to be at least one playlist, since you can play the songs in the user-supplied order.  And since there is no display, they can leave out a lot of stuff like the Artist/Album/Title strings, which makes up the majority of the iTunesDB size.  Also, iTunes' AutoFill feature sounds exactly like a SmartPlaylist, with the limit set to the amount of song disk space, randomized, probably stored as a non-updating playlist on the Shuffle. 

OTOH, Apple has done some really questionable design decisions with the various iPod databases and I have no doubt that they could screw this one up, so like you said, until someone posts some technical details there really is no telling.  Anyway, if I end up with a Shuffle, I'll make sure it works with foo_pod, one way or another! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-01-15 10:02:52
EDIT:  It seems to have fixed it self now.  They still don't update instantly, but they do if you go up to the Playlists option on the Music menu and then navigate back down to the playlist.  It didn't used to work that way, so something fixed it self.  I did a factory restore and loaded my entire library using foo_pod's "send files to ipod" feature.  Go figure...




A bit OT but relating to smart playlists.  I do realise this is most likely an Apple problem, but I'd like to see if others have the same issues..

On the iPod, when are Smart Playlists updated?  My fear is they are only updated during a PC to iPod sync.

Let's assume I have a simple SPL (Not played within 1 week, limit to 25 via random).  Now assume I listen to all 25 songs (all the way through - their play count gets incremented).  All the songs no longer meet the criteria, but the play list has not changed.

I was under the impression the iPod would automaticly update the playlist in real time.  iTunes does in fact change the SLP in real time.

Here is another easy demonstration...  Make a SPL of Rating equals 0.  Play the SPL and then rate the song which is currently playing.  If you do this in iTunes, the song stops playing immediately and disappears from the SPL.  If you do this on the iPod though, nothing changes.

Is this normal?  Does anyone's iPod update SPL's on the fly?

I have a 4th Gen and I have gone as far as doing a factory reset and doing the above tests exclusively with iTunes software to make sure it wasn't a problem limited to foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-01-15 12:06:36
The problem:  I'd like to use replay gain album gain when listening to albums in order, but I want to use replay gain track gain when listening to random play lists.

Possible solution:  Make a second database copy of all the songs (a mirror of sorts) but use RG track gain.  These new "fantom" songs would only be used in the RND_ generated play lists.

From there it would be easy for the end user to base all smart play lists from one of the RND_ lists to enjoy the benefit of RG track gain.

Aero, What do you think?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-15 13:35:16
Quote
On the iPod, when are Smart Playlists updated?  My fear is they are only updated during a PC to iPod sync.

Short answer: On 1G and 2G models, your fear is correct. On 3G and up models, it's updated more or less immediately, for a certain definition of immediately. 

Long answer: In order for the iPod to actually change the contents of the playlist, you have to exit the playlist (meaning: play something other than the playlist, like another playlist or something from the Browse menu, or let it go into deep sleep), and then come back to the playlist. Then it'll update. Think of it as recalculating the contents of the playlist when you actually select it in the playlists menu and tell it to play.

Also, in some cases, you can create a smart playlist that will be "dumb" on even a newer iPod. With the latest 3G firmware, this will happen when you use either the "Grouping" or the "Playlist" rules in the Smart Playlist. I do not know if this is the same with the 4G and up iPod's.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-15 13:45:17
Quote
The problem:  I'd like to use replay gain album gain when listening to albums in order, but I want to use replay gain track gain when listening to random play lists.

Possible solution:  Make a second database copy of all the songs (a mirror of sorts) but use RG track gain.  These new "fantom" songs would only be used in the RND_ generated play lists.

From there it would be easy for the end user to base all smart play lists from one of the RND_ lists to enjoy the benefit of RG track gain.
[a href="index.php?act=findpost&pid=265521"][{POST_SNAPBACK}][/a]

If you duplicate the song entries (mhit's) in the DB, you could do this. It'd increase the size of the database by about 75-80%, but it'd work. I've done this in testing, for other reasons.

Problem with this idea is that you get duplicate song entries in the Browse menu. So when you go play an album, every song plays twice. You could avoid this with some song renaming trickery (add "z-TG" to the beginning of every mhod in the mhit, to shove it to the bottom of the list), but the solution will be somewhat unsatisifying no matter what you do.

In the end, every song on the iPod has to be listed in the Browse menu or the iPod can't play it: it won't even know it's there unless it's in the Browse categories. If you want to make a pretend entry with a different gain value, then you can, but you'll have another entry somewhere in each of the browse categories (Genre, Album, Artist, Song Title, Composer) because of it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-01-16 06:39:51
Quote
Also, in some cases, you can create a smart playlist that will be "dumb" on even a newer iPod. With the latest 3G firmware, this will happen when you use either the "Grouping" or the "Playlist" rules in the Smart Playlist. I do not know if this is the same with the 4G and up iPod's.
[a href="index.php?act=findpost&pid=265533"][{POST_SNAPBACK}][/a]


Thanks for the info.  I've no idea why it wasn't working before, but it definately is now.  My advice for others with this problem would be to do a full factory reset and then a fresh restore of all songs using foo_pod.

Interestingly, with the latest version of firmware in my 4G I don't have to play something else to force the update.

For example...

SPL "rating = 0".  Start playlist at first song.  Rate that song.  Leave it playing and press menu twice.  This puts us at the "Playlists" menu.  Immedately decend back into the same SPL and the list will have updated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-16 16:14:21
Quote
The problem:  I'd like to use replay gain album gain when listening to albums in order, but I want to use replay gain track gain when listening to random play lists.
[a href="index.php?act=findpost&pid=265521"][{POST_SNAPBACK}][/a]

Otto already did a good job summed up the reason why duplicating songs on the iPod would technically work, but wouldn't be very practical.

Maybe a workable solution would be to have something like a "blend" ReplayGain mode.  I'm not going to do the real logarithmic math right now, but I'm what I'm talking about is if you had a track gain of -10dB and an album gain of -5dB, the blended gain would be something like -7dB.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-16 16:25:26
Quote
Thanks for the info.  I've no idea why it wasn't working before, but it definately is now.  My advice for others with this problem would be to do a full factory reset and then a fresh restore of all songs using foo_pod.
[a href="index.php?act=findpost&pid=265704"][{POST_SNAPBACK}][/a]

One simple thing you might also want to try first is a soft reset (hold down the Menu and Play/Pause buttons on a 1/2/3G for a few seconds, and the middle button and Menu buttons on a click wheel iPod).  I haven't seen the smart playlist problem, but I have seen the Audiobooks menu go completely blank on both a 4G and Photo.  Doing a reset always fixes this problem, and it might fix your smart playlist problem as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-17 17:14:51
Good news regarding the iPod Shuffle!  Mike Rowehl (from Bitsplitter Blog (http://www.bitsplitter.net/blog/)) sent me the iTunesDB file from his iPod Shuffle.

It loaded directly into foo_pod without modification, and as far as I can tell, it is identical to a regular iPod's database.  In fact, even though the Shuffle doesn't have a screen, iTunes still includes the Artist/Album/Title/Genre strings which are normally displayed/browsable.  This is very interesting - either it means that Apple is lazy and made no code changes, or perhaps things like Smart Playlists might work on the Shuffle...

Even through the database formats appear to be the same, Mike reported that GNUPod wasn't able to transfer songs to the iPod Shuffle, so there might still be some difficulties is making it work with foo_pod.  But at least it appears that with little or no modifications, foo_pod should work with the Shuffle.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-17 19:29:44
How do the playlists on the Shuffle look? Is there just the one hidden playlist, sort of thing? Or does it make several playlists to work with?

Might be the same format used in a slightly different manner, which is why gnupod didn't seem to work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-17 20:16:46
Quote
How do the playlists on the Shuffle look? Is there just the one hidden playlist, sort of thing? Or does it make several playlists to work with?

Might be the same format used in a slightly different manner, which is why gnupod didn't seem to work.
[a href="index.php?act=findpost&pid=266108"][{POST_SNAPBACK}][/a]

I'll send you the files, but there was only 1 playlist (the default hidden one), with normal looking MHIPs.  The DB version is up to 12 now, and the type 52 MHODs are longer, although I doubt that has any affect on the iPod. 

Mike emailed back and said the GNUPod also was able to read the iTunesDB file, but also said "when written using GNUpod the shuffle refused to play them (or play anything after writing actually, new or old, until I used iTunes to resend the songs).". 

There is a new file in the iTunes directory called "iTunesSD" which might be the problem/solution.  Now that I think of it, I bet that is the real database that the Shuffle uses, and the iTunesDB file might be from one of Mike's unsuccessful attempts with GNUPod or might be there for iTunes' benefit.  iTunesSD is essentially just a list of filenames, and might be the only database actually read by the Shuffle...
Title: foo_pod - Foobar2000 meets the iPod
Post by: XanDaMan on 2005-01-18 09:26:18
Is it possible (and un damaging) to do this.

I have my iPod Mini set to sync with iTunes. Could I still have this setup, the use foobar to add a few songsafter, w/o it screwin up the sync with iTunes.

So would it still report playcounts to iTunes for songs that are in the library, and would syncing stay nice (awkardly put, I know).

I realize the songs I add with foobar won't stay after the sync, but thats what I want, to b able to add them later.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2005-01-18 16:13:17
Quote
Is it possible (and un damaging) to do this.

I have my iPod Mini set to sync with iTunes. Could I still have this setup, the use foobar to add a few songsafter, w/o it screwin up the sync with iTunes.

[a href="index.php?act=findpost&pid=266224"][{POST_SNAPBACK}][/a]


More importantly, would iTunes stomp out the replaygain data that gets written with foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-18 16:19:48
Quote
Is it possible (and un damaging) to do this.
I have my iPod Mini set to sync with iTunes. Could I still have this setup, the use foobar to add a few songsafter, w/o it screwin up the sync with iTunes.
So would it still report playcounts to iTunes for songs that are in the library, and would syncing stay nice (awkardly put, I know).
I realize the songs I add with foobar won't stay after the sync, but thats what I want, to b able to add them later.
[a href="index.php?act=findpost&pid=266224"][{POST_SNAPBACK}][/a]


Should work. Just don't use any of the sync functions in foo_pod. These are disabled in foo_pod by default anyway.

Quote
More importantly, would iTunes stomp out the replaygain data that gets written with foo_pod?
[a href="index.php?act=findpost&pid=266298"][{POST_SNAPBACK}][/a]

Yes, yes it would.
Title: foo_pod - Foobar2000 meets the iPod
Post by: radiooracle on 2005-01-18 23:25:52
Quote
There is a new file in the iTunes directory called "iTunesSD" which might be the problem/solution.  Now that I think of it, I bet that is the real database that the Shuffle uses, and the iTunesDB file might be from one of Mike's unsuccessful attempts with GNUPod or might be there for iTunes' benefit.  iTunesSD is essentially just a list of filenames, and might be the only database actually read by the Shuffle...
[a href="index.php?act=findpost&pid=266120"][{POST_SNAPBACK}][/a]


I just restored my iPod shuffle to factory conditions and there was an iTunesDB file and an iTunesSD file placed there by iTunes when I refilled the device.

As an avid foobar user and recent iPod Shuffle purchaser, I would like to do anything I can to assist in getting foo_pod working with the Shuffle.  If there is anything you guys would like me to do, let me know.

EDIT: I should also mention that I got files I wrote out to my iPod Shuffle to play once, but I can't remember how I did it (it would only play one of the 40 or so songs I placed on it).  One thing I've noticed is that iTunes only seems to store files with in the F00, F01, & F02 directories within the Music directory.  In the few cases where I was able to get files sent with foo_pod to play, it was always files in these directories that would play.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-19 03:06:28
Quote
I just restored my iPod shuffle to factory conditions and there was an iTunesDB file and an iTunesSD file placed there by iTunes when I refilled the device.

As an avid foobar user and recent iPod Shuffle purchaser, I would like to do anything I can to assist in getting foo_pod working with the Shuffle.  If there is anything you guys would like me to do, let me know.

Otto and I (mostly Otto) have a rough understanding of the iTunesSD format, and just today, I wrote code that can create this file, at least based on our current understanding.  But I don't have an iPod Shuffle, so it is hard to know how close full support is.

Thanks for your offer of help.  Any data files (iTunesDB & iTunesSD, if not the whole iTunes directory contents) would be appreciated, but there are more precise ways to help us discover what the various fields mean.  If I were doing the initial test, I would probably do the following:

* Wipe the iPod Shuffle using the iPod Updater.
* Using iTunes 4.71, manually load one .mp3, one .m4a, one .m4b, one .m4p (from the Apple Store - either use one you already own, or download the weekly free one), one WAV file, and preferably an Audible file (you can download free ones like the 9-11 Report, but it is a hassle). 
* With the iPod Shuffle in the playlist order mode (i.e. not shuffle), let the first song songs play all the way through three times, let the second one play all the way through twice, then let the remaining songs play for a few seconds, then skip to the next one.  This will help to see if some of the fields are things like bookmark time, play count, etc.

That would be a pretty good start, although I'm sure there would need to be some iteration back and forth until the meaning of all fields were clear.  Otto might have some other suggestions as well.


Quote
EDIT: I should also mention that I got files I wrote out to my iPod Shuffle to play once, but I can't remember how I did it (it would only play one of the 40 or so songs I placed on it).  One thing I've noticed is that iTunes only seems to store files with in the F00, F01, & F02 directories within the Music directory.  In the few cases where I was able to get files sent with foo_pod to play, it was always files in these directories that would play.
[a href="index.php?act=findpost&pid=266407"][{POST_SNAPBACK}][/a]

Interesting - so just using foo_pod, you were able to transfer songs to the Shuffle and they successfully played (at least the ones in F00 - F02)?  If that is the case, I can easily create a version of foo_pod that only uses these directories for the Shuffle.  I'll try to get something up tonight for testing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-19 03:31:37
Quote
Interesting - so just using foo_pod, you were able to transfer songs to the Shuffle and they successfully played (at least the ones in F00 - F02)?  If that is the case, I can easily create a version of foo_pod that only uses these directories for the Shuffle.  I'll try to get something up tonight for testing.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=266455")

I just uploaded a version of foo_pod that only uses F00 - F02, if it detects an iPod Shuffle. 

If any iPod Shuffle owners want to test it, it is available [a href="http://www.loodi.com/foo_pod_shuffletest1.zip]here[/url].  This version does not create the iTunesSD file, since I don't really know enough details to make it work yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: darkstriker on 2005-01-19 16:05:30
When I load my iPod songs as a fb2k playlist, i get one gigantic playlist with all my songs. I would like to know if there is some kind of function or an additional plugin that enables me to split that huge playlist in several smaller ones, for instance, one for each artist or one for each album?

cheers!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-19 16:13:32
Quote
When I load my iPod songs as a fb2k playlist, i get one gigantic playlist with all my songs. I would like to know if there is some kind of function or an additional plugin that enables me to split that huge playlist in several smaller ones, for instance, one for each artist or one for each album?
[a href="index.php?act=findpost&pid=266585"][{POST_SNAPBACK}][/a]

I don't know how many unique artists/albums I have on my iPod, but I'm sure it is in the 100s range and I know I wouldn't want to open a new playlist for each one!

Maybe creating a smart playlist, then opening it in Foobar is sort of what you are looking for.  Or maybe the Extended Playlist Generator or an alternate UI like foo_ui_columns would do the trick?
Title: foo_pod - Foobar2000 meets the iPod
Post by: darkstriker on 2005-01-19 16:41:26
Yeah, using the columns_UI and the extended search generator helped.

However, since I also have more than a hundred diferent artists in my pod, i don't want to have to manually create a playlist by searching the artist in the generator, typing it's name and pressing save for each of these hundred artists.

If I can have something that'll do this automatically, all the artists will appear on the left column (playlists) thus making it a lot easier to browse through them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2005-01-20 17:36:47
I don't know if this was mentioned before, but foo_pod keeps mounting my iPod even if there is no obvious reason.
Example: i have my iPod docked to recharge. I don't need it so i did foo_pod->Eject iPod. Thus i don't have to worry about taking it out of the dock when i'm in a hurry.
But every time i access the contextmenu, to change track-properties, rating, whatever... foo_pod mounts the iPod - there is no use, it just causes a useless delay waiting for the iPod.

Also it should be possible to change the foo_pod preferences without the iPod being mounted. For i don't see any options that are stored on the iPod. And changing the preferences if works perfect without an iPod connected  - so why mount if there is an iPod in the dock?

In fact, foo_pod should not mount the iPod unless it needs to change data on the iPod!
I didn't find any option to change this behavior.
Correct me if i'm wrong.

Cheers
jug
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-20 17:40:27
Quote
I don't know if this was mentioned before, but foo_pod keeps mounting my iPod even if there is no obvious reason.
Example: i have my iPod docked to recharge. I don't need it so i did foo_pod->Eject iPod. Thus i don't have to worry about taking it out of the dock when i'm in a hurry.
But every time i access the contextmenu, to change track-properties, rating, whatever... foo_pod mounts the iPod - there is no use, it just causes a useless delay waiting for the iPod.
[a href="index.php?act=findpost&pid=266880"][{POST_SNAPBACK}][/a]

This seems to be a problem with certain versions of iPodService. 

Either upgrade to the latest version (either by installing iTunes or iPod Updater), or check the "Don't Use iPodService" checkbox in the foo_pod Preferences -> iPod Service tab.
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2005-01-20 23:12:35
Quote
Either upgrade to the latest version (either by installing iTunes or iPod Updater)


I have the latest iPod Updater and iTunes installed, this problem occurs anyway.
Anyway i'll see if i could live without iPodService, although its no "fix".

cheers
jug
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-21 17:12:17
Quote
I have the latest iPod Updater and iTunes installed, this problem occurs anyway.
Anyway i'll see if i could live without iPodService, although its no "fix".
[a href="index.php?act=findpost&pid=266954"][{POST_SNAPBACK}][/a]

Another thing to try is in the foo_pod Preferences -> Force Drive Letter.  Set that to your iPod's drive letter and see if that helps with the problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: pab123 on 2005-01-25 17:47:34
Hi,

I'm the author of GNUpod...

I'm currently 'collecting' iTunesSD files since i don't own an iPod shuffle..

It would be cool if  people could send me some sample iTunesSD *and* iTunesDB files
to <pab at blinkenlights.ch>


Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-25 17:59:57
Quote
I'm the author of GNUpod...

I'm currently 'collecting' iTunesSD files since i don't own an iPod shuffle..

It would be cool if  people could send me some sample iTunesSD *and* iTunesDB files
to <pab at blinkenlights.ch>
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=267985")

I have only received 1 set of iTunesSD/DB files, but Otto has determined quite a bit about the iTunesSD structure and documented it at [a href="http://ipodlinux.org/ITunesDB#iTunesSD_file]the iPodLinux Wiki[/url].  When/if you get more information, please keep this page up to date.
Title: foo_pod - Foobar2000 meets the iPod
Post by: 80k on 2005-01-27 09:49:04
Thanks for the plugin... it works great  I just bought an IPOD today and got it working with Foo_pod right away.

Just a suggestion (has nothing to do with the plugin itself)... perhaps modify the 1st post in this thread with info on the latest release?  For a couple of months, i kept thinking that this foo_pod plugin was still at 0.1, and not able to transfer files yet... i didn't realize it was a fully functional itunes replacement until yesterday!  Just figured it'd get more popularity

Thanks again for a great plugin.  Much appreciated!
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-01-27 09:56:23
Hi Aero,

I wonder if this coud be any possibility of implementing playcount/rating sync between fb2k database and ipod IF 'block tag update' is enabled in fb2k (so any tag will be written into the database instead of the file itself). That's the only feature I miss in foo_pod

I know that it'll be better if this kind of things (database written tags) would get implemented in the core of fb2k, but I don't know if this will get implemented anytime soon.

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-27 16:02:38
Quote
Thanks for the plugin... it works great   I just bought an IPOD today and got it working with Foo_pod right away.


Cool!  Thanks!

Quote
Just a suggestion (has nothing to do with the plugin itself)... perhaps modify the 1st post in this thread with info on the latest release?  For a couple of months, i kept thinking that this foo_pod plugin was still at 0.1, and not able to transfer files yet... i didn't realize it was a fully functional itunes replacement until yesterday!  Just figured it'd get more popularity

Yeah, that is a good idea - I'll start doing that for the next release.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-27 16:40:11
Quote
I wonder if this coud be any possibility of implementing playcount/rating sync between fb2k database and ipod IF 'block tag update' is enabled in fb2k (so any tag will be written into the database instead of the file itself). That's the only feature I miss in foo_pod

I know that it'll be better if this kind of things (database written tags) would get implemented in the core of fb2k, but I don't know if this will get implemented anytime soon.

If there is a progammatic way to determine if "block tag update" is enabled, I can probably do it. 

I guess the big problem is that I'm not really enthusiastic about ratings/playcounts in Foobar, since I currently don't do anything with them.  But sooner or later, I'll either find time to work on it or more likely, need to use them  myself and implement the feature.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-01-27 18:28:59
Quote
But sooner or later, I'll either find time to work on it or more likely, need to use them  myself and implement the feature.
[a href="index.php?act=findpost&pid=268537"][{POST_SNAPBACK}][/a]

Start using it! 

Seriously, I really wasn't very entusiastic either about the playcount/rating stuff ( I was listening to mp3 stuff without rating for very longtime, so I really didn't see at all the need of rating/playcount), but after start rating my songs and start paying attention at what songs I really was playing more often, I realize that I can't live without it
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-28 04:34:15
Quote
Seriously, I really wasn't very entusiastic either about the playcount/rating stuff ( I was listening to mp3 stuff without rating for very longtime, so I really didn't see at all the need of rating/playcount), but after start rating my songs and start paying attention at what songs I really was playing more often, I realize that I can't live without it
[a href="index.php?act=findpost&pid=268580"][{POST_SNAPBACK}][/a]

Nod. This is basically the reason I don't use foo_pod. Playcounts/ratings/last played times are essential for how I listen to the music on the iPod. I'm not happy about having to use iTunes to do this sort of thing, but at the moment there's no better solution. iTunes UI is terrible, IMO, but the playlist support and data handling is very good, if a bit slow.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2005-01-28 07:34:31
Quote
Nod. This is basically the reason I don't use foo_pod. Playcounts/ratings/last played times are essential for how I listen to the music on the iPod. I'm not happy about having to use iTunes to do this sort of thing, but at the moment there's no better solution...
[a href="index.php?act=findpost&pid=268775"][{POST_SNAPBACK}][/a]


Wow.  I guess I don't need to feel guilty about thinking this myself, if this is how Otto feels.  I haven't abandoned foo_pod yet (and am still deeply appreciative of all of the hard work Aero has done on it), but I have considered returning to iTunes for playback and ratings information.  I'm not interested in foo_playcount (or whatever it's called - I don't recall right now), because I don't want the file changing every time I play it.

The biggest thing that keeps me using foo_pod is the use of replaygain.  I haven't tried soundcheck yet (in iTunes - of course it's active on the iPod), and I'm a little concerned it will affect the files as well.  Can anyone (briefly) explain how it works? 

Ratings/Playcounts vs. Replaygain.  That's the dilemma I'm stuck with for now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: 80k on 2005-01-28 08:36:58
I just had a very very strange error. and i'm unsure of whether it was foopod that did it or my IPOD.

What happened was that I highlighted a bunch of CD's and added it to my IPOD.

there were two CD's.

1. Shostakovich - Symphony No. 10
2. Shostakovich - Symphony No. 8

Track 3 for Sym. No. 10 has a track length of 13:20
Track 3 for Sym. No. 8 has a track length of 6:11

Now here is what's weird.  It kept the correct tags and information for both files.

However, track 3 of Sym. No. 10 was actually track 3 of Sym. No. 8!!!

So when i would play track 3 of Sym No. 10, i would hear the Sym. No. 8 track 3 instead.  the weird thing was that it still stated the track length of 13:20.  However, right at 6:11, it ended and went to the next track (which makes sense since i wasn't listening to the correct track anyway).

I deleted these tracks from my IPOD and went back and redownloaded it using foobar, and everything was fine.

VERY strange though!  Any ideas on why this happened?

thanks!

edit: just wanted to add that the filenames are different, so i am not sure how it got confused.  the only similarity between the files were that they were both track 3, and they both were the same "artist".


EDIT: just wanted to add that i had the same thing happen again with 2 more albums.  except this time, they were "within" the same album.  In an album of 4 tracks, i had track 1 to be mistakenly track 4.  so basically i would listen to the album i hear:

track 4
track 2
track 3
track 4

But the first track 4 had the tags and mp3 info for track 1!!

think there is something wrong with my IPOD or is this a foo_pod thing?
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-01-28 09:00:47
Quote
but I have considered returning to iTunes for playback and ratings information.  I'm not interested in foo_playcount (or whatever it's called - I don't recall right now), because I don't want the file changing every time I play it.
[a href="index.php?act=findpost&pid=268794"][{POST_SNAPBACK}][/a]

If you enable 'block tag update' the tags will be forced to be written into the database. Maybe it's nto the most convenient way, but at least it's the only way to make fb2k not writte to the file right now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-01-28 09:09:32
I'll add myself to the list of people who really would like to see play count and rating support.  I still use foo_pod over iTunes because I can't live without replaygain.  I even went so far as to install the SQL version of the Play Count plugin so I would have counter support without re-writing the files.

Some ideas I had about solutions to the problem...

Add a more global support for matching files via MD5 checksum.  Allow the user to create and use MD5 sums for all songs (not just the transcoded ones). 

Calculate the MD5 sums from only the music portion of the file (strip off the tags).  This will give more consistant results.

If nothing else, consider a way to dump a text log file which holds the ratings and counts from the iPod whenever they get reset.  This way I could rate songs on the iPod and not loose that information when I sync.  I could at least hand enter the ratings data from the log file into foobar which does get used when I upload to the pod using foo_tunes.

I'd be happy to test anything I can
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-28 09:40:20
I can understand ratings...there should be an easy way to set those outside of the iPod - as long as it doesn't change the source file and always works, even if the database isn't enabled (and frankly, I have never really seen Foobar's database work as I think it should). 

But I don't really understand the desire have an all encompassing play count for each song.  I do use - and foo_pod supports - the play counts on the iPod, but linking that with Foobar...I just don't see the appeal.  I do seem major technical problems in implementing it, however.

The bottom line is that these aren't easy problems, folks.  I appreciate suggestions, but with my extremely limited time, I have to make some priorities.  If you have to fire up iTunes to set ratings, I don't think that is a major hardship for now - hopefully some solution in Foobar/foo_pod can be found.  But iTunes-like play counts is something that probably just won't ever happen, since foo_pod is so loosely coupled with Foobar and the other components.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-28 09:49:43
Quote
there were two CD's.

1. Shostakovich - Symphony No. 10
2. Shostakovich - Symphony No. 8

Track 3 for Sym. No. 10 has a track length of 13:20
Track 3 for Sym. No. 8 has a track length of 6:11

Now here is what's weird.  It kept the correct tags and information for both files.

However, track 3 of Sym. No. 10 was actually track 3 of Sym. No. 8!!!

So when i would play track 3 of Sym No. 10, i would hear the Sym. No. 8 track 3 instead.  the weird thing was that it still stated the track length of 13:20.  However, right at 6:11, it ended and went to the next track (which makes sense since i wasn't listening to the correct track anyway).

I deleted these tracks from my IPOD and went back and redownloaded it using foobar, and everything was fine.

...

edit: just wanted to add that the filenames are different, so i am not sure how it got confused.  the only similarity between the files were that they were both track 3, and they both were the same "artist".


EDIT: just wanted to add that i had the same thing happen again with 2 more albums.  except this time, they were "within" the same album.  In an album of 4 tracks, i had track 1 to be mistakenly track 4.  so basically i would listen to the album i hear:

track 4
track 2
track 3
track 4

But the first track 4 had the tags and mp3 info for track 1!!

Um....that is very strange!   

I can't say that I have ever seen this problem.  Based on the  13:20 vs. 6:11 thing, and that the metadata was correct, it would seem that somehow, foo_pod mixed up the filenames.  Would you please post the 2 filenames that were mixed up?  I am thinking that they might have contained characters that the iPod doesn't accept (like non-English characters) or the length was too long, and the filename escaping in foo_pod somehow went wrong.

BTW, which version of foo_pod are you using?
Title: foo_pod - Foobar2000 meets the iPod
Post by: 80k on 2005-01-28 10:00:12
Quote
Um....that is very strange!  

I can't say that I have ever seen this problem.  Based on the  13:20 vs. 6:11 thing, and that the metadata was correct, it would seem that somehow, foo_pod mixed up the filenames.  Would you please post the 2 filenames that were mixed up?  I am thinking that they might have contained characters that the iPod doesn't accept (like non-English characters) or the length was too long, and the filename escaping in foo_pod somehow went wrong.

BTW, which version of foo_pod are you using?
[a href="index.php?act=findpost&pid=268829"][{POST_SNAPBACK}][/a]



Hi, thanks for the quick response!

I am using 0.9.8

Here are all the filenames that were messed up.  This happened on 3 instances. 

Symphony No.3 in E Flat Major, Op.55 - I. 'Eroica' - Allegro con brio.mp3
Symphony No.3 in E Flat Major, Op.55 - IV. 'Eroica' - Finale. Allegro molto.mp3


Symphony No.7 in A major, Op.92 - I. Poco sostenuto-Vivace.mp3
Symphony No.7 in A major, Op.92 - IV. Allegro con brio.mp3

03-Dmitri Shostakovich-Symphony No. 10 - 3 - Allegretto.mp3
03-Dmitri Shostakovich-Symphony No 8 - III - Allegro non Troppo.mp3


In each of those 3 cases, it was the 1st of the two files that was wrong.. and it ended up playing the 2nd of the two files instead.  For instance, when playing
"Symphony No.7 in A major, Op.92 - I. Poco sostenuto-Vivace.mp3", i would actually be hearing "Symphony No.7 in A major, Op.92 - IV. Allegro con brio.mp3", even though the tags shown on my IPOD and the track length represented the 1st track.

Thanks again!
Title: foo_pod - Foobar2000 meets the iPod
Post by: 80k on 2005-01-28 10:07:35
OK, i don't think there is anything inherently wrong with those particular files. 

Because I just tried to duplicate the problem.  And this time, those files all worked okay.

However, this time 2 different files messed up.

Symphony No.5 in C Minor, Op.67 - II. Andante com moto.mp3
Symphony No.5 in C Minor, Op.67 - III. Allegro.mp3

Again, the 2nd file was played when i tried to play the 1st file.



And keep in mind that Symphony No. 7 and No. 3 all imported into the IPOD without a problem, even though it had problems with track 1 and 4 last time!

So it seems to be random.  Something gets confused, but it is not consistent!

EDIT: you are probably wondering how i am able to determine this so quickly.  Actually when i am viewing the files in foobar (looking at the IPOD), i can see the files as duplicated.  it is only IN THE IPOD, when i am navigating on the actual player, that it will think it is the wrong file (tags and track length).

hope that helps!



EDIT: Just wanted to say that I did it a couple more times (adding all 9 Beethoven CD's at once) with foo_pod and it always gave me a problem  I then did it several times with itunes, and it did it error-free everytime.

It seems like it is a foo_pod bug.  Please let me know if you have anymore questions or need more details.  Thanks again!
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-01-28 10:10:05
Aero, thanks for the feeback. 

I have installed Quick Tag which allows me to easily set the RATINGS data for the songs.  This works well, but it is 1 way (foobar -> iPod).  I rarely listen to music on my PC, so it would be much more convienent to set ratings on the pod.  Right now I loose any of that rating data I did on the pod when I do a sync (the data stored in the foobar database over writes the pod data).  If I had a log file showing the rating data which was on the pod before syncing, I could manually re-enter my ratings into foobar.  That would be a workable solution for me as far as ratings go.  I'm sure its pretty obvious why it is good to have ratings data on the pod.

Play count isn't that big of a deal to me.  It is nice to make a SPL which sorts based on number of plays from lowest to highest, but there are other ways to get the same effect.

The last played time and date is the most important piece of info for me.  Almost all of my SPL's include "has not been played in the last 2 weeks".  This way I tend to hear songs that I haven't heard in a while. 

For play counts and last played date, I think our difference goes back to how I use foo_pod differently then you.  I tend to keep all of my music in a single playlist in foobar and periodicly wipe the ipod and reupload all of the songs.  Occasinally I will add new tracks without doing a sync or a wipe and reload.  This means I loose all of the play count and play date info that was built up on the iPod.  My goal is to transfer that data from the pod back into foobar at each sync so if I do a wipe and reload, I still have current stats.

I totally understand if this just isn't something that you are interested in supporting.  I know its a big deal to sync data between foobar and the iPod.  No matter what, foo_pod is still way better then using itunes!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-28 16:48:23
Quote
However, this time 2 different files messed up.

Symphony No.5 in C Minor, Op.67 - II. Andante com moto.mp3
Symphony No.5 in C Minor, Op.67 - III. Allegro.mp3

Again, the 2nd file was played when i tried to play the 1st file.
[a href="index.php?act=findpost&pid=268832"][{POST_SNAPBACK}][/a]

To support the new filename length limitation introduced in the iPod Photo, foo_pod truncates filenames to 31 characters.  It just so happens that "Symphony No.5 in C Minor, Op.67" is 31 characters, so you lose the rest of the filename and end up with two identically named files.

foo_pod is supposed to increment the filename so you don't get duplicate names, but apparently that isn't working correctly.  This will also be an intermittant problem, since there are 100 different directories that a song can be in, so you aren't likely to have duplicates unless you have a lot of songs that have the same first 31 characters (which, unfortunately, you do).

It should be pretty easy to fix, now that I think I know what is going on.
Title: foo_pod - Foobar2000 meets the iPod
Post by: 80k on 2005-01-28 17:11:58
Quote
To support the new filename length limitation introduced in the iPod Photo, foo_pod truncates filenames to 31 characters.  It just so happens that "Symphony No.5 in C Minor, Op.67" is 31 characters, so you lose the rest of the filename and end up with two identically named files.

foo_pod is supposed to increment the filename so you don't get duplicate names, but apparently that isn't working correctly.  This will also be an intermittant problem, since there are 100 different directories that a song can be in, so you aren't likely to have duplicates unless you have a lot of songs that have the same first 31 characters (which, unfortunately, you do).

It should be pretty easy to fix, now that I think I know what is going on.
[a href="index.php?act=findpost&pid=268925"][{POST_SNAPBACK}][/a]


Cool, that's a relief that it isn't something really funky/crazy!  I'll probably just use itunes for the time being, since i do have a lot of classical music with a naming convention where the first 31 characters are the same. 

thanks for the quick response and again, great job on the plugin!!  Not sure if someone has mentioned it, but has their been talk about having an albumlist panel that looks inside the IPOD?  or perhaps there is way to get it to work already?

thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-28 20:24:38
Quote
The biggest thing that keeps me using foo_pod is the use of replaygain.  I haven't tried soundcheck yet (in iTunes - of course it's active on the iPod), and I'm a little concerned it will affect the files as well.  Can anyone (briefly) explain how it works?
[a href="index.php?act=findpost&pid=268794"][{POST_SNAPBACK}][/a]

It's basically the same thing, with a faster and less accurate scanning method. When you add a song to iTunes, it scans it to determine a volume level. This volume level is stored in the file itself as tag information, but it's also stored to the database and sent to the iPod's database. These two database values are used to change the volume level when you play the song back with SoundCheck enabled. foo_pod's ReplayGain functionality exactly models iTunes' SoundCheck functionality, only using the RG volume that foobar calculates instead of the SoundCheck volume that iTunes calculates.

Exactly the same, but with different scanning methods. RG is slower but somewhat more accurate during the initial scan. That's really the only difference. SoundCheck is "good enough" for most uses. It occassionally gets one badly wrong, which I manually adjust with the volume slider.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-28 20:53:03
Quote
Quote
The biggest thing that keeps me using foo_pod is the use of replaygain.  I haven't tried soundcheck yet (in iTunes - of course it's active on the iPod), and I'm a little concerned it will affect the files as well.  Can anyone (briefly) explain how it works?
[a href="index.php?act=findpost&pid=268794"][{POST_SNAPBACK}][/a]
Exactly the same, but with different scanning methods. RG is slower but somewhat more accurate during the initial scan. That's really the only difference. SoundCheck is "good enough" for most uses. It occassionally gets one badly wrong, which I manually adjust with the volume slider.
[a href="index.php?act=findpost&pid=268980"][{POST_SNAPBACK}][/a]

Actually, the big difference is that iTunes' Sound Check is done on a per-song basis.  This is the same concept as Track Gain in ReplayGain terminology. 

Many people find this unacceptable and prefer Album Gain, where the volume is normalized across the entire album, rather than on a per-song basis.  Of course, foo_pod lets you choose which style to use, then converts this into a Sound Check value that the iPod understands.

Also, I believe Sound Check in iTunes overwrites the Comment metadata (at least for ID3v1).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-29 02:25:50
Quote
Actually, the big difference is that iTunes' Sound Check is done on a per-song basis.  This is the same concept as Track Gain in ReplayGain terminology.

Well, yeah, okay, I forgot about Album Gain.

Quote
Also, I believe Sound Check in iTunes overwrites the Comment metadata (at least for ID3v1).
[a href="index.php?act=findpost&pid=268985"][{POST_SNAPBACK}][/a]

Actually, it stupidly writes a second comment tag, at least for ID3v2. It might overwrite v1 tags.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lew_Zealand on 2005-01-30 04:14:28
Thanks so far in helping me understand more about soundcheck and replaygain.  Here's a follow-up question:

If I add replaygain information to my .mp3 files in fb2k, and don't have soundcheck scanning activated in iTunes, that (rg) information should remain untouched, and still play properly on my iPod (when soundcheck is "on"), correct?  Does adding additional information via iTunes, like playcount or rating info change this?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-01-30 11:24:06
Quote
If I add replaygain information to my .mp3 files in fb2k, and don't have soundcheck scanning activated in iTunes, that (rg) information should remain untouched, and still play properly on my iPod (when soundcheck is "on"), correct?
[a href="index.php?act=findpost&pid=269321"][{POST_SNAPBACK}][/a]

Nope. iTunes will overwrite the soundcheck field in the iTunesDB when it creates the file. If it doesn't have volume information from scanning the file, it writes zeros. iTunes doesn't actually change a pre-existing file, it simply rewrites the entire iTunesDB file the way it thinks it should be.

In manual mode, iTunes will only modify the information for files that you manually mess with. However in manual mode, playcount and last played and so forth don't get updated.

Basically stick to one or the other. Soundcheck is almost as good as ReplayGain is, really. In terms of how it sounds on the iPod, the two are usually indistinguishable, in most all cases. The normal difference is minimal. Out of 6000 songs, I've only had to manually adjust 3 or 4 with SoundCheck.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Log on 2005-01-31 21:38:41
First off, I must say that I love this plugin. If iPods were more widely distributed, I would reccomend this plugin come with Foobar in the Special edition pack.

Second off, I was wondering if you have managed to (even notice) fix the "Various Artists" problem when you have a "various=1" tag added. One fix for this may be having foo_pod autocreate a playlist for these albums. (not going to explain interface problems, I'm sure you can find those out for your self.)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-01-31 21:58:05
Quote
First off, I must say that I love this plugin. If iPods were more widely distributed, I would reccomend this plugin come with Foobar in the Special edition pack.

Thanks!

The last I heard, there were more than 10 million iPod sold.  I'm willing to bet that number is at least 1000 times the number of Foobar2000 users...

Quote
Second off, I was wondering if you have managed to (even notice) fix the "Various Artists" problem when you have a "various=1" tag added. One fix for this may be having foo_pod autocreate a playlist for these albums. (not going to explain interface problems, I'm sure you can find those out for your self.)

I'm not quite sure what you are asking here or what the "problem" is. ..

foo_pod doesn't do anything with a "various" tag (that sounds very non-standard to me - correct me if I'm wrong).  What foo_pod does do is if the artist is "Various Artists" or there is a COMPILATION metadata tag (also non-standard...), it sets the compilation flag in the database.  This allows you to create smart playlists rules that use this information.  Maybe that is what you are looking for - if not, please reply with more details on what you want to happen.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Log on 2005-01-31 23:30:03
well, here's the gist of the "various artists" thing from the Foobar2000 formatting: Readme (http://pelit.koillismaa.fi/fb2k/readme.php?f=49&fid=251&t=2) so it's a fairly common tag, should I change the tag to get it to work properly?

edit: the ipod thing was less of an ipod thing, and more of a "foobar + ipod" thing

edit2: I got it, but there's still a bunch of extra steps involved.

1) Components -> Foo_Pod -> Playlist editor
2) Create new smart playlist
3) Album - Is - (Name)

but can I force the ipod to ignore those songs when browsing through the artist directory?
Title: foo_pod - Foobar2000 meets the iPod
Post by: nicholas on 2005-02-01 02:07:27
Quote
Quote
I'm getting this error while transcoding to my iPod (4G):

ERROR (foo_pod) : Error #0 copying d:\Musica\Kyo\300 lesions\Kyo - 12 - L'assaut Des Regards.mp3 to k:\iPod_Control\Music\F36\

this seems to happen while transcoding mp3 higher than a certain bitrate to a lower bitrate via foo_pod to the iPod.
[a href="index.php?act=findpost&pid=264993"][{POST_SNAPBACK}][/a]

I noticed a similar error (with version 0.9.7a).  I also had trouble transferring a huge list of files that included flac, m4a and mp3 files with and without transcoding of higher mp3 bitrates checked.  I would let it run and come back to my computer a day or so later and nothing would be transferred to the iPod and there would be tons of error messages like the one above.

Transferring the files separately by file type allowed me to transfer the files.
[a href="index.php?act=findpost&pid=265099"][{POST_SNAPBACK}][/a]

FYI, with a fresh install of foobar and foo_pod 0.9.8 this issue went away for me.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-01 15:46:06
Quote
but can I force the ipod to ignore those songs when browsing through the artist directory?
[a href="index.php?act=findpost&pid=269849"][{POST_SNAPBACK}][/a]

No, but you could force the songs to have a different "artist" on the iPod or what have you. In the foo_pod options, change the Alternate Metadata prefix to "POD_". Then add metadata to your various artists songs of "POD_ARTIST = Various" or something like that. You can use the Masstagger to do this more easily.

Anyway, foo_pod will use the POD_ARTIST if it's there or the normal ARTIST if it's not. That's what the alternate metadata prefix is for, to provide different metadata to be used on the iPod on a per song basis. Just add "POD_", or whatever you put in the config screen, to the front of the metadata field you want to override.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Log on 2005-02-01 21:06:54
edit: hi
Title: foo_pod - Foobar2000 meets the iPod
Post by: topdownjimmy on 2005-02-07 15:40:07
I'm trying to catch on to the full functionality of foo_pod, but 48 pages is a lot to scan through, so I'll just present my problem outright.

I would love to be able to have synchronous playcounts, ratings, and playdates, but I'm not sure how to do that.  I think it has something to do with syncing the iPod, but I don't know what that entails.  I thought syncing meant that the libraries are also synchronized, and I don't want that.  I don't want any file transfers to take place unless I copy files manually, but I would like a quick way for playcounts, ratings and playdates to be uploaded from my iPod to my foobar lib.

So first of all, is this possible?  How do I do it?  How does it work?  How does it recognize songs in my foobar lib for a match?  If I've moved some files on my HD since putting them on my iPod, will it be able to find them to update the playcount, etc. data?

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-07 15:49:16
Quote
edit: hi
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=270174")

I liked the one where you offered to have my children better.  Good thing [a href="http://64.233.167.104/search?q=cache:LUiNm-WBx7AJ:www.hydrogenaudio.org/forums/index.php%3Fshowtopic%3D19156%26st%3D1000+foo_pod+log&hl=en]Google[/url] never forgets!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-07 15:57:50
Quote
I'm trying to catch on to the full functionality of foo_pod, but 48 pages is a lot to scan through, so I'll just present my problem outright.

This was recently discussed (check the on the previous page).

Quote
I would love to be able to have synchronous playcounts, ratings, and playdates, but I'm not sure how to do that.  I think it has something to do with syncing the iPod, but I don't know what that entails.  I thought syncing meant that the libraries are also synchronized, and I don't want that.  I don't want any file transfers to take place unless I copy files manually, but I would like a quick way for playcounts, ratings and playdates to be uploaded from my iPod to my foobar lib.

So first of all, is this possible?  How do I do it?  How does it work?  How does it recognize songs in my foobar lib for a match?  If I've moved some files on my HD since putting them on my iPod, will it be able to find them to update the playcount, etc. data?
[a href="index.php?act=findpost&pid=271555"][{POST_SNAPBACK}][/a]

Many people have expressed a desire to have the playcount & ratings synchronized between Foobar and the iPod.  Currently, I have no idea how to make this work, as there really isn't a good way to associate a file on your computer (which may or may not be currently in a playlist, thus unknown to foo_pod) with a file on the iPod.  I do have a way to match up files in a playlist with files on the iPod, but the problem is that components that set the rating, played date, or play count modify the original file by adding/updating metadata.  This completely breaks the file matching algorithm, so it turns out that this is a terribly complex problem to solve.

Foobar does have a database feature, which (I'm told) can be configured to save metadata without modifying the file.  So it is theoretically possible that this can be made to work, but I have much higher priority tasks on my plate, such as iPod Shuffle support (almost ready, just adding the "Otto"Fill feature).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Log on 2005-02-08 21:13:53
Quote
I liked the one where you offered to have my children better.  Good thing Google (http://64.233.167.104/search?q=cache:LUiNm-WBx7AJ:www.hydrogenaudio.org/forums/index.php%3Fshowtopic%3D19156%26st%3D1000+foo_pod+log&hl=en) never forgets!
[a href="index.php?act=findpost&pid=271560"][{POST_SNAPBACK}][/a]


oh snap, google got me busted. and yes, if you could make a txt file that lists
a) features
b) a how-to for morons
I would be eternally grateful.

the how-to is for my sister who got all frustrated when she couldn't send files fast enough.

edit: I've got a friend with foobar ratings, not sure how he gets it done but I might be able to help you figure out how to sync the two if he can figure out how the ratings he uses works. because it does rating and play count, not sure if it edits metadata or holds it's own database though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: deoch on 2005-02-09 00:04:29
Hi, when I send files to the iPod and the foo_pod playlist does an automatic update, the files in the playlist are displayed partially out of order.  Is there something I'm doing wrong?  There doesn't seem to be any problems on the iPod itself, but it would be much easier to tell what I've put on the iPod if the playlist appeared in order on foobar.  Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-09 05:10:55
Quote
Hi, when I send files to the iPod and the foo_pod playlist does an automatic update, the files in the playlist are displayed partially out of order.  Is there something I'm doing wrong?  There doesn't seem to be any problems on the iPod itself, but it would be much easier to tell what I've put on the iPod if the playlist appeared in order on foobar.  Thanks!
[a href="index.php?act=findpost&pid=271966"][{POST_SNAPBACK}][/a]

When you use the "Load iPod Songs To Foobar2000 Playlist" feature, foo_pod automatically (and unalterably) sorts the songs by artist/album/tracknumber/title.  If you use the "Load iPod Playlists As Tabs" feature, foo_pod will show the default hidden playlist, which contains all of the files on the iPod.  This is more or less in the order you added them, although if you delete songs, foo_pod will reuse their positions.

If you want a true chronologic order of songs added to your iPod, I suggest creating a Smart Playlist like this:  create a new smart playlist, don't change the artist/contains defaults, but check the Limit To checkbox, set the limit count to 9999 songs, then Selected By Least Recently Added(*).  Then you can open the smart playlists as tabs, and you will see all of your songs, in the order they were added.  This is also nice to have on the iPod, since you can see all of your songs in one list, and remember the latest songs you have added.


(*) Most Recently Added will also work, except it will sort from newest to oldest songs.  This is actually more useful on the iPod, so you could either use this, or create 2 smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: LadFromDownUnder on 2005-02-09 05:42:29
Gidday Aero.

Just wondering how foo_pod support for the shuffle is going?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-09 05:58:43
iPod Shuffle Update

I picked up an iPod Shuffle today (and I didn't even ask for any donations... ).  I have been working with Otto, along with the author of GNUPod and others to reverse engineer the new database formats, and I already had the code in place to create the necessary database file.  So the development version of foo_pod was able to load songs onto the Shuffle right out of the box, on the first try. 

Edit: Fixed awkwordly worded sentence to make it clear that Otto is not only Perl illiterate, but also not the author of GNUPod.

There are still a few unknowns, but more than basic support is already in place.  I am hoping to get the "Otto"Fill feature implemented soon, but I might release foo_pod 0.9.9 before it is complete.


Some notes on the Shuffle:

* It does not appear to play any non-iTunes encoded AAC files.  Both FAAC 1.24 and Nero's AAC encoder (as of Nero 6.3) create files that play fine in iTunes and other iPods, but don't play at all on the Shuffle.  I haven't really investigated this yet, but it is somewhat discouraging since I often transcode to .m4b format, since that is the only format which uses bookmarking.
Edit: This may be, in part, due to the way Foobar tags M4A files.  I had a working iTunes encoded file which I then applied the ReplayGain in Foobar, and from then on, it wouldn't play on the Shuffle.  However, a plain FAAC encoded M4A file didn't work either...


* iTunes doesn't seem to play well at all with other applications and the Shuffle.  I have been unable to get it configured so that it doesn't wipe out the non-iTunes uploaded content every time iTunes is started.  Again, I have only used it for a few hours so there might be a solution, but it isn't as easy as with normal iPods.

* File transfers to the Shuffle are much slower than with regular iPods.  Using USB 2.0 High Speed, with a regular iPod I typically see transfer rates around 10MB/s.  But with the Shuffle, typical transfer speeds are more like 1.5MB/s.  If you go into the Windows Device Manager and set the "Optimize for performance" write caching policy, transfer rates go up to around 3.5MB/s.  But this might require one to use "Safely Remove Hardware" to avoid corrupting the disk.  Also, on one computer, the Shuffle didn't show up at all on the front panel USB ports, but worked fine on a hub attached to the rear ports.

* Overall, it seems like a nice little player, at least for the types of situations that you would want to use it.  Audio quality is very good - it sounds similar to a regular iPod with the Latin EQ setting enabled (i.e. a little extra bass and treble).  The controls are dirt simple, and I actually like have a real on-off switch, which hopefully will prevent the Shuffle from drawing down its battery when off (unlike regular iPods).  And no, I don't miss having a screen at all...  If you accept that this is player that you turn on and forget about while you workout or whatever, the lack of the screen isn't a big deal.  A lot of otherwise smart people seem to completely miss this point.


So now the big question in my mind is how extendable the Shuffle will be.  One interesting thing is that it uses/requires the same iTunesDB file as regular iPods, along with a bare bones iTunesSD file.  I'm not sure why Apple designed it that way - it seems like they could/should have stuck everything necessary into the simple iTunesSD format...  One thing that I have already extended is adding ReplayGain/SoundCheck support for the Shuffle.  It doesn't appear that iTunes does anything with SoundCheck and the Shuffle, but foo_pod sets it just like regular iPods, which is really nice for a player that one would want to turn on and forget - and not mess around with the volume on every song.


As for the next foo_pod release, I'll post 0.9.9 either tomorrow without the OttoFill feature, or sometime this week.  There are a few bug fixes for everyone, a new dialog that lets you easily choose between multiple iPods, and a repair feature that fixes skipped songs on iPod Photo players due to long filenames.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-09 16:01:04
Quote
I have been working with Otto, the author of GNUPod, and others to reverse engineer the new database formats... [a href="index.php?act=findpost&pid=272009"][{POST_SNAPBACK}][/a]

Just to clarify for everybody else, the author of GNUPod is the very talented Adrian Ulrich, not me. Didn't want anybody to get that confused and think that I actually know Perl or anything.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Nexus6 on 2005-02-10 02:45:28
Quote
To support the new filename length limitation introduced in the iPod Photo, foo_pod truncates filenames to 31 characters.  It just so happens that "Symphony No.5 in C Minor, Op.67" is 31 characters, so you lose the rest of the filename and end up with two identically named files.

foo_pod is supposed to increment the filename so you don't get duplicate names, but apparently that isn't working correctly.  This will also be an intermittant problem, since there are 100 different directories that a song can be in, so you aren't likely to have duplicates unless you have a lot of songs that have the same first 31 characters (which, unfortunately, you do).

It should be pretty easy to fix, now that I think I know what is going on.
[a href="index.php?act=findpost&pid=268925"][{POST_SNAPBACK}][/a]


Just wondering if this has been resolved yet... I'm getting the same issue, but with a majority of my music (filename is normally "artist - album - # - trackname").  Strange thing is, it's mostly just track 2 that's been dissappearing.

If not, is there a place I can download the previous version without the photo ipod change?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-10 03:02:37
Quote
Quote
To support the new filename length limitation introduced in the iPod Photo, foo_pod truncates filenames to 31 characters.  It just so happens that "Symphony No.5 in C Minor, Op.67" is 31 characters, so you lose the rest of the filename and end up with two identically named files.

foo_pod is supposed to increment the filename so you don't get duplicate names, but apparently that isn't working correctly.  This will also be an intermittant problem, since there are 100 different directories that a song can be in, so you aren't likely to have duplicates unless you have a lot of songs that have the same first 31 characters (which, unfortunately, you do).

It should be pretty easy to fix, now that I think I know what is going on.
[a href="index.php?act=findpost&pid=268925"][{POST_SNAPBACK}][/a]


Just wondering if this has been resolved yet... I'm getting the same issue, but with a majority of my music (filename is normally "artist - album - # - trackname").  Strange thing is, it's mostly just track 2 that's been dissappearing.

If not, is there a place I can download the previous version without the photo ipod change?
[a href="index.php?act=findpost&pid=272206"][{POST_SNAPBACK}][/a]

This will be fixed in the next version (which I'll probably post later tonight).
Title: foo_pod - Foobar2000 meets the iPod
Post by: deoch on 2005-02-10 08:16:41
Quote
When you use the "Load iPod Songs To Foobar2000 Playlist" feature, foo_pod automatically (and unalterably) sorts the songs by artist/album/tracknumber/title.  If you use the "Load iPod Playlists As Tabs" feature, foo_pod will show the default hidden playlist, which contains all of the files on the iPod.  This is more or less in the order you added them, although if you delete songs, foo_pod will reuse their positions.

If you want a true chronologic order of songs added to your iPod, I suggest creating a Smart Playlist like this:  create a new smart playlist, don't change the artist/contains defaults, but check the Limit To checkbox, set the limit count to 9999 songs, then Selected By Least Recently Added(*).  Then you can open the smart playlists as tabs, and you will see all of your songs, in the order they were added.  This is also nice to have on the iPod, since you can see all of your songs in one list, and remember the latest songs you have added.


(*) Most Recently Added will also work, except it will sort from newest to oldest songs.  This is actually more useful on the iPod, so you could either use this, or create 2 smart playlists.
[a href="index.php?act=findpost&pid=272003"][{POST_SNAPBACK}][/a]


Thanks, that helped quite a bit!  I actually didn't have 'recently added' in mind, I just wanted songs in the same album to be grouped together.  Using "Load iPod Songs To Foobar2000 Playlist" created a bit of a jumbled mess in the playlist.  Didn't know about "Load iPod Playlists As Tabs" until you mentioned it, but that seems to keep them all together properly.  However, now that you've brought the "Least Recently Added" capability to my attention, I've set up the Smart Playlist with your instructions.  The only tiny quirk is that some tracks within the album are appearing out of order in the smart playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Krpano on 2005-02-10 20:22:05
Can this component support iPod Shuffle ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: topdownjimmy on 2005-02-10 20:30:52
Quote
Can this component support iPod Shuffle ?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=272374")


[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&st=1000#]Look up.[/url].
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-10 20:32:16
Version 0.9.9RC (http://www.loodi.com/foo_pod.zip) is now available.

This is the first foo_pod version that supports the iPod Shuffle, including some extras like ReplayGain/SoundCheck support (AFAIK, not directly supported by iTunes) and writing a track and shuffle text file to the Shuffle's root directory, to help compensate for the lack of a screen.

There are also a number of other features and bug fixes that apply to all iPods.  There is an iPod Chooser dialog, which makes it easy to select between 2 or more iPods.

The one bug that I wasn't able to fix (yet) is the one described by Nexus6 (long filenames causing problems).  The fix I had developed causes a huge performance decrease, so I need to find a better way of fixing this problem.  One workaround for now is that if you know are you going to sending files with very long, nearly identical filenames, send them one at a time rather than all at once.  This should avoid the problem until I get the problem fixed for the full 0.9.9 version.


From the Readme:
Code: [Select]
Version 0.9.9RC - February 10, 2005
*  Added full support for the iPod Shuffle players.  foo_pod treats the iPod Shuffle just like any other iPod, with a few iPod Shuffle specific features, including writing two text files, "Track_Order.txt" and  "Shuffle_Order.txt" to the root directory of the Shuffle.  These allow the iPod Shuffle user to determine in which order songs will be played, in either normal or shuffle modes.  Other expected features, such as Play Counts and ReplayGain/SoundCheck are implemented and work just like regular iPods.

*  Added a "Fix Skipped Songs" feature to the foo_pod Component menu.  This can be used by iPod Photo users to fix the issue where certain songs with long filenames are consistantly skipped.  It isn't necessary to do this on other iPods.

*  Fixed a bug in the Playlist Editor where smart playlists with the "In The Last" action selected wouldn't work unless you manually set a time period (such as Days).

*  Fixed a database issue which caused "Date Added" smart playlists to not work as expected.

*  Changed the "Good" quality LAME setting to the latest recommended ~128kbps parameters.

*  Added the iPod Chooser dialog, which opens a small windows and lets the user switch between two or more iPods.

*  Optimized the transcoder to deal with the situation where the transcoder .exe is not found.  Also fixed some transcoder related memory leaks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Krpano on 2005-02-10 20:59:07
I keep getting an error:

Error: Unable to find iPod

But i see the iPod Shuffle in the Windows Explorer and its properly installed.

Do i need to do something else ?

I installed this component, then i go to the music i want to upload and select SEND FILE TO iPOD...then the error appears....

Damn, i hate iTunes.

PS
I have lots of services disabled, do i need some special service in order to make it work ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-10 21:04:03
Quote
I keep getting an error:

Error: Unable to find iPod

But i see the iPod Shuffle in the Windows Explorer and its properly installed.

Do i need to do something else ?

I installed this component, then i go to the music i want to upload and select SEND FILE TO iPOD...then the error appears....

Try selecting the iPod first (normally you shouldn't have to, but maybe it is a bug).  Go to the Components menu in Foobar, then to foo_pod, and select "Select  iPod To Use".  Then select the drive letter of your Shuffle and click OK.  See if that helps.

Quote
Damn, i hate iTunes.

Me too!   
Edit: Actually, it isn't that bad.  Other than the ultra-cheesy brushed metal look, the GUI is rather nice.  If it could be just a front-end to foo_pod + Foobar2000, that would be the ultimate!

Quote
PS
I have lots of services disabled, do i need some special service in order to make it work ?
[a href="index.php?act=findpost&pid=272394"][{POST_SNAPBACK}][/a]

No, foo_pod doesn't require any external libraries or services, other than Foobar2000.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Krpano on 2005-02-10 21:48:44
Quote
Try selecting the iPod first (normally you shouldn't have to, but maybe it is a bug). Go to the Components menu in Foobar, then to foo_pod, and select "Select iPod To Use". Then select the drive letter of your Shuffle and click OK. See if that helps.


AWESOME !!!
Thx for this GREAT component, that has free me from the sh!t iTunes.
And thx for your fast replies.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-13 05:24:38
Version 0.9.9a (http://www.loodi.com/foo_pod.zip) is now available.

The major fix compared to 0.9.9RC is that I was able fix Nexus6's problem with long filenames.  And in the process of fixing it, I spend up the "Preparing Database" portion of sending files to the iPod. 

I also fixed a problem where if you cancelled during "Preparing Database", it wouldn't copy files, but it would create the database entries, leading to skipped songs on the iPod.  Also, I added additional information in "Delete All Songs and Playlists" to help prevent you from wiping the wrong iPod.

0.9.9a Update: After playing around with transcoding and my iPod Shuffle tonight, I noticed that transcoding was horribly slow.  It turns out that the encoder (LAME in this case) was writing out the output file in lots of little chunks, and that it is much faster (5x or more) to write the transcoded file to the local hard drive, then move it in one transfer to the Shuffle.  It is also faster for regular iPods, although the improvement is more like 10%.  Also, I wasn't very happy with the default LAME "Good" setting, so I did some experimenting and found a set of command line arguments that result in ~128kbps, but still sound really good.


From the Readme:
Code: [Select]
Version 0.9.9a - February 13, 2005
*  Greatly increased the transcoding speed to iPod Shuffles.  Due to the low write transfer speeds of the Shuffle and the way files were being written, transcoding was taking an inordinate amount of time to complete.  Now, files are transcoded to a local temporary directory then moved to the iPod.  This increases transcoding speed by around 500% on the Shuffle, and around 10% on hard drive based iPods.
 
*  After experimenting with different ~128kbps LAME settings, changed the default "Good Quality" command line parameters to "-V7 --vbr-new -q0 --lowpass 17.5 --athaa-sensitivity 1".  The previous setting,  "-V5 --athaa-sensitivity 1" gave good quality, but the bitrate could soar well above 128kbps for some songs.  The new preset seems to hover consistantly around 128kbps, and at least with my ears and music selection, sounds better than the old preset.


 
Version 0.9.9 - February 12, 2005
*  Added full support for the iPod Shuffle players.  foo_pod treats the iPod Shuffle just like any other iPod, with a few iPod Shuffle specific features, including writing two text files, "Track_Order.txt" and "Shuffle_Order.txt" to the root directory of the Shuffle.  These allow the iPod Shuffle user to determine in which order songs will be played, in either normal or shuffle modes.  Other expected features, such as Play Counts and ReplayGain/SoundCheck are implemented and work just like regular iPods.

*  Added a "Fix Skipped Songs" feature to the foo_pod Component menu.  This can be used by iPod Photo users to fix the issue where certain songs with long filenames are consistantly skipped.  It isn't necessary to do this on other iPods.

*  Fixed a bug in the Playlist Editor where smart playlists with the "In The Last" action selected wouldn't work unless you manually set a time period (such as Days).

*  Fixed a database issue which caused "Date Added" smart playlists to not work as expected.

*  Changed the "Good" quality LAME setting to the latest recommended ~128kbps parameters.

*  Added the iPod Chooser dialog, which opens a small windows and lets the user switch between two or more iPods.

*  Optimized the transcoder to deal with the situation where the transcoder .exe is not found.  Also fixed some transcoder related memory leaks.
 
*  Significantly improved the speed of the "Preparing Database" portion of sending files to the iPod.  

*  Fixed a major bug introduced in version 0.9.8 when sending one or more files with long filenames (>31 characters).  If multiple files with the same first 31 characters where copied at the same time, there was a possibility the only one song would be copied, but it would show up in multiple places in the database.  If this has happened to you, you will need to delete any affected files and resend them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Angaros on 2005-02-13 12:18:29
So I just installed foo_pod and I'm absolutely delighted to be able to use fb2k instead of iTunes with my iPod. I've hit a snag though. After installing foo_pod I used the "Load iPod Songs To Foobar2000 Playlist" command but when playing songs in the list, the tags disappear. Foobar cleans them out. If I just right-click on them without playing I can view the tags through Properties, but if I double-click to play them, the tags get wiped. Works fine if I press Play button. Have I done something wrong here?
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-02-13 15:13:59
Hi Aero, thank you for the new release

I have a feature request. I have far more mp3's on my pc than there can fit on my ipod, so i came up with a nifty tag-system. I have all my mp3's tagged with an IPOD tag. In there i write whether i want the files on my iPod.. YES or NO. I made a column string for it to show up in my playlist like this:

(http://members.lycos.nl/mteverest1/ipodtag.png)

I now make a new playlist ONLY containing files that have the tag IPOD=YES and then sync my iPod with that playlist, but it would be so much nicer if this step would not have to be neccecary and foo_pod could just pick out all the files with the tag IPOD=YES out of my main playlist containing ALL my musicfiles with either the tag IPOD=YES or IPOD=NO when syncing with (or sending to) my iPod.

I really hope you will implement this!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Nexus6 on 2005-02-13 17:36:33
Quote
Version 0.9.9a (http://www.loodi.com/foo_pod.zip) is now available.

The major fix compared to 0.9.9RC is that I was able fix Nexus6's problem with long filenames.  And in the process of fixing it, I spend up the "Preparing Database" portion of sending files to the iPod. 


Oh dear lord thank you!  iTunes is now uninstalled.  Keep up the great work!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-13 21:25:18
Quote
So I just installed foo_pod and I'm absolutely delighted to be able to use fb2k instead of iTunes with my iPod. I've hit a snag though. After installing foo_pod I used the "Load iPod Songs To Foobar2000 Playlist" command but when playing songs in the list, the tags disappear. Foobar cleans them out. If I just right-click on them without playing I can view the tags through Properties, but if I double-click to play them, the tags get wiped. Works fine if I press Play button. Have I done something wrong here?
[a href="index.php?act=findpost&pid=273079"][{POST_SNAPBACK}][/a]

That is annoying, but not really a foo_pod bug.  The disappearing metadata is caused by Foobar reading in the real metadata from the file, rather than the metadata that foo_pod provides from the database on the iPod. 

You can see this by selecting Properties on a song in the iPod playlist, then clicking the "Reload info from file".  Sometimes you'll just see the metadata get rearranged, but if there is additional metadata in the iPod database that isn't in the file, it the foo_pod generated data will disappear.

I don't know of any workaround for this problem, unfortunately.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-13 21:43:58
Quote
Hi Aero, thank you for the new release

I have a feature request. I have far more mp3's on my pc than there can fit on my ipod, so i came up with a nifty tag-system. I have all my mp3's tagged with an IPOD tag. In there i write whether i want the files on my iPod.. YES or NO. I made a column string for it to show up in my playlist like this:

(snip)

I now make a new playlist ONLY containing files that have the tag IPOD=YES and then sync my iPod with that playlist, but it would be so much nicer if this step would not have to be neccecary and foo_pod could just pick out all the files with the tag IPOD=YES out of my main playlist containing ALL my musicfiles with either the tag IPOD=YES or IPOD=NO when syncing with (or sending to) my iPod.

Yeah, I can add this feature.  I guess the only question I have is if "IPOD" is the best name for the flag.  I was thinking something generic, along the lines of "SEND_TO_PORTABLE_PLAYER", but much more concisely worded.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lyx on 2005-02-13 21:55:05
ON_PORTABLE=1/0
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-02-13 22:14:32
Great!!! I think Lyx has a good call
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-13 22:27:01
Version 0.9.9b (http://www.loodi.com/foo_pod.zip) is now available.

Another quick release, but I found a bug introduced in 0.9.9a that could cause files that fail during transcoding to still be written to the database.

Also, I added .zolder's suggestion to check for either the "IPOD" or "COPY_TO_PORTABLE" metadata items, and if they are set to "FALSE", "NO", or "0" (zero), do not send or sync the file to the iPod.

I saw Lyx's suggestion for ON_PORTABLE, but that indicates (to me, at least) more of a state situation than a directive not to send the file to the iPod.  ON_PORTABLE could be interpreted to mean that a file is already on the iPod.  So I setted on COPY_TO_PORTABLE, although if that is too wordy, you can simply use IPOD.


From the Readme:
Code: [Select]
Version 0.9.9b - February 13, 2005
*  Fixed an issue introduced in 0.9.9a where if transcoding failed (due to insufficient disk space, for example), the file would still show up in the database.

*  Added a feature to automatically skip sending/syncing files with either "IPOD" or "COPY_TO_PORTABLE" metadata set to "NO", "FALSE", or "0" (zero).  IPOD, COPY_TO_PORTABLE, NO, and FALSE are all case insensitive.
Title: foo_pod - Foobar2000 meets the iPod
Post by: topdownjimmy on 2005-02-13 22:35:53
Quote
Also, I added .zolder's suggestion to check for either the "IPOD" or "COPY_TO_PORTABLE" metadata items, and if they are set to "FALSE", "NO", or "0" (zero), do not send or sync the file to the iPod.
[a href="index.php?act=findpost&pid=273253"][{POST_SNAPBACK}][/a]


That's great...the use of this tag can also serve the purpose of displaying a track's iPod status in the trackinfo panel.  Thanks Aero.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-02-13 22:39:38
Wow that's fast! Thank you so much! I'm gonna play with it and consider myself to be the happiest man alive for a while
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lyx on 2005-02-13 22:45:08
Thanks alot. But could you please change the "standard" to only check for "0" (zero)?

Checking 12 conditions with TAGZ in formatting-strings is messy.

Also, please consider that enforcing a clear standard like COPY_TO_PORTABLE may offer a higher benefit than the disadvantage of having to retag one's files one single time with the masstagger (which is just a matter of a few seconds).

- Lyx
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-13 23:02:52
Quote
Thanks alot. But could you please change the "standard" to only check for "0" (zero)?

Checking 12 conditions with TAGZ in formatting-strings is messy.

Also, please consider that enforcing a clear standard like COPY_TO_PORTABLE may offer a higher benefit than the disadvantage of having to retag one's files one single time with the masstagger (which is just a matter of a few seconds).

I would assume that the IPOD/COPY_TO_PORTABLE metadata would be created solely for the use of each individual user, so you can decide and enforce whichever standard you wish. foo_pod is simply able to handle several different variations.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lyx on 2005-02-13 23:09:08
*sigh* not another "play_date"-desaster...

- Lyx
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-13 23:28:39
Quote
*sigh* not another "play_date"-desaster...

Um...whatever.

This is essentially a boolean value, unlike something that is widely open to interpretation like a timestame.  Having foo_pod able to accept "FALSE", "NO", or "0" does not impose any sort of standard on anyone, nor do I think foo_pod should since foo_pod is on the receiving side of the metadata. 

If you choose to use Masstagger and set your COPY_TO_PORTABLE to "0", then that is your standard.  If someone writes foo_copy_to_portable_setter.dll and it uses "NO", then you either switch your metadata and TAGZ strings to use "NO" or you don't use that component.  Either way, foo_pod is able to handle the variation. 

If it really bugs you that much, get a binary editor, open up foo_pod.dll, search for "COPY_TO_PORTABLE", and set "NO\0" to "0\0\0" and "FALSE\0" to "0\0\0\0\0\0"...



"In general, an implementation must be conservative in its sending behavior, and liberal in its receiving behavior."  - Jon Postel
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lyx on 2005-02-13 23:37:11
Well, i'm sure you're aware that not every fb2k-user is skilled in the magicks of writing formatting-strings with TAGZ, right? But thats no problem because there are people like me who take out hundreds of hours out of their free time to write formatting-strings not just for personal use, but to make fb2k more usable for everyone.

However, the goodwill and flexibility of those people is limited - especially in cases like play_date where the only way to write a public formatting-style usable for everyone and doing advanced stuff with play_date is only possible by writing a truckload of code to GUESS what date-format the user may have set - just because the author of that plugin was ignorant to not just not use a standardized ISO-date and instead make it configurable - he even made the default the european-dateformat, just to make absolutely sure that the majority of users WILL change it to something unknown to the formatting-string author. And so he has to drop support for that plugin, because the author was too short-sighted and egocentric to get the big-picture.

For the same reasons, it's not viable to waste 2 IFs, 2 ORs, 12 STRCMPs and 12 tag-lookups, just to plain simply check if an integer is set.

But okay, its your plugin and your decision.

*removes half-implemented foo_pod support from his to-be-released Navigator FCS*

- Lyx
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-14 00:02:58
Quote
But okay, its your plugin and your decision.

I can understand where you are coming from, but having foo_pod able accept multiple formats is not a problem.  There was no standard before I added this feature; there still is no standard.  If you distribute your TAGZ strings or whatever, maybe you can create a groundswell of support and you will own the COPY_TO_PORTABLE metadata standard.  Either way, foo_pod is ready.

Quote
*removes half-implemented foo_pod support from his to-be-released Navigator FCS*

Heh! 

Based on your "take my toys and go home" attitude over this extremely minor issue, I'm overjoyed that foo_pod won't be associated with "Navigator FCS"...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-14 15:48:54
Gotta agree with Aero on this one. If you're making a program that is accepting unknown data that you know is a boolean, then you had best check for everything you know about. T/F, TRUE/FALSE, Y/N, YES/NO, 1/0, E/D, ENABLED/DISABLE(D), etc.

Frankly, checking for multiple items isn't all that damned difficult. Yes, it might be a PITA using "tagz", but if that's the case then why not extend tagz by creating a function called "check_bool()" or something that will convert all of the above to a simple 1/0, and thus allow everybody to simply use that? This sort of thing is why man invented subroutines.

And if it's a sheer matter of processing time, then perhaps your time would be better spent in improving the speed of the scripting language itself. This sort of input data processing is built into a lot of scripting languages, so extending the language in obvious directions would be a good thing, I'd think.
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-02-14 20:01:30
Quote
Gotta agree with Aero on this one. If you're making a program that is accepting unknown data that you know is a boolean, then you had best check for everything you know about. T/F, TRUE/FALSE, Y/N, YES/NO, 1/0, E/D, ENABLED/DISABLE(D), etc.[a href="index.php?act=findpost&pid=273432"][{POST_SNAPBACK}][/a]
Would "etc." include translations of these words into several dozen non-english languages and abbreviations thereof? For programming languages, offering several ways to do the same thing is often considered an undesirable feature. Not only are you suggesting to allow a plethora of keywords, but checking multiple tags includes the possibility that these contain incompatible values. Btw. it takes longer for a human to recognize the meaning of a single-letter abbreviation than that of a whole word.

Quote
Frankly, checking for multiple items isn't all that damned difficult. Yes, it might be a PITA using "tagz", but if that's the case then why not extend tagz by creating a function called "check_bool()" or something that will convert all of the above to a simple 1/0, and thus allow everybody to simply use that? This sort of thing is why man invented subroutines.[a href="index.php?act=findpost&pid=273432"][{POST_SNAPBACK}][/a]
It seems like you are trying to apply some general principle (good) without reflecting upon the situation at hand (bad). foobar2000's titleformatting language is limited which makes the test at hand cumbersome to implement in it. Sure, it can be changed, but: you can't do it, Lyx can't do it, and Peter won't do it unless asked to. If he agreed to add that, I doubt he would roll out 0.8.4 just for that, so users would have to wait several month until 0.9 is released.
Now perhaps you or Areo have already inquired Peter about that, I don't know. All I've seen is that Aero laughed at Lyx's frustration. I would like to believe it was a friendly "relax, man" kind of laughter, but the next sentence suggests otherwise.

Quote
And if it's a sheer matter of processing time, then perhaps your time would be better spent in improving the speed of the scripting language itself. This sort of input data processing is built into a lot of scripting languages, so extending the language in obvious directions would be a good thing, I'd think.[a href="index.php?act=findpost&pid=273432"][{POST_SNAPBACK}][/a]
You seem to be ignorant of the fact that the titleformat interpreter is implemented in the core, and the core is closed source. Suggesting Lyx that he should improve this interpreter is a bit odd.

What would in your opinion be wrong about simply checking for the existence of a tag called COPY_TO_PORTABLE or DONT_COPY_TO_PORTABLE (depending upon which you decide to be the default)? It would be easy to check manually and programmatically (even in tagz), and would be easy to change by the user as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-14 20:19:00
Quote
You seem to be ignorant of the fact that the titleformat interpreter is implemented in the core, and the core is closed source. Suggesting Lyx that he should improve this interpreter is a bit odd.

I know absolutely zero about how foobar works. I've looked at the code in the SDK, but couldn't make heads or tails of it (admittedly I did not try very hard). I was basically just expounding on general principles.

To be honest, I have no idea WTF "tagz" is. I do not use foobar nor foo_pod, as neither one is capable enough to fit my day to day needs at this point. I like the concept and the idea, and so I'd like to see it improved to where it's useful enough for me to use it. That's why I contributed code in the hope that somebody would create an iPod plugin in the first place. In other words, I try to offer help when and where I can, sort of thing, in the hope that foobar will eventually progress to where I can use it for the sort of things I do. At the moment I'm forced to use iTunes, and I'm not happy about that either. But it's the only program capable of playing my songs in the way I like them to be played, and keeping the metadata in the way that I like it to be kept. Too bad it's a resource hog with a crappy interface.
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-02-14 20:55:21
Quote
You mean to basically assume true (or false) if the tag with that name exists?[a href="index.php?act=findpost&pid=273514"][{POST_SNAPBACK}][/a]
Yes.

Quote
That seems like a pretty poor way to do things given that a tag always takes the format of X=Y by default, no?[a href="index.php?act=findpost&pid=273514"][{POST_SNAPBACK}][/a]
I agree that ignoring the tag value may seem like wasting the capabilites of the tagging system, but I'm wondering if using the mere presence of the tag isn't enough here. People have already used a VA tag as a flag on various artists albums, so it is not an entirely uncommon solution.

Quote
I mean, there is no standard, and implementing it one way or another in some component does not a standard create, as I see it. So if it's gonna be configurable, make it really configurable.[a href="index.php?act=findpost&pid=273514"][{POST_SNAPBACK}][/a]
An unneeded option is a bad one. Not only does it take up space in the preferences and adds to the confusion of new users, if you change it, you have to change it in every place it is used. This is something I had to learn myself: to keep the amount of options to a minimum, and to resist the temptation to abuse titleformat scripts in options. In the end, this has made my components easier to use for myself (hopefully for others as well), though that process is not yet finished.

I saw that you edited your post while I was replying, but I felt the need to clear up those points.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-14 21:55:02
Quote
Would "etc." include translations of these words into several dozen non-english languages and abbreviations thereof?

Quote
What would in your opinion be wrong about simply checking for the existence of a tag called COPY_TO_PORTABLE or DONT_COPY_TO_PORTABLE (depending upon which you decide to be the default)?

Using the logic in your first quote, we would have to localize the tag names as well...

Quote
All I've seen is that Aero laughed at Lyx's frustration. I would like to believe it was a friendly "relax, man" kind of laughter, but the next sentence suggests otherwise.

Actually, it was more of a "we were having a civilized, technical discussion (even if you were being unnecessarily dramatic), then you threw in that last little bit and completely destroyed your credibility" kind of laughter.  Take it however you wish...

Anyway, this matter is closed for now.  foo_pod implements the "IPOD"/"COPY_TO_PORTABLE" metadata as described in the Readme file.  If there is ever a good reason to consider revising the support in the future, I will update foo_pod accordingly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-02-15 07:22:41
Quote
Using the logic in your first quote, we would have to localize the tag names as well...[a href="index.php?act=findpost&pid=273554"][{POST_SNAPBACK}][/a]
My logic? I did not suggest to allow translated tag values, I even gave a reason why i would consider it undesirable in the next sentence (which you did not quote). Another good reason against localizing tag names is that neither APEv2 nor Vorbis Comments allow non-ASCII characters in tag names.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lyx on 2005-02-16 00:42:17
Users will always be the ones who have to pay for ambigious and unclear standards, no matter in which topic. You call it userfriendly, but it's the opposite in the long run because it results in incompatibility.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-16 02:45:04
Quote
Users will always be the ones who have to pay for ambigious and unclear standards, no matter in which topic. You call it userfriendly, but it's the opposite in the long run because it results in incompatibility.
[a href="index.php?act=findpost&pid=273988"][{POST_SNAPBACK}][/a]

Fine.  I hereby permanently and irrevokably declare that:

The COPY_TO_PORTABLE metadata item shall have only one of the following values - 0 (zero) indicating that a file must not be copied to portable music device, or 1 (one) to indicate that is allowed to be transferred.  No other value is permitted, and the absence of COPY_TO_PORTABLE must be interpreted as a 1 value.

foo_pod is not in strict compliance with this standard, but it may be updated in the future, as time permits.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Log on 2005-02-17 02:43:15
aero, I still love foo_pod, ignore this man who can't decide to make 2 playlists, one for his ipod songs and one for everything else. You're awesome, no matter how much he insults the awesomeness, it can't really make it less awesome. Yes it may sound like I'm sucking up, but really, I'm not. people who use completely proprietary things but aren't willing to do anything for themselves are foolish and selfish. I deal with the selfish all too often and the foolish, I can't say much more about :X
Title: foo_pod - Foobar2000 meets the iPod
Post by: Lyx on 2005-02-17 03:05:36
Quote
aero, I still love foo_pod, ignore this man who can't decide to make 2 playlists, one for his ipod songs and one for everything else.

I don't own an iPod. I just want to support this plugin in a public FCS to make foobar more useful for everyone.
Quote
people who use completely proprietary things but aren't willing to do anything for themselves are foolish and selfish.

Which "completely proprietary" thing? Foobar is mostly open-source except the core. I guess spending over 3000 hours on a public FCS which contains mostly features for others means that "i'm not willing to do anything myself and am selfish", right?

Quote
You're awesome, no matter how much he insults the awesomeness, it can't really make it less awesome. Yes it may sound like I'm sucking up, but really, I'm not.

Quote
I deal with the selfish all too often and the foolish, I can't say much more about :X

Yeah, same here...
Title: foo_pod - Foobar2000 meets the iPod
Post by: joelpt on 2005-02-18 06:03:02
Just thought I may as well voice my desire for ratings support here (yeah I know it's been asked to death, but humor me), specifically ratings I set on the ipod being uploadable to Foobar (in my case I'd like it to write to the foobar db as well as update mp3 metadata at 'sync' time, but either would do).

You mentioned this being rather complex because of the file-matching issues ... might there be a way for you to generate and store some unique ID in the metadata of each track you send to the 'pod, and simultaneously record that ID in the Foobar db for the track in question? Then you could easily and reliably match things up on resync. 

Recording the ID in the actual mp3's metadata might be even more useful, as you could then sync multiple iPods with multiple machines, and always have a means to know "which track is which" regardless of where you sync to/from.  Come to think of it, having a mandatory GUID as part of the original ID3 specification sure would have made a lot of sense...

I use on-ipod rating primarily for one thing - marking songs I don't want on there anymore (I set them to 1 star). I get sick of having the same crappy/corrupted tracks turn up repeatedly in shuffle mode, and 1-starring them is the perfect solution.  The way I do it now is that I try and remember which tracks are screwed up and manually remove them before the next sync.  Obviously an error-prone method

</beg>

Thanks for foo_pod, don't mean to be annoying! This is the only thing I want in foo_pod, then I can kiss iTunes goodbye forever

Joel
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-02-18 15:19:29
Hi Aero, I have another request,

I know i can manually copy tracks to the ipod in an ordered folder style using windows explorer, and that you made an option to "Rebuild iTunesDB Database on iPod", but as you know by now, i use foo_pod's sync feature.
Can't you make an option to let foo_pod upload files into user-defined folders? In other words, let the user write a string in the foo_pod config panel, which foo_pod will use to create a folder style

some examples:

$if2(%album artist%,%artist%)\%album%\%tracknumber% - %title% would give K:\iPod_Control\Music\Artist\Album\Track - Title.ext

%genre%\$if2(%album artist%,%artist%) - %album%\%tracknumber% - %title% would give K:\iPod_Control\Music\Genre\Artist - Album\Track - Title.ext

I would really appreciate it if you managed to get this to work, cause the majority of my friends don't have foobar so atm i can't bring my ipod to play some files at their place. F00 to F99 doesn't work that easily

ps: your previous addition, which lets foo_pod skip unwanted tracks works like a charm, thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-18 16:35:45
Quote
Hi Aero, I have another request,

Sorry - no more feature requests from you, seeing as how your last one turned out...

Quote
I know i can manually copy tracks to the ipod in an ordered folder style using windows explorer, and that you made an option to "Rebuild iTunesDB Database on iPod", but as you know by now, i use foo_pod's sync feature.
Can't you make an option to let foo_pod upload files into user-defined folders? In other words, let the user write a string in the foo_pod config panel, which foo_pod will use to create a folder style

some examples:

$if2(%album artist%,%artist%)\%album%\%tracknumber% - %title% would give K:\iPod_Control\Music\Artist\Album\Track - Title.ext

%genre%\$if2(%album artist%,%artist%) - %album%\%tracknumber% - %title% would give K:\iPod_Control\Music\Genre\Artist - Album\Track - Title.ext

I would really appreciate it if you managed to get this to work, cause the majority of my friends don't have foobar so atm i can't bring my ipod to play some files at their place. F00 to F99 doesn't work that easily

You should just copy your Foobar2000 directory from your computer onto your iPod.  Then you can run it directly off of the iPod (no installation necessary), and use all of the various Foobar & Foobar component features to play back the songs.  It seems like that would be at least as useful as having the user-defined folders.

As for supporting non-Fnn directories - yeah, I could add this, although there are a couple reasons not to.  First of all, newer iPods (iPod Photo, and maybe the Shuffle) have strict filename length restrictions, which might include the directory portion as well.  So if you have iPod_Control\Music\Genre\Big Long Artist Name - Big Long Album Name, it might not be able to be played on the iPod.

Another problem is, despite my best intentions, foo_pod has to mange some filenames in order to have them fit within the aforementioned length restrictions.  Especially if your songs are named "Artist - Album - Song Name", you might end up with directories of files that look like Artist - Album - Song NamA.mp3, Artist - Album - Song NamB.mp3, etc.  Also, transcoded filenames are stored as a series of non-human friendly letters and numbers.

So I think you would be better off putting Foobar + foo_pod on your iPod, and use that to playback/copy songs from your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-18 17:05:57
Quote
Just thought I may as well voice my desire for ratings support here (yeah I know it's been asked to death, but humor me), specifically ratings I set on the ipod being uploadable to Foobar (in my case I'd like it to write to the foobar db as well as update mp3 metadata at 'sync' time, but either would do).

You mentioned this being rather complex because of the file-matching issues ... might there be a way for you to generate and store some unique ID in the metadata of each track you send to the 'pod, and simultaneously record that ID in the Foobar db for the track in question? Then you could easily and reliably match things up on resync. 

Recording the ID in the actual mp3's metadata might be even more useful, as you could then sync multiple iPods with multiple machines, and always have a means to know "which track is which" regardless of where you sync to/from.  Come to think of it, having a mandatory GUID as part of the original ID3 specification sure would have made a lot of sense...

The GUID idea is very good, and would help with part of the problem.  But the other piece just as difficult - so say we have a common identifier that links a file on your computer to a file on your iPod (BTW, this is essentially how foo_pod handles transcoded songs now).  You then connect your iPod and 'sync'.  The problem is that Foobar doesn't really have a media library like iTunes, so if a song isn't in an active playlist, there is no way for foo_pod to find it to update its rating/play count. 

Maybe the Foobar database can help a little here...I really don't know enough about it to say for sure.  I also would like to get ratings synchronized, so sooner or later, I'll really sit down and try to tackle this problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-18 17:15:46
.zolder,

I wrote this little program about a year ago for the specific purpose of making it easy for me to copy files back off the iPod and into nice named directory structures. Might help, if you don't want to put a whole copy of foobar on the iPod: http://otto.homedns.org:8888/iTunes/iPodCopy.zip (http://otto.homedns.org:8888/iTunes/iPodCopy.zip)

It's a little standalone exe, should work on any 2000 or XP box. So I keep a copy on the iPod itself. Should work with any program that puts files on the iPod, I think.

Read the readme. It's fairly easy to use, but not wholly intuitive. However, here's a quick example string to try. "C:\my copied music directory\%3\%2\%5 - %1.%e". That'll copy files from the iPod on the c:\ drive using the artist\album\track - title.ext format you mentioned.

Foobar w/foo_pod can of course do the same thing, but this is a very small and fast single purpose program that might be more convienent sometimes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-02-18 18:23:05
Okay Aero, I understand the problem, too bad.
Otto, i've tried your program, but everytime i type my iPod drive letter and start scanning, i get kicked out of the program at 1493 files. I assume it is a broken mp3, but i have no way of knowing which one it is :/ thanks anyway

I'll install foobar on my iPod, didnt think of that before  dead-easy
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2005-02-19 17:26:43
I have a problem with 0.99b version.

When I transcode a file the tags on the new file can't be written

Here is the log

Quote
INFO (foo_pod) : WriteITunesDBFile: backup of g:\iPod_Control\iTunes\iTunesDB to C:\Program Files\foobar2000\iTunesDB.bak succeeded
INFO (foo_pod) : WriteITunesDBFile: DeleteFile(g:\iPod_Control\iTunes\iTunesDB) succeeded
INFO (foo_pod) : iTunesDB successfully written
INFO (foo_pod) : Transcoding D:\My Music\Biffy Clyro\57\02 - Hope For An Angel.flac
INFO (foo_podclienc) : Transcoded in 55.51 seconds (4.39x)
INFO (CORE) : attempting to edit file info : file://C:\DOCUME~1\PHILIP~1\LOCALS~1\Temp\foo_pod11457
WARNING (CORE) : file info update failure on : file://C:\DOCUME~1\PHILIP~1\LOCALS~1\Temp\foo_pod11457
INFO (foo_pod) : WriteITunesDBFile: backup of g:\iPod_Control\iTunes\iTunesDB to C:\Program Files\foobar2000\iTunesDB.bak succeeded
INFO (foo_pod) : WriteITunesDBFile: DeleteFile(g:\iPod_Control\iTunes\iTunesDB) succeeded
INFO (foo_pod) : iTunesDB successfully written
INFO (foo_pod) : 1 file copied (3.50 MB) to the iPod in 66.74 seconds (0.05 MB/s)
INFO (foo_pod) : Original size = 23.68 MB, Transcoded size = 3.50 MB (85.24%)


Thanks for the great plugin, hope you can fix the problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2005-02-19 18:03:49
Hey Aero,

I am using the latest version of foo_pod with a 2 Gen. iPod and for some reason, when I add a certain album (Beach Boys - Pet Sounds  ) and I try to play it on the iPod, it just skips over all the songs and doesn't play them. I've added other songs and they work and I've tried removing then re-adding Pet Sounds, but it still doesn't work.

Any advice?

Thanks,
-Tristan
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-20 05:31:35
Quote
I am using the latest version of foo_pod with a 2 Gen. iPod and for some reason, when I add a certain album (Beach Boys - Pet Sounds  ) and I try to play it on the iPod, it just skips over all the songs and doesn't play them. I've added other songs and they work and I've tried removing then re-adding Pet Sounds, but it still doesn't work.
[a href="index.php?act=findpost&pid=275081"][{POST_SNAPBACK}][/a]

The iPod can be picky about tags sometimes. If it can't understand the tag, it'll skip the file. Try removing the tags and adding them back to the file. Kind of a PITA, but it often works.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-20 06:45:11
Quote
I have a problem with 0.99b version.

When I transcode a file the tags on the new file can't be written

Here is the log

(snip)
INFO (CORE) : attempting to edit file info : file://C:\DOCUME~1\PHILIP~1\LOCALS~1\Temp\foo_pod11457
WARNING (CORE) : file info update failure on : file://C:\DOCUME~1\PHILIP~1\LOCALS~1\Temp\foo_pod11457

This is a bug I introduced in 0.9.9b, caused by foo_pod writing a temporary file without a file extension.  This confused Foobar and prevented it from writing the metadata.  The effect is that while the song would be transcoded properly, it will not have any metadata. 

I fixed this bug and will be posting 0.9.9c shortly.  Thanks for your bug report!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-20 06:50:43
Quote
Quote
I am using the latest version of foo_pod with a 2 Gen. iPod and for some reason, when I add a certain album (Beach Boys - Pet Sounds  ) and I try to play it on the iPod, it just skips over all the songs and doesn't play them. I've added other songs and they work and I've tried removing then re-adding Pet Sounds, but it still doesn't work.
[a href="index.php?act=findpost&pid=275081"][{POST_SNAPBACK}][/a]

The iPod can be picky about tags sometimes. If it can't understand the tag, it'll skip the file. Try removing the tags and adding them back to the file. Kind of a PITA, but it often works.
[a href="index.php?act=findpost&pid=275218"][{POST_SNAPBACK}][/a]

Is this right?  I have never known the iPod itself to be sensitive to tags, although I can see this happening if there are some weird ID3v2 tags (located at the beginning of the file) that cause the iPod's MP3 decoder to error out. 

If removing the tags doesn't work, try transcoding the song and see if that helps.  Maybe the original encoder is weird and the iPod refuses to play song created by it?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-20 06:54:54
Version 0.9.9c (http://www.loodi.com/foo_pod.zip) is now available

This version simply fixes the transcoder/missing metadata problem reported by pnjman...
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2005-02-20 13:19:35
Thanks for the quick update, it works great now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: woodyuk on 2005-02-20 14:56:27
Hi

Been using foo_ipod and its great! ... however a quick question with playlists.

I have one foobar playlist with a number of albums in this playlist.

What I would like to do is select all the songs from one album (inside this foobar playlist) and copy to ipod (which i can do now), however when finish copying it asks me if I want to cerate a playlists based on those songs I have copied.  The options would be

a) create playlists based on album / artist.  Which means if i copied 5 albums of music from 3 artists - it would create either 1 playlist for each artist containing all songs from the ablums - it asks you

B) playlists from each album for all artists

C)or in the case where I have selected many songs from many artists just to create a named playlist - "funky music" or something.

Also anyway to delete a playlist or songs from an ipod ? Maybe when you have a foobar playlist you have an option which says delete this playlist from the ipod ?

Hope that makes sense.

Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2005-02-20 18:04:12
I first tried removing and replacing tags, but that didn't work, so then I tried transcoding and it works now. Thanks!

-Tristan
Title: foo_pod - Foobar2000 meets the iPod
Post by: Nexus6 on 2005-02-20 19:57:25
Just a quick question...

Why does it take so long to do a sync?  Once I've got my iPod loaded, and I want to add a couple of albums by doing a sync all playlists, it takes ages for foo_pod to begin copying the files.  Is it verifying the database during this time?  Is that absolutely necessary?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-20 21:05:27
Quote
Been using foo_ipod and its great! ... however a quick question with playlists.

Thanks!

Quote
I have one foobar playlist with a number of albums in this playlist.

What I would like to do is select all the songs from one album (inside this foobar playlist) and copy to ipod (which i can do now), however when finish copying it asks me if I want to cerate a playlists based on those songs I have copied.  The options would be

a) create playlists based on album / artist.  Which means if i copied 5 albums of music from 3 artists - it would create either 1 playlist for each artist containing all songs from the ablums - it asks you

B) playlists from each album for all artists

C)or in the case where I have selected many songs from many artists just to create a named playlist - "funky music" or something.

What you want to do is create a new Foobar playlist tab, name it, then copy whatever songs you want in it.  Then select Send Current Playlist To iPod - this will copy any files necessary (duplicates on the iPod are automatically ignored) and create an iPod playlist with the same name and contents.  If you want some automation (like your examples above), the Extended Playlist Generator component will help you create the Foobar playlists, which you then send to the iPod using foo_pod.


Quote
Also anyway to delete a playlist or songs from an ipod ? Maybe when you have a foobar playlist you have an option which says delete this playlist from the ipod ?

Sure.  Deleting playlists can be done from the foo_pod Playlist Editor.  Just select the playlist you want to delete, click the Remove Playlist button, then the Apply button to actually remove the playlist on the iPod (you can click Cancel and undo all of your changes made in the Playlist Editor as well).

To delete songs from the iPod, first load the iPod songs into Foobar using the "Load iPod Songs To Foobar2000 Playlist" menu item.  Then select one or more songs, right click, and select Delete Songs From iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-20 21:06:53
Quote
Why does it take so long to do a sync?  Once I've got my iPod loaded, and I want to add a couple of albums by doing a sync all playlists, it takes ages for foo_pod to begin copying the files.  Is it verifying the database during this time?  Is that absolutely necessary?
[a href="index.php?act=findpost&pid=275397"][{POST_SNAPBACK}][/a]

If you are just copying some new albums, use the Send options rather than Sync.  Send is much faster, since it doesn't need to do the matching and comparing to see what needs to be deleted and what needs to be copied.
Title: foo_pod - Foobar2000 meets the iPod
Post by: woodyuk on 2005-02-21 07:27:43
Hi

>What you want to do is create a new Foobar playlist tab, name it, then copy >whatever songs you want in it.  Then select Send Current Playlist To iPod - this will >copy any files necessary (duplicates on the iPod are automatically ignored) and >create an iPod playlist with the same name and contents.  If you want some >automation (like your examples above), the Extended Playlist Generator component >will help you create the Foobar playlists, which you then send to the iPod using >foo_pod.

The problem with this method is that I end up with about 100 foobar playlists which is not really workable.  Foobat is fine with a few playlists, but on the ipod I tend to have a playlist for each artist or album.  The main reason behind this is that although I am working on it - not all songs are perfectly tagged - so listening from my ipod using browse artist / album does not work too good - so playlists mean i can create a list of all artists and albums.

>To delete songs from the iPod, first load the iPod songs into Foobar using the "Load >iPod Songs To Foobar2000 Playlist" menu item.  Then select one or more songs, >right click, and select Delete Songs From iPod.

Yeh got you, however save issue as above - end up with hundreds of playlists in foobar :-(
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-21 07:44:17
Quote
The problem with this method is that I end up with about 100 foobar playlists which is not really workable.  Foobat is fine with a few playlists, but on the ipod I tend to have a playlist for each artist or album.  The main reason behind this is that although I am working on it - not all songs are perfectly tagged - so listening from my ipod using browse artist / album does not work too good - so playlists mean i can create a list of all artists and albums.

But 100 playlists on the iPod is workable? 

You don't have to have all 100 playlists open in Foobar at the same time, but I kind of know what you are getting at.  You would probably like a way to open a single iPod playlist as a Foobar tab, like from the Playlist Editor.  I'll definitely consider adding that feature.

But the bottom line is that at some point, you're just going to have to bite the bullet and get your metadata up to snuff (at least Artist/Album/Title).  I know I suffered when I first got my iPod, but with some good utilities, like ID3-Tag It (http://www.id3-tagit.de/english/index.htm) and Foobar's own MassTagger, a lot of the work can be automated.

Quote
Quote
>To delete songs from the iPod, first load the iPod songs into Foobar using the "Load >iPod Songs To Foobar2000 Playlist" menu item.  Then select one or more songs, >right click, and select Delete Songs From iPod.

Yeh got you, however save issue as above - end up with hundreds of playlists in foobar :-(

I'm not sure you do understand - Load iPod Songs To Foobar2000 Playlist is exactly 1 playlist which contains all songs on your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-21 09:18:41
Quote
Quote

The iPod can be picky about tags sometimes. If it can't understand the tag, it'll skip the file. Try removing the tags and adding them back to the file. Kind of a PITA, but it often works.
[a href="index.php?act=findpost&pid=275218"][{POST_SNAPBACK}][/a]

Is this right?  I have never known the iPod itself to be sensitive to tags, although I can see this happening if there are some weird ID3v2 tags (located at the beginning of the file) that cause the iPod's MP3 decoder to error out. 

If removing the tags doesn't work, try transcoding the song and see if that helps.  Maybe the original encoder is weird and the iPod refuses to play song created by it?
[a href="index.php?act=findpost&pid=275230"][{POST_SNAPBACK}][/a]

When I first got my iPod, I had several MP3 files that simply got skipped on the iPod as he describes. No amount of magic juju I tried would allow them to play. Finally, total tag removal (using tidymp3.exe) followed by retagging from scratch (using Tag&Rename to add both ID3V2 and ID3V1 tags) solved about 95% of the problem tracks.

I suspect that a tag which is bad enough to corrupt the "do not play" frame that it sits in will break the iPod's playback functionality. It doesn't care about the tag itself, but if it can't understand the frame, it skips it. This is just an educated guess, mind you, I have no real idea how tags are properly added to MP3 files.

All the problem files I had played fine in Winamp, and about half of them would play in iTunes and WMP. Winamp is very, *very* forgiving about bad MP3's.
Title: foo_pod - Foobar2000 meets the iPod
Post by: NEMO7538 on 2005-02-22 07:05:42
hello (how are you jeff?),

Using the latest foo_pod version with an iPod mini at the latest firmware level (1.2  - Nov. 2004 IIRC), and when I copy playlists to the iPod, it seems that :
- tracks are copied, and the DB updated accordingly
- playlist are not copied

can anyone confirm ? is there a workaround?

Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-22 21:11:19
Quote
hello (how are you jeff?),

Using the latest foo_pod version with an iPod mini at the latest firmware level (1.2  - Nov. 2004 IIRC), and when I copy playlists to the iPod, it seems that :
- tracks are copied, and the DB updated accordingly
- playlist are not copied

can anyone confirm ? is there a workaround?
[a href="index.php?act=findpost&pid=275866"][{POST_SNAPBACK}][/a]

I am able to confirm this with 0.9.9c.  I'll try to get a fix released soon.

Thanks for the bug report!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-22 21:29:11
Version 0.9.9d (http://www.loodi.com/foo_pod.zip) is now available.

This bug fix release fixes the playlist bug reported by NEMO7538, which was introduced in Version 0.9.9 and caused playlists to not be created on the iPod when using the "Send * Playlists To The iPod" features.

Also, one new feature is that if a song has iTunes SoundCheck information in its COMMENT metadata, translate that into a Soundcheck value on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-23 08:25:32
Quote
Also, one new feature is that if a song has iTunes SoundCheck information in its COMMENT metadata, translate that into a Soundcheck value on the iPod.
[a href="index.php?act=findpost&pid=276114"][{POST_SNAPBACK}][/a]

Is this an option? I mean, can you use the ReplayGain data instead? It's possible for a file to have both, sort of thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-02-23 10:59:55
Aero,

I think that you could allow sync between play_counts between ipod and fb2k if the user install this (http://www.hydrogenaudio.org/forums/index.php?showtopic=20719&view=findpost&p=269381) mod version of foo_playcount. It stores the counts in a external database using sqlite (so no tagging). If you will interested in implementing this, you could also point to this mod version as the only to be used with foo_pod to get this sync working.

If someone could allow quicktag to use sqlite as this mod does, this would also solve the  rating sync issues.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-02-23 14:01:51
I don't normally have a drive letter assigned to my iPod when I connect it to my USB port (I can only get this in iTunes if I enable disk access), so how do I mount it?  I went to "Select iPod To Use" and had it automatically find an iPod, but all it does is minimize fb2k...what am I doing wrong?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-23 16:07:37
Quote
Quote
Also, one new feature is that if a song has iTunes SoundCheck information in its COMMENT metadata, translate that into a Soundcheck value on the iPod.
[a href="index.php?act=findpost&pid=276114"][{POST_SNAPBACK}][/a]

Is this an option? I mean, can you use the ReplayGain data instead? It's possible for a file to have both, sort of thing.
[a href="index.php?act=findpost&pid=276229"][{POST_SNAPBACK}][/a]

Sorry, I forgot to mention that this is only a supplement to ReplayGain - RG always takes precedence.  In other words, if both iTunes' iTunNORM and ReplayGain information is available, foo_pod will use ReplayGain.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-23 16:10:06
Quote
I don't normally have a drive letter assigned to my iPod when I connect it to my USB port (I can only get this in iTunes if I enable disk access), so how do I mount it?  I went to "Select iPod To Use" and had it automatically find an iPod, but all it does is minimize fb2k...what am I doing wrong?
[a href="index.php?act=findpost&pid=276293"][{POST_SNAPBACK}][/a]

The iPod must show up as a drive letter.  So like you said, you have to enable disk access (either in iTunes or in foo_pod's iPodService preference) to use foo_pod with your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-23 16:13:37
Quote
I think that you could allow sync between play_counts between ipod and fb2k if the user install this (http://www.hydrogenaudio.org/forums/index.php?showtopic=20719&view=findpost&p=269381) mod version of foo_playcount. It stores the counts in a external database using sqlite (so no tagging). If you will interested in implementing this, you could also point to this mod version as the only to be used with foo_pod to get this sync working.

If someone could allow quicktag to use sqlite as this mod does, this would also solve the  rating sync issues.
[a href="index.php?act=findpost&pid=276249"][{POST_SNAPBACK}][/a]

Interesting.  Would you mind doing a little research on this for me, since there doesn't seem to be any details in the post and I'm not familiar with the component. 

In particular, what would I need to do in order to utilize this?  Just set the metadata (PLAY_COUNT?) as normal?  And does this prevent the metadata from being written to the file?
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-02-23 16:29:50
Quote
Interesting.  Would you mind doing a little research on this for me, since there doesn't seem to be any details in the post and I'm not familiar with the component. 


Sure, if I can help.

Quote
In particular, what would I need to do in order to utilize this?  Just set the metadata (PLAY_COUNT?) as normal?  And does this prevent the metadata from being written to the file?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=276324")

I'm not sure to understand your question, but I'll try 

This component seems to use two metadata fields:

%__play_counter% (as opposite to the %play_counter% tag)
%__play_timestamp% (in a Unix format I think, but just guessing)

And it uses whatever the user puts into the optional fields (where normally people enter %play_time%, %play_date% or %last_played%) and put it into the proper metadata fields (%__play_date% or %__play_date% or %__last_played%).

I guess that you could just do a $add(%ipod_play_counter%,%__play_counter%) into the %__play_counter% metadata.

I see that foo_pod also uses %ipod_last_played_time% in a numeric format. It could also be transfered to fb2k files into whatever file user has specified i.e.
if user uses %last_played% field (which is the [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=31530]newest[/url] recommended format) with this format %Y-%m-%d %H:%M:%S, then with sync foo_pod should update a metadata field called %__last_played% with this format specified.

Hope that this makes sense. You could also contact kode54, he's the author of this mod playcount and could help you more than me 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-23 17:11:17
Big news for iPod Shuffle owners!  The latest firmware update (http://www.apple.com/ipod/download/) fixes compatability with non-iTunes AAC files.  I haven't tested Nero's encoder yet, but FAAC 1.24 created files play fine with firmware 1.1.

One warning - after doing the update, go to your iPod Shuffle in Windows Explorer and delete the iPod_Control\iTunes\iTunesStats file.  It will be 0 bytes, and if you don't remove it, foo_pod 0.9.9d will crash when you try to read the iPod database.  I'll fix this in a future version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-24 09:38:51
For you 3G owners, the latest update (version 2.3) also brings now new stuff (about time, it's been almost a year since 2.2).

The download is a whopping 43 meg.  Guess they've added a lot of new firmware types since the last update..

The main stuff this release seems to do is bring the older models up to date with the newer menu system.
-The "Browse" menu is gone, replaced by the "Music" menu which is basically the same.
-There's a new "Audiobooks" menu under the Music menu. You can even put it on the Main Menu if you like (I do).
-There's a new "Shuffle Songs" toggle that you can put onto the Main Menu. I'm not very happy with it, as basically all it does is to start playing all the songs on the iPod, shuffled. Fairly annoying that it can't be used to toggle the normal shuffle setting on/off easily. I turned it back off when I found what it did.
-The charging screen now shows a continous battery with 8 steps instead of the 4 blocks it had before. I think it looks cooler. Easier to see too.

I probably missed some bits, and I haven't looked at the actual files on it yet to see the differences, but since they say it's iTunes 4.7 capable, I'm assuming it supports some of the newer internal file differences. Not much to explore there though.

Edit: Ahh, I missed the multiple On The Go playlists. Those are now on the 3G's.
Title: foo_pod - Foobar2000 meets the iPod
Post by: herr klang on 2005-02-24 10:20:05
still no luck with nero
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-02-24 14:55:26
Aero,

Thanks, working fine now.  Just a quick question about Enable Synch...this only applies to audio files and nothing else on the iPod, I hope? (i.e. it won't touch any other files I have stored on there?)
Title: foo_pod - Foobar2000 meets the iPod
Post by: joelpt on 2005-02-24 19:56:03
Aero - I have spent a little time looking at the Foobar SDK and it looks like it should support all the metadata/"media library" functionality you would need to do your playcount/ratings/GUID storage.  Much of it looks to be in metadb.* and metadb_handle.*.

I haven't actually tried writing any test components to see how these functions behave but here's a few that I ran into looking through the SDK source.

Code: [Select]
in metadb.h:

// returns a list of metadb_handle's of everything in the database
metadb::get_all_entries(ptr_list_base<metadb_handle> & out)

// update the database from 'info', which contains meta fields
metadb::update_info(const file_info * info,bool dbonly=false);//using playable_location from file_info, return -1 on failure, 0 if pending, 1 on immediate success; may take a few good seconds to execute


in metadb_handle.h:

// for a given metadb_handle, get the value for a specific meta field
metadb_handle::handle_query_meta_field(const char * name,int num,string_base & out)


I'm not sure if there is a get_metadb_handles_matching_meta_field() type of function in there, I'm not too familiar with this code.  Obviously it can be done manually by iterating over the list returned by get_all_entries(), using handle_query_meta_field(), which is probably what the SDK would have to do if it does provide such a function already. I would doubt the meta fields are indexed.

I also see that the author of foo_dbsearch apparently created a mini SDK for database querying, this seems to simplify things quite a bit:
http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_dbsearch (http://www.stud.uni-karlsruhe.de/~uzbs/fb2k/foo_dbsearch)

Hope this helps!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-24 20:24:52
Quote
Thanks, working fine now.  Just a quick question about Enable Synch...this only applies to audio files and nothing else on the iPod, I hope? (i.e. it won't touch any other files I have stored on there?)
[a href="index.php?act=findpost&pid=276620"][{POST_SNAPBACK}][/a]

That's correct - foo_pod won't delete anything that isn't in the database (i.e. music only).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-24 20:56:44
Quote
still no luck with nero
[a href="index.php?act=findpost&pid=276550"][{POST_SNAPBACK}][/a]

Do you mean that Nero encoded AAC files don't play on the Shuffle, even with firmware 1.1?

Edit: Yeah, it looks like FAAC 1.24 works, but Nero's AAC encoder (I tested aacenc.dll 2.9.9.96) doesn't work with iPod Shuffle firmware 1.1.  In fact, if anything Nero encoded AAC files seem to be a little worse with 1.1 - before, they just wouldn't play.  Now, some of them appear to lock up the Shuffle completely...
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2005-02-27 00:10:41
Just wanted to say that I was able to make my iPod display Hebrew by hacking the fonts in the firmware using iPodWizard and using masstagger to create alternate tags that correspond to the replaced characters and to flip the text. It works and looks really great and the single only problem is that if the title is too long and the iPod puts elipses, it omits the beginning of the title instead of ending, because the title is flipped. So, I was just wondering if anyone is interested in this, becasue I know I would be if I hadn't fixed it for myself already.

Also, seeing that the 3G now supports multiple on-the-go playlists, I was also wondering if anyone knew whether the 3G now also supports line out SoundCheck. Does it?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-02-27 05:33:04
Quote
Also, seeing that the 3G now supports multiple on-the-go playlists, I was also wondering if anyone knew whether the 3G now also supports line out SoundCheck. Does it?
[a href="index.php?act=findpost&pid=277390"][{POST_SNAPBACK}][/a]

No, line output is unchanged. I just tested it on mine. Play a song, plug some speakers into the top connector, toggle soundcheck on and off. That works. Do the same using the line output, no change.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2005-02-27 13:38:33
Hey there! Nice nifty updates there, but encountered a small problem here... Was wondering if someone could help me out here:

I currently have 2172 songs in the DB, but when I went to the iPod_Control\iTunes\Music folder to do a "Folder Properties" check, it showed 2174 files.

Which means that I've got 2 orphaned files...

Is there any particular function in foo_pod which allows me to search for orphaned files, and adds them into the iTunesDB itself? Restoring the DB is a nightmare, where all my playlists (both smart and dumb, as I so call it ) are set and defined.

I clicked the "Fix Skipped Songs on the iPod" (without knowing what it was for), and it showed this:

Code: [Select]
INFO (foo_pod) : iPodService version 13
INFO (foo_pod) : iPod Firmware Version 2.3 (0x00030001)
INFO (CORE) : startup time: 547 ms
INFO (foo_pod) : WriteITunesDBFile: backup of j:\iPod_Control\iTunes\iTunesDB to G:\foobar2000\iTunesDB.bak succeeded
INFO (foo_pod) : WriteITunesDBFile: DeleteFile(j:\iPod_Control\iTunes\iTunesDB) succeeded
INFO (foo_pod) : iTunesDB successfully written


It prompted me that 85 songs were found, but the song count in the DB still showed 2172 songs.

Any gives for this? Am using 0.9.9d (or whatever the last revision was, I've lost count.  )

EDIT: I've realised that the "Fix Skipped Songs on iPod function renamed the files on my iPod, but it did not update them accordingly on my iPodDB...  Gotta rebuild the DB.
Title: foo_pod - Foobar2000 meets the iPod
Post by: towolf on 2005-02-27 21:14:30
Nah, I somehow dislike these animations on transfers.
Why not go for something more PIXELIZED 

like this ersatz  :
(http://img183.exs.cx/img183/8660/poofod2fq.gif) (http://www.imageshack.us)
Title: foo_pod - Foobar2000 meets the iPod
Post by: mimeryme on 2005-02-27 23:43:54
I get the following warning when I load my iPod playlists:
WARNING (foo_pod) : Unable to parse Play Counts file 'v:\iPod_Control\iTunes\Play Counts' (error 13)

Is there something I can do to fix this?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-28 02:31:44
Quote
I get the following warning when I load my iPod playlists:
WARNING (foo_pod) : Unable to parse Play Counts file 'v:\iPod_Control\iTunes\Play Counts' (error 13)

Is there something I can do to fix this?
[a href="index.php?act=findpost&pid=277707"][{POST_SNAPBACK}][/a]

Please send me the v:\iPod_Control\iTunes\Play Counts file so I can take a look at this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-28 02:34:09
Quote
Is there any particular function in foo_pod which allows me to search for orphaned files, and adds them into the iTunesDB itself? Restoring the DB is a nightmare, where all my playlists (both smart and dumb, as I so call it ) are set and defined.

Rebuilding the database now (as of a few versions ago) retains your smart playlists.  Normal playlists, however, are not able to be recreated.

Quote
I clicked the "Fix Skipped Songs on the iPod" (without knowing what it was for), and it showed this:

Code: [Select]
INFO (foo_pod) : iPodService version 13
INFO (foo_pod) : iPod Firmware Version 2.3 (0x00030001)
INFO (CORE) : startup time: 547 ms
INFO (foo_pod) : WriteITunesDBFile: backup of j:\iPod_Control\iTunes\iTunesDB to G:\foobar2000\iTunesDB.bak succeeded
INFO (foo_pod) : WriteITunesDBFile: DeleteFile(j:\iPod_Control\iTunes\iTunesDB) succeeded
INFO (foo_pod) : iTunesDB successfully written


It prompted me that 85 songs were found, but the song count in the DB still showed 2172 songs.

Any gives for this? Am using 0.9.9d (or whatever the last revision was, I've lost count.  )

EDIT: I've realised that the "Fix Skipped Songs on iPod function renamed the files on my iPod, but it did not update them accordingly on my iPodDB...  Gotta rebuild the DB.
[a href="index.php?act=findpost&pid=277549"][{POST_SNAPBACK}][/a]

85 songs means that 85 songs with illegal (at least on some iPods) filenames were found and fixed.  They should have been fixed in both the iPodDB and renamed on the iPod - otherwise, this feature wouldn't be very useful.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-28 02:37:09
Quote
Nah, I somehow dislike these animations on transfers.
Why not go for something more PIXELIZED  

like this ersatz  :
(http://img183.exs.cx/img183/8660/poofod2fq.gif) (http://www.imageshack.us)
[a href="index.php?act=findpost&pid=277656"][{POST_SNAPBACK}][/a]

That's pretty nice, although the 3G iPod is way out of date (even if it is the best looking of the iPod series, IMHO).  If you would be willing to do the opposite animation (data flowing out of the iPod into Foobar) as well as an animation for deleting songs, I would defiinitely consider replacing the existing animations.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-02-28 10:41:20
First off, thanks for a great plugin Aero!  Second, I'm a little confused about Replaygain/iTunesNORM.  I read in an earlier post that if a file has Replaygain info, then this will be used in the ipod db?  Do Replaygain and iTunesNORM from iTunes achieve the same thing?  Would it make more sense to scan all of my music as an album in order to achieve similar volume levels?  Sorry this might be a bit of a newbie post!
Title: foo_pod - Foobar2000 meets the iPod
Post by: robinbowes on 2005-02-28 15:08:23
Hi,

I've just come across foo_ipod and I *think* it could be just what I'm looking for!

I have a large collection in flac format and I'm currently transcoding to mp3 for use on my iPod.

Am I right in thinking that should be able to use foo_ipod to do this for me? Something like this:

Inital setup:
  Add all flac files to foobar playlist
  Send all to Ipod

Subsequent use:
  Add all flac files to foobar playlist
  Use "sync" to only transcode new/updated files

Here's hoping...!

R.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-28 15:49:49
Quote
First off, thanks for a great plugin Aero!  Second, I'm a little confused about Replaygain/iTunesNORM.  I read in an earlier post that if a file has Replaygain info, then this will be used in the ipod db?  Do Replaygain and iTunesNORM from iTunes achieve the same thing?  Would it make more sense to scan all of my music as an album in order to achieve similar volume levels?  Sorry this might be a bit of a newbie post!
[a href="index.php?act=findpost&pid=277811"][{POST_SNAPBACK}][/a]

Yes, iTunes' SoundCheck and ReplayGain are essentially the same thing, although ReplayGain has some advantages (such as album gain instead of just track gain like SoundCheck).

The primary reason I added support for iTunNORM is that I have begun to see more and more downloadable audio files (podcasts, for example), that have been encoded by iTunes, and have the iTunNORM/SoundCheck information.  Since these files already have SoundCheck information and they aren't something you'd normally listen to more than once, it is a lot easier to use the existing SoundCheck information rather than having to compute the ReplayGain.

So in general, you would typically use ReplayGain on your own files, but if you download iTunes encoded files and they have SoundCheck information, foo_pod will use that as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-02-28 15:50:37
Quote
Hi,

I've just come across foo_ipod and I *think* it could be just what I'm looking for!

I have a large collection in flac format and I'm currently transcoding to mp3 for use on my iPod.

Am I right in thinking that should be able to use foo_ipod to do this for me? Something like this:

Inital setup:
  Add all flac files to foobar playlist
  Send all to Ipod

Subsequent use:
  Add all flac files to foobar playlist
  Use "sync" to only transcode new/updated files
[a href="index.php?act=findpost&pid=277863"][{POST_SNAPBACK}][/a]

Yes, that is exactly how foo_pod can be used to transcode your FLAC songs into MP3/AAC for the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2005-02-28 19:32:06
I have used foo_pod since i got my ipod, nearly a year ago (it is 3rd gen). for some reason i never really felt the need to post about it though. but i finally have something to say.

1.) first, when i decide to sync my entire playlist, it does, but it skips the songs that need to be converted. the only way to get those files onto the ipod is to select them separetly and transcode. i mean that works, but is that by design?

2.) when i click sync all, if there are any songs that need to be deleted, a message window pops up, but for some reason, the message always appears behind foobar. (i do NOT have minimize while doing transfers checked).

3.) what exactly does the sound adjustment bar do? all my songs have track replaygain. so i checked that option. then i slide the bar to about - 50%. then i play the songs on the ipod and i don't hear any difference. do i just need to slide the bar further to the left?

Great work aero and otto. can't wait for 1.0 
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-02-28 20:11:16
Aero, some questions/comments:

Do you still plan to make that [Album] etc thing optional? Its not particulary useful having [Artist] with the other As in my artist list..

When using Sync/Send all playlists, the cancel button only cancels the transfer of the particular playlist being transfered a the time. This is kind of annoying since you have to press it like 20 times if you have 20 playlists and want to cancel.

And in relation to the above, the reason I was cancelling is because sometimes 'sync' all playlists decides it wants to replace all files, this time it was after firmware update. Do you think you could add an option for 'less thorough' sync, that doesnt transfer if source/dest filesizes match or something like that?

Thanks for your work on the component,
musicmusic
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-01 05:35:14
Quote
I have used foo_pod since i got my ipod, nearly a year ago (it is 3rd gen). for some reason i never really felt the need to post about it though. but i finally have something to say.

1.) first, when i decide to sync my entire playlist, it does, but it skips the songs that need to be converted. the only way to get those files onto the ipod is to select them separetly and transcode. i mean that works, but is that by design?

No, that would be a bug.  I'll take a look into it.

Quote
2.) when i click sync all, if there are any songs that need to be deleted, a message window pops up, but for some reason, the message always appears behind foobar. (i do NOT have minimize while doing transfers checked).

I have seen that too, and it is rather annoying.  I'm not doing anything to make it go to the background, but I'll see if there is a workaround.

Quote
3.) what exactly does the sound adjustment bar do? all my songs have track replaygain. so i checked that option. then i slide the bar to about - 50%. then i play the songs on the ipod and i don't hear any difference. do i just need to slide the bar further to the left?
[a href="index.php?act=findpost&pid=277920"][{POST_SNAPBACK}][/a]

That is the preamp control - it adjusts the volume level of all songs (that's why you don't hear a difference - they are all equally louder!).  It is the equivalent to the volume slider in iTunes' Get Info dialog.

The preamp is useful for boosting the volume for European iPods, which by law are limited in their maximum volume.  It is also useful if you have less sensitive headphones, and the maximum volume on the iPod isn't loud enough.  Also, I personally set my preamp at around 25%, since ReplayGain seems to be a little quiet for my taste.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-01 05:42:49
Quote
Do you still plan to make that [Album] etc thing optional? Its not particulary useful having [Artist] with the other As in my artist list..

Probably not.  [Artist] isn't too obtrusive, IMHO, and without it, you can't easily navigate to untagged songs.

Quote
When using Sync/Send all playlists, the cancel button only cancels the transfer of the particular playlist being transfered a the time. This is kind of annoying since you have to press it like 20 times if you have 20 playlists and want to cancel.

I will fix this.

Quote
And in relation to the above, the reason I was cancelling is because sometimes 'sync' all playlists decides it wants to replace all files, this time it was after firmware update. Do you think you could add an option for 'less thorough' sync, that doesnt transfer if source/dest filesizes match or something like that?

I can certainly tweak the matching algorithm, although a firmware update shouldn't affect the sync.  I have let sync support slide, since I don't use it myself, so it could use some attention.
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2005-03-01 08:01:53
Quote
Quote
I have used foo_pod since i got my ipod, nearly a year ago (it is 3rd gen). for some reason i never really felt the need to post about it though. but i finally have something to say.

1.) first, when i decide to sync my entire playlist, it does, but it skips the songs that need to be converted. the only way to get those files onto the ipod is to select them separetly and transcode. i mean that works, but is that by design?

No, that would be a bug.  I'll take a look into it.
[a href="index.php?act=findpost&pid=278055"][{POST_SNAPBACK}][/a]


it might be nice to have an option to sync all excluding transcodings, and then a sync all with transcodings. it would be a nice option i think. Also, i think it might be cool to have an option when you are doing file transfers, that will disconnect the ipod on complete. i know that would be kind of a pain with the options already included (i.e. disconnecting the ipod on a foobar exit) but it would be nice. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-03-01 12:33:46
Quote
Quote
When using Sync/Send all playlists, the cancel button only cancels the transfer of the particular playlist being transfered a the time. This is kind of annoying since you have to press it like 20 times if you have 20 playlists and want to cancel.

I will fix this.
Thanks.

Quote
Quote
And in relation to the above, the reason I was cancelling is because sometimes 'sync' all playlists decides it wants to replace all files, this time it was after firmware update. Do you think you could add an option for 'less thorough' sync, that doesnt transfer if source/dest filesizes match or something like that?

I can certainly tweak the matching algorithm, although a firmware update shouldn't affect the sync.  I have let sync support slide, since I don't use it myself, so it could use some attention.
[a href="index.php?act=findpost&pid=278062"][{POST_SNAPBACK}][/a]
Well Im not sure what exactly causes it , fw update seemed the only significant thing, Ill try and work it out next time it happens.

Also while Im at it, the message box "this will delete x files" comes up under the foobar window, and I still had issues with foobar going crazy with the focus last time i checked.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eric.cheminot on 2005-03-03 14:42:47
First, I am sorry if this information is already in this thread, but I have tried a search and it seems difficult to narrow it enough.

I there an entire list of the feature instead of a changelog somewhere. Actually, my question is about the cue sheet feature as a workaround for non-gapless play. At the beginning of this thread, Aero writes it is on hi "todo" list, but I cannot find if it has been done since.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-03 16:30:07
Quote
First, I am sorry if this information is already in this thread, but I have tried a search and it seems difficult to narrow it enough.

I there an entire list of the feature instead of a changelog somewhere. Actually, my question is about the cue sheet feature as a workaround for non-gapless play. At the beginning of this thread, Aero writes it is on hi "todo" list, but I cannot find if it has been done since.
[a href="index.php?act=findpost&pid=278884"][{POST_SNAPBACK}][/a]

Yeah, documentation would be nice.  I should do that some day...  (in other words, no, there really isn't any feature list other than what is listed in the Readme file changelog).

As for CUE sheets, I haven't gotten around adding support for them in foo_pod, so they won't be successfully transferred.  Eventually, it should be possible to send a single audio file to the iPod, but still have access to the individual songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-03 17:50:34
Quote
As for CUE sheets, I haven't gotten around adding support for them in foo_pod, so they won't be successfully transferred.  Eventually, it should be possible to send a single audio file to the iPod, but still have access to the individual songs.
[a href="index.php?act=findpost&pid=278911"][{POST_SNAPBACK}][/a]

Hmm... Multiple mhits that all reference the same file, but have different start and stop points? Might work.

Bit more battery drain though, because it'd have to load the whole file into cache, which would mean more disk access and such.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Biscuits on 2005-03-04 02:13:51
I think it would be nice to have a customizable matching algorithm. Like, you could select which fields to check.

Like, I can't send playlists anymore because it just puts another copy of all the songs on my iPod. I think it might be because of playcount, which changes the tags? Maybe not. I've been wondering why it didn't find the copy that was already on the iPod. Could this be the case???

Thanks,
-Tristan
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-04 10:49:27
Quote
I think it might be because of playcount, which changes the tags? Maybe not. I've been wondering why it didn't find the copy that was already on the iPod. Could this be the case???
[a href="index.php?act=findpost&pid=279078"][{POST_SNAPBACK}][/a]

Yes it can. Default Playcount plugin updates the tag everytime you play a file, so everytime you play your file change (i.e. size change even a little kb) and so the ipod recognise it as a different file and send it again. You could however use the mod playcount plugin by kode54 (it's on the plugin thread) that doesn't add a tag to the file but uses a external database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-04 23:15:56
Quote
I think it would be nice to have a customizable matching algorithm. Like, you could select which fields to check.

Like, I can't send playlists anymore because it just puts another copy of all the songs on my iPod. I think it might be because of playcount, which changes the tags? Maybe not. I've been wondering why it didn't find the copy that was already on the iPod. Could this be the case???

Thanks,
-Tristan
[a href="index.php?act=findpost&pid=279078"][{POST_SNAPBACK}][/a]

jkwarras is exactly right - if you using a component that modifies the metadata, it will completely mess up the duplicate song detection in foo_pod.  That is a big reason why it is hard to implement play counts/ratings/last played support in foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-05 04:54:16
This has come a long way since the beginning, I'm impressed! Ever since I've had my iPod (less than a week, lol), I think I've opened iTunes once -- long enough to say "man, this sure takes up 40MB!"

To help out in my own little way, I've rearranged the menu. Since there's really no other way to share the settings, I've made an animated screenshot:

Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-05 06:23:07
Quote
This has come a long way since the beginning, I'm impressed! Ever since I've had my iPod (less than a week, lol), I think I've opened iTunes once -- long enough to say "man, this sure takes up 40MB!"

To help out in my own little way, I've rearranged the menu. Since there's really no other way to share the settings, I've made an animated screenshot:


[a href="index.php?act=findpost&pid=279373"][{POST_SNAPBACK}][/a]

I like it...but...

AFAIK, Foobar2000 0.8 doesn't support components with submenus like that.  I could be wrong, but I can't see how one would do it via the API and I don't see any other components using submenus.  I looked into this once upon a time for the context menu - it would be cool to be able to select a song and send it to an iPod playlist, each listed in a Playlists submenu.

But thanks for your idea - if future versions of Foobar support this feature, I'll definitely do something like this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Rostvertol-Mil on 2005-03-05 20:59:30
I have a iPod photo. It is able to show album art, but only if you bought the music on iTunes, are you planning to include the possibility to do this on every song?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-05 22:39:29
Quote
I have a iPod photo. It is able to show album art, but only if you bought the music on iTunes, are you planning to include the possibility to do this on every song?
[a href="index.php?act=findpost&pid=279566"][{POST_SNAPBACK}][/a]

There isn't any way to get the album art from the ID3v2 tags (or equivalent for M4A files) in Foobar, so I would have to implement something special.  I have done some test apps that create the album art, but I haven't tried to incorporate that into foo_pod yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-06 09:16:18
I'm still stuck on the "album artist" tag issue, so I'll respond to a discussion back on page 36 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&st=875&p=259318&#entry259318):
Quote
That would work globally (i.e. on all songs).  By using the POD_ alternate metadata, you can specify exactly which songs you want the TAGZ string applied to, as well as potentially having different strings for each song.  Besides, have you seen how crowded the preference dialogs are? 
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=259324")

I'd like it to work globally though.

Since all my files that have "album artist" tags are likely to have their own "artist" tag, that's two sets of information I don't want to lose. While it makes sense to copy the "album artist" to "POD_ARTIST", it would also make sense to first copy "artist" to (let's say) "POD_COMPOSER". I don't know if your solution would do one tag before the other. (..because if I copy album artist to artist then copy artist to composer, there would be two identical artists, and the track artist would disappear!)

something like this (pseudocode):
Code: [Select]
$if(%album artist%, $if(%artist%, $put(%POD_COMPOSER%, %artist%),) $put(%POD_ARTIST%, %album artist%),)


But I would eventually have to run this on my entire collection! Instead of cluttering up my tags any more than they already are, I think it would be a lot more elegant to implement it in the foo_pod interface. (BTW, the interface isn't cluttered -- you've only got three tabs, you've got room for plenty more!) 

Quote
AFAIK, Foobar2000 0.8 doesn't support components with submenus like that.

Don't tell me I got a weird version of Foobar that supports submenus 

how I did it: preferences / core / main menu items -- then start adding groups under groups ([a href="http://www.tinkafoo.com/temp/foo_pod-menu-setup.gif]image[/url])
Title: foo_pod - Foobar2000 meets the iPod
Post by: jcarbonell on 2005-03-06 17:20:36
I'm using 0.9.9d.

When I sync w/ "Sync with current playlist," foobar200 crashes when the sync is complete.  It gives me the dump:


Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7C911E58h
Access violation, operation: read, address: 006E0061h
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/Sync Current Playlist"
This is the first crash logged by this instance.
Code bytes (7C911E58h):
7C911E18h:  89 5F 4C EB 8F 33 C9 E9 37 FF FF FF FF 75 10 57
7C911E28h:  56 E8 26 FD FF FF EB AE 0F B7 06 8B 4D 10 03 01
7C911E38h:  3D 00 FE 00 00 0F 87 EE ED FF FF 80 7D 14 00 0F
7C911E48h:  85 97 7A 03 00 8B 4E 0C 8D 46 08 8B 10 89 4D 08
7C911E58h:  8B 09 3B 4A 04 89 55 0C 0F 85 9D 00 00 00 3B C8
7C911E68h:  0F 85 95 00 00 00 56 53 E8 1F ED FF FF 8B 45 0C
7C911E78h:  8B 4D 08 3B C1 89 01 89 48 04 74 49 8A 46 05 A8
7C911E88h:  04 0F 85 2F 7B 03 00 8A 47 05 24 10 A8 10 88 46
Stack (0012E22Ch):
0012E20Ch:  00CADCDC 7C9C93A0 77F643DD 7C9C93A0
0012E21Ch:  00000004 00000000 00CAD1E8 00000000
0012E22Ch:  00890000 02918E30 00000000 0012E30C
0012E23Ch:  7C910D5C 006E0061 02918E30 0012E2F0
0012E24Ch:  00000000 000000D6 02918E38 0000066E
0012E25Ch:  01D40000 00000000 0291AA40 00000000
0012E26Ch:  00890000 028ECCA8 00000000 0291AA48
0012E27Ch:  028EE000 7C910E91 027A0000 00000000
0012E28Ch:  00000000 029196A0 0000006B 00000020
0012E29Ch:  000000CD 0012E370 008901A0 7C910E91
0012E2ACh:  00000028 7C91056D 0000066E 028ECCB0
0012E2BCh:  00000000 01D40000 0012E2D4 00000000
0012E2CCh:  7C9105C8 02703AE0 00890000 7C910551
0012E2DCh:  00890718 7C91056D 00000000 00000000
0012E2ECh:  01013E4C 00000005 0012E250 0012DE50
0012E2FCh:  0012E344 7C90EE18 7C910570 00000001
0012E30Ch:  0012E354 77C2C2DE 00890000 00000000
0012E31Ch:  02918E38 000000D6 02918E38 0000066E
0012E32Ch:  00000001 027D2430 027D246C 00890000
0012E33Ch:  0012E320 0012DE50 0012E3D0 77C35C94
Registers:
EAX: 02918DF8, EBX: 00890000, ECX: 006E0061, EDX: 00720042
ESI: 02918DF0, EDI: 02918E30, EBP: 0012E238, ESP: 0012E22C
Crash location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlInitializeCriticalSection" (+0000032Bh)

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                         loaded at 7C800000h - 7C8F4000h
USER32                           loaded at 77D40000h - 77DD0000h
GDI32                            loaded at 77F10000h - 77F56000h
ole32                            loaded at 774E0000h - 7761D000h
ADVAPI32                         loaded at 77DD0000h - 77E6B000h
RPCRT4                           loaded at 77E70000h - 77F01000h
msvcrt                           loaded at 77C10000h - 77C68000h
COMCTL32                         loaded at 773D0000h - 774D2000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F9000h
SHELL32                          loaded at 7C9C0000h - 7D1D4000h
foo_abx                          loaded at 008D0000h - 008DC000h
foo_ac3                          loaded at 008E0000h - 008F3000h
foo_albumlist                    loaded at 00900000h - 0090B000h
foo_ape                          loaded at 00910000h - 0092F000h
foo_apl                          loaded at 00930000h - 0093A000h
foo_bitcompare                   loaded at 00940000h - 00949000h
foo_burninate                    loaded at 00950000h - 0095C000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_cdda                         loaded at 00960000h - 0096E000h
foo_clienc                       loaded at 00970000h - 0097B000h
foo_console                      loaded at 00980000h - 00987000h
foo_convolve                     loaded at 00990000h - 009DF000h
foo_dbsearch                     loaded at 009E0000h - 009F8000h
foo_diskwriter                   loaded at 00A00000h - 00A12000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_dsp_crossfade                loaded at 00AA0000h - 00AA7000h
foo_dsp_crossfeed                loaded at 00AB0000h - 00AB6000h
foo_dsp_extra                    loaded at 00AC0000h - 00AD5000h
foo_dsp_nogaps                   loaded at 00AE0000h - 00AE7000h
foo_dsp_pause                    loaded at 00AF0000h - 00AF7000h
foo_dsp_skip_silence             loaded at 00B00000h - 00B07000h
foo_dsp_soundtouch               loaded at 00B10000h - 00B1B000h
MSVCP60                          loaded at 76080000h - 760E5000h
foo_dynamics                     loaded at 00B20000h - 00B27000h
foo_faac                         loaded at 00B30000h - 00B63000h
foo_festalon                     loaded at 00B70000h - 00CAE000h
foo_flac                         loaded at 00CB0000h - 00CCC000h
foo_flaccer                      loaded at 00CD0000h - 00CE6000h
foo_freedb                       loaded at 00CF0000h - 00D1E000h
WS2_32                           loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_history                      loaded at 00D20000h - 00D30000h
foo_id3v2                        loaded at 00D30000h - 00D60000h
foo_infobox                      loaded at 00D60000h - 00D73000h
foo_input_std                    loaded at 00D80000h - 00E1E000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
foo_lpac                         loaded at 00E20000h - 00E27000h
lpac_codec_api                   loaded at 00E30000h - 00E3A000h
lpaccodec                        loaded at 00E40000h - 00E69000h
foo_masstag                      loaded at 01090000h - 010A4000h
foo_matroska                     loaded at 010B0000h - 010F8000h
foo_mod                          loaded at 01100000h - 01109000h
BASS                             loaded at 01110000h - 0116A000h
foo_monkey                       loaded at 01170000h - 0118C000h
foo_mpeg4u                       loaded at 01190000h - 011B9000h
foo_nez                          loaded at 011C0000h - 011EB000h
foo_null                         loaded at 011F0000h - 011F7000h
foo_ofr                          loaded at 01200000h - 01206000h
OptimFROG                        loaded at 01210000h - 0123C000h
foo_oggpreview                   loaded at 01250000h - 01351000h
foo_output_std                   loaded at 01360000h - 01369000h
foo_out_dsound_ex                loaded at 01370000h - 01379000h
DSOUND                           loaded at 73F10000h - 73F6C000h
foo_out_ks                       loaded at 01390000h - 0139B000h
SETUPAPI                         loaded at 77920000h - 77A13000h
foo_playlistgen_ex               loaded at 013A0000h - 013AF000h
foo_pod                          loaded at 013B0000h - 01448000h
OLEAUT32                         loaded at 77120000h - 771AC000h
foo_podclienc                    loaded at 01450000h - 01469000h
foo_podtranscoder                loaded at 01470000h - 01480000h
foo_pphsresample                 loaded at 01580000h - 01590000h
foo_psf                          loaded at 01590000h - 0163C000h
foo_read_http                    loaded at 01640000h - 01649000h
foo_rgscan                       loaded at 01650000h - 0165D000h
foo_scroll                       loaded at 01660000h - 01666000h
foo_search_ex                    loaded at 01670000h - 01678000h
foo_shn                          loaded at 01680000h - 0168F000h
foo_sid                          loaded at 01690000h - 016D7000h
foo_spc                          loaded at 016E0000h - 016F1000h
foo_speex                        loaded at 01710000h - 01728000h
foo_tfmx                         loaded at 01730000h - 01739000h
foo_tta                          loaded at 01740000h - 01749000h
foo_tta_old                      loaded at 01750000h - 01759000h
foo_uie_volume                   loaded at 01760000h - 0176A000h
foo_ui_columns                   loaded at 01770000h - 017A7000h
foo_ui_std                       loaded at 017B0000h - 017C7000h
foo_unpack                       loaded at 017D0000h - 01801000h
foo_utils                        loaded at 01810000h - 01821000h
foo_vis_manager                  loaded at 01830000h - 01838000h
foo_vis_simple_spectrum          loaded at 01840000h - 0184A000h
foo_vorbisenc                    loaded at 01850000h - 01961000h
foo_wavpack                      loaded at 01970000h - 01982000h
foo_wma                          loaded at 01990000h - 019AA000h
WMVCore                          loaded at 086C0000h - 08904000h
WMASF                            loaded at 070D0000h - 0710B000h
foo_xa                           loaded at 019B0000h - 019BF000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                           loaded at 77050000h - 77115000h
browseui                         loaded at 75F80000h - 7607C000h
browselc                         loaded at 20000000h - 20012000h
imagehlp                         loaded at 76C90000h - 76CB8000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 7C910D5Ch, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C9105C8h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+0000018Bh)
Address: 7C910551h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000114h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 77C2C2DEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C3h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12070h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C78h)
Address: 013E60A5h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E2E27h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 77C2C3CEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000001B3h)
Address: 77C2C2DEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C3h)
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12088h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C90h)
Address: 013F899Ah, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013BD573h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 77C2C407h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "malloc" (+00000000h)
Address: 013BD43Ah, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 77C2C407h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "malloc" (+00000000h)
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 013BB293h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA50Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 77D48709h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000072h)
Address: 00440073h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 77D48808h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000171h)
Address: 77D487FFh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "GetDC" (+00000168h)
Address: 77D4C00Eh, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "DestroyCaret" (+0000005Eh)
Address: 773F0B47h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+00004D1Dh)
Address: 0044026Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 01787B0Ch, location: "foo_ui_columns", loaded at 01770000h - 017A7000h
Address: 77D4C034h, location: "USER32", loaded at 77D40000h - 77DD0000h
Symbol: "CallWindowProcW" (+0000001Bh)
Address: 773F0B47h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+00004D1Dh)
Address: 0044026Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 10003461h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uCallWindowProc" (+00000018h)
Address: 773F0B47h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+00004D1Dh)
Address: 0044026Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 01788C5Ch, location: "foo_ui_columns", loaded at 01770000h - 017A7000h
Address: 773F0B47h, location: "COMCTL32", loaded at 773D0000h - 774D2000h
Symbol: "Ordinal384" (+00004D1Dh)
Address: 0044026Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C911596h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 01795B38h, location: "foo_ui_columns", loaded at 01770000h - 017A7000h
Address: 01787B0Ch, location: "foo_ui_columns", loaded at 01770000h - 017A7000h
Address: 01787B32h, location: "foo_ui_columns", loaded at 01770000h - 017A7000h

Version info:
foobar2000 v0.8.3
UNICODE


Here's the file header information from foo_pod.dll to verify that I have the latest. (generated from dumpbin /headers foo_pod.dll)

Code: [Select]
Dump of file foo_pod.dll

PE signature found

File Type: DLL

FILE HEADER VALUES
            14C machine (x86)
              5 number of sections
       421BA1BC time date stamp Tue Feb 22 15:18:52 2005
              0 file pointer to symbol table
              0 number of symbols
             E0 size of optional header
           210E characteristics
                  Executable
                  Line numbers stripped
                  Symbols stripped
                  32 bit word machine
                  DLL
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-06 22:03:43
Quote
I'm still stuck on the "album artist" tag issue, so I'll respond to a discussion back on page 36 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&st=875&p=259318&#entry259318):
Quote
That would work globally (i.e. on all songs).  By using the POD_ alternate metadata, you can specify exactly which songs you want the TAGZ string applied to, as well as potentially having different strings for each song.  Besides, have you seen how crowded the preference dialogs are? 
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=259324")

I'd like it to work globally though.

Since all my files that have "album artist" tags are likely to have their own "artist" tag, that's two sets of information I don't want to lose. While it makes sense to copy the "album artist" to "POD_ARTIST", it would also make sense to first copy "artist" to (let's say) "POD_COMPOSER". I don't know if your solution would do one tag before the other. (..because if I copy album artist to artist then copy artist to composer, there would be two identical artists, and the track artist would disappear!)

something like this (pseudocode):
Code: [Select]
$if(%album artist%, $if(%artist%, $put(%POD_COMPOSER%, %artist%),) $put(%POD_ARTIST%, %album artist%),)


But I would eventually have to run this on my entire collection! Instead of cluttering up my tags any more than they already are, I think it would be a lot more elegant to implement it in the foo_pod interface. (BTW, the interface isn't cluttered -- you've only got three tabs, you've got room for plenty more!) 

I have recently been discussing this issue with someone via email, and I have decided to reverse my earlier decision and implement a global setting for the POD_ metadata items.  If a song has a POD_* metadata item, it will override both the regular metadata and global POD_*.  But by implementing a global POD_ metadata, you will be able to have the POD_ functionality without having to tag all of your songs.

So logic will go like this (using ARTIST as the example), going from lowest to highest priority: Song's ARTIST metadata -> Global POD_ARTIST -> Song's POD_ARTIST

I suppose I could generalize it even more and just set the default POD_ARTIST to %artist%...  Also, I am going to add a 4th tab, "Advanced", for things like global POD_ settings and a few other more esoteric items that are on the General tab now.

Quote
Quote
AFAIK, Foobar2000 0.8 doesn't support components with submenus like that.

Don't tell me I got a weird version of Foobar that supports submenus 

how I did it: preferences / core / main menu items -- then start adding groups under groups ([a href="http://www.tinkafoo.com/temp/foo_pod-menu-setup.gif]image[/url])
[a href="index.php?act=findpost&pid=279681"][{POST_SNAPBACK}][/a]

You are correct.  For whatever reason, I missed the obvious way to do submenus, and now I know how to do this for both Component and context menus.  I'll make sure to add some submenus in future releases.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-06 22:07:28
Quote
I'm using 0.9.9d.

When I sync w/ "Sync with current playlist," foobar200 crashes when the sync is complete.  It gives me the dump:

Is this always reproducible, and do you know if any previous versions work?  Previous versions are available at http://www.loodi.com/foo_pod_<version>.zip (http://www.loodi.com/foo_pod_&lt;version&gt;.zip) (that is an underscore between foo_pod and <version>). 

For example, http://www.loodi.com/foo_pod_0.9.9c.zip (http://www.loodi.com/foo_pod_0.9.9c.zip)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Marinmo on 2005-03-06 23:56:08
Quote
You could however use the mod playcount plugin by kode54 (it's on the plugin thread) that doesn't add a tag to the file but uses a external database.
[a href="index.php?act=findpost&pid=279137"][{POST_SNAPBACK}][/a]


I seriously looked around for this but to no avail (yes, I tried searching.). Could you please provide me with a little bit more specific link?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-07 00:21:18
Quote
Quote
You could however use the mod playcount plugin by kode54 (it's on the plugin thread) that doesn't add a tag to the file but uses a external database.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=279137")


I seriously looked around for this but to no avail (yes, I tried searching.). Could you please provide me with a little bit more specific link?
[a href="index.php?act=findpost&pid=279900"][{POST_SNAPBACK}][/a]

jkwarras talks about it [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=276249]here[/url]. 

It apparently works for most people, but I tried it out and it didn't work at all for me...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-07 00:27:50
Version 0.9.9e (http://www.loodi.com/foo_pod.zip) is now available.

The major addition to this version is the concept of global alternate metadata.  This allows you to set alternate metadata for all songs without having to actually add a POD_* metadata item to each song.  Note that if a song has POD_* metadata, it is used in preference to the global alternate metadata.  These settings are on the new Advanced preferences tab.

Another change that will probably be appreciated is that the progress dialogs are no longer modal.  This means that the Foobar interface is accessible during foo_pod operations.  This change also fixed the problem where the Foobar window would disappear behind other windows, even if you didn't have  the Minimize Foobar option enabled.

Also, cancelling during a Send All Playlist operation now cancelled the whole transfer (rather than having to click cancel for each playlist).


From the Readme:
Code: [Select]
Version 0.9.9e - March 6, 2005
*  Fixed a crash when attempting to read 0 byte files on the iPod.  This was seen after updating an iPod Shuffle to the latest firmware.

*  Created a new Advanced tab in the Preferences dialog, and moved Console Debug Mode to it.  Also added items for Alternate Metadata (see below).

*  Added several Global Alternate Metadata fields, located on the Advanced tab in the Preferences.  This allows you to use Foobar TAGZ strings to configure how songs are displayed on the iPod, in a global fashion.  Note that if you have per-file alt metadata (POD_ARTIST, for example), that will be used in peference to the global alt metadata.

*  Added an option on the Main tab to optionally sort the iPod playlist.  This is enabled by default.

*  Made the progress dialogs non-modal.  This means that Foobar's interface will be accessible even during foo_pod operations.  This also fixes a problem where the Foobar window will disappear behind other windows when doing certain operations (like Load iPod Playlist To Foobar).

*  Moved some Component menu items to a new "Maintainance" submenu.

*  If the user clicks Cancel during a Send All Playlists To iPod operation, this will cancel the entire operations, instead of just cancelling the current playlist.

*  When writing to an iPod Shuffle, only warn the user once that it is full.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-07 01:14:17
Quote
Version 0.9.9e (http://www.loodi.com/foo_pod.zip) is now available.
[a href="index.php?act=findpost&pid=279910"][{POST_SNAPBACK}][/a]

it works!

(http://www.tinkafoo.com/temp/foo_pod-tagz.gif)

this rocks, you rock (you never sleep either, that was fast!)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-07 02:50:04
Quote
it works!

(http://www.tinkafoo.com/temp/foo_pod-tagz.gif)

this rocks, you rock (you never sleep either, that was fast!)
[a href="index.php?act=findpost&pid=279917"][{POST_SNAPBACK}][/a]

Thanks!

I actually did this at around 3PM local time, but you're right, I don't sleep!
Title: foo_pod - Foobar2000 meets the iPod
Post by: jcarbonell on 2005-03-07 04:07:46
Quote
Quote
I'm using 0.9.9d.

When I sync w/ "Sync with current playlist," foobar200 crashes when the sync is complete.  It gives me the dump:

Is this always reproducible, and do you know if any previous versions work?  Previous versions are available at http://www.loodi.com/foo_pod_<version>.zip (http://www.loodi.com/foo_pod_&lt;version&gt;.zip) (that is an underscore between foo_pod and <version>). 

For example, http://www.loodi.com/foo_pod_0.9.9c.zip (http://www.loodi.com/foo_pod_0.9.9c.zip)
[a href="index.php?act=findpost&pid=279872"][{POST_SNAPBACK}][/a]


It's always reproducible w/ 9.9.d.  It is also not reproducible w/ 9.9.e.  Did you do an analysis of the stack trace to see what was dying?

(I didn't try 9.9.c, since 9.9.e doesn't seem to have the bug)
Title: foo_pod - Foobar2000 meets the iPod
Post by: jcarbonell on 2005-03-07 04:25:09
Quote
Quote
I'm using 0.9.9d.

When I sync w/ "Sync with current playlist," foobar200 crashes when the sync is complete.  It gives me the dump:

Is this always reproducible, and do you know if any previous versions work?  Previous versions are available at http://www.loodi.com/foo_pod_<version>.zip (http://www.loodi.com/foo_pod_&lt;version&gt;.zip) (that is an underscore between foo_pod and <version>). 

For example, http://www.loodi.com/foo_pod_0.9.9c.zip (http://www.loodi.com/foo_pod_0.9.9c.zip)
[a href="index.php?act=findpost&pid=279872"][{POST_SNAPBACK}][/a]



Actually, I was looking at the stack traces that foobar catches, it seems that there are three crashes.  It seems that I picked the weirdest one to initially report.  This snippet occurs more often than the one that I originally posted:

(I've seen this crash about 3-4 times)

Code: [Select]
Stack dump analysis:
Address: 7C910D5Ch, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 77C2C2DEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C3h)
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12070h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C78h)
Address: 013DCA88h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E6038h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013DA443h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F884Fh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E6018h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D983Dh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F87E5h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E5FF8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D92F8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F8770h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E5FD8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D8B78h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F8710h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E8256h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F8A75h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013BC127h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA6DCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA6C8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA50Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 7C9140C0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlDetermineDosPathNameType_U" (+00000721h)
Address: 013FAA74h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 013FA8DCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA97Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FAA7Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9ACh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9DCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9E8h, location: "foo_pod", loaded at 013B0000h - 01448000h


Here's the third one (this occurred just once, just like the first one I reported):

Code: [Select]
Stack dump analysis:
Address: 7C910D5Ch, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 77C2C2DEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C3h)
Address: 77C2C2E3h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C8h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12070h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C78h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12070h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C78h)
Address: 013D4AE7h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D4ADFh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D4ADFh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D4ADFh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E638Bh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D9865h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F87E5h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E5FF8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D92F8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F8770h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E5FD8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D8B78h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F8710h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E8256h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F8A75h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013BC127h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA6DCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA6C8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA50Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 7C9140C0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlDetermineDosPathNameType_U" (+00000721h)
Address: 013FAA74h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 013FA8DCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA97Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FAA7Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9ACh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9DCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9E8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 77E7610Ch, location: "RPCRT4", loaded at 77E70000h - 77F01000h
Symbol: "NdrTypeFlags" (+000003E4h)
Address: 77E76115h, location: "RPCRT4", loaded at 77E70000h - 77F01000h
Symbol: "NdrTypeFlags" (+000003EDh)
Address: 77E76098h, location: "RPCRT4", loaded at 77E70000h - 77F01000h
Symbol: "NdrTypeFlags" (+00000370h)
Address: 77E760A4h, location: "RPCRT4", loaded at 77E70000h - 77F01000h
Symbol: "NdrTypeFlags" (+0000037Ch)
Address: 01785AB9h, location: "foo_ui_columns", loaded at 01770000h - 017A7000h
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-07 05:34:57
Quote
Actually, I was looking at the stack traces that foobar catches, it seems that there are three crashes.  It seems that I picked the weirdest one to initially report.  This snippet occurs more often than the one that I originally posted:

(I've seen this crash about 3-4 times)

Are these crash dumps from 0.9.9d or e?  I don't have the necessary file for debugging 0.9.9d handy, although I could recreate it if necessary.  But if 0.9.9e fixed your problem (or at least you aren't experiencing it any more), then I'll wait to see if it happens in the future.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-07 09:10:35
Quote
It apparently works for most people, but I tried it out and it didn't work at all for me...
[a href="index.php?act=findpost&pid=279908"][{POST_SNAPBACK}][/a]

OT: What exactly doesn't work for you? Here with winXP I just had to:

1) Copy foo_playcount.dll to the component folder
2) Copy the sqlitle.dll into main foobar2000 folder
3) Start foobar2000, but the first time it didn't work, everything was grey.
4) Restart fb2k again and I could hit 'test' under playcount preferences and it worked. Everything has being since updated with playcounts.

I don't know much more about the plugin but if you have any question and I can help, go ahead
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-07 12:43:47
(one thing about using strings as global alternate metadata)

If you have a string return nothing, it's not the same as leaving the entry blank (disabling it). Here's how I found out:

I never use the %composer% tag (except in a roundabout way when I'm transferring compilation discs with this latest version of foo_pod.)  When an %album artist% tag exists, I'll copy %album artist% to Artist, and %artist% to Composer. If there's no %album artist% altogether, I'll just copy all the tags normally. So I came up with this for Composer:

Code: [Select]
$if(%album artist%,%artist%,%composer%)

Since most of my files don't have a %composer% tag, the iPod returns a "?" in the Composer menu. When I select it, it lists all the artists from all the tracks that are not on compilation discs (and that's most of my collection).

That's when it dawned on me "Oh, 'blank to disable'.. Since I can't leave it blank, I'll just remove %composer% from the string."

Code: [Select]
$if(%album artist%,%artist%,)

The question mark went away! So to prevent them from showing up when transferring files without proper tags, here's my attempt at a catch-all:

Title: foo_pod - Foobar2000 meets the iPod
Post by: jcarbonell on 2005-03-07 12:48:14
Quote
Quote
Actually, I was looking at the stack traces that foobar catches, it seems that there are three crashes.  It seems that I picked the weirdest one to initially report.  This snippet occurs more often than the one that I originally posted:

(I've seen this crash about 3-4 times)

Are these crash dumps from 0.9.9d or e?  I don't have the necessary file for debugging 0.9.9d handy, although I could recreate it if necessary.  But if 0.9.9e fixed your problem (or at least you aren't experiencing it any more), then I'll wait to see if it happens in the future.
[a href="index.php?act=findpost&pid=279967"][{POST_SNAPBACK}][/a]


All of these crashes are w/ 0.9.9d.  (BTW, foo_pod is much better than iTunes.)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-08 05:12:34
Quote
(one thing about using strings as global alternate metadata)

If you have a string return nothing, it's not the same as leaving the entry blank (disabling it). Here's how I found out:

<snip>

Quote
But here's something you wouldn't notice otherwise: When you load iPod playlists into Foobar and check their tags, Foobar is reporting them as having a blank Composer entry. (Since foo_pod doesn't edit files, I'm assuming that it's getting this data from the iTunesDB and not directly from the tags themselves.) Therefore when you have a string return nothing, it doesn't disable the tag (it's not the same as leaving it blank). But as long as it fixes the question mark problem, I'm happy! 
[a href="index.php?act=findpost&pid=280062"][{POST_SNAPBACK}][/a]

I guess I didn't consider that situation - I'm just running the TAGZ string operation and setting the metadata to the results.  And by setting the metadata, this is really temporary metadata only - it is never written to a file, and it will be replaced by the real file's metadata if you force a reload from the file. 

As for the empty metadata, I can go either way - either just store the results of the TAGZ string, or ensure it is non-empty before creating the metadata item.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ElBooto on 2005-03-09 02:08:26
Quote
When you load iPod playlists into Foobar and check their tags, Foobar is reporting them as having a blank Composer entry.
[a href="index.php?act=findpost&pid=280062"][{POST_SNAPBACK}][/a]


I've seen the same behaviour after running masstagger scripts, that is blank fields appearing in the database. It seems Foobar will not write these blank fields out to a file though, so even if foo_pod would want to write this metatdata to a file the blank fields are still harmless. As an aside, this is why you can't just add a 'various' tag to a file, you must do 'various=something'.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-09 09:56:20
@Aero: Do you still have problems with mod foo_playcount.dll? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-09 11:05:27
Hi,

I'm planning to buy an ipod shuffle for my girlfriend who already uses foobar2000. Sorry if this has already been asked but does foo_pod support the 'autofill' feature?
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-09 12:34:34
Quote
As for the empty metadata, I can go either way - either just store the results of the TAGZ string, or ensure it is non-empty before creating the metadata item.
[a href="index.php?act=findpost&pid=280279"][{POST_SNAPBACK}][/a]

I'm leaning toward ensuring that they're non-empty. On the off-chance that somebody wants to count the number of %such and such% tags in the iTunesDB, not knowing that most of them are empty might skew their results. That's the only reason I can think of.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-09 16:46:05
Quote
@Aero: Do you still have problems with mod foo_playcount.dll? 
[a href="index.php?act=findpost&pid=280550"][{POST_SNAPBACK}][/a]

Yes, I have never been able to get it to work.  From looking at the source code, it wouldn't work as-is with foo_pod anyway, so I haven't put a lot of work into figuring out why the playcount isn't working.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-09 17:03:24
Quote
I'm planning to buy an ipod shuffle for my girlfriend who already uses foobar2000. Sorry if this has already been asked but does foo_pod support the 'autofill' feature?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=280558")

It doesn't have the OttoFill feature in there yet, but it won't take too much work to finish it.  A quick and dirty way to do it run Delete All iPod Music, then load a playlist in Foobar, randomize it (Playlist->Sort->Randomize), select the first 150-300 songs or so, and right click Send Files To iPod.

I also have a Shuffle, and one thing I have been meaning to implement is an iPod -> iPod Shuffle variation of OttoFill.  The idea here is that you could plug in both your iPod and iPod Shuffle, select a playlist on the iPod (including smart playlists) or just select all files, and foo_pod would randomly copy files directly from the iPod to the Shuffle.

One interesting thing I have done with my Shuffle is I have copied a stripped down and compressed (with [a href="http://upx.sourceforge.net/]UPX[/url]) version of Foobar to the Shuffle.  Then I have an AutoRun.inf file on the Shuffle that sets the drive icon to a picture of a Shuffle, and when you double click on the drive, it automatically launches Foobar.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-09 17:12:26
Quote
From looking at the source code, it wouldn't work as-is with foo_pod anyway, so I haven't put a lot of work into figuring out why the playcount isn't working.
[a href="index.php?act=findpost&pid=280652"][{POST_SNAPBACK}][/a]

Damn, it seems that I'll never have playcount sync between fb2k and ipod.... 

BTW, thanks for the info on the foo_pod shuffle support
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2005-03-09 23:44:59
Quote
Version 0.9.9e - March 6, 2005
*  Added an option on the Main tab to optionally sort the iPod playlist.  This is enabled by default.[a href="index.php?act=findpost&pid=279910"][{POST_SNAPBACK}][/a]

What is it using to sort the playlist? could it use the cfgvar from CORE/Adding New Files/Sort Incoming Files By? or have its own cfgvar? because it isn't sorting my multi disc albums correctly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2005-03-10 00:01:11
Quote
Version 0.9.9e (http://www.loodi.com/foo_pod.zip) is now available.

The major addition to this version is the concept of global alternate metadata.  This allows you to set alternate metadata for all songs without having to actually add a POD_* metadata item to each song.  Note that if a song has POD_* metadata, it is used in preference to the global alternate metadata.  These settings are on the new Advanced preferences tab.


Great update

+R
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-10 02:54:30
Quote
Quote
Version 0.9.9e - March 6, 2005
*  Added an option on the Main tab to optionally sort the iPod playlist.  This is enabled by default.[a href="index.php?act=findpost&pid=279910"][{POST_SNAPBACK}][/a]

What is it using to sort the playlist? could it use the cfgvar from CORE/Adding New Files/Sort Incoming Files By? or have its own cfgvar? because it isn't sorting my multi disc albums correctly.
[a href="index.php?act=findpost&pid=280806"][{POST_SNAPBACK}][/a]

It is a cfg_var, but there currently isn't a public interface in the foo_pod Preferences for changing it.  There used to be a textbox that you could set the sort format, but I took it out when the Main Preferences tab got too crowded.  Now that some space has been freed up by the Advanced tab, I'll put it back in for the next release.

It uses "%ARTIST% - %ALBUM% - $num(%TRACKNUMBER%,3) - %TITLE%" to sort the playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-10 15:19:57
possible bug: read-only files freak out the iPod, and foo_pod doesn't alter file attributes on the fly.

edit: After re-testing this, I found out that there's not a problem with read-only files. There's one album that my iPod won't let me upload in its entirety. If I upload all the tracks at once, the iPod menus will freak out (for example, the Artist menu will not be shown in alphabetical order, and will display multiples). If I upload the album one track at a time, disconnecting after each one, the iPod menus won't freak out until after I have uploaded all of the tracks. It doesn't matter how many I upload at once, and it doesn't matter what order I upload them! Once I get that last file on there, it goes screwy.

But I can transfer those exact same files with iTunes just fine. ..and all at once.
Title: foo_pod - Foobar2000 meets the iPod
Post by: arty on 2005-03-10 16:01:37
Hiya, great plugin for foobar which I and my little brother have been using with our iPods for years

My other brother has just got in on the act and bought himself a 30GB iPod Photo  He also uses foobar and I've set up foo_pod for him; he's successfully transferred music to his iPod and is pretty happy with it.

However, as he has a Photo he's wanting to know if it's possible to transfer album cover art across in foo_pod. I had a look in the options and couldn't see a way of doing it. He's tried doing it with iTunes and it seemed to work through that (I don't touch iTunes so I'm not certain how it worked) but he'd really rather stick to the one program for transferring music to his iPod.

I personally suspect that iTunes reads embedded JPEGs in ID3v2 tags, which I believe foobar doesn't support natively. However, would it be possible to add this feature to foo_pod through some method of selecting a JPEG for each album as you transfer it across? I'm not sure exactly how it'd work but it'd be a nice feature and make him very happy.

Thanks for a superb plugin

arty
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-10 17:59:37
Quote
However, as he has a Photo he's wanting to know if it's possible to transfer album cover art across in foo_pod. I had a look in the options and couldn't see a way of doing it. He's tried doing it with iTunes and it seemed to work through that (I don't touch iTunes so I'm not certain how it worked) but he'd really rather stick to the one program for transferring music to his iPod.

At present, foo_pod lacks this capability. How to do it has been figured out, more or less, but there's some limitations that make actually doing it a bit difficult.

Quote
I personally suspect that iTunes reads embedded JPEGs in ID3v2 tags, which I believe foobar doesn't support natively.[a href="index.php?act=findpost&pid=281003"][{POST_SNAPBACK}][/a]

And there's the limitation, pretty much. In order for foo_pod to implement something like this at present, it'd have to have ID3v2 reading code built into it in order to get the JPG/PNG out of the tag with possibly an option to read JPGs in the same folder if somebody happens to be using that system (Windows Media Player and several other programs store album art in folder.jpg, in the same folder as the song/album).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-10 18:02:47
Quote
possible bug: read-only files freak out the iPod, and foo_pod doesn't alter file attributes on the fly.

edit: After re-testing this, I found out that there's not a problem with read-only files. There's one album that my iPod won't let me upload in its entirety. If I upload all the tracks at once, the iPod menus will freak out (for example, the Artist menu will not be shown in alphabetical order, and will display multiples). If I upload the album one track at a time, disconnecting after each one, the iPod menus won't freak out until after I have uploaded all of the tracks. It doesn't matter how many I upload at once, and it doesn't matter what order I upload them! Once I get that last file on there, it goes screwy.

But I can transfer those exact same files with iTunes just fine. ..and all at once.
[a href=\"index.php?act=findpost&pid=280993\"][{POST_SNAPBACK}][/a]
Make a copy of the iTunesDB file from the iPod just before and after you load that last file on there and it goes all wonky. Send it to me, and I'll take a gander at it, see if there's anything obvious about what's up there.

Just make sure that you have a copy of the iTunesDB when it works and a copy of the iTunesDB when it goes screwy. From those I should be able to spot the problem. Maybe.
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2005-03-10 18:12:22
Quote
Now that some space has been freed up by the Advanced tab, I'll put it back in for the next release.[a href="index.php?act=findpost&pid=280847"][{POST_SNAPBACK}][/a]
Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: arty on 2005-03-10 19:30:02
Quote
And there's the limitation, pretty much. In order for foo_pod to implement something like this at present, it'd have to have ID3v2 reading code built into it in order to get the JPG/PNG out of the tag with possibly an option to read JPGs in the same folder if somebody happens to be using that system (Windows Media Player and several other programs store album art in folder.jpg, in the same folder as the song/album).
[a href="index.php?act=findpost&pid=281043"][{POST_SNAPBACK}][/a]


Well, I use a folder.jpg system with my albums in combination with the foo_ui_e_albumart component, so if that would be an option that would be great. My brother has no desire to start using ID3v2 album cover art tags in particular, he's only been using that method to get it to work with iTunes. I'm sure he'd be far happier to use folder.jpg files for his albums if there was some way those could work with foo_pod and thus his iPod Photo

arty
Title: foo_pod - Foobar2000 meets the iPod
Post by: Ralluph on 2005-03-10 23:47:00
I have an iPod mini (1st version, not the new model) and the latest firmware. I'm running the most recent version of foo_pod. On my mini I like the setting to hear the click of the scrollwheel through my headphones and not through the internal speaker. The feature to custimise this was introduced in the last firmware release.

Everytime I do a sync current playlist or sync all playlists the setting for the click is set back to its default value of 'headphones'. Does someone experience the same inconvenience? I was wondering if this strange behaviour could be caused by foo_pod. I did not yet test with iTunes, since I uninstalled this program because foo_pod fulfills all my needs.

Are the global iPod settings stored in the iTunesDB as well? Or are they stored separately on my mini? In the XML dump of the DB I can find nothing about global settings. Is it possible foo_pod can corrupt the setting of my click?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-10 23:55:27
Quote
Are the global iPod settings stored in the iTunesDB as well? Or are they stored separately on my mini? In the XML dump of the DB I can find nothing about global settings. Is it possible foo_pod can corrupt the setting of my click?
[a href="index.php?act=findpost&pid=281118"][{POST_SNAPBACK}][/a]

At present, I don't think we've ever seen the iPod store settings in the iTunesDB file. I find it unlikely that this is what is happening.

One obvious way to test would be to sync the thing, make a copy of the iTunesDB file before unplugging it. Then unplug it, change the setting, verify that it works. Plug it back in and make another copy of the iTunesDB file. Then run a bit for bit comparison (command line, use the cmp program) and see if there's any differences. There shouldn't be.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-11 00:45:56
Quote
And there's the limitation, pretty much. In order for foo_pod to implement something like this at present, it'd have to have ID3v2 reading code built into it in order to get the JPG/PNG out of the tag with possibly an option to read JPGs in the same folder if somebody happens to be using that system (Windows Media Player and several other programs store album art in folder.jpg, in the same folder as the song/album).
[a href="index.php?act=findpost&pid=281043"][{POST_SNAPBACK}][/a]

That is how I would probably do it - search the folder containing the song for the album art.  I don't know if there is a utility to extract album art from an ID3v2 tag, but there should be.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jayzer on 2005-03-11 02:32:31
Just posting to say that foo_pod rocks my socks. Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-11 07:24:19
Quote
edit: After re-testing this, I found out that there's not a problem with read-only files. There's one album that my iPod won't let me upload in its entirety. If I upload all the tracks at once, the iPod menus will freak out (for example, the Artist menu will not be shown in alphabetical order, and will display multiples). If I upload the album one track at a time, disconnecting after each one, the iPod menus won't freak out until after I have uploaded all of the tracks. It doesn't matter how many I upload at once, and it doesn't matter what order I upload them! Once I get that last file on there, it goes screwy.

But I can transfer those exact same files with iTunes just fine. ..and all at once.
[a href="index.php?act=findpost&pid=280993"][{POST_SNAPBACK}][/a]

Okay, there's nothing actually wrong with the files you sent me themselves, here's what I think is going on.

Aero: foo_pod, at the moment, doesn't rebuild the Type 52 indexes in the master playlist, right? I think this is suddenly very important to do so, or to remove those type 52 mhod's entirely when writing the iTunesDB. In the file he sent me, the only really important difference was that foo_pod stuck the final track at the top of the list of mhits while iTunes stuck it at the bottom. Sticking it at the top would make those indexes all wrong and cause what he's seeing, more or less. Dumping those indexes should solve the problem, or we can add code to rebuild them entirely now that we know how they work (it's documented in the wiki).

This will only be an issue if the user ever uses iTunes to sync and then comes back and tries to use foo_pod later. If the user uses foo_pod from scratch, never touching iTunes, he'll not see it occur.


Another minor, unrelated, nitpick is that foo_pod is writing a blank Type 12 MHOD (Composer) in most of his tracks. Might be a good idea to test for blank strings and avoid writing the MHOD entirely.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-11 10:19:36
Quote
Okay, there's nothing actually wrong with the files you sent me themselves, here's what I think is going on. (stuff)
[a href="index.php?act=findpost&pid=281170"][{POST_SNAPBACK}][/a]

Sorry for butting into a conversation between you and Aero (can you really do that on the internet?), but I did a little google search for "ipod "type 100"" and found that they're only referenced in playlist entries. If that's the case, should I get rid of my "recently uploaded" and "unheard" smart playlists? Because those songs will obviously be in both of them.

Quote
Another minor, unrelated, nitpick is that foo_pod is writing a blank Type 12 MHOD (Composer) in most of his tracks. Might be a good idea to test for blank strings and avoid writing the MHOD entirely.

Ah! We were wondering that earlier, thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-11 14:43:19
Quote
Sorry for butting into a conversation between you and Aero (can you really do that on the internet?), but I did a little google search for "ipod "type 100"" and found that they're only referenced in playlist entries.

Google has led you wrong!

There's two types of type 100 MHOD's. There's one after each MHIP, and there's one in each playlist that defines the column display ordering/size used by iTunes for that playlist.

However, I did make a mistake too. The Library Playlist's indexes I was talking about are type 52 MHODs, not type 100. My bad. It was late and I was tired.

The type 52 MHODs are in the main library playlist (the first playlist in the iTunesDB, which contains every song) and they define the order of the entries in those Music menus (Artist, Album, Song, Genre, Composer). These are basically referencing the MHIT by location (the first mhit in the file is number 0, the second is number 1, etc), so if foo_pod sticks one at the beginning, then all of those indexes are suddenly wrong, and what you get in the music menus will be chaos, essentially.

You can deal with this one of two ways:
1. Delete the type 52 mhods. The iPod will figure it out on the fly, but it's a bit slower this way.
2. Run a sort on the data in memory and build your own indexes from it. This offers possibilities like ignoring "A, An, The" and also ignoring case (which the iPod does *not* do by default) and so on. You could even allow the user to sort the menus themselves if you cared to write an interface to allow it.

For the latest info on what we know about the iTunesDB, here's a link to the wiki: http://www.ipodlinux.org/ITunesDB (http://www.ipodlinux.org/ITunesDB)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-11 18:01:30
First of all, can either Otto or quazi send me the iTunesDB so I can take a look at it for myself?

Quote
Okay, there's nothing actually wrong with the files you sent me themselves, here's what I think is going on.

Aero: foo_pod, at the moment, doesn't rebuild the Type 52 indexes in the master playlist, right? I think this is suddenly very important to do so, or to remove those type 52 mhod's entirely when writing the iTunesDB. In the file he sent me, the only really important difference was that foo_pod stuck the final track at the top of the list of mhits while iTunes stuck it at the bottom. Sticking it at the top would make those indexes all wrong and cause what he's seeing, more or less. Dumping those indexes should solve the problem, or we can add code to rebuild them entirely now that we know how they work (it's documented in the wiki).

This will only be an issue if the user ever uses iTunes to sync and then comes back and tries to use foo_pod later. If the user uses foo_pod from scratch, never touching iTunes, he'll not see it occur.

I almost have the code for creating Type 52 MHODs complete, but it needs more work.  I will probably just strip the Type 52's from iTunesDB for now.

Quote
Another minor, unrelated, nitpick is that foo_pod is writing a blank Type 12 MHOD (Composer) in most of his tracks. Might be a good idea to test for blank strings and avoid writing the MHOD entirely.
[a href="index.php?act=findpost&pid=281170"][{POST_SNAPBACK}][/a]

I'm not sure this is a problem.  An empty Composer string is not necessarily the same thing as no Composer.  The reason that the Composer string is empty is that quazi is using the global alt. metadata feature, and his TAGZ string to generate the Composer often returns an empty string.  So foo_pod is really just setting the information that the user requested.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-11 19:18:47
Quote
First of all, can either Otto or quazi send me the iTunesDB so I can take a look at it for myself?

I've forwarded the PM quazi sent me to you.

Quote
I almost have the code for creating Type 52 MHODs complete, but it needs more work.  I will probably just strip the Type 52's from iTunesDB for now.

Yeah, that's what I figured would be simplest.

Quote
I'm not sure this is a problem.  An empty Composer string is not necessarily the same thing as no Composer.  The reason that the Composer string is empty is that quazi is using the global alt. metadata feature, and his TAGZ string to generate the Composer often returns an empty string.  So foo_pod is really just setting the information that the user requested.
[a href="index.php?act=findpost&pid=281294"][{POST_SNAPBACK}][/a]

True, I only mentioned it because I noticed it had a blank mhod string. 1 character of 0x0000. It's not a problem, just a nitpick. The upshot of doing so would be to insert a blank row in the Composer list on the iPod, I think. Still, it might be a good idea to change iPodDB to prevent blank mhod strings from being inserted entirely, since other apps might break from trying to parse 'em. iTunes doesn't seem to have an issue with it, as such, but it won't write out a blank mhod either (unless it gets one from the iTunesDB generated by foo_pod).
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-12 10:58:50
Quote
For the latest info on what we know about the iTunesDB, here's a link to the wiki: http://www.ipodlinux.org/ITunesDB (http://www.ipodlinux.org/ITunesDB)
[a href="index.php?act=findpost&pid=281249"][{POST_SNAPBACK}][/a]

oh my. Until I work up enough courage to mess with that, I'll just sit here and play with TAGZ strings:

add this to the "Artist" metadata setting to sort albums by year:
Code: [Select]
[[$right(%date%,2)-]%album%]

(http://www.tinkafoo.com/temp/ipod-by-year.jpg)

issues:
-- You'd have to re-upload everything to get the full effect. (In order for this to work like it shoud, it would require a firmware upgrade.)
-- It works best if you navigate to Artist first then Album.
-- The 2-digit year brings back the Y2K bug (2000+ albums come first), but the 4-digit year takes up too much space.
-- Sgt. Pepper's came before Magical Mystery Tour. (It's gonna be tough since I don't like putting letters (ex- 1967b) in my date fields.)
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-13 16:37:18
Quote
It doesn't have the OttoFill feature in there yet, but it won't take too much work to finish it. 

Cool

Quote
One interesting thing I have done with my Shuffle is I have copied a stripped down and compressed (with UPX (http://upx.sourceforge.net/)) version of Foobar to the Shuffle.  Then I have an AutoRun.inf file on the Shuffle that sets the drive icon to a picture of a Shuffle, and when you double click on the drive, it automatically launches Foobar.
[a href="index.php?act=findpost&pid=280655"][{POST_SNAPBACK}][/a]

Is there anyway I could also do this for my fb2k? (I don't know anything about programming...)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-03-13 18:27:12
2 questions:  First, is there any way to use Play Counts with foo_pod and the iPod?  (in other words, can I get my "Recently Played" and "Top 25" playlists back?)  Second, why does my 'On-the-Go" playlist on my iPod get cleared whenever I do a sync?  Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-13 19:55:11
Quote
Is there anyway I could also do this for my fb2k? (I don't know anything about programming...)

I'd send mine to you, except that it died with my Shuffle (it still played music, but wouldn't connect to the computer.  BTW, this seems like it might be a common design or manufacturing flaw...just look at all of the posts on the Apple iPod Shuffle discussion forum (http://discussions.info.apple.com/webx?14@952.4MTVaIvgRHT.1@.68a37f6c)...).

Creating the autorun.inf file is pretty simple - there is some rather wordy documentation here (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/autorun/autoplay_cmds.asp), but it is just a text file with a few sections. 

When I recreate the file, I'll post it and some instructions.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jcarbonell on 2005-03-14 01:45:38
Quote from: Aero,Mar 7 2005, 12:34 AM


Are these crash dumps from 0.9.9d or e?  I don't have the necessary file for debugging 0.9.9d handy, although I could recreate it if necessary.  But if 0.9.9e fixed your problem (or at least you aren't experiencing it any more), then I'll wait to see if it happens in the future.
[a href="index.php?act=findpost&pid=279967"][{POST_SNAPBACK}][/a]
[/quote]
[/quote]

I tried sync'ing my Ipod w/ 0.9.9e and it crashed.  (It's pretty reproducible)  Here's the crash dump:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7C910F29h
Access violation, operation: read, address: 00000000h
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/Sync Current Playlist"
This is the first crash logged by this instance.
Code bytes (7C910F29h):
7C910EE9h:  E8 14 D2 FF FF E9 32 FE FF FF 0F B7 0E 03 C8 81
7C910EF9h:  F9 00 FE 00 00 0F 87 45 FD FF FF 80 7D 14 00 0F
7C910F09h:  85 25 8B 03 00 8A 46 05 24 10 A8 10 88 47 05 0F
7C910F19h:  85 92 00 00 00 8B 4E 0C 8D 46 08 8B 10 89 4D 0C
7C910F29h:  8B 09 3B 4A 04 89 55 14 0F 85 EA 0F 00 00 3B C8
7C910F39h:  0F 85 E2 0F 00 00 56 53 E8 4E FC FF FF 8B 45 14
7C910F49h:  8B 4D 0C 3B C1 89 01 89 48 04 74 38 8A 46 05 A8
7C910F59h:  04 0F 85 A9 8B 03 00 0F B7 0E 8B 45 10 01 08 0F
Stack (0012E6BCh):
0012E69Ch:  00CADCDC 7C9C93A0 77F643DD 7C9C93A0
0012E6ACh:  00000004 00000000 00CAD1E8 00000000
0012E6BCh:  00890000 02638930 00000000 0012E79C
0012E6CCh:  7C910D5C 02640EF8 00000000 0012E780
0012E6DCh:  00000000 00000096 02638938 00000003
0012E6ECh:  01C30000 028C15A8 02638958 02638B58
0012E6FCh:  00890178 0012E7CC 7C910E91 02638960
0012E70Ch:  7C91056D 026438B8 028C15B0 02624FE0
0012E71Ch:  01C30000 02689318 00890198 00890178
0012E72Ch:  00000010 028C10A0 008901B0 02624978
0012E73Ch:  00000028 02684E70 00000018 026C1A70
0012E74Ch:  0012E820 02648F08 00890000 7C910E91
0012E75Ch:  00890608 7C91056D 00890000 00000000
0012E76Ch:  01010060 00000004 00000000 00000000
0012E77Ch:  0101E7C4 00001F5D 0012E6E0 0012E2E0
0012E78Ch:  0012E7D4 7C90EE18 7C910570 00000001
0012E79Ch:  0012E7E4 77C2C2DE 00890000 00000000
0012E7ACh:  02638938 00000096 02638938 00000003
0012E7BCh:  0012E7A0 7C90EE18 0012E810 77C35C94
0012E7CCh:  0012E7B0 0012E2E0 0012E810 77C35C94
Registers:
EAX: 02648400, EBX: 00890000, ECX: 00000000, EDX: 472C4400
ESI: 026483F8, EDI: 02638910, EBP: 0012E6C8, ESP: 0012E6BC
Crash location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+0000049Ah)

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                         loaded at 7C800000h - 7C8F4000h
USER32                           loaded at 77D40000h - 77DD0000h
GDI32                            loaded at 77F10000h - 77F56000h
ole32                            loaded at 774E0000h - 7761D000h
ADVAPI32                         loaded at 77DD0000h - 77E6B000h
RPCRT4                           loaded at 77E70000h - 77F01000h
msvcrt                           loaded at 77C10000h - 77C68000h
COMCTL32                         loaded at 773D0000h - 774D2000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 763B0000h - 763F9000h
SHELL32                          loaded at 7C9C0000h - 7D1D4000h
foo_abx                          loaded at 008D0000h - 008DC000h
foo_ac3                          loaded at 008E0000h - 008F3000h
foo_albumlist                    loaded at 00900000h - 0090B000h
foo_ape                          loaded at 00910000h - 0092F000h
foo_apl                          loaded at 00930000h - 0093A000h
foo_bitcompare                   loaded at 00940000h - 00949000h
foo_burninate                    loaded at 00950000h - 0095C000h
VERSION                          loaded at 77C00000h - 77C08000h
foo_cdda                         loaded at 00960000h - 0096E000h
foo_clienc                       loaded at 00970000h - 0097B000h
foo_console                      loaded at 00980000h - 00987000h
foo_convolve                     loaded at 00990000h - 009DF000h
foo_dbsearch                     loaded at 009E0000h - 009F8000h
foo_diskwriter                   loaded at 00A00000h - 00A12000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_dsp_crossfade                loaded at 00AA0000h - 00AA7000h
foo_dsp_crossfeed                loaded at 00AB0000h - 00AB6000h
foo_dsp_extra                    loaded at 00AC0000h - 00AD5000h
foo_dsp_nogaps                   loaded at 00AE0000h - 00AE7000h
foo_dsp_pause                    loaded at 00AF0000h - 00AF7000h
foo_dsp_skip_silence             loaded at 00B00000h - 00B07000h
foo_dsp_soundtouch               loaded at 00B10000h - 00B1B000h
MSVCP60                          loaded at 76080000h - 760E5000h
foo_dynamics                     loaded at 00B20000h - 00B27000h
foo_faac                         loaded at 00B30000h - 00B63000h
foo_festalon                     loaded at 00B70000h - 00CAE000h
foo_flac                         loaded at 00CB0000h - 00CCC000h
foo_flaccer                      loaded at 00CD0000h - 00CE6000h
foo_freedb                       loaded at 00CF0000h - 00D1E000h
WS2_32                           loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_history                      loaded at 00D20000h - 00D30000h
foo_id3v2                        loaded at 00D30000h - 00D60000h
foo_infobox                      loaded at 00D60000h - 00D73000h
foo_input_std                    loaded at 00D80000h - 00E1E000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
foo_lpac                         loaded at 00E20000h - 00E27000h
lpac_codec_api                   loaded at 00E30000h - 00E3A000h
lpaccodec                        loaded at 00E40000h - 00E69000h
foo_masstag                      loaded at 01090000h - 010A4000h
foo_matroska                     loaded at 010B0000h - 010F8000h
foo_mod                          loaded at 01100000h - 01109000h
BASS                             loaded at 01110000h - 0116A000h
foo_monkey                       loaded at 01170000h - 0118C000h
foo_mpeg4u                       loaded at 01190000h - 011B9000h
foo_nez                          loaded at 011C0000h - 011EB000h
foo_null                         loaded at 011F0000h - 011F7000h
foo_ofr                          loaded at 01200000h - 01206000h
OptimFROG                        loaded at 01210000h - 0123C000h
foo_oggpreview                   loaded at 01250000h - 01351000h
foo_output_std                   loaded at 01360000h - 01369000h
foo_out_dsound_ex                loaded at 01370000h - 01379000h
DSOUND                           loaded at 73F10000h - 73F6C000h
foo_out_ks                       loaded at 01390000h - 0139B000h
SETUPAPI                         loaded at 77920000h - 77A13000h
foo_playlistgen_ex               loaded at 013A0000h - 013AF000h
foo_pod                          loaded at 013B0000h - 01448000h
OLEAUT32                         loaded at 77120000h - 771AC000h
foo_podclienc                    loaded at 01450000h - 01469000h
foo_podtranscoder                loaded at 01570000h - 01580000h
foo_pphsresample                 loaded at 01580000h - 01590000h
foo_psf                          loaded at 01590000h - 0163C000h
foo_read_http                    loaded at 01640000h - 01649000h
foo_rgscan                       loaded at 01650000h - 0165D000h
foo_scroll                       loaded at 01660000h - 01666000h
foo_search_ex                    loaded at 01670000h - 01678000h
foo_shn                          loaded at 01680000h - 0168F000h
foo_sid                          loaded at 01690000h - 016D7000h
foo_spc                          loaded at 016E0000h - 016F1000h
foo_speex                        loaded at 01710000h - 01728000h
foo_tfmx                         loaded at 01730000h - 01739000h
foo_tta                          loaded at 01740000h - 01749000h
foo_tta_old                      loaded at 01750000h - 01759000h
foo_uie_volume                   loaded at 01760000h - 0176A000h
foo_ui_columns                   loaded at 01770000h - 017A7000h
foo_ui_std                       loaded at 017B0000h - 017C7000h
foo_unpack                       loaded at 017D0000h - 01801000h
foo_utils                        loaded at 01810000h - 01821000h
foo_vis_manager                  loaded at 01830000h - 01838000h
foo_vis_simple_spectrum          loaded at 01840000h - 0184A000h
foo_vorbisenc                    loaded at 01850000h - 01961000h
foo_wavpack                      loaded at 01970000h - 01982000h
foo_wma                          loaded at 01990000h - 019AA000h
WMVCore                          loaded at 086C0000h - 08904000h
WMASF                            loaded at 070D0000h - 0710B000h
foo_xa                           loaded at 019B0000h - 019BF000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                           loaded at 77050000h - 77115000h
browseui                         loaded at 75F80000h - 7607C000h
browselc                         loaded at 20000000h - 20012000h
imagehlp                         loaded at 76C90000h - 76CB8000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 7C910D5Ch, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+000002CDh)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 77C2C2DEh, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "free" (+000000C3h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C35C94h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "except_handler3" (+00000000h)
Address: 77C12070h, location: "msvcrt", loaded at 77C10000h - 77C68000h
Symbol: "__non_rtti_object::`vftable'" (+00000C78h)
Address: 013E6C45h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013DFDC0h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F9684h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E6C18h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013DEF42h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F95E7h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E6BF8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D9EA5h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F9490h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E6B78h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013D9725h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F9430h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013E8DC6h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013F9795h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013BC787h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA6FCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA6E8h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA52Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 7C9140C0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlDetermineDosPathNameType_U" (+00000721h)
Address: 013FAA94h, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 013FA8FCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA99Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FAA9Ch, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9CCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FA9FCh, location: "foo_pod", loaded at 013B0000h - 01448000h
Address: 013FAA08h, location: "foo_pod", loaded at 013B0000h - 01448000h

Version info:
foobar2000 v0.8.3
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-14 15:29:10
Quote
http://jevy.org/mediawiki/index.php/Foo_pod (http://jevy.org/mediawiki/index.php/Foo_pod)
[{POST_SNAPBACK}][/a]

Well, the Wiki's up and running but people are needed to update and maintainers for it.  Aero: How do you feel about moving updates and the changelog there?

Is there any objections about the Wiki?
[a href="index.php?act=findpost&pid=262753"][{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=260933")

The link is down.

Also, the wiki is suffering from the same problems the thread itself is.. I wasn't aware that anyone was working on documentation until after I finished my own:

[a href="http://www.tinkafoo.com/log/foo_pod.html]http://www.tinkafoo.com/log/foo_pod.html[/url]

Mine is unfortunately not a wiki, but I'll be more than happy to combine it with everyone else's documentation. Since I grabbed most of the info from the changelog (and a few pieces from the thread), it's not really my information to begin with.

(oh, and Aero, you misspelled "maintenance (http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=maintenance&x=0&y=0)") 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-15 08:20:33
This is going to break the hearts of any iPod lover, but I've got bad news to report. 

I was on my way out to the O'Reilly ETech Conference (BTW, anyone who is out in San Diego, give me a call in room 407 and we'll get together for some beers on me...or at least on my room tab!), and I apparently left my iPod Photo 60GB in the seat back, along with a pair of Etymotic ER-6i headphones!  Yeah...so that kind of sucked...no word from the airline yet, but I'm guessing they are gone for good.  Thus, the need for lots of company sponsored beer... :/
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-15 09:43:06
Quote
This is going to break the hearts of any iPod lover, but I've got bad news to report.
[a href="index.php?act=findpost&pid=282346"][{POST_SNAPBACK}][/a]

Sorry to hear that 
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-15 09:58:51
Aero,

Fermion has just released a foo_quicktag mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=31803&view=findpost&p=282218) which uses the same sqlite approach as foo_playcount mod (from kode54), which stores the tags in a DB (sql) instead of the file itself. This one is mainly use for rating files and the main feature is that it'll not change your file everytime you rate it.

I don't know if this is also unusable as you said foo_playcount mod is to be used by foo_pod, but just wanted to let you know that finally it's there: playcounts and ratings in fb2k don't changes your files. Hopefully, even if sync can't be achieved between the ipod and fb2k for those fields, at least no more duplicates problem in your ipod
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-15 15:17:39
Quote
Fermion has just released a foo_quicktag mod (http://www.hydrogenaudio.org/forums/index.php?showtopic=31803&view=findpost&p=282218) which uses the same sqlite approach as foo_playcount mod (from kode54), which stores the tags in a DB (sql) instead of the file itself. This one is mainly use for rating files and the main feature is that it'll not change your file everytime you rate it.

I don't know if this is also unusable as you said foo_playcount mod is to be used by foo_pod, but just wanted to let you know that finally it's there: playcounts and ratings in fb2k don't changes your files. Hopefully, even if sync can't be achieved between the ipod and fb2k for those fields, at least no more duplicates problem in your ipod
[a href="index.php?act=findpost&pid=282357"][{POST_SNAPBACK}][/a]

I'll take a look at it and see if it will work.  As long as it handles an external component (i.e. foo_pod) setting the rating, then foo_playcount storing the new rating, it should work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-15 22:23:39
Quote
... bad news ... iPod Photo 60GB ... Etymotic ER-6i ... no word from the airline ... gone for good
[a href="index.php?act=findpost&pid=282346"][{POST_SNAPBACK}][/a]

My hair stood on end just reading that.

..keep bugging the airline. 

Quote
I'll take a look at it and see if it will work.  As long as it handles an external component (i.e. foo_pod) setting the rating, then foo_playcount storing the new rating, it should work.
[a href="index.php?act=findpost&pid=282425"][{POST_SNAPBACK}][/a]

Not that it's a bad thing, but this will be the first time that foo_pod will depend on another plugin for some of its functionality. It shouldn't be a bad thing, because this looks like the best option right now.

It makes me think of how (at least for my copy of Foobar) foo_uie_tabs, foo_uie_albumlist, foo_uie_albumart, and foo_uie_trackinfo all depend on foo_ui_columns. Sure, there's the occasional compatibility problem during an upgrade, but if everything's running good, it's a nice system.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-15 22:49:56
Quote
Quote
... bad news ... iPod Photo 60GB ... Etymotic ER-6i ... no word from the airline ... gone for good
[a href="index.php?act=findpost&pid=282346"][{POST_SNAPBACK}][/a]

My hair stood on end just reading that.

..keep bugging the airline. 

Unfortunately, United isn't being too helpful.  They won't even call back unless they find it. 

Quote
Quote
I'll take a look at it and see if it will work.  As long as it handles an external component (i.e. foo_pod) setting the rating, then foo_playcount storing the new rating, it should work.
[a href="index.php?act=findpost&pid=282425"][{POST_SNAPBACK}][/a]

Not that it's a bad thing, but this will be the first time that foo_pod will depend on another plugin for some of its functionality. It shouldn't be a bad thing, because this looks like the best option right now.

It makes me think of how (at least for my copy of Foobar) foo_uie_tabs, foo_uie_albumlist, foo_uie_albumart, and foo_uie_trackinfo all depend on foo_ui_columns. Sure, there's the occasional compatibility problem during an upgrade, but if everything's running good, it's a nice system.
[a href="index.php?act=findpost&pid=282537"][{POST_SNAPBACK}][/a]

foo_pod won't actually do anything with foo_playcount, so it won't be required or even known to foo_pod.  I will just set metadata as I'm already doing, and foo_playcount will take care of writing it to its database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: dsuliman on 2005-03-16 03:28:27
How about the COPY_TO_PORTABLE functionality? If I use foo_quicktab_mod, it will give the metadata to be __COPY_TO_PORTABLE. Will you able to to provide this fuctionality as well? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-16 16:48:53
Quote
How about the COPY_TO_PORTABLE functionality? If I use foo_quicktab_mod, it will give the metadata to be __COPY_TO_PORTABLE. Will you able to to provide this fuctionality as well?  
[a href="index.php?act=findpost&pid=282602"][{POST_SNAPBACK}][/a]

I'm not sure that I'm following you - you want foo_pod to support __COPY_TO_PORTABLE in additional to COPY_TO_PORTABLE?
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2005-03-16 20:44:16
I think what hes saying, is if he were to use foo_quicktag_mod it would be called __copy_to_portable instead of copy_to_portable, and he is wondering if foo_pod will support this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-03-16 22:11:31
The idea of putting the last 2 digits of the year before the album is great.
I just switched from Ephpod, and I think foo_pod rocks.
Unfortunately because foobar won't read .lnk (windows shortcuts), I've had to change my 'folder full of .m3u links' approach to syncing the pod that worked so well with Ephpod. I always found playlists named Artist-Year-Album the easiest way to navigate, so -

Sorry if this is more of a foo tagger question, but could someone tell me the string
for renaming the albums in the ipod db to 

xxxxx-yy-zzzzzzzzzzzzzzzz

where xxxxx is the first 5 characters of the album artist
-should be blank if its comp. cd.
-also should remove string 'The ' from the front of the artist if present.

yy = last two digits of year

zzzzzzzzzzzzz = as much of the album string that can be fit on.

I ask this because if you have a great number of V/A CDs, it can be hard to browse through the artist list, and the album list is sorted by year regardless of artist !

Last question - To listen to my ipod on my work mac rig (I'm an audio engineer) - I have no choice but to listen to it thru itunes. Arrogant piece of software that it is, it rewrites the itunes db with the album tag info (cos it knows best !!!) - whenever it plays any file, which screws the db when you listen to the pod undocked.  I have tried permission-locking the db as root user - no dice.

Instead of / As well as using the above format for the album name, is it possible to get foo_pod to create a playlist in the ipod for each album on the ipod using a custom string syntax? If you copy .m3u files onto the ipod itself, and you rebuild the database with foo_pod, can it read .m3u's on the ipod ?

Sorry for being an irritating noob ! Hope someone can shed some light.
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2005-03-16 22:25:44
Quote
Unfortunately because foobar won't read .lnk (windows shortcuts)
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=282805")

have you tried foo_lnk, it resolves shell links, [a href="http://pelit.koillismaa.fi/plugins/search.php?allsearch=foo_lnk]http://pelit.koillismaa.fi/plugins/search....lsearch=foo_lnk[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: dsuliman on 2005-03-17 01:54:15
Quote
I think what hes saying, is if he were to use foo_quicktag_mod it would be called __copy_to_portable instead of copy_to_portable, and he is wondering if foo_pod will support this.


Yup that's what I meant. I need this since foo_quicktag_mod will create __copy_to_portable instead of copy_to_portable.

Thanks in advance. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-17 04:50:33
Quote
-should be blank if its comp. cd.
[a href="index.php?act=findpost&pid=282805"][{POST_SNAPBACK}][/a]

If the artist section is sometimes blank, that means some of them will start with artist and some of them won't, and that means it won't sort right.

How do you check if it's a compilation CD? %various% = 1, %album artist% = "VA", VA or OST in the album name (or path)? Do you use %album artist% and %artist%, %artist% and %track artist% (or %composer%) or just %artist% without a track artist?

therefore, this ain't right yet:
Code: [Select]
(code removed to alleviate confusion)
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-03-17 08:49:57
Thanks very much for this !
I mistated myself - the artist field in my tags is never 'blank', I'm just saying for albums where each track has a different artist, it could 'appear' blank, - or VA would do. The test for this is %various% = 1 then, is it ?
I don't knowingly use %track artist% %album artist% or %composer%. Only different info in each artist tag.

I just don't want it to come up under the artist from Track #1 for instance, like some programs do. Is it possible to say - insert string 'VA' for artist, if
%various% = 1

And hunted, thanks for that foo_lnk info, I'll give it a try. Is there any way I can get foobar to edit my playlist names to the format above ?
I take it the answer to foo_pod creating new ipod playlists for each album is no ?

thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-17 12:26:15
Quote
The test for this is %various% = 1 then, is it ?
I don't knowingly use %track artist% %album artist% or %composer%. Only different info in each artist tag.

I just don't want it to come up under the artist from Track #1 for instance, like some programs do. Is it possible to say - insert string 'VA' for artist, if
%various% = 1[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=282918")

Adding %various% = 1 is one way to do it.

I personally use %album artist% because of the [a href="http://wiki.hydrogenaudio.org/index.php?title=Foobar2000_Encouraged_Tag_Standards#ALBUM_ARTIST]Foobar Encouraged Tag Standards[/url].

For more details, I recently wrote up a naming scheme tutorial.. specifically check out my naming schemes (http://www.tinkafoo.com/log/masstagger.html#design2) and see if they make sense.

If you decide to go that route, this would be the metadata setting you're looking for:

Code: [Select]
$left($if(%album artist%,$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4)),%album artist%),$if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%)),5)[[-$right(%date%,2)]-%album%]


If you don't want to use %album artist%, and would rather use %various%, this would work:

Code: [Select]
$if($stricmp(1,%various%),VA,$left($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%),5))[[-$right(%date%,2)]-%album%]


Quote
Is there any way I can get foobar to edit my playlist names to the format above ?

Check out the Advanced Playlist Generator (http://www.hydrogenaudio.org/forums/index.php?showtopic=20500). I've never used it, so I'm not quite as familiar with that as, say TAGZ strings.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-03-17 14:57:46
once again - thanks for your help. Gratefully received.
Like you say, it nearly works, but creates one album per track on each VA album !
It occurs to me that you aren't talking about ID3v2 tags, are you ?
[I don't think that spec has anything other than artist, album, title].
Do I need to use APEv2 to make this work ? My files only have ID3v1/2 right now.
Although I'm thinking of using APE to RG them.

Is there a TAGZ string that would be clever enough to do what I'm after based only on info available in ID3v2 ? eg (if an album has more than one artist, then show blank field). Strikes me you'd be the guy to come up with it if there were
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-17 15:50:24
Quote
Like you say, it nearly works, but creates one album per track on each VA album !
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=282993")

You are putting this under "Album", right?

I used the first string (the 'album artist' one)  [a href="http://www.tinkafoo.com/temp/prefs-new-option.gif]here[/url] (ignore the other fields, they don't matter for this), and these albums (http://www.tinkafoo.com/temp/test-albums.gif) came out looking like this (http://www.tinkafoo.com/temp/ipod-string-test.jpg) (the bottom two).

It doesn't matter what type of tags you use.  (If you're wondering, I use ID3v2.)

To make 'various' albums return a blank field, remove the bold part from whichever string you're using:

$left($if(%album artist%,$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4)),%album artist%),$if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%)),5)[[-$right(%date%,2)]-%album%]
( EDIT: note the bold comma right before ",5)[[" )

or

$if($stricmp(1,%various%),VA,$left($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%),5))[[-$right(%date%,2)]-%album%]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-17 16:35:59
Quote
Quote
I think what hes saying, is if he were to use foo_quicktag_mod it would be called __copy_to_portable instead of copy_to_portable, and he is wondering if foo_pod will support this.


Yup that's what I meant. I need this since foo_quicktag_mod will create __copy_to_portable instead of copy_to_portable.

Thanks in advance. 
[a href="index.php?act=findpost&pid=282838"][{POST_SNAPBACK}][/a]

Is there any particular reason why foo_quicktag_mod won't create COPY_TO_PORTABLE, instead of __COPY_TO_PORTABLE?  My first reaction is that I probably will not add support for __COPY_TO_PORTABLE, unless there is a good reason why the 2 underscores are there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-17 16:58:38
Quote
Is there any particular reason why foo_quicktag_mod won't create COPY_TO_PORTABLE, instead of __COPY_TO_PORTABLE?  My first reaction is that I probably will not add support for __COPY_TO_PORTABLE, unless there is a good reason why the 2 underscores are there.
[a href="index.php?act=findpost&pid=283019"][{POST_SNAPBACK}][/a]


Afaik, all metadata stored in the database is called via title formatting with a double underscore. i.e. %__fieldname% inserts tech info field named <fieldname> like this

bitrate is returned via %__bitrate%, extrainfo is returned via %__extrainfo% and so on...

As playcount mod and quicktag mod both uses sql are available as techinfo, and so you can call them via titleformatting using the double underscore. that's why if you use quicktag mod to write copy to portable tag, it'll in fact write %__copy_to_portable%, idem for rating.

Hope it helps 
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-03-17 17:24:14
Quote
Quote
Like you say, it nearly works, but creates one album per track on each VA album !
[a href="index.php?act=findpost&pid=282993"][{POST_SNAPBACK}][/a]

You are putting this under "Album", right?

It doesn't matter what type of tags you use.  (If you're wondering, I use ID3v2.)

To make 'various' albums return a blank field, remove the bold part from whichever string you're using:

$left($if(%album artist%,$if($strcmp($left(%album artist%,4),The ),$right(%album artist%,$sub($len(%album artist%),4)),%album artist%),$if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%)),5)[[-$right(%date%,2)]-%album%]

or

$if($stricmp(1,%various%),VA,$left($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%),5))[[-$right(%date%,2)]-%album%]
[a href="index.php?act=findpost&pid=283004"][{POST_SNAPBACK}][/a]


Yep - I'm putting it all under album. I've tried every variant with and without the bold sections. Every time it makes an album for EVERY artist on the album
It is trimming all 'The ' strings though

The best I've had - it made one album, but called it

',5[Syntax Err.......'

any ideas ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-17 17:28:57
Quote
Afaik, all metadata stored in the database is called via title formatting with a double underscore. i.e. %__fieldname% inserts tech info field named <fieldname> like this

bitrate is returned via %__bitrate%, extrainfo is returned via %__extrainfo% and so on...

As playcount mod and quicktag mod both uses sql are available as techinfo, and so you can call them via titleformatting using the double underscore. that's why if you use quicktag mod to write copy to portable tag, it'll in fact write %__copy_to_portable%, idem for rating.
[a href="index.php?act=findpost&pid=283025"][{POST_SNAPBACK}][/a]

Yeah, that is how the TAGZ interface works, to get the tech info.  I guess what I really meant was why is COPY_TO_PORTABLE saved as technical info, instead of metadata.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-17 17:34:48
Quote
Yep - I'm putting it all under album. I've tried every variant with and without the bold sections. Every time it makes an album for EVERY artist on the album
It is trimming all 'The ' strings though

The best I've had - it made one album, but called it

',5[Syntax Err.......'

any ideas ?
[a href="index.php?act=findpost&pid=283036"][{POST_SNAPBACK}][/a]

I've tried removing tags one by one from a test track, adding various=1 to test the other string, and everything is working fine for me.

Copy your string right out of the foo_pod window and paste it here. I want to see if your copy is somehow different from mine. (If it's coming up with ",5[", that sounds like your missing a parenthesis somewhere. You're not typing these in by hand are you?)

Other than that, can anyone else test this for us? (You don't have to copy files to your iPod to do it either, just use the masstagger rename window -- without pressing 'Run' of course.)
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-03-17 18:15:42
Quote
Quote
Yep - I'm putting it all under album. I've tried every variant with and without the bold sections. Every time it makes an album for EVERY artist on the album
It is trimming all 'The ' strings though

The best I've had - it made one album, but called it

',5[Syntax Err.......'

any ideas ?
[a href="index.php?act=findpost&pid=283036"][{POST_SNAPBACK}][/a]

I've tried removing tags one by one from a test track, adding various=1 to test the other string, and everything is working fine for me.

Copy your string right out of the foo_pod window and paste it here. I want to see if your copy is somehow different from mine. (If it's coming up with ",5[", that sounds like your missing a parenthesis somewhere. You're not typing these in by hand are you?)



I'm copying it straight off the screen  - I've tried it MANY times

Custom playlist generator might be a better way to go...

BTW - I tried Prefs -> Main -> Send / Sync Playlist Settings
ticked Create iPod Playlists - and entered

[[$right(%date%,2)-]%album%]

in the custom format.

Each playlist is now called  rnd_xxxxxx [artist name etc]

.... huh ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-17 18:54:53
Quote
I'm copying it straight off the screen  - I've tried it MANY times
[a href="index.php?act=findpost&pid=283052"][{POST_SNAPBACK}][/a]

you know why it didn't work? *I* didn't test my bold edits!

try this one (sorry about all the confusion!):
Code: [Select]
$left($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%),5)[[-$right(%date%,2)]-%album%]
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-03-17 19:48:59
Quote
Yeah, that is how the TAGZ interface works, to get the tech info.  I guess what I really meant was why is COPY_TO_PORTABLE saved as technical info, instead of metadata.[a href="index.php?act=findpost&pid=283039"][{POST_SNAPBACK}][/a]
Because metadata is saved to files, but tech info is not.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-18 04:46:03
Quote
Quote
Yeah, that is how the TAGZ interface works, to get the tech info.  I guess what I really meant was why is COPY_TO_PORTABLE saved as technical info, instead of metadata.[a href="index.php?act=findpost&pid=283039"][{POST_SNAPBACK}][/a]
Because metadata is saved to files, but tech info is not.
[a href="index.php?act=findpost&pid=283067"][{POST_SNAPBACK}][/a]

I would expect that people would specifically want the COPY_TO_PORTABLE saved to disk so it would be serialized.  But it isn't any extra work for me to check the tech info COPY_TO_PORTABLE (and IPOD), so I'll add that for the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mhuxley on 2005-03-18 06:12:13
hi all,

first of all, foo_pod rocks, nice work !

i recently bought an ipod shuffle,
the only real problem i have with it is a lack of any 'album seek' functionality.
i was browsing my ipod thru explorer and noticed the two text files (Track_Order.txt, Shuffle_Order.txt) which i understand are created by foo_pod.
i came up with the idea of editing the shuffle list to include only the first track from each album (instant album seek !!!) but it doesn't work
Whats the deal here, can i make this work ?

thanx in advance

Matt
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-18 06:39:18
Quote
first of all, foo_pod rocks, nice work !

Thanks!

Quote
i recently bought an ipod shuffle,
the only real problem i have with it is a lack of any 'album seek' functionality.
i was browsing my ipod thru explorer and noticed the two text files (Track_Order.txt, Shuffle_Order.txt) which i understand are created by foo_pod.
i came up with the idea of editing the shuffle list to include only the first track from each album (instant album seek !!!) but it doesn't work
Whats the deal here, can i make this work ?
[a href="index.php?act=findpost&pid=283205"][{POST_SNAPBACK}][/a]

Those files are written when foo_pod writes the iPod Shuffle's database, but are there only for reference; they aren't used by foo_pod.

Currently, there is no way to manually set the shuffle order - and even if you could, the iPod Shuffle can and does automatically reshuffle songs on its own.  For example, when you have listened to all of the songs in shuffle mode, the iPod Shuffle will re-randomize the shuffle list.  Also, quickly pressing the play key 3 times will reshuffle the list. 

I'm more than willing to try different ideas to enhance the iPod Shuffle's shortcomings, but I don't think your album seek idea would work.  I guess the best you can do is transfer the songs in album order, then use the non-shuffle mode for playback.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-03-18 17:18:40
Quote
Quote
I'm copying it straight off the screen  - I've tried it MANY times
[a href="index.php?act=findpost&pid=283052"][{POST_SNAPBACK}][/a]

you know why it didn't work? *I* didn't test my bold edits!

try this one (sorry about all the confusion!):
Code: [Select]
$left($if($strcmp($left(%artist%,4),The ),$right(%artist%,$sub($len(%artist%),4)),%artist%),5)[[-$right(%date%,2)]-%album%]

[a href="index.php?act=findpost&pid=283061"][{POST_SNAPBACK}][/a]


Sorry - no dice -  still one album entry for EVERY artist on a VA album.
When I think about it - I don't understand how it COULD work. My files only have
ID3 (v1+2). They only contain, %artist%  %album% and %title% fields. How can the TAGZ string know whether a track is from a various album, without comparing it to all the other tracks on the same album ?

I think I might have to get into the EPG, or rewrite APEv2 tags on all albums with %album artist% and %various% tags completed.

Thanks very much for your help though

Clunes
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-18 18:42:53
Quote
Sorry - no dice -  still one album entry for EVERY artist on a VA album.[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=283320")

That is what happens when you browse by artist first, as opposed to album first. (Unless you've got a mutant iPod that goes Album / Artist /  tracks.)

Have you tried moving the artist tag to Composer, and putting VA in Artist? (just for foo_pod, don't actually change your tags):

Metadata strings
-------------------
Artist: VA
Composer: %artist%

But even this will only work for your compilation albums. In order for foo_pod to tell the difference bewteen VA-albums and non-VA, use either %album artist% or %various%=1 and check for it with $if statements. (Check the [a href="http://www.tinkafoo.com/log/foo_pod.html#metadata]other examples[/url] on my website.)

And yes, trust me, ID3v2 *will* take an %album artist% tag!  (but APEv2 will update 100x faster)
Title: foo_pod - Foobar2000 meets the iPod
Post by: jaypaulw on 2005-03-18 21:26:28
I know this is probably considered a waste of a post, but I just have to say that after using foo_pod for quite some time, I am extremely happy with it.

Keep up the excellent work!

JP
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-19 23:02:17
Quote
I know this is probably considered a waste of a post, but I just have to say that after using foo_pod for quite some time, I am extremely happy with it.

Keep up the excellent work!
[a href="index.php?act=findpost&pid=283410"][{POST_SNAPBACK}][/a]

Nope - not a wasted post...I always appreciate praise! 


Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-21 07:36:02
Verison 0.9.9f (http://www.loodi.com/foo_pod.zip) is now available

This is an interesting release, but more on that in a little bit.

The biggest fix is that I fixed quazi's bug (discussed here (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=281170)).  Also, I added support for __COPY_TO_PORTABLE and (re)added the textbox in the Main foo_pod Preferences to set the "Load iPod Songs To Foobar2000 Playlist" sorting format.  I also fixed the problem with writing empty metadata to the iPod database.

But the fun feature is a side-effect of the change I did for quazi's bug.  As Otto discovered, there is a special (http://www.ipodlinux.org/ITunesDB#Library_Playlist_Index) item in the iTunesDB file that controls how the browse menus (Artist/Album/Song Name/Genre/Composer) are sorted.  I had written some code to do this, but never quite got it finished until quazi's bug popped up. 

So tonight, I finished adding support for controlling the sort order of these menus.  And unlike how iTunes does it, I do it strictly in an alphabetical order.  So previously, "The Doors" would appear before "Mojo Nixon", since the "The" in "The Doors" was ignored, and 'D' comes before 'M'.  But with the current foo_pod sorting, "The Doors" will appear along with the rest of the "The"s in the 'T's.  I don't have support for any other sorting orders yet, but it would be easy to add them. 

The real benefit of using doing the sort in foo_pod instead of on the iPod is that the browse menus are much, much faster now - especially when you first undock your iPod and try to display all of the artists, for example.  If you want to test this out, there is are 2 menu items under the Maintenance  menu called "Add iPod Browse Menu Speedup" and "Remove iPod Browse Menu Speedup" (quazi - either one should fix your problem, BTW).  These are only temporary, and the next time foo_pod writes to the database, it will use the setting found in the Advanced tab of the foo_pod Preferences.  Feel free to test this feature out - I have only been testing it for an hour or so, but worst case, you will be able to go back to the old iPod sorting mechanism by unchecking the option on the Advanced tab and using "Remove iPod Browse Menu Speedup".


Also, I added section in the Readme if you are interested in donating a little money in support of foo_pod.  This is all I'm going say about this...if you are interested, check it out.


From the Readme:
Code: [Select]
Version 0.9.9f - March 21, 2005
*  Fixed a potentially serious bug that occured when using both foo_pod and iTunes to add songs to the same iPod.
  Symptoms of this problem are weird (missing or out of order) items in the Artist/Album/Genre browse menus on the iPod.

*  Along with the aforementioned fix, added *experimental* support for super fast iPod browse menus.  There are two ways to use/test this feature.  Under the Maintenance menu, there are "Add iPod Browse Menu Speedup" and "Remove iPod Browse Menu Speedup".
  These will allow you to test out this feature, as well as removing it is you discover that it causes problems.  Note that adding or deleting songs will undo this.  To make your choice permanent, there is a checkbox called "Speed up iPod Browse Menu" on the Advanced tab of the foo_pod Preferences.

  One interesting side-effect of this feature is that instead of the lexigraphical order used by iTunes (e.g. "The Doors" is listed before "Duran Duran", foo_pod currently uses a strictly alphanumeric sort).  There may be alternate sorting schemes available in future versions.
 
*  Fixed the alternate metadata behavior so that empty or "?" strings aren't written to the iPod database.

*  Added support for "COPY_TO_PORTABLE" as a technical info metadata item (i.e. accessible in TAGZ as %__COPY_TO_PORTABLE%).

*  Added support for choosing the sorting format used for "Load iPod Songs To Foobar2000 Playlist", on the Main Preference tab.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-21 11:12:11
Quote
The biggest fix is that I fixed quazi's bug (discussed here (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=281170)).
[a href="index.php?act=findpost&pid=284058"][{POST_SNAPBACK}][/a]

I'm flattered!

But I fixed that original problem by starting from scratch -- deleting all songs, nuking the database and reuploading everything.

Everything is fine now, but this happens when I try the menu speedup option,

for example, this album is already on my iPod:
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-03-21 12:09:56
Just tried 0.9.9f.  When I attempt to "Sync Current Playlist" on my library, I get a dialogue that says "Unable to read the iTunesDB file" and then "If you have a new or freshly formatted iPod, this is not an error"  My iPod is neither new nor freshly formatted, and everything was working ok with 0.9.9e.

Oh I forgot to mention that that at the end of my last sync (0.9.9e), fb2k crashed.  Tried rebuilding database with 0.9.9f, but it doesn't seem to like my iPod anymore.  I can't find any way to fix this with foo_pod...and I can't find 0.9.9e anywhere.

(Although my iPod still works fine.)

Edit: ok i got it working, for some reason my drive letter had changed. bleh.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-03-21 14:29:10
Quote
Just tried 0.9.9f.  When I attempt to "Sync Current Playlist" on my library, I get a dialogue that says "Unable to read the iTunesDB file" and then "If you have a new or freshly formatted iPod, this is not an error"  My iPod is neither new nor freshly formatted, and everything was working ok with 0.9.9e.
I don't have this problem with 0.9.9f: perhaps something's wrong with your db...

HTH.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-21 15:37:33
Quote
Everything is fine now, but this happens when I try the menu speedup option,

for example, this album is already on my iPod:
(http://www.tinkafoo.com/temp/orb-ultraworld.gif)

Without browse menu speedup (the temporary option):
(http://www.tinkafoo.com/temp/speedup-off.jpg)

With browse menu speedup:
(http://www.tinkafoo.com/temp/speedup-on.jpg)

When I navigate Music / Artist / Album, the tracks for each album are out of order. When I navigate Music / Songs, that list is in order. When I disable menu speedup, everything is fine.

This might have something to do with it: Right after I upgraded to this latest version, Foobar abended while my iPod was mounting. When I restarted it, and ejected the iPod, none of the songs showed up and I had to rebuild the database. *shrug*

It almost looks like your tracknumbers are messed up in the iPod database.  The browse menu speedup shouldn't have any effect beyond the Artist/Album/Genre/Composer/Song Name level, but I'll have to admit that I haven't fully tested (or even fully understand) how they work on the iPod.

If you would, please send me the before and after databases, so I can check them out.  Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-21 17:18:53
Quote
If you would, please send me the before and after databases, so I can check them out.  Thanks!
[a href="index.php?act=findpost&pid=284189"][{POST_SNAPBACK}][/a]

I sent you a PM of the files directly from the iPod itself. I was originally going to send you the XML conversions, but they came out identical for some reason. As they are now, at least they're different filesizes (376kb vs 385kb).
Title: foo_pod - Foobar2000 meets the iPod
Post by: ZhuGeLiang on 2005-03-21 19:53:58
With the browse menu speedup my tracks are out of order too (Music/Artist/Album).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-21 22:22:54
Hmm...ok, I'll take a look at the files quazi sent and see what is going on.

Edit: Just to be clear, I can reproduce this as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-03-22 10:26:06
Sorry, if this has already been adressed. Is there some way to reduce the thread priority when transcoding to my iPod? I would like to be able to continue listening to music uninterrupted and be able to do other stuff with my system. I do it when using the diskwriter, but haven't figured it out for foo_pod yet.

Thanks for the help and as an aside, I was anti-iPod until I found this component and then I went out and got one the next day. lol

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-22 18:03:47
Quote
Sorry, if this has already been adressed. Is there some way to reduce the thread priority when transcoding to my iPod? I would like to be able to continue listening to music uninterrupted and be able to do other stuff with my system. I do it when using the diskwriter, but haven't figured it out for foo_pod yet.

I don't explicitly set the priority, so it is inherited from Foobar.  When I want to transcode in the background, I usually set Foobar's priority to Below Normal, and any subsequent encoder tasks will also be Below Normal priority.  Having a user controlled priority for the transcoder would be a good feature to add to foo_pod - I'll make sure I add that for the next version.

Quote
Thanks for the help and as an aside, I was anti-iPod until I found this component and then I went out and got one the next day. lol
[a href="index.php?act=findpost&pid=284449"][{POST_SNAPBACK}][/a]

Cool!  I'm sure Apple will be happy to cut me a commission check for helping to sell iPods! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-03-23 03:01:57
Thank you Aero!

Thanks both for your speedy response, but even more importantly for this great component! Me <3 Aero 

Thanks,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: nologin on 2005-03-23 08:10:54
Great Work, Aero! Foo_pod rocks.
Excellent, fantastic, marvelous... are all adjectives I can think of about your work.

I find out that some songs in my ipod are too soft after Sound Check enabled, could I modify the Sound Check Value by foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-23 19:52:02
Quote
Great Work, Aero! Foo_pod rocks.
Excellent, fantastic, marvelous... are all adjectives I can think of about your work.

Thanks, thanks, and thanks!

Quote
I find out that some songs in my ipod are too soft after Sound Check enabled, could I modify the Sound Check Value by foo_pod?
[a href="index.php?act=findpost&pid=284758"][{POST_SNAPBACK}][/a]

What you want to do is set (or increase) the pre-amp volume slider, found at the bottom of the Main foo_pod Preferences tab.  Personaly, I set it to about 20% in order to boost the volume for ReplayGain/SoundCheck songs to a more normal level.  The next time you save the database (when you add or remove a song, for example), the preamp value will be applied to all songs.


This works on all tracks, although as I was typing this, I thought that adding separate pre-amp sliders for tracks with SoundCheck and those without SoundCheck would be a good idea (not an original idea, though - Foobar already has this feature for ReplayGain).

With separate pre-amp volume controls, you could turn down the volume for songs without SoundCheck (or leave it at 0% and turn up the volume for SoundCheck songs), and get a better balance of volume levels.  I'll add that to the list of things to add/fix for the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zach_smith on 2005-03-23 20:16:28
Having just discovered foo_pod, all I can say is THANKS Aero.  I have beed using it with my Shuffle and am anxious to be able to use the "OttoFill" feature.  Is there any need for help or testing?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-23 21:01:52
Quote
Having just discovered foo_pod, all I can say is THANKS Aero.  I have beed using it with my Shuffle and am anxious to be able to use the "OttoFill" feature.  Is there any need for help or testing?
[a href="index.php?act=findpost&pid=284945"][{POST_SNAPBACK}][/a]

Thanks!

I don't have anything ready to test yet, but since I have so little implemented, the OttoFill feature set is open for suggestions.  I have actually never used iTunes' AutoFill feature, and all I know about it is what I have read and various screenshots.

My idea for the basic OttoFill feature is a small dialog that pops up, with a slider to control what percentage of the iPod Shuffle to use for music.  If you don't do anything, it automatically starts in 10 seconds (I have all of that implemented already).  What I haven't decided is if the songs should come from the currently selected Foobar playlist, or from all open playlists (maybe there could be a checkbox on the OttoFill dialog?). 

One more advanced OttoFill feature I want to implement at some point is the ability to transfer songs directly from a hard drive based iPod to the Shuffle.  That would include some kind of option to choose from all songs, or maybe from a particular playlist/smart playlist.  Depending on how fancy people want it, maybe the OttoFill could run its own smart playlist, so you could select only 4 or 5 star songs, most/least played songs, etc.

Anyway, I'd love to hear what people would want to see in the OttoFill feature.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-24 19:24:11
Quote
Anyway, I'd love to hear what people would want to see in the OttoFill feature.
[a href="index.php?act=findpost&pid=284956"][{POST_SNAPBACK}][/a]

Something like this (except not as ugly)

Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-24 19:55:24
Quote
Something like this (except not as ugly)

Don't worry, I have plenty of experience is creating ugly interfaces!  I am currently working with this dialog design (http://www.loodi.com/OttoFill.png).

Quote
I think of it as pretty basic, "fill (size) from (source) according to (criteria)", but allows for complicated criteria if the need arises.

Size
a slider and a "replace all songs" checkbox (like iTunes, I guess)

I like the "Replace All Songs" checkbox.  I assume that most people will want to completely replace the contents every time, but it isn't much more work to support partial fills as well.  The slider is pretty cut and dry, although in my code, I'm filling the slider with the current free disk space (I'm using my computer's hard drive as the example - I've selected about 50% of the space to use for music, and there is about 35% of the disk currently free).

Quote
Source - pull-down menu:
- current playlist
- entire database
- another iPod

I have the same items here, except I did them as radio buttons (it makes selecting the iPod easier).

Quote
Criteria - options:
- random
- basic Smart Playlist options (by rating, most/least played, etc)
- advanced: TAGZ strings ("OttoFill by Hotness (http://www.hydrogenaudio.org/forums/index.php?showtopic=31287)", anyone?)

I hadn't thought of using TAGZ strings as a filter.  Along with the smart playlist option, it will probably have to wait for a future release, though.

Thanks for your design!  I'll probably use something very similar as soon as I add some of the "criteria" features.

Edit:
Quote
EDIT ..and support for more than just an iPod Shuffle -- I might want to OttoFill to my iPod mini.

Done and done!  OttoFill isn't limited to an iPod Shuffle, although it will only automatically start when transferring to a Shuffle (to prevent accidental wiping of hard drive based iPods).
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-24 20:53:02
Quote
Quote

EDIT ..and support for more than just an iPod Shuffle -- I might want to OttoFill to my iPod mini.

Done and done!  OttoFill isn't limited to an iPod Shuffle, although it will only automatically start when transferring to a Shuffle (to prevent accidental wiping of hard drive based iPods).
[a href="index.php?act=findpost&pid=285273"][{POST_SNAPBACK}][/a]

Sweet! That's the big one I was looking for (otherwise I wouldn't have been able to use anything else).

BTW, I like your slider a lot better -- mine turned out really ugly because I can push Excel VBA Forms only so far..

Did I mention that I didn't get an iPod until three weeks ago, and it was also mainly due to this thread? (You can safely say foo_pod has a cult following)
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-25 22:00:55
I too finally bought an ipod after seeing the progress that foo_pod has made over the past year. If I wasn't going to be able to use my ipod with foobar, there is no way I would have purchased one. Foo_pod has definitely been an awesome plugin. Thanks for all your hard work!

BTW, a new software update was released for the ipod photo today. One of the new features includes a compilation menu. Basically, when activated, any compilation albums that are on the ipod won't show up as individual artists in the "artists" menu, which is easily cluttered due to VA albums. It doesn't seem to work on my ipod, so I'm guessing there is some sort of tag that itunes adds to compilation albums that the ipod detects. Any ideas?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-25 22:32:54
Quote
I too finally bought an ipod after seeing the progress that foo_pod has made over the past year. If I wasn't going to be able to use my ipod with foobar, there is no way I would have purchased one. Foo_pod has definitely been an awesome plugin. Thanks for all your hard work!

Thank you!  You would think that with all of the alternatives to iTunes (not just foo_pod, but GnuPod, Ephpod, ml_ipod, and the various commercial apps) that Apple would take notice and realize that if they opened up the iPod and made it developer friendly, it would benefit them in the long run. 

Quote
BTW, a new software update was released for the ipod photo today. One of the new features includes a compilation menu. Basically, when activated, any compilation albums that are on the ipod won't show up as individual artists in the "artists" menu, which is easily cluttered due to VA albums. It doesn't seem to work on my ipod, so I'm guessing there is some sort of tag that itunes adds to compilation albums that the ipod detects. Any ideas?
[a href="index.php?act=findpost&pid=285554"][{POST_SNAPBACK}][/a]

I don't have an iPod Photo (anymore...  ), but I assume that it is using the compliation bit in the database.  foo_pod currently sets this if the artist is "Various Artists" or there is a metadata item "COMPILATION" in the song.  If you want, try sending a song with either of these set and see if it puts it in the Compilation menu. 

I just chose those 2 things arbritrarily, since I don't use Compliation/Various Artists myself.  Is there a better standard to use instead?  (metadata item "VA", or Album Artist?)
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-25 23:16:29
Quote
I don't have an iPod Photo (anymore...  ), but I assume that it is using the compliation bit in the database.  foo_pod currently sets this if the artist is "Various Artists" or there is a metadata item "COMPILATION" in the song.  If you want, try sending a song with either of these set and see if it puts it in the Compilation menu. 

I just chose those 2 things arbritrarily, since I don't use Compliation/Various Artists myself.  Is there a better standard to use instead?  (metadata item "VA", or Album Artist?)
[a href="index.php?act=findpost&pid=285563"][{POST_SNAPBACK}][/a]


Ah ha... I bet that will do it. I will try it out and let you know.

Do you think it would be possible to detect compilation albums without a special designation, though? For example, foo_columns_ui detects VA albums solely based on whether or not all of the artists for a particular album are the same. Could foo_pod use a similar check, and then when a VA album is discovered, the proper flag is created in the ipod DB?

Oh, and sorry to hear about your ipod photo! I remember reading about that a few weeks ago, but I didn't realize it was you.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-03-25 23:44:51
Quote
Quote
I don't have an iPod Photo (anymore...  ), but I assume that it is using the compliation bit in the database.  foo_pod currently sets this if the artist is "Various Artists" or there is a metadata item "COMPILATION" in the song.  If you want, try sending a song with either of these set and see if it puts it in the Compilation menu. 

I just chose those 2 things arbritrarily, since I don't use Compliation/Various Artists myself.  Is there a better standard to use instead?  (metadata item "VA", or Album Artist?)
[a href="index.php?act=findpost&pid=285563"][{POST_SNAPBACK}][/a]


Ah ha... I bet that will do it. I will try it out and let you know.

Do you think it would be possible to detect compilation albums without a special designation, though? For example, foo_columns_ui detects VA albums solely based on whether or not all of the artists for a particular album are the same. Could foo_pod use a similar check, and then when a VA album is discovered, the proper flag is created in the ipod DB?

Oh, and sorry to hear about your ipod photo! I remember reading about that a few weeks ago, but I didn't realize it was you.
[a href="index.php?act=findpost&pid=285573"][{POST_SNAPBACK}][/a]

Foobar2000 & Columns_UI read "Various Artist" from the "Album Artist" tag in your audio file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-26 00:16:00
Quote
Do you think it would be possible to detect compilation albums without a special designation, though? For example, foo_columns_ui detects VA albums solely based on whether or not all of the artists for a particular album are the same. Could foo_pod use a similar check, and then when a VA album is discovered, the proper flag is created in the ipod DB?

Maybe, although it is easier for foo_columns_ui, since it has all of the information available to it, in memory, all at the same time.  With foo_pod, you might send a song here and there.  Also, I'm not really dealing with album as such.

I guess I could go through all of the songs after they are written, and determine if tracks with the same album have different artists, and mark those as compilations.  Up until now, there wasn't much point in bothering with compilation, since only Smart Playlists used that database field.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-26 00:29:27
Quote
Foobar2000 & Columns_UI read "Various Artist" from the "Album Artist" tag in your audio file.
[a href="index.php?act=findpost&pid=285577"][{POST_SNAPBACK}][/a]

Yeah, I guess I could have just checked for myself (from the default Foobar playlist formating):

Code: [Select]
// check if track belongs to VA album
$if($or($stricmp(%album artist%,VA),$stricmp($left(%album artist%,7),various)),$puts(va,1),)

//if 'album artist' tag is present
$if(%album artist%,
// set 'artist' to VA for VA albums, and to 'album artist' otherwise:
$if($get(va),$puts(artist,VA),$puts(artist,%album artist%))
//if 'artist' is different from 'album artist', append the former to the title
$if($strcmp(%album artist%,%artist%),$puts(title,%title%),
$puts(title,%title% '//' %artist%)),
//no 'album artist' found
$puts(artist,%artist%)$puts(title,%title%)
)


So if I'm reading that right, if ALBUM_ARTIST is "VA" or starts with "Various", it is a compilation.  I'll do that same in the next version of foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-26 01:23:26
Oh... I thought the organization string that I've been using on my collection was from columns_ui, but I must have added it myself. Either way, it is possible to do, and I'd be more than glad to share my organization string. However, this is a small request, and by no means needs to be added to foo_pod. I think I can handle a few extra artists listed on my ipod rather than having you spend the time to code this in to foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ezekiel2517 on 2005-03-26 07:02:05
Hi guys, quick observation regarding automatic playlist creation with transcoded files.

A lot of my mp3s have really messed up id3 tags (didn't start properly tagging till recently), so I usually arrange my mp3s on the ipod by playlist -- a playlist for every album. I drag+drop a folder from my harddisk into foobar with ColumnsUI, and a playlist with the folder title is automatically created. Then, I just use foo_pod's "send all playlists to iPod" feature, and I'm all set. This arragement works really well for me.

One problem I'm having though is when foo_pod runs into a playlist that is filled with files that need to be transcoded into mp3. When foo_pod automatically transcodes them, these transcoded songs are then seperated from the playlist and aren't where they should be when I look for them on the ipod. In order to access these transcoded songs, I need to search for them individually by artist/title whatever; they aren't in the playlists like they are in foo_pod.

I don't know if this is a bug, or if I'm doing something wrong. It's not a big inconveinence by any stretch of the imagination, I just thought I'd bring it to your attention (and if anybody has any ideas for a workaround, so that I can do on-the-fly transcoding with playlists intact,  I'd greatly appreciate it).

Thank you for an otherwise awesome component! I'm not much of an itunes fan, and this meets my needs very nicely.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-26 07:32:57
Quote
So if I'm reading that right, if ALBUM_ARTIST is "VA" or starts with "Various", it is a compilation.  I'll do that same in the next version of foo_pod.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=285587")

It would save me a bit of trouble, but I like being able to configure it with TAGZ strings. On [a href="http://www.tinkafoo.com/log/foo_pod.html#metadata]my current strings[/url] for example, I'm checking for when album artist exists, but isn't equal to VA, do something else (because my collection has different types of compilation discs).

A quick "check for compilation discs" checkbox would make sense along with the encouraged tag standards (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000_Encouraged_Tag_Standards#ALBUM_ARTIST) though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-27 05:12:24
Quote
One problem I'm having though is when foo_pod runs into a playlist that is filled with files that need to be transcoded into mp3. When foo_pod automatically transcodes them, these transcoded songs are then seperated from the playlist and aren't where they should be when I look for them on the ipod. In order to access these transcoded songs, I need to search for them individually by artist/title whatever; they aren't in the playlists like they are in foo_pod.[a href="index.php?act=findpost&pid=285656"][{POST_SNAPBACK}][/a]

Thanks for reminding me of this - the problem of missing transcoded songs in a playlist is a known bug in foo_pod (at least to me).  I looked at fixing it at one point, but it was unusually difficult to fix for some reason, and I eventually forgot about it.  I'll take another look and see if I can do anything with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-27 05:41:42
Quote
Quote
So if I'm reading that right, if ALBUM_ARTIST is "VA" or starts with "Various", it is a compilation.  I'll do that same in the next version of foo_pod.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=285587")

It would save me a bit of trouble, but I like being able to configure it with TAGZ strings. On [a href="http://www.tinkafoo.com/log/foo_pod.html#metadata]my current strings[/url] for example, I'm checking for when album artist exists, but isn't equal to VA, do something else (because my collection has different types of compilation discs).

A quick "check for compilation discs" checkbox would make sense along with the encouraged tag standards (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000_Encouraged_Tag_Standards#ALBUM_ARTIST) though.
[a href="index.php?act=findpost&pid=285659"][{POST_SNAPBACK}][/a]

The compilation bit in the database is either a 0 (for normal tracks) or 1 (for compilations).  So would you want a TAGZ string that was able to return 0 or 1 based on whatever was in the string?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-03-27 14:49:51
How do you:

-delete a playlist off the iPod? (I have a playlist with everything single song on my iPod...which I never ever use and want to get rid of it.  Tried left/right clicking everywhere.)
-prevent the On-the-Go playlist from being deleted whenever you sync?

I just can't find any way to do these 2 things with foo_pod?
'Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-27 17:14:58
Quote
The compilation bit in the database is either a 0 (for normal tracks) or 1 (for compilations).  So would you want a TAGZ string that was able to return 0 or 1 based on whatever was in the string?
[a href="index.php?act=findpost&pid=285933"][{POST_SNAPBACK}][/a]

I'm not too sure what I was getting at. 

I think the best idea is to have a checkbox: "Autodetect compilations based on Album Artist". When this is checked, all tracks with an album artist tag will get the compilation bit. That way it's really simple, but we can still use TAGZ strings when we want to get crazy with it.


Sorry, but I just can't shut up about global metadata.. I don't know about anyone else, but that is the handiest feature in any piece of iPod software! For those of us who didn't want an iPod because it wouldn't let us organize by folder structure, this lets us get in there and do it anyway ..and it's non-destructive! (but anyway..)

Quote
-delete a playlist off the iPod? (I have a playlist with everything single song on my iPod...which I never ever use and want to get rid of it.  Tried left/right clicking everywhere.)
[a href="index.php?act=findpost&pid=286012"][{POST_SNAPBACK}][/a]

foo_pod menu / Playlist Editor / "Remove Playlist" button
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-27 18:07:09
Quote
-prevent the On-the-Go playlist from being deleted whenever you sync?[a href="index.php?act=findpost&pid=286012"][{POST_SNAPBACK}][/a]

You don't. This is not possible. The OTG playlist is a separate file that is basically a list of indexes to the songs in the iTunesDB file. If the iTunesDB file changes (as in during a sync) the iPod itself will delete the OTG files.

During a sync, foo_pod could read the OTG playlists first and convert them into normal iPod playlists. There's functionality in the iPodDB classes to do this. But that's the only way to save 'em, they won't be OTG playlists anymore after it does that.
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-27 18:33:50
Quote
The compilation bit in the database is either a 0 (for normal tracks) or 1 (for compilations).  So would you want a TAGZ string that was able to return 0 or 1 based on whatever was in the string?
[a href="index.php?act=findpost&pid=285933"][{POST_SNAPBACK}][/a]


It would be awesome if it was controlled by a user-customizeable TAGZ string, that way it would work with just about any collection.

In the settings there could be a checkbox for "Use compilation TAGZ" along with a text box that would be activated to enter the appropriate string.

Of course, this assumes that I am understanding everything correctly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-28 02:32:18
Quote
I think the best idea is to have a checkbox: "Autodetect compilations based on Album Artist". When this is checked, all tracks with an album artist tag will get the compilation bit. That way it's really simple, but we can still use TAGZ strings when we want to get crazy with it.

I see - so you would envision it as a textbox where the user could enter their own TAGZ string to determine if a song is part of a compilation, followed by a checkbox that, if checked, would use the default method (ALBUM ARTIST = "VA" or starts with "Various") instead?  That should be pretty easy to hook up...

Quote
Sorry, but I just can't shut up about global metadata.. I don't know about anyone else, but that is the handiest feature in any piece of iPod software! For those of us who didn't want an iPod because it wouldn't let us organize by folder structure, this lets us get in there and do it anyway ..and it's non-destructive! (but anyway..)

Originally, I was planning on adding support for a scriping language, like Lua (http://www.lua.org/about.html).  But TAGZ strings are almost as powerful, and a lot easier to use.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-03-28 07:53:54
Hi Aero, thanks for your great plugin.  I'm another who would not have got an iPod unless this plugin existed.

Anyway, I think I've found a bug in the latest version.  Because I have serveral "Greatest Hits" albums, I've had to use a POD_ALBUM tag to seperate these on the iPod's Albums list.  For eg. "Greatest Hits" by Queen would become "Queen's Greatest Hits".  However, This appears on the iPod as "Queen[SYNTAX ERROR IN FORMATING STRING]".  Obviously the inverted comma is causing problems.  This doesn't happen on normal tag information, only the alternative POD_ tag information.  Should be an easy fix.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-28 10:02:55
Quote
Quote
I think the best idea is to have a checkbox: "Autodetect compilations based on Album Artist". When this is checked, all tracks with an album artist tag will get the compilation bit. That way it's really simple, but we can still use TAGZ strings when we want to get crazy with it.

I see - so you would envision it as a textbox where the user could enter their own TAGZ string to determine if a song is part of a compilation, followed by a checkbox that, if checked, would use the default method (ALBUM ARTIST = "VA" or starts with "Various") instead?  That should be pretty easy to hook up...

I had the idea without the textbox, just a checkbox for compilation checking. I was referring to the TAGZ strings on the global metadata tab. But I think the textbox idea is better though:



Quote
Originally, I was planning on adding support for a scriping language, like Lua (http://www.lua.org/about.html).  But TAGZ strings are almost as powerful, and a lot easier to use.
[a href="index.php?act=findpost&pid=286190"][{POST_SNAPBACK}][/a]

yeah, I think one language is bad enough. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-29 07:37:40
Quote
Hi Aero, thanks for your great plugin.  I'm another who would not have got an iPod unless this plugin existed.

Thanks!

Quote
Anyway, I think I've found a bug in the latest version.  Because I have serveral "Greatest Hits" albums, I've had to use a POD_ALBUM tag to seperate these on the iPod's Albums list.  For eg. "Greatest Hits" by Queen would become "Queen's Greatest Hits".  However, This appears on the iPod as "Queen[SYNTAX ERROR IN FORMATING STRING]".  Obviously the inverted comma is causing problems.  This doesn't happen on normal tag information, only the alternative POD_ tag information.  Should be an easy fix.
[a href="index.php?act=findpost&pid=286240"][{POST_SNAPBACK}][/a]

Hmm...yeah, I can see where could be a problem.  The single quotation mark is used to start a literal string in TAGZ, and without a matching closing single quotation mark, you get the SYNTAX ERROR.

I guess I'll have to escape the strings before running them through the TAGZ processor.  Not only single quotes, but also [ and ]. 

Thanks for finding and reporting this bug!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-29 07:47:02
Quote
Quote
I see - so you would envision it as a textbox where the user could enter their own TAGZ string to determine if a song is part of a compilation, followed by a checkbox that, if checked, would use the default method (ALBUM ARTIST = "VA" or starts with "Various") instead?  That should be pretty easy to hook up...

I had the idea without the textbox, just a checkbox for compilation checking. I was referring to the TAGZ strings on the global metadata tab. But I think the textbox idea is better though:


Well, since I don't usually use compilations, I need feedback from people who do use them. 

I think actually understand want you are looking for now, though.  The checkbox would enable/disable compilation checking completely, so if you didn't want the compilation bit set, you would uncheck the box and the TAGZ formatting string would be ignored.  But if you did want compilation, you would check the box, and foo_pod would use the TAGZ string to determine when a song was a compilation.  By default, I would supply a string that checked ALBUM ARTIST, and if it was "VA" or "Various", it would be considered a compilation.  But the user could change the TAGZ string to their liking (maybe they are non-English speakers, and want to check for "varios artistas" instead).
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-03-29 07:47:56
Quote
Thanks for finding and reporting this bug!
[a href="index.php?act=findpost&pid=286573"][{POST_SNAPBACK}][/a]

No worries!
Title: foo_pod - Foobar2000 meets the iPod
Post by: jayzer on 2005-03-29 08:01:01
Quote
By default, I would supply a string that checked ALBUM ARTIST, and if it was "VA" or "Various", it would be considered a compilation.  But the user could change the TAGZ string to their liking (maybe they are non-English speakers, and want to check for "varios artistas" instead).
[a href="index.php?act=findpost&pid=286575"][{POST_SNAPBACK}][/a]


Well, how about checking just to see if ALBUM ARTIST exists? For my compilations, I use the ALBUM ARTIST tag, but I don't simply put VA or Various Artists in there, I put the name of the Compilation in there and use the Album tag for other information. I realize that's probably not a standard thing, but I hate the idea of having something as boring as Various Artists show up in my playlist or my iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-29 09:07:12
I just used %album artist%=various artist or =name of the main album artist. (i.e. an album where the main artist collaborate/sing/etc... with a lot of different artists in every track).
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-29 17:06:40
Quote
Well, how about checking just to see if ALBUM ARTIST exists?
[a href="index.php?act=findpost&pid=286581"][{POST_SNAPBACK}][/a]

Not everyone uses that the album artist metatag, though. That's why it should be left up to the user to type in the correct TAGZ line, IMO.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jayzer on 2005-03-29 18:22:18
Quote
Not everyone uses that the album artist metatag, though. That's why it should be left up to the user to type in the correct TAGZ line, IMO.
[a href="index.php?act=findpost&pid=286673"][{POST_SNAPBACK}][/a]


True, I was just saying that in response to Aero mentioning that he would only tag something as a compilation if ALBUM ARTIST was equal to VA, etc. I know he said it would be customizable, but my worry is that the contents of my ARTIST ALBUM tags aren't consistent with each other. If we're going to do something like that and it's going to be customizable, I hope there is a way to just say "if ALBUM ARTIST exists, it's a compilation."

edit: I guess I'm just wondering how extensive the comp support is going to be. As long as I can do something like $if(%album artist%, %album artist%, %album%) or whatever, I'll be fine, which is actually what I think I do now. I just hope that doesn't get broken.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-29 19:08:53
Quote
True, I was just saying that in response to Aero mentioning that he would only tag something as a compilation if ALBUM ARTIST was equal to VA, etc. I know he said it would be customizable, but my worry is that the contents of my ARTIST ALBUM tags aren't consistent with each other. If we're going to do something like that and it's going to be customizable, I hope there is a way to just say "if ALBUM ARTIST exists, it's a compilation."

edit: I guess I'm just wondering how extensive the comp support is going to be. As long as I can do something like $if(%album artist%, %album artist%, %album%) or whatever, I'll be fine, which is actually what I think I do now. I just hope that doesn't get broken.
[a href="index.php?act=findpost&pid=286693"][{POST_SNAPBACK}][/a]

I think there is some general confusion (me too!) about how the compilation support works on the iPod, and what will be implemented in foo_pod.

In the database, a song is marked with either a 0 if it is not part of a compilation, or 1 if it is.  Apparently the latest iPod Photo firmware does something special with compilations, so the compilation bit in the database is suddenly important.  If you don't have an iPod that supports the compilation menu, then the whole discussion won't really affect you.

What foo_pod is going to do is instead of hard coding detection of compilations (which is currently incorrectly looking for ARTIST = "Various Artists"), it will add an advanced option to control how the compilation bit is set.

The current plan is add a checkbox that will allow the user to just disable the compilation bit completely.  But if you do want to use compilation, you will check the box, which will enable a textbox that lets you enter a TAGZ string that will, in turn, determine when the compilation bit gets sets.  The default will be something like:

Code: [Select]
$if(
 $or(
   $stricmp(%album artist%,VA),
   $stricmp($left(%album artist%,7),various)
 ),1,0)


So if ALBUM ARTIST = "VA" or starts with "Various", the compilation bit will get set to 1.  Otherwise, it will be 0. 

99% of users will probably be fine with this, but if you want to change it for whatever reason (different language, don't use ALBUM ARTIST, etc.), you can create your own TAGZ string that will return either 0 or 1.  Nothing else will change.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jayzer on 2005-03-29 19:35:47
So I could just do this, and be fine, right?

Code: [Select]
$if(%album artist%,1,0)
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-29 19:37:07
Quote
I think actually understand want you are looking for now, though...
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=286575")

Like what a few others have mentioned, just check for %album artist%. For those of us who follow the [a href="http://wiki.hydrogenaudio.org/index.php?title=Foobar2000_Encouraged_Tag_Standards#ALBUM_ARTIST]encouraged tag standards[/url], we always use it on compilation albums, but we set it to anything not just "VA" or "various". (For example, notice how on each of my naming schemes (http://www.tinkafoo.com/log/masstagger.html#design2), I use the aa tag on every compilation disc, despite what the tag contains.)

The reason why I added %various% is that instead of %album artist%, some people use %various%=1. It's not part of the tag standards, but that doesn't stop 'em!  But that's why I recommended:

Code: [Select]
$if($or(%album artist%,%various%),1,0)


If anyone is working any weirder than that, then I'd imagine they'd know what to change to make it work for them.

Quote
edit: I guess I'm just wondering how extensive the comp support is going to be. As long as I can do something like $if(%album artist%, %album artist%, %album%) or whatever, I'll be fine, which is actually what I think I do now. I just hope that doesn't get broken.
[a href="index.php?act=findpost&pid=286693"][{POST_SNAPBACK}][/a]

Yeah I think I'm in the same boat -- I don't really need compilation support since I already turn my comp discs into normal discs with the global metadata, but it would certainly let me consolidate some of my code.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-29 20:01:28
Quote
So I could just do this, and be fine, right?

Code: [Select]
$if(%album artist%,1,0)

[a href="index.php?act=findpost&pid=286707"][{POST_SNAPBACK}][/a]

Yes, I believe that is valid TAGZ and simply instructs foo_pod to set the compilation bit if the ALBUM ARTIST metadata is available. 

I copied my TAGZ example string out of the default Foobar playlist title formatting, which does the more rigorous checks to see if ALBUM ARTIST not only exists, but is certain values.  But if you don't care what ALBUM ARTIST contains, just that it is there, then your string is perfect.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-29 20:03:55
Quote
Like what a few others have mentioned, just check for %album artist%. For those of us who follow the encouraged tag standards (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000_Encouraged_Tag_Standards#ALBUM_ARTIST), we always use it on compilation albums, but we set it to anything not just "VA" or "various". (For example, notice how on each of my naming schemes (http://www.tinkafoo.com/log/masstagger.html#design2), I use the aa tag on every compilation disc, despite what the tag contains.)

Ok.  I will just use jayzer's string as the default.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-29 20:33:43
Quote
If you don't have an iPod that supports the compilation menu, then the whole discussion won't really affect you.

Unless you make a smart playlist that relies on the Compilation flag. Not likely I admit, but it's possible.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-03-30 11:50:49
The current version of foo_pod is making my ontextmenus take a second or two to appear  (No iPod connectted ATM).
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-03-30 16:43:30
All versions of foo_pod I have used do this.  They do not seem to do it when the iPod is connected.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-30 17:12:59
Quote
The current version of foo_pod is making my ontextmenus take a second or two to appear  (No iPod connectted ATM).
[a href="index.php?act=findpost&pid=286901"][{POST_SNAPBACK}][/a]

I don't see this on any of the machines I use foo_pod on, but you might want to try forcing the iPod drive (in the Main tab in foo_pod preferences or use the "Select iPod To Use" menu item) and see if that helps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-03-30 18:33:57
Sorry if this has been addressed before. When I 'Send Current Playlist To iPod' it doesn't work if the files in the playlist are non mp3 or aac. I can send/transcode them to the iPod perfectly, but when the files are already on the iPod(previously transcoded) and I try to send the playlist(filled with lossless files for example) to the iPod it won't create a playlist. I realize that I can use the 'Load iPod Songs To Foobar Playlist' feature and then create my playlist from there, but it's a bit more painful. Just wondering if I am doing something wrong or if there is another easier way.

Another thing that may be useful is the ability to include DSP's in the transcoding section similar to Diskwriter. There are certain cases were it would be nice to use the equalizer on the transcoded file. Additonally, I'm looking forward to being able to lower the thread priority of transcodes if/when you implement that idea.

In any case, I love foo_pod just the way it is and sincerely thank you for increasing the enjoyment of my music.

Sincerely,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-31 01:59:29
Quote
Sorry if this has been addressed before. When I 'Send Current Playlist To iPod' it doesn't work if the files in the playlist are non mp3 or aac. I can send/transcode them to the iPod perfectly, but when the files are already on the iPod(previously transcoded) and I try to send the playlist(filled with lossless files for example) to the iPod it won't create a playlist. I realize that I can use the 'Load iPod Songs To Foobar Playlist' feature and then create my playlist from there, but it's a bit more painful. Just wondering if I am doing something wrong or if there is another easier way.

This is a known bug.  In fact, ezekiel2517 brought this up in a recent post (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=285656).

Quote
Another thing that may be useful is the ability to include DSP's in the transcoding section similar to Diskwriter. There are certain cases were it would be nice to use the equalizer on the transcoded file. Additonally, I'm looking forward to being able to lower the thread priority of transcodes if/when you implement that idea.

I already do use the Advanced Limiter when transcoding, so adding additional DSPs will be relatively easy.  There probably aren't too many DSPs that would be useful - the only ones I can think of other than Advanced Limiter are Equalizer and Crossfeed.  I'd rather not do a fancy GUI that would allow arbritrary DSPs unless there was a real need to have anything beyond Eq and Crossfeed.

Quote
In any case, I love foo_pod just the way it is and sincerely thank you for increasing the enjoyment of my music.

Thank you!
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-03-31 02:11:55
Quote
I already do use the Advanced Limiter when transcoding, so adding additional DSPs will be relatively easy. There probably aren't too many DSPs that would be useful - the only ones I can think of other than Advanced Limiter are Equalizer and Crossfeed. I'd rather not do a fancy GUI that would allow arbritrary DSPs unless there was a real need to have anything beyond Eq and Crossfeed.


"Skip silence" would also make sense so that you don't encode 13 minutes of silence between teh end of a track and the start of a hidden track on some albums.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-03-31 03:22:02
Thanks Aero! I actually remembering seeing that post, but somehow it didn't mentally register when I noticed the issue and decided to post. Sorry, for being repetitive.

As for the DSP's, the main thing that came to mind for me was the occasional situation where I might want to EQ a song, for example if something is very bass deficient. Additionaly, I would be interested in experimenting with the 'Noise Sharpening' DSP on certain albums as well.

Thank you again! (Am I thanking you too much?)

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-31 07:38:29
Quote
Anyway, I think I've found a bug in the latest version.  Because I have serveral "Greatest Hits" albums, I've had to use a POD_ALBUM tag to seperate these on the iPod's Albums list.  For eg. "Greatest Hits" by Queen would become "Queen's Greatest Hits".  However, This appears on the iPod as "Queen[SYNTAX ERROR IN FORMATING STRING]".  Obviously the inverted comma is causing problems.  This doesn't happen on normal tag information, only the alternative POD_ tag information.  Should be an easy fix.
[a href="index.php?act=findpost&pid=286240"][{POST_SNAPBACK}][/a]

Hey, could you post the album formatting string you are using for POD_ALBUM?  I tried to reproduce your problem, but couldn't. 

I assume you are doing something like this:
Code: [Select]
$if($stricmp(%album%,"Greatest Hits"), %artist%'s %album%, %album%)


When I use this string, it seems to do what you are looking for:
Code: [Select]
$if($stricmp(%album%,"Greatest Hits"), %artist%''s %album%, %album%)

Note the two single quotes after %artist%.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-31 08:41:50
Version 0.9.9g (http://www.loodi.com/foo_pod.zip) is now available.

This is the first version with OttoFill.  I'd say it is about 95% of OttoFill - the slider is fixed at 100%, so you can't specify how much space to use for music in this version.  But otherwise, it should be ready for some serious testing. 

Also, I added the requested transcoder priority and compilation TAGZ settings (in the Transcoder and Advanced preference tags, respectively).  I also split the pre-amp volume into separate values for songs with and without SoundCheck.


From the Readme:
Code: [Select]
Version 0.9.9g - March 31, 2005
*  Added option for controlling transcoder process priority, found on the foo_pod Transcoder preference page.

*  Enabled "OttoFill" - a version of iTunes' AutoFill.  foo_pod's version works on all iPods, not just iPod Shuffles, although it will not automatically start on hard drive based iPods, and will warn the user if they attempt to delete all the songs.  There are 3 sources that OttoFill can source files from - the current Foobar playlist, all open, non-ignored playlists, and from another iPod.  Note that currently, the slider to select how much space to use for music is disabled at 100%.  Future versions will enable this setting.

*  Added an Advanced option for specifying a TAGZ format for compilation albums.  

*  Split the pre-amp volume setting into 2 different values - one used for songs with SoundCheck information, and one for songs without SoundCheck.  This can be used to lower the volume for songs without SoundCheck, for example.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-03-31 09:39:52
Quote
Version 0.9.9g (http://www.loodi.com/foo_pod.zip) is now available.

Yum! Thanks. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-03-31 09:48:19
Quote
Version 0.9.9g (http://www.loodi.com/foo_pod.zip) is now available.
[a href="index.php?act=findpost&pid=287161"][{POST_SNAPBACK}][/a]

ROCK

(http://www.tinkafoo.com/temp/emot-dance.gif)
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-03-31 13:51:46
Quote
Quote
The current version of foo_pod is making my ontextmenus take a second or two to appear  (No iPod connectted ATM).
[a href="index.php?act=findpost&pid=286901"][{POST_SNAPBACK}][/a]

I don't see this on any of the machines I use foo_pod on, but you might want to try forcing the iPod drive (in the Main tab in foo_pod preferences or use the "Select iPod To Use" menu item) and see if that helps.
[a href="index.php?act=findpost&pid=286968"][{POST_SNAPBACK}][/a]
That fixes it, but is hardly a nice solution.

This problem only seems to occur whilst my memory card reader is attached (which adds four extra removable drives).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-03-31 17:11:23
I believe that foo_pod is polling each drive letter every so often in order to see if it's an iPod. If they're inaccessible, then yeah, that is going to cause some sort of slowdown I suppose.

Forcing the drive letter is probably the only solution. Unless there's some way to tell that a drive is an iPod without trying to access that drive.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-03-31 17:50:41
Quote
Quote
Anyway, I think I've found a bug in the latest version.  Because I have serveral "Greatest Hits" albums, I've had to use a POD_ALBUM tag to seperate these on the iPod's Albums list.  For eg. "Greatest Hits" by Queen would become "Queen's Greatest Hits".  However, This appears on the iPod as "Queen[SYNTAX ERROR IN FORMATING STRING]".  Obviously the inverted comma is causing problems.  This doesn't happen on normal tag information, only the alternative POD_ tag information.  Should be an easy fix.
[a href="index.php?act=findpost&pid=286240"][{POST_SNAPBACK}][/a]

Hey, could you post the album formatting string you are using for POD_ALBUM?  I tried to reproduce your problem, but couldn't. 

I assume you are doing something like this:
Code: [Select]
$if($stricmp(%album%,"Greatest Hits"), %artist%'s %album%, %album%)


When I use this string, it seems to do what you are looking for:
Code: [Select]
$if($stricmp(%album%,"Greatest Hits"), %artist%''s %album%, %album%)

Note the two single quotes after %artist%.
[a href="index.php?act=findpost&pid=287148"][{POST_SNAPBACK}][/a]


You know I hadn't even thought of doing that, what a brilliant idea.  Global metadata is brilliant.

All I've been doing is manualy setting a POD_ALBUM string on the files that required it.  Then I attempt to send these files to the iPod.  At no point do I use any TAGZ strings, it simply alternate metadata in the file.  Sorry if I mislead you.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-03-31 17:57:53
Quote
I believe that foo_pod is polling each drive letter every so often in order to see if it's an iPod. If they're inaccessible, then yeah, that is going to cause some sort of slowdown I suppose.

Forcing the drive letter is probably the only solution. Unless there's some way to tell that a drive is an iPod without trying to access that drive.
[a href="index.php?act=findpost&pid=287259"][{POST_SNAPBACK}][/a]

But why is it doing it on the right click.  Unless you mean it's polling every second.  Why can't it poll when you select mount iPod?  Or when you try to send files to an iPod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-31 17:58:01
You rock, Aero!

The compilations TAGZ worked like a charm. This may be a silly question; however, the only way I could add the compilation tag to the files already on my ipod was to remove everything and resync the songs. Does this sound right, or is there an easier way to just update the ipod database?

Now Apple needs to add a "Singles" menu to the ipod
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-03-31 18:00:54
Quote
I believe that foo_pod is polling each drive letter every so often in order to see if it's an iPod.
Not every so often, every time the context menu is shown/built (with foo_pod's menu items enabled).

Quote
If they're inaccessible, then yeah, that is going to cause some sort of slowdown I suppose.

Forcing the drive letter is probably the only solution. Unless there's some way to tell that a drive is an iPod without trying to access that drive.
[a href="index.php?act=findpost&pid=287259"][{POST_SNAPBACK}][/a]
Not really, it could just show the items that are hidden when an iPod is not connected and give an error message if they are tried to be used without an ipod connected. I wonder what would happen if I run those commands from the command line or smth without iPod connected.

Anyway I just removed foo_pod's items from the contextmenu. Problem solved, since I don't use them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-31 18:33:05
Quote
You rock, Aero!



Quote
The compilations TAGZ worked like a charm. This may be a silly question; however, the only way I could add the compilation tag to the files already on my ipod was to remove everything and resync the songs. Does this sound right, or is there an easier way to just update the ipod database?

There isn't, unfortunately.  That is a big shortcoming in foo_pod - the inability to modify the iTunesDB database without resending files.  Ideally, you should be able to do certain things, like applying alt. metadata in place.  I'll have to add that in a future version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-31 18:38:22
Quote
Quote
I believe that foo_pod is polling each drive letter every so often in order to see if it's an iPod.
Not every so often, every time the context menu is shown/built (with foo_pod's menu items enabled).

Quote
If they're inaccessible, then yeah, that is going to cause some sort of slowdown I suppose.

Forcing the drive letter is probably the only solution. Unless there's some way to tell that a drive is an iPod without trying to access that drive.
[a href="index.php?act=findpost&pid=287259"][{POST_SNAPBACK}][/a]
Not really, it could just show the items that are hidden when an iPod is not connected and give an error message if they are tried to be used without an ipod connected. I wonder what would happen if I run those commands from the command line or smth without iPod connected.

Anyway I just removed foo_pod's items from the contextmenu. Problem solved, since I don't use them.
[a href="index.php?act=findpost&pid=287280"][{POST_SNAPBACK}][/a]

The problem isn't that foo_pod is polling.  It is due to how I detect playlists that contain iPod songs, and those that are just regular Foobar playlists.

The reason I have to do this is so that you can right click on a song on the iPod, and get a contextually correct menu (Delete file from iPod, Save iPod File to hard drive) as opposed to right clicking on a Foobar file (Send file to iPod, etc.).  I really don't know what the problem is - it seems to only happen for certain people.  It definitely doesn't happen for me, on any of my home computers (including one that has a similar 4 drive letter flash card reader) nor on my work computer, so I don't really know how to fix the problem. 

Forcing the iPod drive letter is probably the best solution, but if you don't use the foo_pod context menus, removing them works as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-03-31 20:21:45
Quote
There isn't, unfortunately.  That is a big shortcoming in foo_pod - the inability to modify the iTunesDB database without resending files.  Ideally, you should be able to do certain things, like applying alt. metadata in place.  I'll have to add that in a future version.
[a href="index.php?act=findpost&pid=287285"][{POST_SNAPBACK}][/a]


No worries! I just wanted to make sure I wasn't missing an option somewhere. Keep up the good work!

Now, onto album art 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-03-31 23:46:27
Quote
Now, onto album art 
[a href="index.php?act=findpost&pid=287311"][{POST_SNAPBACK}][/a]

I'm just an iPod Photo and having some free time away from doing it!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ZhuGeLiang on 2005-04-02 01:57:39
Whenever I use foo_pod to send an MP3 in an MP4 container (made using foobar) my ipod can't play it. I assume it's because the file is not taken out of the container before it's sent to the ipod. Is this happening to everyone else or just me?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-02 02:23:09
Quote
Whenever I use foo_pod to send an MP3 in an MP4 container (made using foobar) my ipod can't play it. I assume it's because the file is not taken out of the container before it's sent to the ipod. Is this happening to everyone else or just me?
[a href="index.php?act=findpost&pid=287682"][{POST_SNAPBACK}][/a]

That sounds correct - neither foo_pod nor Foobar would do anything with your file, since it would appear as an MP3 format, and the iPod apparently doesn't handle MP3s in MP4 containers.  foo_pod expects that any MP3 or AAC format files will be directly playable on the iPod without conversion.

I guess the only way for this to work (without stripping the MP4 container) is force foo_pod to transcode your MP3 files, by setting the "Transcode MP3 file above XXX kbps" to some really low value, like 1.  This isn't ideal, but since I don't think Foobar allows components to know what container a song is in, it is probably the only way to make this work with foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-04-02 08:25:44
Hi Aero,

When transcoding having the option to use Replaygain(like DiskWriter) would be really useful, I'd be happy to go into more detail as to why if needed. Additionally, thank you for adding the thread priority option, would it be too much to ask you to add the option of 'Idle' also?...  maybe in place of 'Above Normal'.

Your consideration and hardwork are really appreciated by this music lover.

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-04-02 10:43:46
Here is a little more background and some question I have about ReplayGain/AACGain/MP3Gain and their use with my iPod. http://www.hydrogenaudio.org/forums/index....t=0#entry287749 (http://www.hydrogenaudio.org/forums/index.php?act=ST&f=29&t=32652&st=0#entry287749)

This is what started me thinking about the differences: http://www.dapreview.net/content.php?article.133 (http://www.dapreview.net/content.php?article.133)

Thank you,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-02 11:35:11
Quote
When transcoding having the option to use Replaygain(like DiskWriter) would be really useful, I'd be happy to go into more detail as to why if needed.
[a href="index.php?act=findpost&pid=287735"][{POST_SNAPBACK}][/a]

foo_pod already sends the ReplayGain information to the iPod using the "Soundcheck" field. So if you use foo_pod to transcode the lossless to a lossy format, the RG info should get put on the iPod as well (I'm pretty sure). Then all you need to do is to enable SoundCheck on the iPod and voila, it's done. No need to apply it during the transcoding itself since the iPod natively supports volume adjustment like this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-04-02 12:10:13
Hi Otto,

Yes I also understand things to be as you explain. The issue for me is that if I then scan those resulting files(that are on my iPod) making no changes with AACGain/MP3gain they frequently show as clipped. I'm concerned that the clipping is still there when using SoundCheck. Additionally, if you look at the second link from my previous post, there appears to be an issue of applying the iPod's EQ and it causing additional clipping/distortion when the source file's levels are already very high.

I hope my concern/explanation is understandable.

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-02 20:25:07
Quote
Yes I also understand things to be as you explain. The issue for me is that if I then scan those resulting files(that are on my iPod) making no changes with AACGain/MP3gain they frequently show as clipped. I'm concerned that the clipping is still there when using SoundCheck. Additionally, if you look at the second link from my previous post, there appears to be an issue of applying the iPod's EQ and it causing additional clipping/distortion when the source file's levels are already very high.

I am already applying the Advanced Limiter DSP during transcoding, so I wouldn't expect that the songs would be clipping as sent to the iPod - although if you apply heavy equalization on the iPod, the audio could definitely could clip.  Maybe you should scale down the volume using foo_pod's preamp adjustments if you plan on using high levels of EQ on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-02 20:32:34
Quote
Yes I also understand things to be as you explain. The issue for me is that if I then scan those resulting files(that are on my iPod) making no changes with AACGain/MP3gain they frequently show as clipped. I'm concerned that the clipping is still there when using SoundCheck. Additionally, if you look at the second link from my previous post, there appears to be an issue of applying the iPod's EQ and it causing additional clipping/distortion when the source file's levels are already very high.
[a href="index.php?act=findpost&pid=287767"][{POST_SNAPBACK}][/a]

Okay, but the important question seems to be, are you actually hearing clipping from the iPod? Clipping is one of those easily noticable things, so determining whether the songs are actually clipping on playback or not is not particularly difficult to figure out. If you hear the static-like cracking sound, then they're clipping. Simple.

If you are converting lossless files to lossy ones and then get clipping from the lossy ones where there was no clipping in the lossless ones, then most likely any clipping being detected by MP3Gain is a result of the MP3 algorithim itself. While this is indeed clipping, generally I have found that it's so minor that it's unhearable, for me. You're only talking a few samples clipped.

One more thing is that if your lossless files have been normalized after ripping but before encoding, then getting clipping when converting them to an MP3 is quite likely. Don't normalize.
Title: foo_pod - Foobar2000 meets the iPod
Post by: topdownjimmy on 2005-04-02 20:52:23
Two questions:

Any word on integrating iPod playcounts with the modified SQL playcount component?

and

Some people were talking about putting foobar on their iPod with an autorun.ini.  This seems like something that would have broad appeal and as far as I know could be integrated into the foo_pod component (a check box: "Create foobar autorun.ini on sync").  Possible?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-03 04:14:02
Quote
Any word on integrating iPod playcounts with the modified SQL playcount component?

Not that I'm aware of.  The last I knew, the playcount component wouldn't work with foo_pod (or any other component) that modified the playcount directly.  But I haven't kept up with development, so this might not be true any longer...

Quote
Some people were talking about putting foobar on their iPod with an autorun.ini.  This seems like something that would have broad appeal and as far as I know could be integrated into the foo_pod component (a check box: "Create foobar autorun.ini on sync").  Possible?
[a href="index.php?act=findpost&pid=287849"][{POST_SNAPBACK}][/a]

For the autorun.inf thing to work, you have to have Foobar on your iPod.  So maybe a checkbox wouldn't be the best way to do it, but I could include a sample autorun.inf in the foo_pod distribution that people could manually copy to their iPod. 

I lost my autorun.inf I did when my first iPod Shuffle died, but I can easily recreate it.  I'll post it here when I have it ready.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-03 07:13:06
Ok, here is how I did my Autorun.inf for my iPod Shuffle (although it will work for any iPod), so that - depending on your OS, Service Pack version, and autorun preferences, it will do one of the following:
* automatically start Foobar2000 when you connect the iPod
* prompt you with an option to start Foobar2000 when you connect the iPod
* run Foobar2000 when you double click on the iPod drive icon
* nothing

1. The first thing you need to do is create an autorun.inf in the root directory of your iPod (i.e. on the same level as iPod_Control).  I uploaded my autorun.inf to http://www.loodi.com/autorun.inf (http://www.loodi.com/autorun.inf). 

There are a few things you can change in here.  The first is the drive's name, which will appear in Windows Explorer.  You can force to whatever you want by uncommenting the Label line, and changing the text.  Also, you can specify an icon - I am using the generic Foobar icon, but if you can change it to your favorite icon.  I uploaded an iPod Shuffle icon (http://www.loodi.com/shuffle.ico), and there are also several different iPod icons online (such as these 4G icons (http://www.mbstuart.com/downloads/4G_iPods(win_xp).zip), these icons (http://www.iconfactory.com/sets/ipia_ico.zip), or these icons (http://interfacelift.com/icons-win/downloads/0931_ipodcolors.zip)). 

2. Copy your entire Foobar2000 directory from your computer's hard drive to root directory on your iPod.  After you do this, you should have autorun.inf, iPod_Control, and Foobar2000 all in the same directory level, and in the Foobar2000 directory, you should have Foobar2000.exe.  You might want to remove some unnecessary components to save room, and also delete the playlist in the Playlists directory.

3. This step is optional, but saves a lot of space and is especially useful on the slow iPod Shuffle, since it improves loading speed.  UPX (http://upx.sourceforge.net) is a program that compresses .exe and .dll files, but does it in such a way that they automatically decompress as you run them. 

Download the latest version (http://upx.sourceforge.net/download/upx125w.zip), or get it from my website (http://www.loodi.com/upx.exe).  I also uploaded a small batch script (http://www.loodi.com/foobar_upx.bat) that you can use to automatically compress all of the Foobar .exe and .dlls.  Copy upx.exe and foobar_upx.bat to your iPod's Foobar2000 directory, then double click on foobar_upx.bat. 

You will get a few warnings, like:
upx: fooassoc.exe: AlreadyPackedException: already packed by UPX
  upx: components\foo_matroska.dll: CantPackException: empty resource sections are not supported
  upx: components\foo_playcount.dll: CantPackException: Structured Exception Handling present (try --strip-loadconf)

but you can ignore these. 



After all of this is completed, you'll have a mobile Foobar2000 installation (hopefully with foo_pod!) that you can connect to any Windows computer and load songs onto and copy songs from your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-04-03 16:46:12
Thank you again Aero, your Autorun.inf and Foobar onboard iPod is the dog's bollocks!

Otto, thank you for your informed response. I guess what I'm getting at is that I want to better understand the difference between creating an AAC file with Diskwriter with the ReplayGain button engaged vs not using the replaygain and then as a second step using AACGain. I believe there is a difference but am not 100% sure what it is. So... what if any is the difference in the resultant lossy file.

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-03 19:51:28
Quote
Thank you again Aero, your Autorun.inf and Foobar onboard iPod is the dog's bollocks!

Heh...I had to look that phrase up to make sure you weren't insulting me!

Quote
Otto, thank you for your informed response. I guess what I'm getting at is that I want to better understand the difference between creating an AAC file with Diskwriter with the ReplayGain button engaged vs not using the replaygain and then as a second step using AACGain. I believe there is a difference but am not 100% sure what it is. So... what if any is the difference in the resultant lossy file.

I looked at the Diskwriter source code, and what the ReplayGain checkbox does is scale the audio as it is being written.  But it only works if the song already has ReplayGain metadata - it doesn't calculate it on the fly.  So if your song has been processed by AACGain, it probably won't have ReplayGain information and nothing will happen.

I think that the only time you would want to use this is if you want the audio to be permenently scaled to prevent clipping.  Since the iPod has SoundCheck, which does the same thing but can be turned on and off, there really isn't any reason to permanently scale the audio.

One thing to note is MP3/AACGain work differently than ReplayGain.  MP3/AACGain permanently (but reversibly) alter the song, while ReplayGain just calculates the scaling factor and writes it as a metadata item.  MP3/AACGain have the advantage in the they aren't dependant on a player that supports ReplayGain/SoundCheck. 

I guess the major point is that you should use either MP3/AACGain or ReplayGain/SoundCheck.  If you only use Foobar and an iPod to listen to music, ReplayGain/SoundCheck is probably the best solution.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-03 20:57:00
Quote
Otto, thank you for your informed response. I guess what I'm getting at is that I want to better understand the difference between creating an AAC file with Diskwriter with the ReplayGain button engaged vs not using the replaygain and then as a second step using AACGain. I believe there is a difference but am not 100% sure what it is. So... what if any is the difference in the resultant lossy file.
[a href="index.php?act=findpost&pid=288036"][{POST_SNAPBACK}][/a]

Okay, conceptually, the diskwriter is basically transcoding the file. It converts the file to WAV, then compresses it using whatever format you want. The important bit here is that it always first goes to WAV (even if this WAV file is only stored in memory and never gets written to disk).

When you tell the diskwriter to use the ReplayGain information, it will scale the intermediate WAV file according to the ReplayGain adjustment needed. It's like WAVGain in this respect. The scaled WAV is then what gets passed to your compressor.

MP3/AACGain, on the other hand, work differently. They adjust a parameter in the lossy file itself which changes the volume, in 1.5 dB increments. They also can write metadata to the file that allow fobar to deal with it properly and so forth.

Both of them actually change the song data itself. Diskwriter does it before compression, MP3/AACGain does it after. Of these two, Diskwriter's method (WAVGain) is a lossy process. There is always some round off error involved in scaling a WAV file. This error is minor, but additive. MP3/AACGain is a lossless process. It's only adjusting the global gain values, and it's doing so in a fully reversible way. However it is limited to 1.5 dB adjustments, where the other one is not.


The ideal approach is to rip the CD bit for bit, and do absolutely nothing extra to the data. The data from the CD is as good as it will ever get, so you want to do as few lossy things to it as possible. Compressing to lossless is what you have done, so this is not harmful. Then you want to compress to lossy. This is where you say you get clipping, but again, I ask, are you really hearing clipping? Just because MP3/AACGain says that it clips doesn't mean that it's really audible.

When you rip a modern CD, especially a rock/alternative/pop one, the tracks are quite likely to be somewhat clipped already. Not a lot you can do about it. However, this is not clipping that a program will be able to see easily. All it can see is that several samples in a row are at digital full scale. The actual clipped peaks are gone. When you then do lossy compression on this track, the resulting MP3 or AAC might indeed be clipping. What clipping means, in this context, is that if you decode the MP3/AAC, that some samples will be above digital full scale and will thus be clipped. But this is an artifact of the encoding process itself. The waveform you get out of the lossy compressed file is not the same as the one you put in. Those clipped sections will be approximated, and yeah, you can end up with a peak higher than full scale. Does this mean it's clipped? Sure. Does this means it sounds different than the original? Not at all.

And then clipping can be minor too. If on decoding an MP3, one sample comes out at digital full scale + 1, well, that's technically clipping, but there's no way in hell anybody could ever hear it. But MP3Gain/AACGain, these will report the thing as clipping nonetheless.

If you listen to a song, and hear no problems, and then MP3Gain/AACGain tell you it's clipping, don't worry about it. What you hear is more important than what the program tells you. The real reason MP3/AACGain warn about clipping is because you can adjust the gain of a song upwards and cause clipping when there was no clipping before, and this is usually very, very bad sounding.

Okay, so this is kinda long, but the short of it is that the foo_pod clienc really doesn't need RG in it, because the RG->SoundCheck functionality takes care of it, and applying RG before the compression process is not the best way to do it anyway.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-04-04 07:11:22
Aero, I'm an American living in Tokyo but I have a lot of English friends here so I've acquired a bit of their slang :-)

I had understood the difference between RG and AAC/MP3gain, but was unclear about Diskwriter's implementation of it. All my files except for MP3 have been RG a long time ago and all my MP3's have been MP3Gained. I guess with AAC I need to make a choice whether to just transcode with RG/Souncheck metadata(your implementation, foo_pod) or to transcode(Diskwriter) and then run AACGain on everything, then transfer to my iPod. My concern is applying the EQ and getting additional clipping. As mentioned by you before, it looks like I can just lower the global gain(pre-amp) setting. That will allow me to apply more aggressive EQ settings without clipping, is that correct? Currently, I only use the 'Piano' EQ setting because it is one of the most subtle and doesn't introduce any audible clipping. I just want to play with the other EQ settings but most assuredly will return to something more neutral such as 'Piano'. Thank you for your explanation and patience.



Quote
Both of them actually change the song data itself. Diskwriter does it before compression, MP3/AACGain does it after. Of these two, Diskwriter's method (WAVGain) is a lossy process. There is always some round off error involved in scaling a WAV file. This error is minor, but additive. MP3/AACGain is a lossless process. It's only adjusting the global gain values, and it's doing so in a fully reversible way. However it is limited to 1.5 dB adjustments, where the other one is not. [a href="index.php?act=findpost&pid=288087"][{POST_SNAPBACK}][/a]


Quote
Okay, so this is kinda long, but the short of it is that the foo_pod clienc really doesn't need RG in it, because the RG->SoundCheck functionality takes care of it, and applying RG before the compression process is not the best way to do it anyway. [a href="index.php?act=findpost&pid=288087"][{POST_SNAPBACK}][/a]


Thanks Otto, this really gets to the heart of it for me and makes things crystal clear.

Quote
The ideal approach is to rip the CD bit for bit, and do absolutely nothing extra to the data. The data from the CD is as good as it will ever get, so you want to do as few lossy things to it as possible. [a href="index.php?act=findpost&pid=288087"][{POST_SNAPBACK}][/a]


As a purist I agree wholeheartedly with this supposition, but unfortunately it is frequently impractical.

Aero & Otto thank you both!

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2005-04-05 02:50:23
Getting Album Art onto iPod

This shouldn't be too hard... except of course that Foobar doesn't support reading binary tags (ID3v2 or MP4/AAC) so you can't simply extract the art from the music file.

However, what about copying art that comes from the same folder as the music.  In particular aligning yourself with the configuration that foo_uie_albumart uses?  I could live with copying the first image file you find (which is iPod Photo compatible...not sure what that is).

Hmm...maybe this is more difficult than I think?  Does the iPod have a proprietary image thumbnail format?

+Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-05 05:58:47
Quote
Does the iPod have a proprietary image thumbnail format?
[a href="index.php?act=findpost&pid=288334"][{POST_SNAPBACK}][/a]

Yep. Before Aero sadly lost his iPod Photo, he documented it somewhat, and I put some of that on the iPodLinux wiki. Some other people have modified that a bit, but there's not yet enough knowledge there to create the files solely from that document.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-05 07:07:43
Quote
Quote
Does the iPod have a proprietary image thumbnail format?
[a href="index.php?act=findpost&pid=288334"][{POST_SNAPBACK}][/a]

Yep. Before Aero sadly lost his iPod Photo, he documented it somewhat, and I put some of that on the iPodLinux wiki. Some other people have modified that a bit, but there's not yet enough knowledge there to create the files solely from that document.
[a href="index.php?act=findpost&pid=288353"][{POST_SNAPBACK}][/a]

I even had a small .NET application that would write album art to the iPod Photo.  But like Otto said, the ArtworkDB format hasn't been completely documented yet, and without the equipment, it is pretty hard for me to do anything useful.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-06 06:17:30
Quote
1. The first thing you need to do is create an autorun.inf in the root directory of your iPod (i.e. on the same level as iPod_Control).  I uploaded my autorun.inf to http://www.loodi.com/autorun.inf (http://www.loodi.com/autorun.inf). 
[a href="index.php?act=findpost&pid=287930"][{POST_SNAPBACK}][/a]

Just a minor tip for those wanting to try this.. I tried it on my 30 gig iPod and had absolutely no luck getting it to actually autorun a program using XP. I did some research on Microsoft's site, and finally got it to work by adding "UseAutoplay=0" to the file. This appearantly disables the newer XP Autorun crud and forces it to use the old Autorun methods in previous incarnations of Windows. Whatever it does, it worked.

Just a heads up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-06 07:00:00
Quote
Just a minor tip for those wanting to try this.. I tried it on my 30 gig iPod and had absolutely no luck getting it to actually autorun a program using XP. I did some research on Microsoft's site, and finally got it to work by adding "UseAutoplay=0" to the file. This appearantly disables the newer XP Autorun crud and forces it to use the old Autorun methods in previous incarnations of Windows. Whatever it does, it worked.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=288599")

That's pretty odd.  First of all, there seems to be almost no official documentation for "UseAutoplay=0" (the only Microsoft information I could find was in a [a href="http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/default.aspx]MSDN Magazine article[/url]).  And secondly, that article seems to indicate that UseAutoplay=0 is the default behavior.  I wonder if somehow your machine is set to default to Autoplay=1?

Thanks for the info - I've updated the autorun.inf (http://www.loodi.com/autorun.inf) file with your fix.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-06 15:57:51
Quote
That's pretty odd.  First of all, there seems to be almost no official documentation for "UseAutoplay=0" (the only Microsoft information I could find was in a MSDN Magazine article (http://msdn.microsoft.com/msdnmag/issues/01/11/autoplay/default.aspx)).  And secondly, that article seems to indicate that UseAutoplay=0 is the default behavior.  I wonder if somehow your machine is set to default to Autoplay=1?[a href="index.php?act=findpost&pid=288607"][{POST_SNAPBACK}][/a]

I haven't been able to find a whole lot of info about it either, but that article was where I got it from. I don't know how the default would be different, but I did notice that XP behaves differently for removable USB/1394 hard disks vs removable media like CD's. The article says that it defaults to 0 when there's an autorun.inf with no value present, but I think that's a mistake in the article and that the default may be 1 in certain cases like removable USB/1394 hard disks. I know that it certainly defaults to 1 when there is no autorun.inf present, in fact. Sticking my CompactFlash card in triggers the new XP AutoRun crap, for example.

My iPod didn't trigger anything *until* I added the autorun.inf file to it, and then it started giving me the new XP pop up window to choose an action. So it definitely thought that it was supposed to use the AutoplayV2 functionality somehow.
Title: foo_pod - Foobar2000 meets the iPod
Post by: yathosho on 2005-04-06 17:46:49
would be nice if the plugin checked the available space before copying. also, when there's not enough space, there should be a message telling so. right now it just aborts the transfer without feedback.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-06 19:20:44
Quote
would be nice if the plugin checked the available space before copying. also,

That is easier said than done, due to transcoding.  Say you have 1GB of space free on your iPod, and you've got 2GB of FLAC encoded files.  They might transcode down less than 1GB, but you won't know until after they are already transcoded.

Quote
when there's not enough space, there should be a message telling so. right now it just aborts the transfer without feedback.

That is not correct - information regarding the problem is outputted to the Foobar console.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-06 22:25:28
Quote
Quote
would be nice if the plugin checked the available space before copying. also,

That is easier said than done, due to transcoding.  Say you have 1GB of space free on your iPod, and you've got 2GB of FLAC encoded files.  They might transcode down less than 1GB, but you won't know until after they are already transcoded.[a href="index.php?act=findpost&pid=288716"][{POST_SNAPBACK}][/a]

Hmm... If it's CBR it's could be estimated "close enough" to be accurate. Add up the song times, multiply by the bitrate, divide by 8. Ignore tagging since you're likely not tagging anyway (there's little point since the iPod doesn't care about tags).

With VBR it'd be more difficult. You could overestimate (say, assume 220 kbps) and then warn the user that there may not be enough space, and offer to continue anyway. Even an estimate would be better than simply running out of space on the thing while trying to copy.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-06 23:12:02
Quote
Hmm... If it's CBR it's could be estimated "close enough" to be accurate. Add up the song times, multiply by the bitrate, divide by 8. Ignore tagging since you're likely not tagging anyway (there's little point since the iPod doesn't care about tags).

With VBR it'd be more difficult. You could overestimate (say, assume 220 kbps) and then warn the user that there may not be enough space, and offer to continue anyway. Even an estimate would be better than simply running out of space on the thing while trying to copy.

Since the user can not only specify custom encoder settings, but also custom encoders, there is no way for foo_pod to know if an encoding will be CBR or VBR, let alone the expected bitrate.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-04-07 15:08:38
Hi Aero.

I really appreciate your work but I have a (small?) feature request: would it be possible to show the list of files involved (to the console, to file, whatever) before synching? Ideally with the action (replace, delete, add) that is going to take place.

I have two PC (home and work) with the same library; whenever I make changes (adding, removing, re-tagging, etc.) to one of them, I flush the changes to the iPod and then I use the synch function to keep the two instances... well, in synch. However, sometimes I'm prompted for a number of files to delete that I don't expect and I couldn't figure out an easy to check what's going on.

Sorry for asking this, as I know you're not a great fun of the synch stuff. So, if you have time...

Thanks for reading (and I hope I made myself clear ).

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-07 15:44:22
Quote
Since the user can not only specify custom encoder settings, but also custom encoders, there is no way for foo_pod to know if an encoding will be CBR or VBR, let alone the expected bitrate.
[a href="index.php?act=findpost&pid=288759"][{POST_SNAPBACK}][/a]

Transcode two songs, then divide the sizes by the time of them in seconds. If the two are identical (given a minor fudge factor), then you can assume CBR and you'll have the bitrate. If they are different, you can assume VBR, although you have no idea what the average bitrate will be.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-08 05:47:08
Quote
I really appreciate your work but I have a (small?) feature request: would it be possible to show the list of files involved (to the console, to file, whatever) before synching? Ideally with the action (replace, delete, add) that is going to take place.

Yeah, that would be a really useful feature to add to sync.  I don't think the Foobar console is really up to the task, though.

What would be cool is a vertically scrollable window, with 3 checkboxes (add, delete, replace) followed by the song name/filename. 

So something like:
Code: [Select]
Add         Delete         Replace           Song

                  x                                    Song Artist - Title #1
  x                                                    Song Artist - Title #2
                                      x                Song Artist - Title #3

It would make things a lot more complicated for me, but ideally, you should be able to uncheck the boxes (at least delete and replace) to prevent foo_pod from modifying your files on the iPod.

It would be a pretty big programming change, but it would be nice...
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-04-08 09:52:15
Quote
Yeah, that would be a really useful feature to add to sync.
Glad you agree.
Quote
I don't think the Foobar console is really up to the task, though.
A txt file would be perfect for my needs.
Quote
What would be cool is a vertically scrollable window, with 3 checkboxes (add, delete, replace) followed by the song name/filename.
Yeah, I didn't dare asking so much! I understand this would imply a major redesign of foo_pod (BTW, a single checkbox would suffice, IMHO). Perhaps you might consider the release of a static report first: it seems far more easy to make but still quite useful (well, to me anyway).

Thanks for your time.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: Leroy Bodacious on 2005-04-08 20:09:19
Is there some way to access / calculate the total file size of a playlist? I had assumed there was, but the posts I'm reading make it seem like file size is not implemented as meta data. Is there some roundabout way to calculate it or anything like that?

I use a single playlist to manage the songs I want on the ipod. Currently it's trial and error to determine if the entire list will fit on the ipod. If I could get a file size in the status bar it would be so helpful. Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-09 03:21:15
Quote
Is there some way to access / calculate the total file size of a playlist? I had assumed there was, but the posts I'm reading make it seem like file size is not implemented as meta data. Is there some roundabout way to calculate it or anything like that?

I use a single playlist to manage the songs I want on the ipod. Currently it's trial and error to determine if the entire list will fit on the ipod. If I could get a file size in the status bar it would be so helpful. Thanks.

Sure - just select all the songs in the playlist, right click, and select Properties - see Total Size.  If you want to find the total size of an iPod playlist, load it into Foobar using the Load iPod Playlists as Tabs, select all the songs, and view the Properties.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-04-09 13:51:24
Quote
What would be cool is a vertically scrollable window, with 3 checkboxes (add, delete, replace) followed by the song name/filename.
[a href="index.php?act=findpost&pid=289067"][{POST_SNAPBACK}][/a]

If you want to go that far, make sure we can change settings in bulk. Checkboxes get pretty useless if you've got a list of 850 songs.

Great idea though!
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2005-04-09 18:33:12
Something wierd is happening...
foo_pod is able to delete songs, and check free space, but when i go to add songs to it, it shuts down foobar all together. i have a 3G ipod with the latest firmware (3-23-05 i think). i don't understand what is goign on, i have tried replacing the 3 foo_pod files , but that doesn't work. also itunes is able to add songs. any ideas of what is going on?
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-04-09 19:37:42
for what it's worth, i've had that about 2 times.. deleting all MP3's and playlists and re-adding them fixed the problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2005-04-10 05:13:11
Quote
for what it's worth, i've had that about 2 times.. deleting all MP3's and playlists and re-adding them fixed the problem.
[a href="index.php?act=findpost&pid=289382"][{POST_SNAPBACK}][/a]


worked like a charm
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2005-04-10 08:16:56
Quote
Quote
for what it's worth, i've had that about 2 times.. deleting all MP3's and playlists and re-adding them fixed the problem.
[a href="index.php?act=findpost&pid=289382"][{POST_SNAPBACK}][/a]


worked like a charm
[a href="index.php?act=findpost&pid=289472"][{POST_SNAPBACK}][/a]


actually, now i am back to having the same problems, it just keeps shutting down
Title: foo_pod - Foobar2000 meets the iPod
Post by: Leroy Bodacious on 2005-04-10 19:03:50
Quote
Sure - just select all the songs in the playlist, right click, and select Properties - see Total Size.  If you want to find the total size of an iPod playlist, load it into Foobar using the Load iPod Playlists as Tabs, select all the songs, and view the Properties.
[a href="index.php?act=findpost&pid=289238"][{POST_SNAPBACK}][/a]

Thanks you. That does it; however, is it possible to get this value to show up on the status bar for the currently selected playlist?
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-04-10 22:48:19
@Aero:

Could it be possible to make available the Ottofill feature in the right-click context menu? I think it'll be nice to have it in order to use it right in the album list panel or Playlist Tree, I mean, filling the IPS from the selected node in the Album List or PT.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-11 02:48:51
Quote
Thanks you. That does it; however, is it possible to get this value to show up on the status bar for the currently selected playlist?

I don't believe it is possible with the standard Foobar GUI, but maybe it can be done with something like foo_columns_ui?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-11 02:58:26
Quote
Could it be possible to make available the Ottofill feature in the right-click context menu? I think it'll be nice to have it in order to use it right in the album list panel or Playlist Tree, I mean, filling the IPS from the selected node in the Album List or PT.

Am I understanding correctly that you want to have another option in the OttoFill to use the currently selected songs to fill the iPod (Shuffle) - in addition to Current Playlist, All Playlists, and From iPod?

Or do you want a context menu that automatically chooses the Current Playlist source in the OttoFill window?

Or both?    Neither is going to be hard to add, although I will have to squeeze another item onto the GUI for the first option.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-04-11 08:57:20
Quote
Am I understanding correctly that you want to have another option in the OttoFill to use the currently selected songs to fill the iPod (Shuffle) - in addition to Current Playlist, All Playlists, and From iPod?
[a href="index.php?act=findpost&pid=289673"][{POST_SNAPBACK}][/a]

Not exactly

In fact, it's more like the 'send files to ipod' in the foo_pod  right-click context menu. That's what i normally use for my Ipod, I right-click on a node in the Album list (or in Playlist Tree) panel and send it directly to the ipod without having to select or send to a playlist. It'll be nice to have the same option for the IPS but with Ottofill, so not all the node will be sent, but a random selection.

i.e. I right-click in the Album list panel the node (tree) 'by Artist>Nirvana' without sending the content of the node to a playlist, and then 'foo_pod>Ottofill'. it should fill the IPS with random slection of the Nirvana node.

Hope it's more clear now

Thanks for this great plugin.
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-04-11 10:45:51
Quote
Quote
Thanks you. That does it; however, is it possible to get this value to show up on the status bar for the currently selected playlist?

I don't believe it is possible with the standard Foobar GUI, but maybe it can be done with something like foo_columns_ui?
[a href="index.php?act=findpost&pid=289671"][{POST_SNAPBACK}][/a]


unfortunately, no
Title: foo_pod - Foobar2000 meets the iPod
Post by: Leroy Bodacious on 2005-04-11 11:05:49
I don't know if this is a bug or it's by design. When I choose Ignore Active Playlist for the database view (the playlist I'm using with Albumlist) and I sync all playlists, the playlist is not ignored. Every other playlist works fine.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-11 19:09:36
Quote
In fact, it's more like the 'send files to ipod' in the foo_pod  right-click context menu. That's what i normally use for my Ipod, I right-click on a node in the Album list (or in Playlist Tree) panel and send it directly to the ipod without having to select or send to a playlist. It'll be nice to have the same option for the IPS but with Ottofill, so not all the node will be sent, but a random selection.

i.e. I right-click in the Album list panel the node (tree) 'by Artist>Nirvana' without sending the content of the node to a playlist, and then 'foo_pod>Ottofill'. it should fill the IPS with random slection of the Nirvana node.

Ok, so that does sound like it is using selected files (at least internally in Foobar). 

If you can right click on your Album list (I don't use foo_columns_ui, so I don't know exactly what you are talking about), and there is the foo_pod menu to send selected songs to the iPod, then that is using the Foobar playlist selection.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-11 19:10:54
Quote
I don't know if this is a bug or it's by design. When I choose Ignore Active Playlist for the database view (the playlist I'm using with Albumlist) and I sync all playlists, the playlist is not ignored. Every other playlist works fine.
[a href="index.php?act=findpost&pid=289725"][{POST_SNAPBACK}][/a]

This is with foo_columns_ui, I assume.  I'm not sure how they are doing the "Database view", but it is probably some random playlist name or it isn't a real Foobar playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-11 19:12:46
BTW, before I forget, I'll be out of the country (and in Europe - UK & Italy) for a couple of weeks, starting on Thursday.  So there won't be any foo_pod updates for awhile and I likely won't be monitoring this forum.

If you find a bug or have a question, try sending it to foopod(at)argz.com so I don't miss it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-04-11 19:41:28
Quote
If you can right click on your Album list (I don't use foo_columns_ui, so I don't know exactly what you are talking about), and there is the foo_pod menu to send selected songs to the iPod, then that is using the Foobar playlist selection.
[a href="index.php?act=findpost&pid=289790"][{POST_SNAPBACK}][/a]

Yes, that's exactly what I'm doing. If you want you can check it without using Column UI, just use Album List (it can be use as a window from the component menu).
Title: foo_pod - Foobar2000 meets the iPod
Post by: infrared on 2005-04-12 02:18:58
Quote
BTW, before I forget, I'll be out of the country (and in Europe - UK & Italy) for a couple of weeks, starting on Thursday.  So there won't be any foo_pod updates for awhile and I likely won't be monitoring this forum.

[a href="index.php?act=findpost&pid=289793"][{POST_SNAPBACK}][/a]


Have a great time.  Hopefully it's a vacation
Title: foo_pod - Foobar2000 meets the iPod
Post by: nologin on 2005-04-12 04:12:07
  Anyone tried foo_alac? it seems it works with foo_pod. Great~
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-12 06:23:59
Quote
  Anyone tried foo_alac? it seems it works with foo_pod. Great~
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=289905")

Cool!  I was [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=32116&view=findpost&p=279592]hoping[/url] that someone would write a ALAC component, and it looks like Case did (http://www.saunalahti.fi/~cse/foobar2000/foo_alac.zip)!


infrared - Yep, I'm going to travel all over in Europe, taking pictures of my iPod (http://gallery.ipodlounge.com/index.php?cat=46).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-12 06:56:29
If anyone feels up for a test, I did some playing around and recompiled foo_pod using the Visual Studio .NET 2003, instead of Visual Studio 6. 

There shouldn't be any functional change, but at least on my computer, foo_pod feels noticably faster when compiled with VS 2003.  I also have a few little fixes in there, like the Idle priority setting for the transcoder and a possible fix for the iPod Browse Menu problem (where the songs in an album would previously be out of order).

Download foo_pod 0.9.9h_VS2003_Test (http://www.loodi.com/foo_pod0.9.9h_vs2003.zip)
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-04-12 11:32:22
Quote
BTW, before I forget, I'll be out of the country (and in Europe - UK & Italy) for a couple of weeks, starting on Thursday.
Too late, I'm afraid, but if you pass by Genoa and have time for a couple of beers (or simply need some info), just let me know.

Enjoy your stay!

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-04-12 15:29:04
Is it possible to transcode to m4a directly from an audio CD using foo_pod? I tried this last night without success. So, either my settings were incorrect or it is not possible. Your help is most appreciated.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-12 19:42:06
Quote
Is it possible to transcode to m4a directly from an audio CD using foo_pod? I tried this last night without success. So, either my settings were incorrect or it is not possible. Your help is most appreciated.

I believe CDDA tracks are handled differently inside of Foobar, and if I rememeber correctly, it doesn't work to transfer them directly to the iPod.  I'll take a look at it after I get back from vacation.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-13 13:30:31
Hi,

I recently started using foo_pod and I'm psyched about it, but I'm having some trouble.

I tried to transcode a playlist, and foo_pod says it's complete, but I don't see the songs on my iPod.  However, when I look at the disk via Windows explorer, I see the files with weird names, e.g. e17b6ff9004ae3153.mp3.

I used the customer encoder setting, so I must have screwed something up.

When I try to use one of foo_pods built in transcoders, iPod complains that the file is already transcoded and on the iPod.  When I load the iPod list into foo_bar, those previously transcoded files don't show up, so I can't delete them.

Any ideas?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2005-04-13 14:35:43
Looks to me like it didn't store the transcoded songs in the iPod database at all, maybe it has something to do with your custom transcoder.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-13 15:19:40
Quote
Looks to me like it didn't store the transcoded songs in the iPod database at all, maybe it has something to do with your custom transcoder.
[a href="index.php?act=findpost&pid=290249"][{POST_SNAPBACK}][/a]


I'm not sure how it all works, but is it possible for foo_pod to store the song (with the weird files name (which I'm assuming is the temporty name)) on the drive, but not put it into the iTunesDB, thus not showing up on the iPod, or the imported playlist in foobar?  This is what I presumed happened.  If so, how do I get rid of the incorrect files?  If I just delete them through windows explorer, will foo_pod know they're gone, because is seems to have some state of the transcoded file, i.e. it knows it's on the iPod and won't transcode it to another format.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-13 15:55:25
Quote
I recently started using foo_pod and I'm psyched about it, but I'm having some trouble.

I tried to transcode a playlist, and foo_pod says it's complete, but I don't see the songs on my iPod.  However, when I look at the disk via Windows explorer, I see the files with weird names, e.g. e17b6ff9004ae3153.mp3.

I used the customer encoder setting, so I must have screwed something up.

When I try to use one of foo_pods built in transcoders, iPod complains that the file is already transcoded and on the iPod.  When I load the iPod list into foo_bar, those previously transcoded files don't show up, so I can't delete them.

That is normal - the weird names are a file hash of the original file.  By storing the hash of the original file, I can determine when a duplicate file, which has been transcoded, already exists on the iPod.

You saw that working when foo_pod complained that the file was already on your iPod when you attempted to resend it using the LAME or FAAC encoders.  I'm not sure why you aren't seeing the songs on your iPod, but in general, transcoding works as expected (I use it on a daily basis and have never had a missing file). 

I guess try using one the LAME settings to send a new file, and see if that works.  If it does, maybe your custom encoder or the settings are the problem?  Post them or email them to me if LAME works.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-13 20:56:05
Quote
Quote
I recently started using foo_pod and I'm psyched about it, but I'm having some trouble.

I tried to transcode a playlist, and foo_pod says it's complete, but I don't see the songs on my iPod.  However, when I look at the disk via Windows explorer, I see the files with weird names, e.g. e17b6ff9004ae3153.mp3.

I used the customer encoder setting, so I must have screwed something up.

When I try to use one of foo_pods built in transcoders, iPod complains that the file is already transcoded and on the iPod.  When I load the iPod list into foo_bar, those previously transcoded files don't show up, so I can't delete them.

That is normal - the weird names are a file hash of the original file.  By storing the hash of the original file, I can determine when a duplicate file, which has been transcoded, already exists on the iPod.

You saw that working when foo_pod complained that the file was already on your iPod when you attempted to resend it using the LAME or FAAC encoders.  I'm not sure why you aren't seeing the songs on your iPod, but in general, transcoding works as expected (I use it on a daily basis and have never had a missing file). 

I guess try using one the LAME settings to send a new file, and see if that works.  If it does, maybe your custom encoder or the settings are the problem?  Post them or email them to me if LAME works.
[a href="index.php?act=findpost&pid=290268"][{POST_SNAPBACK}][/a]


Thanks Aero for the information and a great plugin.  I'm not saying transcoding doesn't work, I'm just trying to figure out where I went wrong  .

Is it safe to just delete the file from the F## directory and try transcoding again?  I'm presuming that's what I have to do to get foo_pod to try again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-04-13 22:13:07
Quote
Is it safe to just delete the file from the F## directory and try transcoding again?  I'm presuming that's what I have to do to get foo_pod to try again.

You can delete it, but it will still be in the iTunesDB database.  If you don't mind losing any normal playlists and dynamic information like rating and play counts, you can delete the file(s), then use the foo_pod/Maintenance/Rebuild iPod Database feature to recreate a database based on the files on your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-04-15 18:17:12
I'm deeply impressed by this work !!! 

I always made a big round around combining foobar with my ipod/itunes, but now..... I did jump forward, and I am fascinated, works great !!!!!!!

THX
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-17 05:51:21
Hey guys,

I have a few questions on ReplayGain/Soundcheck.

When I have ReplayGained music put onto the iPod via foo_pod, they seem too quiet (I know this isn't foo_pod problem, but SoundCheck in general).  What I mean is that I have to turn the iPod volume all the way up before it's LOUD.  Now I wouldn't listen to it this loud with headphones, but I like knowing that I have a little buffer room on turning up the volume, say, if I'm playing it in the car.

Now, I thought that was what the preamp stuff did for me in foo_pod, but I'm not sure I'm getting it to work right.  It sounds like the preamp stuff bumps up the base-level volume when SoundCheck is off, but not when SoundCheck is on.  I used the preamp for songs with SoundCheck data slider, so I figured that would pump up the volume of all the songs when using SoundCheck, while keeping them all at relativley the same volume.

Anyway, it seems like when the SoundCheck is on, if I turn the volume up past half way, there is no effect.

Does this make sense?  Do other people think ReplyGain/SoundCheck makes the music too quiet?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-18 01:29:35
Me again,

Why the heck does it take so long to mount my iPod?  I'm hoping it's not a USB1.0 vs USB2.0 thing.  Just trying to open foobars preferences take forever due to foo_pad trying to mount the iPod.

Maybe windows is doing something, since the Autoplay dialog box pops up and a flashlight quickly searches all the directories, then I'm back to waiting mode.

I have forced foo_pod to F:, which is where the iPod winds up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-18 16:42:09
Quote
When I have ReplayGained music put onto the iPod via foo_pod, they seem too quiet (I know this isn't foo_pod problem, but SoundCheck in general).  What I mean is that I have to turn the iPod volume all the way up before it's LOUD.  Now I wouldn't listen to it this loud with headphones, but I like knowing that I have a little buffer room on turning up the volume, say, if I'm playing it in the car.

ReplayGain/SoundCheck/any good volume levelling mechanism usually will lower the volume of most music quite substantially. The music was recorded/mastered too loud to begin with. Not really any good way around it.

Quote
Now, I thought that was what the preamp stuff did for me in foo_pod, but I'm not sure I'm getting it to work right.  It sounds like the preamp stuff bumps up the base-level volume when SoundCheck is off, but not when SoundCheck is on.

Nope. The "preamp" volume slider thing is adjusting the volume field, which applies all the time. Even with SoundCheck on, if you have the volume slider jacked up, it'll be louder.

Quote
I used the preamp for songs with SoundCheck data slider, so I figured that would pump up the volume of all the songs when using SoundCheck, while keeping them all at relativley the same volume.

I'm not entirely sure what the "preamp for songs with SoundCheck data slider" is. Could you be more clear and specify exactly what you turned on/did?

Quote
Anyway, it seems like when the SoundCheck is on, if I turn the volume up past half way, there is no effect.

Is this a US iPod or a European one? European iPod's have a volume limiter. You can find software to remove the limitation in the firmware with a little searching.

Quote
Does this make sense?  Do other people think ReplyGain/SoundCheck makes the music too quiet?

Too quiet? No. Quieter than normal? Probably, yes. Most CD's that come out nowadays are overamplified to the point where you lose all the dynamic range, but it "sounds louder". It probably wouldn't sound wrong to you if the album was mastered correctly in the first place.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-19 03:31:59
Quote
Nope. The "preamp" volume slider thing is adjusting the volume field, which applies all the time. Even with SoundCheck on, if you have the volume slider jacked up, it'll be louder.


OK, I thought that's how it should work.  I'll continue to play with it.

Quote
I'm not entirely sure what the "preamp for songs with SoundCheck data slider" is. Could you be more clear and specify exactly what you turned on/did?


This is a -100-0-100 slider that Aero has in the latest version of foo_pod.  I moved it to 100%.  He's also has a -100-0-100 slider for songs without Soundcheck data as well.

Quote
Is this a US iPod or a European one? European iPod's have a volume limiter. You can find software to remove the limitation in the firmware with a little searching.

That's a good point, however, given that I bought the iPod (4G) at BestBuy in Mass., I'd be quite pissed if it were a European one  .  That said, without SoundCheck on, the volume adjustment works normally.

Quote
Too quiet? No. Quieter than normal? Probably, yes. Most CD's that come out nowadays are overamplified to the point where you lose all the dynamic range, but it "sounds louder". It probably wouldn't sound wrong to you if the album was mastered correctly in the first place.


Thanks for the information Otto, I'll continue to play with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: pnjman on 2005-04-19 21:32:57
Version 0.9.9g is crashing foobar when any writting to the ipod database occurs resulting in loss of all music on the ipod. No error messages appear in either foobar or windows (XP Pro and Home). Reproduced using both an 3g and a 6gb mini on two computers. Reverting back to 0.9.9d fixes the issue, couldn't find 0.9.9e to test.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-04-20 02:26:03
Quote
Version 0.9.9g is crashing foobar when any writting to the ipod database occurs resulting in loss of all music on the ipod. No error messages appear in either foobar or windows (XP Pro and Home). Reproduced using both an 3g and a 6gb mini on two computers. Reverting back to 0.9.9d fixes the issue, couldn't find 0.9.9e to test.
[a href="index.php?act=findpost&pid=291975"][{POST_SNAPBACK}][/a]


I am having a similar problem but I assumed it was just a bad song that I was trying to upload.

I'll revert back to 0.9.9d and see if that fixes it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: cynix on 2005-04-20 03:40:45
When I send a .cue to iPod, foo_pod tries to transcode the whole .wav (or whatever the .cue goes with) instead of transcoding individual tracks like foo_clienc does. Would a future version correct this behavior?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bonzi on 2005-04-22 01:29:06
Hi, I'm having a lot of problems with the latest foo_pod.  It seems whenever I upload anything to my 4th gen iPod the songs get uploaded but are not accessible.  That is to say that they never appear in my iPod after they are uploaded.  I am using iPod Updater 11-15.  If you need more information just ask and I will provide it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-22 01:30:59
Quote
Is it possible to transcode to m4a directly from an audio CD using foo_pod? I tried this last night without success. So, either my settings were incorrect or it is not possible. Your help is most appreciated.

Thanks!
[a href="index.php?act=findpost&pid=289979"][{POST_SNAPBACK}][/a]


No this, won't work, since foobar2k is not a ripping program, which you need to rip the file off the CD into wav format, then transcode to m4a.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-22 01:34:48
Quote
If anyone feels up for a test, I did some playing around and recompiled foo_pod using the Visual Studio .NET 2003, instead of Visual Studio 6. 

There shouldn't be any functional change, but at least on my computer, foo_pod feels noticably faster when compiled with VS 2003.  I also have a few little fixes in there, like the Idle priority setting for the transcoder and a possible fix for the iPod Browse Menu problem (where the songs in an album would previously be out of order).

Download foo_pod 0.9.9h_VS2003_Test (http://www.loodi.com/foo_pod0.9.9h_vs2003.zip)
[a href="index.php?act=findpost&pid=289927"][{POST_SNAPBACK}][/a]



FYI, if you're going to try this, you'll need the MSVCP71.dll, which I didn't have and found at dll-files.com
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-04-22 03:22:26
Quote
Quote
Is it possible to transcode to m4a directly from an audio CD using foo_pod? I tried this last night without success. So, either my settings were incorrect or it is not possible. Your help is most appreciated.

Thanks!
[a href="index.php?act=findpost&pid=289979"][{POST_SNAPBACK}][/a]


No this, won't work, since foobar2k is not a ripping program, which you need to rip the file off the CD into wav format, then transcode to m4a.
[a href="index.php?act=findpost&pid=292563"][{POST_SNAPBACK}][/a]

Hi,
Thanks for your response. Aero had addressed this question when I first posted it and he thinks he may be able to address this when he returns from his travels. Actually, foobar2000 can rip a CD using Case's CLI encoder.  So, possibly  when transcoding directly from the CD foo_Pod will call the CLI encoder to rip to wav, then convert to m4a then send to the iPod. This way everything can be done in one step. Aero's the man! So far, he's done a terrific job meeting most everyone's needs & wishes. Here's hoping that he will tackle this request upon his return.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-04-22 05:51:15
Quote
Quote
Version 0.9.9g is crashing foobar when any writting to the ipod database occurs resulting in loss of all music on the ipod. No error messages appear in either foobar or windows (XP Pro and Home). Reproduced using both an 3g and a 6gb mini on two computers. Reverting back to 0.9.9d fixes the issue, couldn't find 0.9.9e to test.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=291975")


I am having a similar problem but I assumed it was just a bad song that I was trying to upload.

I'll revert back to 0.9.9d and see if that fixes it.
[a href="index.php?act=findpost&pid=292025"][{POST_SNAPBACK}][/a]


I tried again with 0.9.9e and didn't run into the same problems I did in 0.9.9f.  You can find 0.9.9e here
[a href="http://www.loodi.com/foo_pod_0.9.9e.zip]http://www.loodi.com/foo_pod_0.9.9e.zip[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-28 20:59:20
Quote
Hi, I'm having a lot of problems with the latest foo_pod.  It seems whenever I upload anything to my 4th gen iPod the songs get uploaded but are not accessible.  That is to say that they never appear in my iPod after they are uploaded.  I am using iPod Updater 11-15.  If you need more information just ask and I will provide it.
[a href="index.php?act=findpost&pid=292562"][{POST_SNAPBACK}][/a]


I'm having the exact same problem and it's driving me crazy.  Do you also have problems with mounting, i.e. it takes LONG time (i.e. on the order of minutes) and does it for every little thing I do in foobar, i.e. open preferences, save preferences, open foobar, etc.?

Does the Windows "What do you want to do with this device" window pop up with nothing in it when mounting?

Does "no disk can be found in X:" come up sometimes when mounting?

Does windows explorer open the iPod contents sometimes when mounting?

Does a search for autoplay.inf (with flashlight) come up sometimes when mounting?

One of these things (randomly from what I can tell) happens to me every time I mount the iPod and I'm at the end of my rope.  I did an over night transcode, only to find out nothing was on my iPod.  Tons of lkjdslfkj.mp3 files if I look at the drive however via windows explorer but that does me no good.  I just continue to "Delete all songs and playlists" and try again when I have a few hours to kill/waste.

Sorry to vent, but I had to get it out  .  Maybe someone here can help.

Thanks!

P.S. Just for debugging purposes, iTunes 4.7.1 works fine, albeit it does take a long time to mount as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-04-28 22:41:57
Instead of continually trying to send lots of stuff to the iPod, try sending just one song. For one thing, it's faster. And for another, if one song won't work, lots of them sure as heck won't.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-04-30 04:34:23
Quote
Instead of continually trying to send lots of stuff to the iPod, try sending just one song. For one thing, it's faster. And for another, if one song won't work, lots of them sure as heck won't.
[a href="index.php?act=findpost&pid=294006"][{POST_SNAPBACK}][/a]



Yeah I tried that, no dice  .

Anyway, I was looking at it again, and it looked as if there was no iTuneDB on the Ipod from what I could tell in explorer and foo_pod.  So I went to do a restore just to start from the beginning (since I didn't have any music on it anyway) and wouldn't you know it, my PC crashed in the middle of the restore D'OH.  Now it's off to Best Buy tomorrow with my protection plan or whatever they sold me to get a new one.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2005-04-30 18:30:24
hey guys!

it's been a long time since my last post in this thread... so, maybe this questions has been answered already, but anyways - I don't really get how to handle playlists with foo_pod's playlist-editor. I tried to drag some files from a foobar playlist onto it, but those files weren't added... can anyone provide a short how2?

and, another one: what does the menu-speedup thingy actually do? well, I know - speed up the menu, but I did not experience any speed increase..
Title: foo_pod - Foobar2000 meets the iPod
Post by: JuG on 2005-05-06 01:16:21
Hi,

its been a long time since my last posting too
I just sent 997 files (with transcoding) to the ipod. It worked without warnings and errors, but now there is something odd.

The playlist that I sent states "997 items, total length: 2d 18:26:40"
The plalist on the ipod states "997 items, total length: 2d 18:20:23"
Am I missing 6:17 minutes of music? What could be the cause of this difference?

I compared some random songs but there seems to be no difference in the length of each song. Maybe it's something like 1/10 sec on each song that adds up?

My custom transcoding-settings are the same as for the normal diskwriter. And diskwriter works correct, tested it with one album (6 songs).
original length: 18:56
with diskwriter: 18:56
with foo_pod:  18:53
Yet, the displayed length of each file by itself does not difffer.

Well, guess its not a big problem and the difference will most likely not be audible. It just made me wonder.


Anyways, thanks for foo_pod, keep it up Aero!
JuG
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bonzi on 2005-05-06 03:19:31
Quote
I'm having the exact same problem and it's driving me crazy.  Do you also have problems with mounting, i.e. it takes LONG time (i.e. on the order of minutes) and does it for every little thing I do in foobar, i.e. open preferences, save preferences, open foobar, etc.?

Does the Windows "What do you want to do with this device" window pop up with nothing in it when mounting?

Does "no disk can be found in X:" come up sometimes when mounting?

Does windows explorer open the iPod contents sometimes when mounting?

Does a search for autoplay.inf (with flashlight) come up sometimes when mounting?

[a href="index.php?act=findpost&pid=293979"][{POST_SNAPBACK}][/a]


Yeah, this sounds like exactly what was happening for me.  You may need to use the restore tool.  That was the only thing that worked for me.

Quote
Instead of continually trying to send lots of stuff to the iPod, try sending just one song. For one thing, it's faster. And for another, if one song won't work, lots of them sure as heck won't.
[a href="index.php?act=findpost&pid=294006"][{POST_SNAPBACK}][/a]


For sure, I tried uploading all my music when I was having this problem once and it didn't work.  Boy, was I ever pissed.  And I never have made that mistake again.  When I was having these problems I just tried with one song .  Unfortunately, I never figured out what the problem was.  I just figured it was a oddity of my screwing with the iPod too much.  But since someone else is having the same problem I guess it may not be.
Title: foo_pod - Foobar2000 meets the iPod
Post by: TheMile on 2005-05-06 03:39:46
Quote
I recently started using foo_pod and I'm psyched about it, but I'm having some trouble.

I tried to transcode a playlist, and foo_pod says it's complete, but I don't see the songs on my iPod.  However, when I look at the disk via Windows explorer, I see the files with weird names, e.g. e17b6ff9004ae3153.mp3.

I'm seeing somewhat similar behavior.  When I send an entire playlist to my iPod Mini, the transcoded files get transferred correctly, but they don't get added to the iPod's internal playlists.  That is, when I send the following playlist:

Playlist "Classic Rock"
Song 1.mp3
Song 2.wv
Song 3.mp3

I get the following on my iPod:

Playlist "Classic Rock"
Song 1
Song 3

(No playlist)
Song 2

The transcoded files get the hash for a file name.

My transcoding settings are the built in AAC standard mode, and I haven't tweaked foo_pod otherwise.  The files being transcoded are Wavpack files in the hybrid lossless mode, so there's actually two files, if it matters.  Thanks for the excellent program and any help you can give.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zyrill on 2005-05-06 14:18:15
This plugin is just so amazing - thanks a million for making it possible to transfer music to my baby with foobar!
i wanted to know if the feature to transfer covers for the albums on the ipod photo will be implemented. any chance of seeing it in the future?
well, thanks again - you really made my day!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-07 16:17:14
Hey, I'm back from Europe.  Fun times, but it is good to be home. 

BTW, I picked up a new iPod Photo and camera adaptor for the trip (we took 2,186 pictures, so it got a lot of use...), so I can work on Photo-specific stuff, if I want.  In fact, I wrote a little app in about 30 minutes that displays the thumbnails created by the camera adaptor, just as an experiment.  Support for things like album art and the regular Photo Library will take longer, since the database format is not completely reversed engineered.

I'm trying to get caught up with the forum posts.  I'll take a look at the crash that was apparently introduced in 0.9.9f.  I have seen Foobar crash after sending files to the iPod, but I think the problem was added in 0.9.9e, so I'm surprised that e works but f doesn't.  Something else might be going on...

As for transcoding and playlists - this is a known bug.  For now, you have to transcode first, then add them to a playlist.  Speaking of playlists, you can't currently drag songs from Foobar onto the Playlist Editor.  To create iPod playlists, first create a Foobar playlist and name it what you wish.  Then add/order the songs, and choose the Send Current Playlist to iPod menu item.  This will create the playlist on the iPod, and copy any files that aren't already on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-05-07 18:09:29
Welcome back, Aero! I hope you had a fun, and relaxing, visit to Europe. I'm going in a month or so myself... hopefully you didn't take all the good pictures

Glad to hear you were able to get another ipod photo as well. Any work you may want to do with photo-only capabilities is fine by me! Thanks a bunch, as always.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-05-07 19:16:28
Welcome back Aero!

Well most of my problems have been solved with uninstalling iTunes.  Don't ask me why, but almost everything thing seems to work properly now (transcoding, files showing up on iPod)!  I'm a happy man.

However, the one last thing I'm having trouble with is the iPod Pre-amp Volume Adjustment, Sounds with SoundCheck data.  I've transcoded songs to the iPod with it set to -100% and 100% and can't hear a difference  .  I know that SoundCheck data is in the file however, because when I turn off SoundCheck on the iPod, the song is much louder. It doesn't seem to me that the preamp part is working.  Is there a bug with this when transcoding the files (rather than just copying them to the iPod)?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-07 23:04:00
Quote
However, the one last thing I'm having trouble with is the iPod Pre-amp Volume Adjustment, Sounds with SoundCheck data.  I've transcoded songs to the iPod with it set to -100% and 100% and can't hear a difference   .  I know that SoundCheck data is in the file however, because when I turn off SoundCheck on the iPod, the song is much louder. It doesn't seem to me that the preamp part is working.  Is there a bug with this when transcoding the files (rather than just copying them to the iPod)?


I don't think it is transcoder related, because the preamp settings are applied after all of the songs are already on the iPod.  Maybe certain iPod firmware versions ignore the preamp volume is SoundCheck data is available?  Apple has been doing some weird stuff with firmwares lately, like removing the _show_voltage hack in the latest Photo firmware (but leaving it in for the 4G firmware).  I'm pretty sure that the preamp volume is getting set correctly in the database, so maybe it is something like a firmware change?

I'll do more experimenting and see if I can figure out what is going on.

Edit: At least on my iPod Photo with v1.1 firmware, this feature works as expected.  I tested that non-SC volume works by setting the volume to -90%, and it was nearly inaudible.  Then I transfered 2 identical files with SoundCheck (-5.56dB), but manually edited the database so one has -90% preamp, and the other had +90%.  The -90% song was very quiet, and very slightly louder when SoundCheck was turned off.  The 90% song was very loud and even louder with SoundCheck turned off, as expected.  I didn't test it on my 4G iPod with 3.0.2 firmware, but I am almost certain I tested it on this model when I added the feature to foo_pod. 

If you are still having problems, please post your iPod model and firmware, and the preamp volume settings for both non-SC and SC.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-05-08 05:30:13
Quote
If you are still having problems, please post your iPod model and firmware, and the preamp volume settings for both non-SC and SC.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=295911")


I must be doing something wrong.  I have a 4G iPod Photo with 3-23-05 (v1.1) firmware.

Here is the relevant settings:
[a href="http://www.matonian.com/preamp.jpg]http://www.matonian.com/preamp.jpg[/url]

I did the same trick of sending an identical song to the ipod, one with -100% and 100% and I didn't hear a difference.  That's why the slider is on 100% in the settings above.

My workflow is as follows:
EAC->FLAC
FB2k sets replaygain for the album
Highlight files, right click, foo_pod, send files to ipod
foo_pod then proceeds to transcode the file to MP3 using LAME 3.96.1 and puts it on the iPod.

Am I missing a step or something?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-08 18:33:48
Quote
I must be doing something wrong.  I have a 4G iPod Photo with 3-23-05 (v1.1) firmware.

Here is the relevant settings:
http://www.matonian.com/preamp.jpg (http://www.matonian.com/preamp.jpg)

I did the same trick of sending an identical song to the ipod, one with -100% and 100% and I didn't hear a difference.  That's why the slider is on 100% in the settings above.

My workflow is as follows:
EAC->FLAC
FB2k sets replaygain for the album
Highlight files, right click, foo_pod, send files to ipod
foo_pod then proceeds to transcode the file to MP3 using LAME 3.96.1 and puts it on the iPod.

Am I missing a step or something?

The same preamp settings are applied to all songs, and it is updated whenever foo_pod writes the iTunesDB database.  So if all of your music has ReplayGain/Soundcheck, it will all get the same preamp value and you won't notice a difference.  Also, make sure your song really does have ReplayGain information by checking the technical data in the Foobar Properties window. 

Try this - set the non-Soundcheck slider to -90% and the Soundcheck slider to +90%.  Then copy 2 new songs - one with Soundcheck and one without.  Put them in a new playlist, so you can easily compare them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Porschephile on 2005-05-09 18:58:46
I'm having a slight problem with foo_pod and my iPod photo 30gb. I like to Replaygain all my files - however I didn't get a chance to replaygain then before uploading them onto the iPod. Hence, I tried adding the iPod playlist into foobar (i.e. directly playing the songs off my iPod using foobar) - and then Replaygain'ing them. The scans would happen but the Replaygain info wouldn't 'stick' to the files - i.e. when i play those files off my iPod after reconnecting it or over the iPod on a standalone basis through headphones - the files are still distorted and the replaygain info has disappeared. My only solution is hence to copy the files back onto my hard disk, replaygain them, and then upload them again - a very lengthy process!! Is there any way around this??

I'd also like to take the opportunity to say that iTunes is a piece of fascist dogsh*t, and foo_pod f*cking rocks a*s.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-09 22:29:26
Quote
I'm having a slight problem with foo_pod and my iPod photo 30gb. I like to Replaygain all my files - however I didn't get a chance to replaygain then before uploading them onto the iPod. Hence, I tried adding the iPod playlist into foobar (i.e. directly playing the songs off my iPod using foobar) - and then Replaygain'ing them. The scans would happen but the Replaygain info wouldn't 'stick' to the files - i.e. when i play those files off my iPod after reconnecting it or over the iPod on a standalone basis through headphones - the files are still distorted and the replaygain info has disappeared. My only solution is hence to copy the files back onto my hard disk, replaygain them, and then upload them again - a very lengthy process!! Is there any way around this??

There is a way, but not a really good way...

The only way to do this without copying the files off of the iPod is to use the Rebuild iTunesDB Database menu item, found under the Components/foo_pod/Maintanence menu.  This will rescan your iPod and build a new database based on the files on your iPod.  So if you have applied ReplayGain to the files *on* the iPod, it will pick up those changes.  The downside is that rebuilding the database deletes any normal (but not smart) playlists, and you also lose dynamic infomation, like rating, last played time, and playcounts. 

What I really need to do is create a feature that does the updating, without having to do a full database rebuild.  As I was typing this, I figured out how I could do this, so if you want to wait about a week or so (maybe less, maybe more), I'll put that feature on the top of my todo list.


Quote
I'd also like to take the opportunity to say that iTunes is a piece of fascist dogsh*t, and foo_pod f*cking rocks a*s.


Heh.  Thanks for the praise!  I was using iTunes last night, to help in reverse engineering the Photo Database format, and I felt dirty just using it...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Porschephile on 2005-05-10 00:58:15
Quote
Heh.  Thanks for the praise!  I was using iTunes last night, to help in reverse engineering the Photo Database format, and I felt dirty just using it...
[a href="index.php?act=findpost&pid=296421"][{POST_SNAPBACK}][/a]


Cool - the ONLY two things I use iTunes for now are:

1. Uploading photos onto the iPod photo (but why does this create a HUGE cache file as well as copying the images themselves?!)

2. Applying my customised EQ curve to my music - I've created a customised EQ setting as I didn't like any of the defaults in iTunes - and applied this to every single song I have - although I'm not sure where this data is saved (or if it even accessible by any program except iTunes itself) but hope my iPod is playing back my tracks with this EQ curve being the functional one. I usually apply a gentle EQ curve on top by turning on the iPod EQ- e.g. Classic. My custom EQ doesn't appear in the iPod EQ list.

If somehow foo_pod could integrate custom EQ settings, that would be major achievement and would address what I think is the iPod's 2nd largest shortcoming... (the first being the lack of any proper user DSP functionality)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-10 05:59:35
Quote
1. Uploading photos onto the iPod photo (but why does this create a HUGE cache file as well as copying the images themselves?!)

The whole photo syncing procedure with iTunes is crazy and poorly implemented.  When the iPod Photos first came out, I figured that Apple rushed the current implementation out the door just so there would be *something* to load images.  But I expected something better by now.

Part of the problem is that there are 4 different images (5, if you include full size resolution) that are created for each image copied to the iPod.  One of them is for TV display only, which is uncompressed 16 bit @720x480, or around 675kB in file size.  It appears that this is what iTunes caches on your hard drive - I can only guess that to speed up syncing, but there are better ways to avoid resending the same images. 

My photo utility (which won't be part of foo_pod, BTW) will not only transfer images, but let you view the ones already on the iPod and remove them individually.  And no huge, wasteful caches littering your hard drive.  In fact, I plan to make the TV image optional, so if you never connect your iPod to a TV for display, you don't have waste time creating it and waste disk space storing it.

Quote
2. Applying my customised EQ curve to my music - I've created a customised EQ setting as I didn't like any of the defaults in iTunes - and applied this to every single song I have - although I'm not sure where this data is saved (or if it even accessible by any program except iTunes itself) but hope my iPod is playing back my tracks with this EQ curve being the functional one. I usually apply a gentle EQ curve on top by turning on the iPod EQ- e.g. Classic. My custom EQ doesn't appear in the iPod EQ list.

If somehow foo_pod could integrate custom EQ settings, that would be major achievement and would address what I think is the iPod's 2nd largest shortcoming... (the first being the lack of any proper user DSP functionality)

Otto42 has reverse engineered the EQ section of the database on the iPod, but it appears that the iPod doesn't use this information even if it is present.  I haven't tested it recently, but the last time I tried, I was able to create a custom EQ preset on the iPod but it wasn't applied on the iPod itself.

So until the firmware is fixed, you are stuck with the EQ presets.  In the database, it is possible to have different EQ settings for each song, but I can't remember if this is actually applied on the iPod, or if it is ignored and the Settings/EQ is used instead.
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-05-10 07:26:11
Sounds awesome, Aero.

Will the photo utility be a foobar plug-in, or a standalone app?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-10 16:31:52
Quote
Sounds awesome, Aero.

Will the photo utility be a foobar plug-in, or a standalone app?

Standalone - no connection to Foobar (or foo_pod) at all.  In fact, it is going to be a .NET application. 

I might extend it to also work with album artwork, since that is very close to the Photo Database stuff.
Title: foo_pod - Foobar2000 meets the iPod
Post by: daniel1113 on 2005-05-10 18:37:56
Makes sense... I assumed that by photo you meant album artwork, and thus another foobar plug-in. Still sounds awesome for anyone that uses the photo functions of the ipod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-10 19:05:25
Quote
Makes sense... I assumed that by photo you meant album artwork, and thus another foobar plug-in. Still sounds awesome for anyone that uses the photo functions of the ipod.
[a href="index.php?act=findpost&pid=296616"][{POST_SNAPBACK}][/a]

The album art writing will (eventually) go into foo_pod - this other app would be more for management (add/removing/changing album art).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-05-10 19:07:55
Quote
In the database, it is possible to have different EQ settings for each song, but I can't remember if this is actually applied on the iPod, or if it is ignored and the Settings/EQ is used instead.
[a href="index.php?act=findpost&pid=296485"][{POST_SNAPBACK}][/a]

The per-song EQ in the MHIT is indeed applied iff:
- the EQ you specify is one of the iPod's defaults (since it doesn't seem to load the EQSettings file), and
- the equalizer is not set to "off" on the iPod's settings menu.

The way it works when the iPod's Equalizer is on is that the iPod will apply the EQ specified in the MHIT, or if there isn't one, it will apply whatever EQ is set in the settings. So setting it to "Flat" in the settings is equivalent to turning it "on", as this will leave normal songs alone and apply whatever EQ you specified on those where you specified one.

I have not checked version 2.3 of the software to see if they added/fixed the EQ loading yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-10 21:30:26
Quote
The per-song EQ in the MHIT is indeed applied iff:
- the EQ you specify is one of the iPod's defaults (since it doesn't seem to load the EQSettings file), and
- the equalizer is not set to "off" on the iPod's settings menu.

The way it works when the iPod's Equalizer is on is that the iPod will apply the EQ specified in the MHIT, or if there isn't one, it will apply whatever EQ is set in the settings. So setting it to "Flat" in the settings is equivalent to turning it "on", as this will leave normal songs alone and apply whatever EQ you specified on those where you specified one.

I have not checked version 2.3 of the software to see if they added/fixed the EQ loading yet.
[a href="index.php?act=findpost&pid=296628"][{POST_SNAPBACK}][/a]

Thanks for the reminder.  I added some code to iPodDB to set the EQ MHOD, but never adding anything in foo_pod to do anything with it.

I checked the latest firmware, and there is no EQPresets string in it, so I'm guessing that custom EQ settings are still unimplemented on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-05-10 21:44:52
I thought the newer firmwares were actually encrypted? I need to examine it in more detail, I guess.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-10 22:46:31
Quote
I thought the newer firmwares were actually encrypted? I need to examine it in more detail, I guess.
[a href="index.php?act=findpost&pid=296670"][{POST_SNAPBACK}][/a]

Nope, at least some 2005-03-23 updater firmware is in plain text.  In fact, you can open it in Visual Studio and look at the different firmwares in the "FIRM" resource type, and see the various strings.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-05-13 11:23:53
Aero, I've noticed no regressions in the VS2003 version of your plugin.  The next time you build it, can you build it in release mode so that extra libraries aren't required (it doesn't worry me as I have VS2003 installed, but many people don't have it installed).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-13 15:54:50
Quote
Aero, I've noticed no regressions in the VS2003 version of your plugin.  The next time you build it, can you build it in release mode so that extra libraries aren't required (it doesn't worry me as I have VS2003 installed, but many people don't have it installed).
[a href="index.php?act=findpost&pid=297178"][{POST_SNAPBACK}][/a]

It is built in Release mode - it is just that not everyone has the VC7 runtime library installed yet.

Edit: I'll put in the runtime DLL for the next release, which will be VC7 based since no one seems to be having any problems with it, and it might be a little faster.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-05-13 17:57:33
I'm confused then.  I've been working on a component, that when built in debug mode requires the VC7 runtime library, but when built in release mode does not.  How can this be?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-13 18:11:59
Quote
I'm confused then.  I've been working on a component, that when built in debug mode requires the VC7 runtime library, but when built in release mode does not.  How can this be?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=297266")

The release build only needs the non-debug C++ runtime DLL (msvcp71.dll), while a debug build would need msvcp71d.dll, and maybe other debug libraries.  I can only guess, but you might have msvcp71.dll already installed in your SysDir/System32 directory, but wouldn't have the debug DLLs installed until you have Visual Studio 2003 installed as well.

There is some information about the runtime DLLs [a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp]here[/url].
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-05-13 18:14:35
More specifically, I've had my component work on a computer without VC7, but the VC7 version of foo_pod not work on the same computer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: aurelio on 2005-05-13 18:46:22
Hi Aero, I really appreciate foo_pod features and your effort to make it ever better.

In my actual condition, most music on my hard disk is encoded in one single lossless file+cue for each album. When I have to transfer an album to my iPod, foo_pod first converts in the chosen format (mp3, aac etc.) but still in a single file, instead of as many files as the included tracks based on the cue.
So every time I must accomplish more steps manually, i.e.: convert to single lossy format files per track; transfer them to iPod; delete them from hard disk.

I found in this thread that it's a known behaviour due to lack of cue support.
Do you have any planned update about this?
Thank you for your attention and your great work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-13 19:21:30
Quote
Hi Aero, I really appreciate foo_pod features and your effort to make it ever better.

Thanks!

Quote
In my actual condition, most music on my hard disk is encoded in one single lossless file+cue for each album. When I have to transfer an album to my iPod, foo_pod first converts in the chosen format (mp3, aac etc.) but still in a single file, instead of as many files as the included tracks based on the cue.
So every time I must accomplish more steps manually, i.e.: convert to single lossy format files per track; transfer them to iPod; delete them from hard disk.

I found in this thread that it's a known behaviour due to lack of cue support.
Do you have any planned update about this?
Thank you for your attention and your great work.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=297278")

Yeah, CUE support is lacking, and is something that I have meant to add for awhile now. 

I was just thinking about cue sheets this morning, while driving to work listening to the [a href="http://www.bfbs2.com/rnb1.html]Raven'n'Blues podcast[/url].  I was thinking that it would be great if shows like R'n'B would distribute a cue sheet along with the audio file.  Then with the right program (foo_pod, naturally! ), it would be possible to create a playlist with all of the individual songs as cue sheet entries.  So if you wanted to listen to the 3rd song on the show, you could just skip to the 3rd song in the playlist, rather than fast forwarding or rewinding to the right spot.  I guess it is sort of a chicken and egg problem - there isn't any software to convert a cue sheet into individual tracks on the iPod, and there aren't any podcasts distributing cuesheets...  But since there are a lot of people that use them with Foobar, it definitely would be a good feature to add.

Anyway, yes, I intend on adding cuesheet support at some point.  I have most of the code already written - I just need some time to finish the iPod side of it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-15 17:39:40
Okay, I've been having a problem for a while now.  Sometimes it simply won't transcode files, and I don't know why.  I've tried replacing my lame.exe, updating foo_pod.  It was doing this before and after a format.  I don't know wtf is going on.  Here is my console (some are in single files + cue sheets, some aren't).

Code: [Select]
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://F:\My Documents\Converted Music\Metallica - Nothing Else Matters.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying F:\My Documents\Converted Music\Metallica - Nothing Else Matters.ape to e:\iPod_Control\Music\F40\a9370487c93ce50c2.mp3
ERROR (foo_podclienc) : Writing to encoder failed
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://F:\My Documents\Converted Music\Tool - Lateralus.flac
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying F:\My Documents\Converted Music\Tool - Lateralus.flac to e:\iPod_Control\Music\F85\7ad7977b59d72a5a9.mp3


Please help me!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-15 20:36:13
Quote
Okay, I've been having a problem for a while now.  Sometimes it simply won't transcode files, and I don't know why.  I've tried replacing my lame.exe, updating foo_pod.  It was doing this before and after a format.  I don't know wtf is going on.  Here is my console (some are in single files + cue sheets, some aren't).

Code: [Select]
ERROR (foo_podclienc) : Writing to encoder failed
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://F:\My Documents\Converted Music\Tool - Lateralus.flac
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying F:\My Documents\Converted Music\Tool - Lateralus.flac to e:\iPod_Control\Music\F85\7ad7977b59d72a5a9.mp3

Which version of LAME are you using?  And have you tried using one of the FAAC defaults, just to see if that has any difference?
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-15 23:14:14
The newest, 3.96.1 I believe and yes I have.

EDIT:  Well, I think it got it working, more or less.  I just did a full transfer of about 2500 songs, and no errors (as best I can tell), but the songs that were transcoded that are also in playlists are NOT in those playlists on the iPod.  They ARE on the iPod, but not in the playlists. 

Did I miss something?
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-16 01:34:31
Sorry for the double post, but I also have a request. 

In these long file transfers and transcoding sessions, my room is awful quiet.  Would it be possible to allow us to listen to music while foo_pod is doing its thing?
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-17 02:00:06
BUmp
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-05-17 02:17:14
Your post was less then a day old, I didn't really need a bump.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-17 03:33:36
Quote
In these long file transfers and transcoding sessions, my room is awful quiet.  Would it be possible to allow us to listen to music while foo_pod is doing its thing?

Buy a radio or learn to hum? 

Newer versions of foo_pod try to do a better job of not monopolizing Foobar, but it isn't completely a background process.  Try starting up music before you start the transcoding (and the transcoding/playlist problem is a known bug).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-18 07:01:46
Version 0.9.9h is now available (http://www.loodi.com/foo_pod.zip)

0.9.9h only has 2 changes over 0.9.9g - I added an Update iPod Database feature (found under the foo_pod/Maintenance menu) and removed the change from 0.9.9e which made the progress dialogs non-modal.

Update iPod Database is useful if you make changes to the files on your iPod, and want to update the database to match.  For example, Porschephile posted (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=296372) about his situation - he applied ReplayGain to the files already on the iPod.  But since foo_pod didn't previously have a way to take these changes and update the database, his only solutions would be to copy the files off of the iPod and back, or use the Repair Database feature.  By using Update Database, you can do things like change artist/album/genre or add ReplayGain, and have those changes applied to the database without having to rebuild the whole thing.

The other change is that I made the progress dialogs modal again.  This means that while foo_pod is doing something (like transferring songs), Foobar will be locked.  I don't like this, but I think that a rare crash bug was introduced by the original change in 0.9.9e, so I want to see if this fixes it.

One other note is that I am officially switching over to the Visual Studio 2003 compiler.  If you don't already have the msvcp71.dll on your computer, you can find a copy in the zip file. Just copy it to your Windows\System32 directory, or to the Foobar directory.


From the Readme:
Code: [Select]
Version 0.9.9h - May 17, 2005
*  Added the "Update iPod Database" feature, found under the foo_pod Maintenance menu.  This feature scan all songs on your iPod and update their entries in the iPod database.  This is useful if you change metadata or add ReplayGain information to songs already on your iPod.
 
*  Removed the 0.9.9e change which made the progress dialogs non-modal.  This change may be the cause of some intermittant Foobar crashed.

*  Officially switched to using the VC++ 7.0 compiler (previous versions were compiled using VC++ 6.0).  This should have no impact on users, although foo_pod compiled with VC++ 7.0 seems to be noticably faster in some operations.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nchase on 2005-05-19 15:43:13
I have a problem with the sync option in foo_pod; when I choose sync all playlists, it doesn't recognize the songs that are already on the iPod, and begins copying them all indiscriminately causing the iPod's drive to fill with duplicates.  When I choose to synch my main / largest playlist it prompts me to delete 5788 songs, which is basically everything I have on the iPod.  Does anyone know what may be causing this?
Title: foo_pod - Foobar2000 meets the iPod
Post by: shlomomofo on 2005-05-20 00:03:57
just got an ipod photo ... foo_pod rocks.  i have one problem/bug to report.  when i try to use the new "update itunesdb database on ipod" function, i get a runtime error in foobar2000.exe.  anybody else have this problem?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-20 04:13:56
Quote
I have a problem with the sync option in foo_pod; when I choose sync all playlists, it doesn't recognize the songs that are already on the iPod, and begins copying them all indiscriminately causing the iPod's drive to fill with duplicates.  When I choose to synch my main / largest playlist it prompts me to delete 5788 songs, which is basically everything I have on the iPod.  Does anyone know what may be causing this?
[a href="index.php?act=findpost&pid=298794"][{POST_SNAPBACK}][/a]

It could be a foo_pod bug, but similar things have happened to others in the past, and it usually turns out to be something they did that modified the song files on the iPod.  Do you know of anything you've done to the files (some Foobar components - like some versions of Play Count or Ratings - will modify a file's metadata behind the scenes. 
Still, it seems strange that all 5788 songs would have changed.  Let me know if you know of anything that would have modified the files.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-20 04:16:03
Quote
just got an ipod photo ... foo_pod rocks.  i have one problem/bug to report.  when i try to use the new "update itunesdb database on ipod" function, i get a runtime error in foobar2000.exe.  anybody else have this problem?
[a href="index.php?act=findpost&pid=298928"][{POST_SNAPBACK}][/a]

Would you please send me (foopod(at)argz.com) your iPod_Control\iTunes\iTunesDB file?  I haven't experienced any crashes, but it is a new feature and so there are bound to be some problems.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-05-20 05:48:47
Quote
Quote
just got an ipod photo ... foo_pod rocks.  i have one problem/bug to report.  when i try to use the new "update itunesdb database on ipod" function, i get a runtime error in foobar2000.exe.  anybody else have this problem?
[a href="index.php?act=findpost&pid=298928"][{POST_SNAPBACK}][/a]

Would you please send me (foopod(at)argz.com) your iPod_Control\iTunes\iTunesDB file?  I haven't experienced any crashes, but it is a new feature and so there are bound to be some problems.
[a href="index.php?act=findpost&pid=298959"][{POST_SNAPBACK}][/a]


I have the same problem too... I will send you the iTunesDB file shortly...
Title: foo_pod - Foobar2000 meets the iPod
Post by: veryevilmike on 2005-05-20 09:25:45
I'm just starting to play with foo_pod and so far am rather impressed - well done Aero, Otto &co.

One question regarding the treatment of multidisc albums. iTunes has a box for Disc 1 of 6, but when you save such info it doesn't appear in any tags, suggesting it is instead stored somewhere in an itunes db on the hard disc. The godfather tagging program has a tag called "partinset" and i've seen other people suggest a pair of tags DiscNumber and Disccount.

I'd like foo_pod to transfer this information when it populates my ipod - is there a default tag that it looks for with this information in it?

Mike
Title: foo_pod - Foobar2000 meets the iPod
Post by: nellistc on 2005-05-20 14:19:31
Hi guys,

Great work on foo_pod so far - much appreciated.

I have a question regarding Ottofill. Whenever I use it, I only get ~2GB of songs transferred (10GB 2g ipod). Is this a limitation in the current version, or is something going wrong?


thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nchase on 2005-05-20 20:43:45
Quote
Quote
I have a problem with the sync option in foo_pod; when I choose sync all playlists, it doesn't recognize the songs that are already on the iPod, and begins copying them all indiscriminately causing the iPod's drive to fill with duplicates.  When I choose to synch my main / largest playlist it prompts me to delete 5788 songs, which is basically everything I have on the iPod.  Does anyone know what may be causing this?
[a href="index.php?act=findpost&pid=298794"][{POST_SNAPBACK}][/a]

It could be a foo_pod bug, but similar things have happened to others in the past, and it usually turns out to be something they did that modified the song files on the iPod.  Do you know of anything you've done to the files (some Foobar components - like some versions of Play Count or Ratings - will modify a file's metadata behind the scenes. 
Still, it seems strange that all 5788 songs would have changed.  Let me know if you know of anything that would have modified the files.
[a href="index.php?act=findpost&pid=298958"][{POST_SNAPBACK}][/a]


I don't know what may have modified the files. I do not have ratings, and I do not believe I have play count. I decided to sync, just to see what would happen, and even though it copied all of the songs to the iPod just fine, they do not show up (all menus under "Browse" are blank).  I can see all the files on the iPod when I connect it to my PC though.  This is really puzzling me!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-21 23:41:20
Quote
Quote
Quote
just got an ipod photo ... foo_pod rocks.  i have one problem/bug to report.  when i try to use the new "update itunesdb database on ipod" function, i get a runtime error in foobar2000.exe.  anybody else have this problem?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=298928")

Would you please send me (foopod(at)argz.com) your iPod_Control\iTunes\iTunesDB file?  I haven't experienced any crashes, but it is a new feature and so there are bound to be some problems.
[a href="index.php?act=findpost&pid=298959"][{POST_SNAPBACK}][/a]


I have the same problem too... I will send you the iTunesDB file shortly...
[a href="index.php?act=findpost&pid=298974"][{POST_SNAPBACK}][/a]

Thanks to everyone who sent their iTunesDB files and other debugging information.  I wasn't able to reproduce the crash, but I did narrow the problem down a little, and I have posted a test version of foo_pod for you to try to see if it works on your computer.

[a href="http://www.loodi.com/foo_pod_0.9.9i_test.zip]foo_pod 0.9.9i test version[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-21 23:51:18
Quote
I'm just starting to play with foo_pod and so far am rather impressed - well done Aero, Otto &co.

Thanks!

Quote
One question regarding the treatment of multidisc albums. iTunes has a box for Disc 1 of 6, but when you save such info it doesn't appear in any tags, suggesting it is instead stored somewhere in an itunes db on the hard disc. The godfather tagging program has a tag called "partinset" and i've seen other people suggest a pair of tags DiscNumber and Disccount.

I'd like foo_pod to transfer this information when it populates my ipod - is there a default tag that it looks for with this information in it?

foo_pod currently uses the metadata entries "DISC" and "TOTALDISC" for Disc 1 of 6, respectively.  I'm pretty sure I just made up those names, and since no one has ever asked about them, I never had a reason to change them.

I can easily add new metadata name aliases, such as DiscNumber and DiscCount, if those seem to be a more widely used standard.  I just did some quick Googling, and it looks like those names are used by several different programs (including by the iTunes Music Store, in its XML format), so I'll add those in the next release.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-21 23:54:42
Quote
I have a question regarding Ottofill. Whenever I use it, I only get ~2GB of songs transferred (10GB 2g ipod). Is this a limitation in the current version, or is something going wrong?


No, that is a bug.  I capped the number of songs that can be transferred at 400, as a hack, and never went back and implemented it correctly.

I'll try to fix it for the next build.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nellistc on 2005-05-22 03:06:49
Quote
No, that is a bug.  I capped the number of songs that can be transferred at 400, as a hack, and never went back and implemented it correctly.

I'll try to fix it for the next build.


Ok, thanks. In the meantime, running ottofill a couple of times without replacing the existing songs works fine.
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-22 07:34:43
First off, since I found this plug-in, I absolutely refuse to use iTunes.  It's so bloated and clumbsy.  foo_pod is simple.  foo_pod --> send all playlists to iPod --> play video games --> done.  I really appreciate your hard work.

I'm just wondering if there is any progress on the transcoded files showing up on iPod but not on playlists bug?  I'm not a programmer or anything, I'm just wondering if I can help.  I'll send my iTunes DB, try other computers, foo_pod, iPod, foobar builds, whatever needs to be done.  Whenever this gets fixed, I can fully uninstall iTunes.

Thanks again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-22 09:07:11
Quote
I'm just wondering if there is any progress on the transcoded files showing up on iPod but not on playlists bug?  I'm not a programmer or anything, I'm just wondering if I can help.  I'll send my iTunes DB, try other computers, foo_pod, iPod, foobar builds, whatever needs to be done.  Whenever this gets fixed, I can fully uninstall iTunes.

Thanks for the offer of help, but I know exactly what the problem is and how I need to fix it.  I just need to sit down and commit myself to working on it (it won't be too hard to fix - I just need to make sure I don't break anything else while fixing this bug).

Speaking of working, I spent some time tonight with Album Cover Art Downloader (http://louhi.kempele.fi/~skyostil/projects/albumart/) and leeched a bunch of cover art from Amazon.com.  No promises on adding album art support to foo_pod, but at least I have some extra motivation to implement it. 

I think it will work like this: when you copy a song to the iPod, foo_pod will check that song's directory for 'folder.jpg' (configurable).  If it is found, that is what foo_pod will use for the artwork.  If nothing is found, it will go up a directory, and so on and so forth until it finds a folder.jpg.  So if you are like me and organize your music by Artist/Album, even if you don't have album art for a particular album, you could put some generic artist artwork in the Artist directory.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-23 06:33:20
Version 0.9.9i (http://www.loodi.com/foo_pod.zip) is now available.

This version might fix the crash reported in Update iPod Database, and should take care of the long-standing problem where transcoded files would not be included in iPod playlists.  It also adds a workaround for OttoFill, so it will fill up iPods with capacities >1GB.  I also added "DISCNUMBER" and "DISCCOUNT" metadata supported, as requested by veryevilmike (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=299005).


From the Readme:
Code: [Select]
Version 0.9.9i - May 23, 2005
*  Fixed a potential crash that would occur after an OttoFill session was completed.

*  Fixed a long standing bug in "Send Current/All Playlists To iPod" where files that needed to be transcoded would not appear in the iPod playlist.

*  Added a possible fix for crashes reported in the "Update iPod Database" feature, added in 0.9.9h.
 
*  Changed the metadata entries for discs and sets of discs to "DISCNUMBER" and "DISCCOUNT", respectively (they were previously "DISC" and "TOTALDISC").  For example, to indicate that a song if from Disc #2 of a 6 disc set, you would set DISCNUMBER to 2, and DISCCOUNT to 6.  These values are stored in the iTunesDB database.

*  Added a workaround so OttoFill is able to send more than ~2GB of songs (400 songs).  
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-24 00:53:48
Thanks for the update Aero.  The fix for transcoded files works.  Unfortunetely, I'm having a bit of an issue.  First I'll tell you what I'm doing.  It could very well be me.  I tried to add 4 playlists: My favorites, a playlist of 503 of my favorite songs, Top 100, my top 100 favorites, a playlist of 100 of my favorite songs, a playlist of a single 12 song album, and another simply called "iPod" which is about 2250 of the rest of my music.  Each playlist except for the single album have files that need to be transcoded.

I had all 4 playlists loaded in foobar, and went foo_pod --> send all playlists to iPod.  Only 3 showed up, and 1 was way off.  The My Favorites list had all 503 songs, yay!  You fixed the bug.  The single album was fine as well.  The list entitled "iPod" didn't show up, but all the files on it did?  Also, the Top 100 list, only 1 song was on it?  Wtf? 

Each song on the Top 100 list is on the My Favorites list.  The 1 song that showed up on the Top 100 list seemed completely random. 

If you need any more details of what happened, I'll be glad to provide them.

BTW:  Thanks for the update.  I really appreciate the work you are doing.  Do you accept donations for the work?  Usually I don't do this, but when big contributions are made to a community, I feel it should be rewarded a bit.  Thanks again.

EDIT:  I also tried renaming the playlist and sending it or deleting it off of the iPod, renaming it, then sending it, or any of the above combinations.  They don't even show up on there.  I must be missing something...

EDIT 2:  Okay, no matter what, unless I use iTunes, I can't get foo_pod to create a new playlist.  Unless something has changed on foo_pod's level, I feel really stupid...

EDIT 3: Okay, did a little experiment.  I completely removed foobar, foo_pod, my entire foobar folder, the whole 9 yards.  Reinstalled it all, completely updated.  Tried again and getting similar symptoms.  Went into iTunes, and it seems the songs that don't get sent (some transcoded, many just plain MP3s) have exclamation points by them.  iTunes can't play them nor edit them, hence they aren't on those playlists, but apparently ARE on the iPod.  And, they are all at the beginning of the list of songs (516 songs total sent, wierd songs stopped after AC/DC).  As far as I can tell, nothing is unique about these songs over others.  For instance, one AC/DC song from the same album worked, another didn't, both are transcoded.  This seems to be the root of the problem, I just don't know what is wrong with these songs.  I hope this helps.

EDIT 4: To add to this experiment, I resent those songs, but not with the "send playlist" rather, just "send songs to iPod" and they are just fine.  I then manually added them to my playlists via iTunes and every song was accounted for.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nellistc on 2005-05-24 11:53:13
Thanks for the update, Aero.

Quote
It also adds a workaround for OttoFill, so it will fill up iPods with capacities >1GB.


Seems this works a little too well now. Ottofill attempted to copy ~2500 songs; made it to 1750 before running into disk space issues. Did you just up the limit of songs copied or should it have only picked enough songs to fill the disk?

thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: nchase on 2005-05-25 15:16:32
Quote
Quote
Quote
I have a problem with the sync option in foo_pod; when I choose sync all playlists, it doesn't recognize the songs that are already on the iPod, and begins copying them all indiscriminately causing the iPod's drive to fill with duplicates.  When I choose to synch my main / largest playlist it prompts me to delete 5788 songs, which is basically everything I have on the iPod.  Does anyone know what may be causing this?
[a href="index.php?act=findpost&pid=298794"][{POST_SNAPBACK}][/a]

It could be a foo_pod bug, but similar things have happened to others in the past, and it usually turns out to be something they did that modified the song files on the iPod.  Do you know of anything you've done to the files (some Foobar components - like some versions of Play Count or Ratings - will modify a file's metadata behind the scenes. 
Still, it seems strange that all 5788 songs would have changed.  Let me know if you know of anything that would have modified the files.
[a href="index.php?act=findpost&pid=298958"][{POST_SNAPBACK}][/a]


I don't know what may have modified the files. I do not have ratings, and I do not believe I have play count. I decided to sync, just to see what would happen, and even though it copied all of the songs to the iPod just fine, they do not show up (all menus under "Browse" are blank).  I can see all the files on the iPod when I connect it to my PC though.  This is really puzzling me!
[a href="index.php?act=findpost&pid=299157"][{POST_SNAPBACK}][/a]


Okay, more on this problem I am still having.  With my iPod in the state I noted in my previous post (not showing any songs), I tried using the rebuild iTunes DB on iPod feature multiple times to no avail.  Then I decided to reinstall iTunes, just to see what would happen.  Oddly enough, it recognized the iPod immediately, and saw all the songs on it. Nothing was transferred over that I know of.  Then, I ejected the iPod and all the songs now appeared on it!  This was great.  Since this happened, I have been able to use foo_pod to send songs to the iPod. I am unable to send normal playlists (they do not appear under the playlists menu on the iPod). I am able to create smart playlists though.  Is it possible that I am overlooking something?  Also, is it important that my iPod connects to my PC through a firewire port?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-05-25 17:56:17
Well, this sounds to me like there's something new in the iPod's DB that's causing an issue.

Aero, you might want to compare an iTunes 4.8 created MHYP (on an 3G or 4G iPod with the latest firmware) with the ones you're creating and see what's different there. I think they've added something new to it that the iPod is now expecting to see.

Edit: There's some posts over in the iPodLinux forum suggesting that the UTF16/UTF8 string encoding flag in the MHOD has changed. Somebody says that it's flipped now. I haven't checked yet, but this could be a real problem if true. Might start there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-26 05:20:23
Quote
Well, this sounds to me like there's something new in the iPod's DB that's causing an issue.

Aero, you might want to compare an iTunes 4.8 created MHYP (on an 3G or 4G iPod with the latest firmware) with the ones you're creating and see what's different there. I think they've added something new to it that the iPod is now expecting to see.

Edit: There's some posts over in the iPodLinux forum suggesting that the UTF16/UTF8 string encoding flag in the MHOD has changed. Somebody says that it's flipped now. I haven't checked yet, but this could be a real problem if true. Might start there.
[a href="index.php?act=findpost&pid=300480"][{POST_SNAPBACK}][/a]

I downloaded and installed iTunes 4.8 (ick), and used it to create a playlist on my 4G iPod called "æropod".  The encoding for the MHYP's MHOD was indeed 1, and the string was most definitely UTF-16 encoded.  The database version is still 0x0c, which I would have expected to be bumped up if Apple did make a significant change.

And I'm not sure that anything has necessarily changed or should be causing problems.  I have never personally seen UTF-8 strings in the iTunesDB (there are non-UTF16 encoded strings in the Photo Database, but it could be straight ANSI strings for all I know).  The default hidden playlist's name was also encoded in UTF-16, and the encoding value was 1.

Anyway, foo_pod was able to correctly display the playlist (including the æ character), and I was able to add a song to the iTunes 4.8 created playlist, and the song and playlist appeared correctly on the iPod. 

I then deleted the playlist in foo_pod, created a new playlist with the same name, and sent it and a file to the iPod.  It displayed correctly on the iPod (again with the æ character), and when I opened up iTunes 4.8, iTunes displayed the playlist and name correctly.  This was with the mhod::encoding value set to 0.

So unless I'm missing something, there is nothing to see here.  iTunes and the iPod seem to ignore mhod::encoding, if indeed that is really what it is.  foo_pod doesn't seem to have any problems reading playlists created by iTunes and vice versa.  nchase's problem might be a side-effect of my recent attempted fix of the transcoded playlist problem.  That turned out to be the wrong fix, and I am going to back it out and release a new version of foo_pod.

Edit: Note that this test was done with the fixed version of 0.9.9i (more or less equivalent to 0.9.9h), so any 0.9.9i problems people have been encountering wouldn't have shown up here.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-26 05:33:16
Quote
Thanks for the update Aero.  The fix for transcoded files works.  Unfortunetely, I'm having a bit of an issue.  First I'll tell you what I'm doing.  It could very well be me.  I tried to add 4 playlists: My favorites, a playlist of 503 of my favorite songs, Top 100, my top 100 favorites, a playlist of 100 of my favorite songs, a playlist of a single 12 song album, and another simply called "iPod" which is about 2250 of the rest of my music.  Each playlist except for the single album have files that need to be transcoded.

I had all 4 playlists loaded in foobar, and went foo_pod --> send all playlists to iPod.  Only 3 showed up, and 1 was way off.  The My Favorites list had all 503 songs, yay!  You fixed the bug.  The single album was fine as well.  The list entitled "iPod" didn't show up, but all the files on it did?  Also, the Top 100 list, only 1 song was on it?  Wtf? 

Each song on the Top 100 list is on the My Favorites list.  The 1 song that showed up on the Top 100 list seemed completely random. 

If you need any more details of what happened, I'll be glad to provide them.

I think this is a side-effect of the attempted fix for the "transcoded songs not appearing in playlists".  I'm going to post an update shortly, so please test that and see if it helps.  It will remove the fix for transcoded songs, but should make normal playlists work again.


Quote
BTW:  Thanks for the update.  I really appreciate the work you are doing.  Do you accept donations for the work?  Usually I don't do this, but when big contributions are made to a community, I feel it should be rewarded a bit.  Thanks again.

There is a section in the Readme file if you are interested.  It is somewhat out of date (I did lose my iPod Photo, but I ended up buying another one anyway...).  The number of donations currently stand at one (), but honestly, I don't want anyone to feel obligated to donate anything other than bug reports and suggestions (and praise, as warrented!).


Quote
EDIT 4: To add to this experiment, I resent those songs, but not with the "send playlist" rather, just "send songs to iPod" and they are just fine.  I then manually added them to my playlists via iTunes and every song was accounted for.
[a href="index.php?act=findpost&pid=300003"][{POST_SNAPBACK}][/a]

This definitely sounds like a side-effect of the transcoded song/playlist fix.  Send File doesn't add songs to the playlist, while Send Playlist does try to create the playlists and add the songs.  Hopefully the update will take care of the problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-26 05:35:38
Quote
Quote
It also adds a workaround for OttoFill, so it will fill up iPods with capacities >1GB.


Seems this works a little too well now. Ottofill attempted to copy ~2500 songs; made it to 1750 before running into disk space issues. Did you just up the limit of songs copied or should it have only picked enough songs to fill the disk?
[a href="index.php?act=findpost&pid=300111"][{POST_SNAPBACK}][/a]

OttoFill is currently very dumb - it just tries sending files until the list is empty.  The size of the list depends on your iPod's disk space - I want it to be a big enough number to ensure that the iPod is filled up, but not so big that it tries to send way too many files.

I'll make the out of disk space message a little less obnoxious as a quick fix.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-05-26 16:33:30
Quote
OttoFill is currently very dumb[a href="index.php?act=findpost&pid=300598"][{POST_SNAPBACK}][/a]



Quote
The default hidden playlist's name was also encoded in UTF-16, and the encoding value was 1.

I agree, that value seems not to actually be the encoding type. It might be the encoding for the Album Art database's mhod's, but it doesn't seem to be anything yet known for the iTunesDB file. Clearly these two files are not entirely identical formats anyway.

I've corrected the wiki.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ats on 2005-05-27 06:18:02
Hi there anybody help please

I use EAC to create CD images that are then compressed to FLAC and use an embeddded cusheet file so i only have 1 file per CD

When i convert to mp3 in foobar normaly then foobar splits the FLAC's in mp3's at there propper points however when i use foo_pod it make ONE super huge mp3 and copys that to my iPod Photo

Can anyone tell me why foo_pod dosen't split up my files 

Also does anyone know of any good software to send pics to my  iPod photo instead of iTunes

Thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-27 17:15:55
Quote
I use EAC to create CD images that are then compressed to FLAC and use an embeddded cusheet file so i only have 1 file per CD

When i convert to mp3 in foobar normaly then foobar splits the FLAC's in mp3's at there propper points however when i use foo_pod it make ONE super huge mp3 and copys that to my iPod Photo

Can anyone tell me why foo_pod dosen't split up my files 


This has been discussed many, many times in this forum.  foo_pod currently does not completely support cue sheets.  Several people have requested this, and I will get around to implementing it sooner or later.


Quote
Also does anyone know of any good software to send pics to my  iPod photo instead of iTunes

Album art or pictures in the Photo Library?  I am probably going to do both at some point, but otherwise, I don't know of any application, other than iTunes, that can upload photos to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Porschephile on 2005-05-28 00:02:03
Aero, thanks for the updated foo_pod. The issue with track data not 'sticking' to files on my iPod is resolved!

Next on my list to do... a quick and easy way to add album art (nothing is arguably as easy as using Windows Media Player - provided your tags are semi-informative, album art is not a problem - pity about the sound quality and system usage tho )

I've now downloaded most of my album covers (5,000 tracks, a couple of hundread albums.. ugh) but want to map them to my iPod...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-28 04:33:30
Quote
Aero, thanks for the updated foo_pod. The issue with track data not 'sticking' to files on my iPod is resolved!

Cool.


Quote
Next on my list to do... a quick and easy way to add album art (nothing is arguably as easy as using Windows Media Player - provided your tags are semi-informative, album art is not a problem - pity about the sound quality and system usage tho )

I've now downloaded most of my album covers (5,000 tracks, a couple of hundread albums.. ugh) but want to map them to my iPod...
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=301031")

Quick and easy for you - lots of hard database reverse engineering and programming for me!   

I talked about my ideas for album art in [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=299425]this post[/url].  I haven't done any work on it yet, and there are a lot of other things that are competing for my time, so I can't even give a rough estimate when I might have something ready to test.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ats on 2005-05-28 05:52:20
Thanks for the help Aero. Let us know when you get your picture and album program out. foo_pod rocks
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-28 07:01:54
I would actually like to know if I'm not the only one having the issue with sending playlists and some songs end up fubared (no pun intended) and only part of the playlist showing up.  Sending 500 songs in a single playlist of varying bit rates and varying file types, only 400 show up, this sort of thing (including transcoded files).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-29 01:10:15
Version 0.9.9j (http://www.loodi.com/foo_pod.zip) is now available.


This version should fix the problems people have recently been having with playlists.  Unfortunately, it reverts the fix for transcoded songs and playlists added in 0.9.9i, so I'll have to find a better way to fix that.

I also added a new feature that I have already found is very useful - Cull 1 Star Songs.  This menu item will search your iPod for 1 star songs and delete them.  This doesn't touch unrated songs, or songs with 2 - 5 stars, and it will prompt you with the number of songs it is planning to delete before doing anything.

The reason I wanted to add this is that after I have listened to a podcast, I typically want to delete it. But if I'm away from a computer, it isn't always easy to remember which files I wanted to delete.  So now, I can mark the song with a single star, and use the Cull feature to automatically remove it when I am connected. 



From the Readme:
Code: [Select]
Version 0.9.9j - May 28, 2005
*  Reverted the transcoded songs not appearing in playlists fix from 0.9.9i - this was causing many more serious problems with playlist.  I will revisit this bug later...
 
*  Added the "Cull 1 Star Songs" feature.  This automatically deletes any songs on the iPod that are rated with 1
  star.  Note that this feature will not erase unrated songs, or rated songs with 2 or more stars.
 
*  Removed duplicate warnings about out of disk space when sending files or using OttoFill.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Porschephile on 2005-05-29 01:22:31
Aero, I was just moaning about iTunes' crap album art functionality - I wouldn't want to be the one trying to make foo_pod album art work like WMPlayer! The important thing is that foo_pod removes the need to even have iTunes installed, and its just about there, I think!!!

Having my first major problem with my iPod photo 30GB - all the songs on my iPod 'appear' to have disappeared (can't find anything on my iPod, but the songs are still there on the iPod hard disk). I've tried using iTunes DB rebuild in foo_pod 0.9.9i, with no luck. I'm trying it again with 0.9.9j, let's see what happend?

Can anyone offer any advice or pointers? Anyone else experienced this?
Title: foo_pod - Foobar2000 meets the iPod
Post by: nchase on 2005-05-29 01:38:50
Quote
Aero, I was just moaning about iTunes' crap album art functionality - I wouldn't want to be the one trying to make foo_pod album art work like WMPlayer! The important thing is that foo_pod removes the need to even have iTunes installed, and its just about there, I think!!!

Having my first major problem with my iPod photo 30GB - all the songs on my iPod 'appear' to have disappeared (can't find anything on my iPod, but the songs are still there on the iPod hard disk). I've tried using iTunes DB rebuild in foo_pod 0.9.9i, with no luck. I'm trying it again with 0.9.9j, let's see what happend?

Can anyone offer any advice or pointers? Anyone else experienced this?
[a href="index.php?act=findpost&pid=301268"][{POST_SNAPBACK}][/a]


I had this problem...for some reason when I installed and ran iTunes and it detected my iPod it was fixed though.  I'm quite clueless about what the problem actually is, but you may want to just try running iTunes if you haven't already.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-05-29 03:31:46
Quote
Aero, I was just moaning about iTunes' crap album art functionality - I wouldn't want to be the one trying to make foo_pod album art work like WMPlayer! The important thing is that foo_pod removes the need to even have iTunes installed, and its just about there, I think!!!

I don't know how WMP handles album art, but I assume it just looks for an image in the same directory as the songs?

Quote
Having my first major problem with my iPod photo 30GB - all the songs on my iPod 'appear' to have disappeared (can't find anything on my iPod, but the songs are still there on the iPod hard disk). I've tried using iTunes DB rebuild in foo_pod 0.9.9i, with no luck. I'm trying it again with 0.9.9j, let's see what happend?

Can anyone offer any advice or pointers? Anyone else experienced this?
[a href="index.php?act=findpost&pid=301268"][{POST_SNAPBACK}][/a]

Anytime you (or anyone) has a really weird problem like that, please send your iTunesDB file (found in the iPod_Control\iTunes folder on your iPod) to foopod(at)argz.com.  If you want to send before/after files, that would be helpful too.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Porschephile on 2005-05-29 13:12:29
Quote
I don't know how WMP handles album art, but I assume it just looks for an image in the same directory as the songs?]


Nope, provided you have enough track info in the tags (title, artist and album tend to do the job), WMP will automatically find the artwork, download it and display it. It stores the downloaded art as a large and small jpg file in the directory where the album is located.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Skates on 2005-05-29 22:23:11
Just got an iPod and I can't thank you enough for the plug-in, I didn't even install iTunes just went straight to using your component.

I was wondering if you were thinking about adding support for .cue files, in the sense that it would split up one big ass MP3 file into separate tracks that could be played on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Porschephile on 2005-05-31 14:48:23
I'm having serious issues with 0.9.9i onwards. My database seems to have got completely corrupted, forunately I was able to back up my 28GB or so of songs and restore my iPod. Rolled back my foo_pod build to a version from around 3 weeks ago which works 100%. Unfortunately my backups are 50 miles away and saved on a 10 year old's laptop!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-05-31 18:43:28
Quote
I'm having serious issues with 0.9.9i onwards. My database seems to have got completely corrupted, forunately I was able to back up my 28GB or so of songs and restore my iPod. Rolled back my foo_pod build to a version from around 3 weeks ago which works 100%. Unfortunately my backups are 50 miles away and saved on a 10 year old's laptop!!
[a href="index.php?act=findpost&pid=302104"][{POST_SNAPBACK}][/a]


No offense Porshe, but this isn't exactly official software, and it is kindof a beta.  You really are using it at your own risk and as such, should have you music backed up some place close and reliable.  Also, when that happens, make sure you send Aero our iTunesDB as per his instructions with what you were doing and what happened along with your iPod version, software version, etc.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-05-31 20:09:22
Quote
I don't know how WMP handles album art, but I assume it just looks for an image in the same directory as the songs?

WMP has a feature similar to musicmatch's smart tagging. If it can identify a song well enough, it'll download the album art (and tag info) and will even move the file around in your directory structure if you tell it to do so, and so forth.

Long story short, all you really have to do to support album art and be compatible with WMP and a whole host of other apps that default to the defacto similar method is to check the same folder as the file is in for a "folder.jpg" and you can pretty safely assume that is the album cover.

Supporting APIC frames in ID3v2 tags would also be nice, and I know other tags have that sort of capability too, but that might be a bit too much for a first draft, sort of thing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Eli on 2005-06-01 00:20:25
Sorry, I know somewhere on the 57+ pages this has probably been answered. I tried a search to no avail.

I was wondering about multiple ipods w/ foo_pod and how it handles them
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-01 02:40:53
Quote
Quote
I'm having serious issues with 0.9.9i onwards. My database seems to have got completely corrupted, forunately I was able to back up my 28GB or so of songs and restore my iPod. Rolled back my foo_pod build to a version from around 3 weeks ago which works 100%. Unfortunately my backups are 50 miles away and saved on a 10 year old's laptop!!
[a href="index.php?act=findpost&pid=302104"][{POST_SNAPBACK}][/a]


No offense Porshe, but this isn't exactly official software, and it is kindof a beta.  You really are using it at your own risk and as such, should have you music backed up some place close and reliable.  Also, when that happens, make sure you send Aero our iTunesDB as per his instructions with what you were doing and what happened along with your iPod version, software version, etc.
[a href="index.php?act=findpost&pid=302173"][{POST_SNAPBACK}][/a]

Porschephile actually did send me his iTunesDB file, even before his post.  I haven't done extensive testing yet, but I did verify it loaded in foo_pod without error, so there must be something else going on when it is loaded on the iPod.

Also, you should be able to rebuild the iTunesDB in foo_pod.  This simply scans your iPod for songs and recreates a new working database - none of your songs should be lost.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-01 02:42:42
Quote
Long story short, all you really have to do to support album art and be compatible with WMP and a whole host of other apps that default to the defacto similar method is to check the same folder as the file is in for a "folder.jpg" and you can pretty safely assume that is the album cover.

Supporting APIC frames in ID3v2 tags would also be nice, and I know other tags have that sort of capability too, but that might be a bit too much for a first draft, sort of thing.
[a href="index.php?act=findpost&pid=302201"][{POST_SNAPBACK}][/a]

I don't plan to support the embedded images in the ID3v2 tags (mainly because as far as I know, Foobar2000 doesn't support it), but I will do the folder.jpg searching.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-01 02:46:26
Quote
I was wondering about multiple ipods w/ foo_pod and how it handles them
[a href="index.php?act=findpost&pid=302264"][{POST_SNAPBACK}][/a]

foo_pod has pretty good support for multiple iPods.  You can only access one at a time, switching between them using the "Select iPod To Use" menu item.  I map Select iPod to Control-Shift-I in Foobar, so I can easily switch between two or more iPods.

One feature that I use quite a bit is the option in OttoFill to select songs from another iPod.  This is really nice for use with an iPod Shuffle, since you can plug both your main iPod and the Shuffle in, then automatically fill up the Shuffle with random songs from the main iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Skates on 2005-06-01 03:40:10
Quote
Quote
Long story short, all you really have to do to support album art and be compatible with WMP and a whole host of other apps that default to the defacto similar method is to check the same folder as the file is in for a "folder.jpg" and you can pretty safely assume that is the album cover.

Supporting APIC frames in ID3v2 tags would also be nice, and I know other tags have that sort of capability too, but that might be a bit too much for a first draft, sort of thing.
[a href="index.php?act=findpost&pid=302201"][{POST_SNAPBACK}][/a]

I don't plan to support the embedded images in the ID3v2 tags (mainly because as far as I know, Foobar2000 doesn't support it), but I will do the folder.jpg searching.
[a href="index.php?act=findpost&pid=302294"][{POST_SNAPBACK}][/a]

Actually, if/when you do update the plug-in to v0.9, cover art in tags is actually supported properly.  foobar2000 no longer deletes binary data from tags...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-01 04:44:04
Quote
Actually, if/when you do update the plug-in to v0.9, cover art in tags is actually supported properly.  foobar2000 no longer deletes binary data from tags...
[a href="index.php?act=findpost&pid=302304"][{POST_SNAPBACK}][/a]

Thanks for the info.  Do you know if there is an interface for getting at the binary data, or just that it isn't deleted when you write tags?

Since 0.9 apparently breaks existing plugins, whether I update foo_pod or not will probably depend on how much work it would take update the code to the 0.9 SDK.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-06-01 08:17:42
Quote
Since 0.9 apparently breaks existing plugins, whether I update foo_pod or not will probably depend on how much work it would take update the code to the 0.9 SDK.
Now that's worrisome!

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-01 11:00:55
That is worrisome.  It should not take a huge amount of effort to update foo_pod to support 0.9.  A few edits, and a recompile with the new SDK and you should be fine.  In terms of features, 0.9 has some significant advantages and I would be sorely disapointed if foo_pod was not updated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-01 21:58:30
Quote
That is worrisome.  It should not take a huge amount of effort to update foo_pod to support 0.9.  A few edits, and a recompile with the new SDK and you should be fine.  In terms of features, 0.9 has some significant advantages and I would be sorely disapointed if foo_pod was not updated.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=302376")

Is there even a 0.9 SDK available?  I don't see anything on [a href="http://www.foobar2000.org/beta.html]the beta page[/url], and in fact, I haven't really even seen a list of new features in 0.9.
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-06-01 22:20:15
foo_podders:

First, big thanks to Aero, Otto, and all others involved in this fabulous plugin. I've been living without iTunes for a few months now, and have absolutely no regrets.

I thought I'd share my simple IPOD_LAST_PLAYED_TIME conversion TAGZ-script. Anyone using this will have to modify the variable 'gmtCorrection' for their appropriate timezone. Please fee free to modify/clean as you see fit.
Code: [Select]
#script 1
if (meta_test("IPOD_LAST_PLAYED_TIME"))
{
iPodTime =  meta("IPOD_LAST_PLAYED_TIME");

secondsPerYear = 31557600;
secondsPerDay = 86400;
secondsPerHour = 3600;

gmtCorrection = -6 * secondsPerHour;
iPodTime += gmtCorrection;

years = iPodTime / secondsPerYear;
days = (iPodTime % secondsPerYear) / secondsPerDay;
hours = (iPodTime % secondsPerYear % secondsPerDay) /   secondsPerHour;
minutes = (iPodTime % secondsPerYear % secondsPerDay %   secondsPerHour) / 60;
seconds = (iPodTime % secondsPerYear % secondsPerDay %   secondsPerHour % 60);

year = 1970 + years;

jan = 31;
if (year % 4 == 0)
{
 feb = jan + 29;
}
else
{
 feb = jan + 28;
}
mar = feb + 31;
apr = mar + 30;
may = apr +31;
jun = may + 30;
jul = jun + 31;
aug = jul + 31;
sep = aug + 30;
oct = sep + 31;
nov = oct +30;

month = 1;
day = days;

if (days > jan)
{
 month = 2;
 day = days - jan;  
}
if (days > feb)
{
 month = 3;
 day = days - feb;  
}
if (days > mar)
{
 month = 4;
 day = days - mar;  
}
if (days > apr)
{
 month = 5;
 day = days - apr;  
}
if (days > may)
{
 month = 6;
 day = days - may;  
}
if (days > jun)
{
 month = 7;
 day = days - jun;  
}
if (days > jul)
{
 month = 8;
 day = days - jul;  
}
if (days > aug)
{
 month = 9;
 day = days - aug;  
}
if (days > sep)
{
 month = 10;
 day = days- sep;  
}
if (days > oct)
{
 month = 11;
 day = days - oct;  
}
if (days > nov)
{
 month = 12;
 day = days - nov;  
}

day++;

date = pad_left(year,4,"0") # "-" # pad_left(month, 2, "0") # "-" # pad_left(day, 2, "0");
time = pad_left(hours, 2, "0") # ":" # pad_left(minutes, 2, "0");
}
else
{
date = "";
time = "";
}
print(date # " " # time);


It's kinda ugly, but that's my solution given the limitations of TAGZ-script!
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-06-01 23:41:50
Quote
Quote
That is worrisome.  It should not take a huge amount of effort to update foo_pod to support 0.9.  A few edits, and a recompile with the new SDK and you should be fine.  In terms of features, 0.9 has some significant advantages and I would be sorely disapointed if foo_pod was not updated.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=302376")

Is there even a 0.9 SDK available?  I don't see anything on [a href="http://www.foobar2000.org/beta.html]the beta page[/url], and in fact, I haven't really even seen a list of new features in 0.9.
[a href="index.php?act=findpost&pid=302564"][{POST_SNAPBACK}][/a]


No.  Its not going to be released until the beta is over in order to discourage beta testers from using 3rd party plugins (and reporting problems with them).
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-06-02 04:12:09
stevekim:

That looks plakomkex.  What exactly does it do or improve on.  I don't code and that looks like latin translated to aramaic translated to chinese to me.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-02 04:55:01
Quote
First, big thanks to Aero, Otto, and all others involved in this fabulous plugin. I've been living without iTunes for a few months now, and have absolutely no regrets.

  Thanks!

Quote
I thought I'd share my simple IPOD_LAST_PLAYED_TIME conversion TAGZ-script. Anyone using this will have to modify the variable 'gmtCorrection' for their appropriate timezone. Please fee free to modify/clean as you see fit.

That is some pretty impressive coding!

Edit: If it would be useful, I could add another metadata item that could be formatted according to a foo_pod preference item.  Something like a strftime() (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp) format string?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-02 05:00:00
Quote
Quote
Is there even a 0.9 SDK available?  I don't see anything on the beta page (http://www.foobar2000.org/beta.html), and in fact, I haven't really even seen a list of new features in 0.9.
[a href="index.php?act=findpost&pid=302564"][{POST_SNAPBACK}][/a]


No.  Its not going to be released until the beta is over in order to discourage beta testers from using 3rd party plugins (and reporting problems with them).
[a href="index.php?act=findpost&pid=302590"][{POST_SNAPBACK}][/a]

Hmm, that is very odd and, frankly, discouraging.  I'm fairly certain that the SDK was released during the beta phase of previous Foobar releases (I have been writing components since 0.6). 

I think your last sentence could be slightly reworked:
"Its not going to be released until the beta is over in order to discourage developers from writing 3rd party plugins."
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-06-02 06:05:55
Quote
stevekim:

That looks plakomkex.  What exactly does it do or improve on.  I don't code and that looks like latin translated to aramaic translated to chinese to me.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=302682")


Well, this doesn't really do anything new - it just reformats some data for human-readability. When tracks are played on the iPod, a variable called 'IPOD_LAST_PLAYED_TIME' gets updated to reflect the (you guessed it) time the track was played. However, this is stored as the number of seconds elapsed since Jan 1, 1970 - which is not too intuitive. The above tagzscript simply converts this big integer number of seconds to a more digestable form of "YYYY-MM-DD hh:mm" format.

To use this, I put the code (including the '#script 1') into the 'Display' tab of a ColumnsUI column.

I seem to recall that someone, somewhere in this long thread asked about a way to format it. Here it is:
[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=244742]Link[/url]

Enjoy!
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-06-02 06:19:08
Quote
That is some pretty impressive coding!

Edit: If it would be useful, I could add another metadata item that could be formatted according to a foo_pod preference item.  Something like a strftime() (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp) format string?
[a href="index.php?act=findpost&pid=302689"][{POST_SNAPBACK}][/a]


Thanks, Aero! While I was fiddling around with the tagzscript, I was wondering where the "IPOD_LAST_TIME_PLAYED" value came from. Am I correct in assuming that it is derived from iTunesDB/PlayCounts data, but then modified by foo_pod? While poking around the iTunesDB/PlayCounts databases, I saw that the iPod understands epoch time as Jan 1, 1904. So I'm assuming that foo_pod does converstion to Unix epoch.

At any rate, the ability to format the date through foo_pod to some user-definable format like strftime() would be great! If you're willing to put in the work, I'm willing to submit the feature request! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-06-02 12:34:49
Folks,

saw that there was already a lot of discussion about VA here, but is hard to track through the 58 pages.

I am currently planning to have all VA songs and relevant tags changed in the following way:

%artist% = Various
%title% = artist - title
%album% = album

This gives me a less long artist listing at the IPOD as all various artist songs are listed with various.

Any feedback ?  (hope you don't mind me listing that question here)
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-02 15:34:14
use album artist.  eg:

%album artist% = Various Artist
%artist% = Track Artist
%title% = Title
%album% = Album
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-06-02 15:38:24
thought also about that tag, but iPod doesn't list that one, does it ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-06-02 17:44:53
foo_podders:

Aero will not have access to posts on the forum for a few days. If you don't get quick replies from him in the meantime, don't panic.

Steve
Title: foo_pod - Foobar2000 meets the iPod
Post by: StarLimit on 2005-06-03 00:33:11
I've tried reinstalling foobar2000, using several different versions of foo_pod, and uninstalling/reinstalling iTunes, but after I get to a certain number of songs on my 40gb 3rd generation iPod (the barrier seems to be ~4500), whatever database is written seems to be plagued by error 13, making foo_pod write the backup database and cutting access off to hundreds of songs.  Is there anything I can do to stop this from happening?
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-03 03:02:15
Quote
thought also about that tag, but iPod doesn't list that one, does it ?
[a href="index.php?act=findpost&pid=302813"][{POST_SNAPBACK}][/a]

No it does not, but you can use formatting strings to correct this.

On the Advanced tab in the foo_pod preferences, I use the following.

Title: $if($stricmp(%album artist%,'Various Artists'),%title%' (Performed By '%artist%')',%title%)
Artist: $if2(%album artist%,%artist%)
Album: $if($or($stricmp(%album%,'Greatest Hits'),$stricmp(%album%,'Number Ones')),$if2(%album artist%,%artist%)': '%album%,%album%)
Genre: %genre%
Composer: %composer%
Comment: %comment%
Tracknumber: $num(%tracknumber%,2)

This causes the output to look like the following:

One Artist Album:
Title: Walk Of Life
Artist: Dire Straits
Album: Brothers In Arms

One Artist, with featuring artists:
Title: The Boys Of Summer
Artist: Don Henley
Album: The Perfect Beast
(Even though this song is performed by Don Henley & Steve Porcaro, it just shows the Album Artist, Don Henley, on your iPod)

Multiple Artists:
Artist: Various Artists
Title: Superman (Performed By Lazlo Bane)
Album: Music From Scrubs

Greatest Hits/Number Ones Album:
Artist: Journey
Title: Don't Stop Believin'
Album: Journey: Greatest Hits
(Even though the album is called Greatest Hits, because the iPod can't handle albums with the same name properly, the name of the artist gets put on before hand when you have an album named either Greatest Hits, or Number Ones).

To use these tags properly, Album Artist should only be tagged on those files that require it (albums with multiple artists, or albums with guest/feature artists).
Title: foo_pod - Foobar2000 meets the iPod
Post by: mimeryme on 2005-06-03 05:33:45
kl33per, which tag do you use to indicate a guest/feature artist?  I've been using WITH or FEATURING.  That's probably non-standard, but it gives me an easy way to clean up TITLE for renaming the file and I can append the tags for display.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-03 05:52:00
I don't, all artists involed in a song get listed under Artist.

Eg.
%ALBUM ARTIST% = Don Henley

Track 1 %Artist% = Don Henley & Steve Porcaro
Track 2 %Artist% = Don Henley, Lindsey Buckingham & Pino Palladino
Track 3 %Artist% = Don Henley, Belinda Carlisle & Charlie Sexton
Track 4 %Artist% = Don Henley & Steve Porcaro
Etc.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mimeryme on 2005-06-03 06:16:58
Thanks.  I understand a bit more now of why %album artist% is used.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-06-03 10:08:00
kl33per,

I can't seem to get your alternative metadata settings to work.  I'm using your Title, Artist, and Album settings.

i.e. if I have:
%album artist%=VA
%artist%=Toto
%title%=Africa
%album%=The 80s
%genre%=80s

Then I think it should appear in the iPod as:

Africa (Performed By Toto)
Various Artists
The 80s

But instead it shows as:

Africa
The 80s
The 80s

Any ideas?  btw I already changed "Various Artists" in your string to VA.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-03 10:23:52
I'm assuming you've checked that you're tags are all correct?

Make sure that when you changed 'Various Artists' to 'VA' that the apostrophes are retained.

Other then that, I'm not sure what you're problem is.  It works perfectly for me.

Edit: Make sure you've got "Flag Compilation Albums" turned off.  That (for some reason) might screw with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-06-03 10:49:25
 hey kl33per, thx a lot for your big help... I will check it out later today. Rgds Tom btw nice location, a little too far from Europe.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-03 10:58:16
No worries, yeh, Germany's a long flight.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Klato on 2005-06-03 11:01:26
Quote
I'm assuming you've checked that you're tags are all correct?

Make sure that when you changed 'Various Artists' to 'VA' that the apostrophes are retained.

Other then that, I'm not sure what you're problem is.  It works perfectly for me.

Edit: Make sure you've got "Flag Compilation Albums" turned off.  That (for some reason) might screw with it.
[a href="index.php?act=findpost&pid=303090"][{POST_SNAPBACK}][/a]


Yep, it was that "Flag Compilations Albums".  Finally got my tracks looking how I want.  Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-06-04 11:48:57
 so came also across that flag compilation problem....
also had some problem with tags listed by foobar and other tag programs, as they were not aligned, and than the sorting did not work. Probably related to different tage version types ???
so deleted all tags and recreated, now it works very nicely !!

thx again kl33per....
Title: foo_pod - Foobar2000 meets the iPod
Post by: phes on 2005-06-08 18:22:51
Any way to change the regular order of the tracks on an IPOD shuffle once they are on the Unit? Maybe a "Sync Ipod order from Current Playlist" option?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Skates on 2005-06-12 23:43:57
This is probably a stupid question, but how does one rename playlists using the playlist editor?  Whenever I want to create a new smart playlist, the same name is created throughtout.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rossthiof on 2005-06-13 08:12:10
I'm sorry, if my question was answered before, but this thread is so long 

Is it neccessary to install iTunes to use the iPod with foobar?
Or will some functions probably not work, when iTunes never was installed on my computer? I've seen that the "iPodservice.exe" is mentioned on the following Site:
http://www.tinkafoo.com/log/foo_pod.html (http://www.tinkafoo.com/log/foo_pod.html)

But this service is only installed by iTunes, so I'm a little bit confused about that.
There is a Winamp plugin outside, that doesn't require an installation of iTunes.
How is that with foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-06-13 08:31:55
Quote
This is probably a stupid question, but how does one rename playlists using the playlist editor?[a href="index.php?act=findpost&pid=305611"][{POST_SNAPBACK}][/a]
Don't have the iPod at hand now, but seems to me you can rename a playlist simply clicking on its name (like renaming a file in Windows Explorer).
Quote
Is it neccessary to install iTunes to use the iPod with foobar?
Nope.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: rossthiof on 2005-06-13 08:41:46
Thanks for your reply.
Does this actually mean, that all functions of foo_pod were supported, without installing iTunes? That would be amazing 
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-06-13 08:56:26
Quote
Thanks for your reply.
Does this actually mean, that all functions of foo_pod were supported, without installing iTunes? That would be amazing 
You're welcome.

AFAIK yes, foo_pod gets the job done equally well with or without iTunes. Some features *may* work better with the iPodservice, but I'm by no means an expert, so wait for Aero or Otto advice.

And yes, that's pretty amazing.

HTH.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: rossthiof on 2005-06-13 11:07:01
Quote
AFAIK yes, foo_pod gets the job done equally well with or without iTunes. Some features *may* work better with the iPodservice, but I'm by no means an expert, so wait for Aero or Otto advice.

Then I have to wait until Aero or Otto will answer my question.
So, Otto and Aero, what could you clever guys tell me ? 
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-06-13 11:22:33
Quote
Then I have to wait until Aero or Otto will answer my question.
Why don't you try it yourself? You can always install iTunes later, if need be.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: rossthiof on 2005-06-13 12:26:16
Quote
Why don't you try it yourself?

First I want to wait until foobar 0.9 will be finished, but nevermind, I will try as soon as I have time... 

EDIT: It seems, that all works. Great!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-13 16:31:24
Quote
Thanks for your reply.
Does this actually mean, that all functions of foo_pod were supported, without installing iTunes? That would be amazing 
[a href="index.php?act=findpost&pid=305685"][{POST_SNAPBACK}][/a]

Yes, that's exactly what it means. foo_pod does not need iTunes or the iPodService at all. It can work with the iPodService if it's there, but it doesn't add any functionality to foo_pod.

The iPodService is also installed with the iPod Updater program, BTW. But it's entirely unnecessary for foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rossthiof on 2005-06-13 16:43:59
Very cool.
There is only one problem in transcoding, I think. But this was mentioned before in the first post of this thread.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-06-14 05:02:45
Quote
Yes, that's exactly what it means. foo_pod does not need iTunes or the iPodService at all. It can work with the iPodService if it's there, but it doesn't add any functionality to foo_pod.[a href="index.php?act=findpost&pid=305752"][{POST_SNAPBACK}][/a]

Sure it does.  If you have iPodService installed, you can unmount and remount the iPod from foo_pod without having the plug/unplug the ipod connector.  Without iPodService, you could not automatically unmount the iPod when you exit Foobar.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ciaran on 2005-06-14 06:26:18
Hello,

Transcoding never works for me for some reason. Not from vorbis or flac or anything. I have the three dll files in my components directory and lame.exe in the root foobar directory. Keeps saying transcoding failed! and then error#x failed to copy file.

Any help, thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-06-14 06:57:48
Hi, this might have been answered somewhere but like so many people have said "the thread is just too long..."

anyway, i'm having problems with "update ipod database" and "rebuild ipod database" under "maintenance." everytime i do an update or rebuild, it gets rid of all the tags i'd added, leaving the original tags that came with the mp3s when i first added to foobar. i don't use itunes. i never have. i do all my update/change to tags of the mp3s on ipod directly. i have foobar database enabled with "block tags" unchecked. is there anything i'm doing wrong? i've replaygained my almost 20G collection like 10 times because of this. it's driving me nuts!

thanks!

EDIT:

Sorry I was not correct completely in what I was describing. What exactly happened when i update or rebuild the ipod DB was this: most tags stay with the updated info (i.e. GENRE). but all the playcount, filedate tags were gone. If I chose to do a replaygain conversion (i.e. using album gain to convert to soundcheck), all replaygain info is gone except the converted one. So if I chose to use album gain to convert to sound check, the album gain value became track gain and all the values of replaygain were deleted. So is it normal? if so, is there a work around to keep all the additional tags?  Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-14 16:05:58
Quote
Sure it does.  If you have iPodService installed, you can unmount and remount the iPod from foo_pod without having the plug/unplug the ipod connector.  Without iPodService, you could not automatically unmount the iPod when you exit Foobar.
[a href="index.php?act=findpost&pid=305940"][{POST_SNAPBACK}][/a]

I thought he had that implemented both ways. In any case, that's not really an "addition" of the iPodService. You can do that through iPodService, or you can do it without iPodService. He may not have it implemented without the iPodService though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-06-15 00:51:05
Quote
Quote
thought also about that tag, but iPod doesn't list that one, does it ?
[a href="index.php?act=findpost&pid=302813"][{POST_SNAPBACK}][/a]

No it does not, but you can use formatting strings to correct this.

On the Advanced tab in the foo_pod preferences, I use the following.

Title: $if($stricmp(%album artist%,'Various Artists'),%title%' (Performed By '%artist%')',%title%)
Artist: $if2(%album artist%,%artist%)
Album: $if($or($stricmp(%album%,'Greatest Hits'),$stricmp(%album%,'Number Ones')),$if2(%album artist%,%artist%)': '%album%,%album%)
Genre: %genre%
Composer: %composer%
Comment: %comment%
Tracknumber: $num(%tracknumber%,2)

This causes the output to look like the following:
....

[a href="index.php?act=findpost&pid=303000"][{POST_SNAPBACK}][/a]


so i got the formatting strings to work and ipod lists correctly. however it seems,
that the tags are sometimes set back to their orginal values and cannot figure out yet the root cause. Any ideas ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-15 04:45:26
...no...

Be more specific.  The iPod never displays tags stored in the files, only those written to it's database.  When foo_pod uploads the songs to an iPod, it doesn't change the tags in the files themselves, only the information stored in the database.  If you play these songs directly from an iPod through foobar (or some other program), it will reload the tag info from the file, and thus give you the original tag info.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-06-15 07:47:14
Quote
...no...

Be more specific.  The iPod never displays tags stored in the files, only those written to it's database.  When foo_pod uploads the songs to an iPod, it doens't change the tags in the files themselves, only the information stored in the database.  If you play these songs directly from an iPod through foobar (or some other program), it will reload the tag info from the file, and thus give you the original tag info.
[a href="index.php?act=findpost&pid=306217"][{POST_SNAPBACK}][/a]


I think I'm kind of getting to finally understand it... I came tonite after work/school and restarted my laptop which hasn't been hooked up to the ipod all day... so i hooked up the ipod, started foobar, and everything was still the same. it was just showing the original tags. then i enabled foobar database (it was disabled right before I disconnected ipod last). now the tags, the new ones, now all the sudden pop up as i play the songs... i almost understand it on a conceptual level ;-) but am having a hard time to articulate it. so help from anyone?
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-15 10:05:55
This has nothing to do with foobar's database, only the database on the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-06-15 11:53:47
Quote
This has nothing to do with foobar's database, only the database on the iPod.
[a href="index.php?act=findpost&pid=306274"][{POST_SNAPBACK}][/a]


ok.... so what did the tags reappeared again after disappearing 24 hours ago? please tell me why. it's driving me nuts!
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-15 12:54:25
You aren't giving me enough information to figure out your problem. First you need to reproduce the error.  Then you need to figure out the steps you need to take to reproduce the problem.  Then you need to post these steps so I can reproduce.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-06-15 15:48:29
Quote
You aren't giving me enough information to figure out your problem. First you need to reproduce the error.  Then you need to figure out the steps you need to take to reproduce the problem.  Then you need to post these steps so I can reproduce.
[a href="index.php?act=findpost&pid=306316"][{POST_SNAPBACK}][/a]


OK, here's what happened: Fresh mp3s with their own tags. Dragged them into database enabled foobar. Replaygained them and added other tags. if i don't "Update iPod Database," all the new tags including replaygain tags stay. if i did the update or "Rebuild iPod Database" all the tags i added since i first grabbed the mp3s into were gone. All the replaygain info was gone except the value of replay album again now became replay track gain (i check replaygain soundcheck conversion using album gain).

If I did not have foobar DB enabled, the same thing would still happen.

If I did not have foobar DB enabled but then enabled it after all the tagging and then Update iPod DB, the same thing still happened. So I disabled foobar DB. Reboot the computer. All those new tags (including playcount, filedate, etc.) showed up again as I played those mp3s after I enabled foobar DB. If i didn't have foobar DB enabled after reboot, the tags stayed gone.
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-06-15 16:31:18
Quote
...no...

Be more specific.  The iPod never displays tags stored in the files, only those written to it's database.  When foo_pod uploads the songs to an iPod, it doesn't change the tags in the files themselves, only the information stored in the database.  If you play these songs directly from an iPod through foobar (or some other program), it will reload the tag info from the file, and thus give you the original tag info.
[a href="index.php?act=findpost&pid=306217"][{POST_SNAPBACK}][/a]


saw the problem on the iPod, so the tags were changed to orginal status at iPod.
Will experiment a little more and let you know, once I found out more.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-15 23:52:01
Firstly, godhenry, you still aren't really giving me all the details.  Where are the files your adding tags to stored, on the iPod? On a sepearte hard disk?

Is the foobar database limited to a directory, or does it include all files?

I do however think I understand your problem.  It is however not really a problem, but merely a by-product of how foobar works.

If your updating tags for files on your hard drive, and then rebuilding the iPod database, nothing on the iPod files willl change.  They will use the old tags.

If your updating tags for files on your iPod, the tags will change in the files, but not in the iPod database until you select 'Rebuild iPod Database' (and not 'Update iPod Database').

Secondly, TomGroove.  Well I have no explanations for your problem.  The tags on my iPod have never reverted.  In fact, I don't even see how this is technically possible without human intervention.  The tags just can't change themselves.  I suggest you wipe your iPod clean and reload the songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-06-16 14:01:29
Quote
Firstly, godhenry, you still aren't really giving me all the details.  Where are the files your adding tags to stored, on the iPod? On a sepearte hard disk?

Is the foobar database limited to a directory, or does it include all files?
[a href="index.php?act=findpost&pid=306458"][{POST_SNAPBACK}][/a]


I was trying to add tags on the files that are on iPod, not on a hard disk or other drives..

Quote
If your updating tags for files on your iPod, the tags will change in the files, but not in the iPod database until you select 'Rebuild iPod Database' (and not 'Update iPod Database').
[a href="index.php?act=findpost&pid=306458"][{POST_SNAPBACK}][/a]


This is exactly what i have been doing. update tags and then run rebuild ipod db. but for some reason, it either crashed or lost all my tags... so i guess i was just not doing it right in terms of how to update the files. so how should i actually update the tags on the files in iPod? Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-16 15:33:50
Well from what your telling me your doing everything correctly.  Unless there's something your not telling me, I'm out of ideas.
Title: foo_pod - Foobar2000 meets the iPod
Post by: navin on 2005-06-17 05:42:58
hey guys, Newbie here. Warning I have esp. low IQ. the following statement will prove it.

1. how does one load foobar on an ipod. can one do this?
2. i got .wv file (from wavpack) that i would like to put on my ipod this object being is to compare the .wv file with an mp3 file on the ipod and to see if there is any audible difference.

if thes can be done please make instructions as SIMPLE as possible.

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-17 06:54:10
1. Yep, just copy your foobar2000 directory to the iPod using Windows Explorer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jido on 2005-06-17 08:08:04
Quote
hey guys, Newbie here. Warning I have esp. low IQ. the following statement will prove it.

1. how does one load foobar on an ipod. can one do this?
2. i got .wv file (from wavpack) that i would like to put on my ipod this object being is to compare the .wv file with an mp3 file on the ipod and to see if there is any audible difference.

if thes can be done please make instructions as SIMPLE as possible.

Thanks.
[a href="index.php?act=findpost&pid=306704"][{POST_SNAPBACK}][/a]

1. You can save foobar on the iPod and run it from there I suppose.
2. Convert the .wv file to .wav using foobar (there will be no loss) and copy the Wav file to your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: aniMe on 2005-06-17 18:54:38
In these days I did enjoyed including all the cd cover art into the mp3, just hope next version of foobar2000 will not remove the id3 cover arts which inside the media.

Of couse, if this "add id3 cover art" function would be added for mp3 included on 0.9 version, it would be more wonderful and useful for all peoples.

I guess at this moment the big problem was "After converted or edited by foobar, the id3 cover art which included in mp3 must be removed".

I think at this status, some people after converted the mp3 by foobar, you still need some tagger tools to import your art to the mp3.

Because iTunes, WMP, and some MP3 Players was supported for this functions already, so I think this function should be added in these days.
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-06-17 23:46:09
I'm really dying for 0.9 to be officially released so we can have foo_pod for foobar 0.9, so I can convert my FLACs to ALAC and be able to play them in foobar and send them to the pod w/out the need to transcode.
Title: foo_pod - Foobar2000 meets the iPod
Post by: godhenry on 2005-06-18 06:52:51
Quote
Well from what your telling me your doing everything correctly.  Unless there's something your not telling me, I'm out of ideas.
[a href="index.php?act=findpost&pid=306558"][{POST_SNAPBACK}][/a]


well possible thing that i'm not telling you, and it would be because i wouldn't know, is that i might update the files on iPod incorrectly. So let say you have to replaygain a few tracks that live on your ipod. After Replaygain finishes its job, do the files on iPod get automatically updated/written with their tags? or something with quick tag. do the tags just get written without further users intervention? i udpate my ipod mp3s by right-click to get the Properties box up and hit "update files" with all those new tags. but as soon as i run rebuild, they;re all gone..

one more thing... sometimes when i do rebuild ipod database, i even get an error. i can email you the log file if you want.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Skates on 2005-06-18 20:28:45
Is their any chance of adding meta_data support for the year tag, since for some reason when I use Musicmatch to tag my MP3s it puts the year in a "DATE" tag.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-18 20:53:02
Quote
I'm really dying for 0.9 to be officially released so we can have foo_pod for foobar 0.9, so I can convert my FLACs to ALAC and be able to play them in foobar and send them to the pod w/out the need to transcode.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=306863")

Sorry to disappoint you, but I have no plans to update foo_pod to Foobar 0.9.  And as far as I know, Foobar 0.9 will incompatible with earlier components, so you will have to have Foobar 0.8.x in order to use foo_pod. 

Fortunately, Foobar 0.8 already has an ALAC decoder and I believe you could use Otto's iTunesEncoder script to losslessly transcode from FLAC -> ALAC, so there is no reason to wait for Foobar 0.9 to do what you are looking to do.


BTW, in case anyone is wondering, I was temporarily banned from posting on the Hydrogen Audio forums apparently because of my questioning of the availability of the 0.9 SDK.  I say apparently, because no one ever contacted me about the suspension, and the only thing I can find that could possibly be the cause is [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=302691]this post[/url].  Anyway, that combined with other factors pretty much killed any desire to upgrade to Foobar 0.9.  Note that I am not planning on stopping foo_pod development, but it likely won't be focused on the changes necessary to make it run on Foobar 0.9.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-18 20:54:19
Quote
Is their any chance of adding meta_data support for the year tag, since for some reason when I use Musicmatch to tag my MP3s it puts the year in a "DATE" tag.
[a href="index.php?act=findpost&pid=307064"][{POST_SNAPBACK}][/a]

Yeah, I can add that.  So the tag name is DATE and the value is just a 4 digit year value (e.g. 1969 or 2005)?
Title: foo_pod - Foobar2000 meets the iPod
Post by: rossthiof on 2005-06-18 21:33:08
Quote
Sorry to disappoint you, but I have no plans to update foo_pod to Foobar 0.9.
This decision is weighty. So I will not install foobar 0.9... 
In face of the numbers of posts in this thread, I will be not the only one...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-18 21:55:36
Quote
Quote
Sorry to disappoint you, but I have no plans to update foo_pod to Foobar 0.9.
This decision is weighty. So I will not install foobar 0.9... 
In face of the numbers of posts in this thread, I will be not the only one...
[a href="index.php?act=findpost&pid=307082"][{POST_SNAPBACK}][/a]

Thanks for the support, but it necessarily an either-or situation. 

Unless something drastic changes in Foobar 0.9, you should be able to run Foobar 0.8 and 0.9 side by side.  In fact, I still run Foobar 0.6 on one of my computers, because it has a certain component that was never upgraded to work with 0.7/0.8. 

So if there is something in 0.9 that seems worthwhile, feel free to upgrade.  Installing Foobar 0.8 + foo_pod on your iPod might be a good way to deal with running both versions  .
Title: foo_pod - Foobar2000 meets the iPod
Post by: Skates on 2005-06-19 00:25:47
Quote
Quote
Is their any chance of adding meta_data support for the year tag, since for some reason when I use Musicmatch to tag my MP3s it puts the year in a "DATE" tag.
[a href="index.php?act=findpost&pid=307064"][{POST_SNAPBACK}][/a]

Yeah, I can add that.  So the tag name is DATE and the value is just a 4 digit year value (e.g. 1969 or 2005)?
[a href="index.php?act=findpost&pid=307071"][{POST_SNAPBACK}][/a]

Correct. Thanks bud...

I also have to agree with you that getting banned for a few days for voicing your concerns over the SDK is kind of bullshit, since you have helped along foobar2000 in many ways, especially with this plugin.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-19 06:16:50
Quote
...Sorry to disappoint you, but I have no plans to update foo_pod to Foobar 0.9....
[a href="index.php?act=findpost&pid=307070"][{POST_SNAPBACK}][/a]

I do not understand this.  How can you make such outlandish statements when you have not seen the 0.9 SDK.  Whilst I can only speculate on the changes to the SDK that have been made, it's not like Peter has rewritten the plugin architecture from the ground up, as other popular (and significantly complex - eg. Columns UI) plugins have made the transition quite easily.  I would bet money the changes you will have to make to support 0.9 will be minimal.

I'm sure as hell not going to continue using 0.83 once 0.9 is final, there are just to many useful new features.  If you do not update foo_pod to work with 0.9, I along with most, if not all of foo_pod users are going to be sorely disappointed. You're really screwing us over here.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ssamadhi97 on 2005-06-19 18:18:16
Quote
I think your last sentence could be slightly reworked:
"Its not going to be released until the beta is over in order to discourage developers from writing 3rd party plugins."
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=302691")


Not at all. The idea behind delaying the release of the SDK until the final version is that third party component developers can code against a stable API (as in "not changing") for a stable product (as in "little number of bugs, stable and complete set of features"). It is also easier to distinguish bug reports for foobar2000 itself and third components, which is a real aid when it comes to fixing bugs. Even if that is different from the policy used during releases of previous versions of foobar2000, we still think it is a good idea.

In light of this:
Quote
BTW, in case anyone is wondering, I was temporarily banned from posting on the Hydrogen Audio forums apparently because of my questioning of the availability of the 0.9 SDK.  I say apparently, because no one ever contacted me about the suspension, and the only thing I can find that could possibly be the cause is [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=302691]this post[/url].
[a href="index.php?act=findpost&pid=307070"][{POST_SNAPBACK}][/a]

No, your posting ability was not temporarily suspended because you were questioning the availability of the SDK. You received a warning and a temporary suspension of your posting ability because you were questioning the motives (even alleging that there are dishonest motives) for not releasing the SDK in a rather inflammatory way, aka trolling - even though the motivation for not making the SDK available to the general public right away were clearly stated in the 0.9 beta thread when the first beta was released.

The suspension was intended to last for only three days, however due to a bug the forum software failed to remove the suspension automatically - we apologize for that.

Quote
I also have to agree with you that getting banned for a few days for voicing your concerns over the SDK is kind of bullshit, since you have helped along foobar2000 in many ways, especially with this plugin.
[a href="index.php?act=findpost&pid=307132"][{POST_SNAPBACK}][/a]

Voicing concerns is ok, trolling is not. For details see above.

Quote
You're really screwing us over here.
[a href="index.php?act=findpost&pid=307183"][{POST_SNAPBACK}][/a]

Well, that was totally totally out of the line. It's not like Aero is getting paid for what he's doing. He does not owe you new versions, and simply assuming that he does and flaming him for his announcement is not exactly going to make a 0.9 port of foo_pod more likely.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-19 19:23:32
Quote
Quote
I think your last sentence could be slightly reworked:
"Its not going to be released until the beta is over in order to discourage developers from writing 3rd party plugins."
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=302691")


Not at all. The idea behind delaying the release of the SDK until the final version is that third party component developers can code against a stable API (as in "not changing") for a stable product (as in "little number of bugs, stable and complete set of features"). It is also easier to distinguish bug reports for foobar2000 itself and third components, which is a real aid when it comes to fixing bugs. Even if that is different from the policy used during releases of previous versions of foobar2000, we still think it is a good idea.

In light of this:
Quote
BTW, in case anyone is wondering, I was temporarily banned from posting on the Hydrogen Audio forums apparently because of my questioning of the availability of the 0.9 SDK.  I say apparently, because no one ever contacted me about the suspension, and the only thing I can find that could possibly be the cause is [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=302691]this post[/url].
[a href="index.php?act=findpost&pid=307070"][{POST_SNAPBACK}][/a]

No, your posting ability was not temporarily suspended because you were questioning the availability of the SDK. You received a warning and a temporary suspension of your posting ability because you were questioning the motives (even alleging that there are dishonest motives) for not releasing the SDK in a rather inflammatory way, aka trolling - even though the motivation for not making the SDK available to the general public right away were clearly stated in the 0.9 beta thread when the first beta was released.

The suspension was intended to last for only three days, however due to a bug the forum software failed to remove the suspension automatically - we apologize for that.

Quote
I also have to agree with you that getting banned for a few days for voicing your concerns over the SDK is kind of bullshit, since you have helped along foobar2000 in many ways, especially with this plugin.
[a href="index.php?act=findpost&pid=307132"][{POST_SNAPBACK}][/a]

Voicing concerns is ok, trolling is not. For details see above.

Quote
You're really screwing us over here.
[a href="index.php?act=findpost&pid=307183"][{POST_SNAPBACK}][/a]

Well, that was totally totally out of the line. It's not like Aero is getting paid for what he's doing. He does not owe you new versions, and simply assuming that he does and flaming him for his announcement is not exactly going to make a 0.9 port of foo_pod more likely.
[a href="index.php?act=findpost&pid=307313"][{POST_SNAPBACK}][/a]

I will say this, this place is "Ban" happy. I think you mis-read what Aero said and that mis-understanding got him temporarily banned. Is not the SDK being held back until beta testing is over? If so, then the 3rd party plug-in developers are being discouraged, at least until the beta testing is complete. I think a written clarification by you or one of the other moderators would have been in the best interest of the forum, and not a banning. As for kl33per's comments, I agree with you that his comments are way out of line. Aero, thank you for a great plugin, and I hope that you will reconsider your decision once the SDK is released and this "Ban" stuff blows over.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-06-19 19:47:04
Quote
OK, here's what happened: Fresh mp3s with their own tags. Dragged them into database enabled foobar. Replaygained them and added other tags. if i don't "Update iPod Database," all the new tags including replaygain tags stay. if i did the update or "Rebuild iPod Database" all the tags i added since i first grabbed the mp3s into were gone. All the replaygain info was gone except the value of replay album again now became replay track gain (i check replaygain soundcheck conversion using album gain).

If I did not have foobar DB enabled, the same thing would still happen.

If I did not have foobar DB enabled but then enabled it after all the tagging and then Update iPod DB, the same thing still happened. So I disabled foobar DB. Reboot the computer. All those new tags (including playcount, filedate, etc.) showed up again as I played those mp3s after I enabled foobar DB. If i didn't have foobar DB enabled after reboot, the tags stayed gone.
[a href="index.php?act=findpost&pid=306360"][{POST_SNAPBACK}][/a]


I may not be 100% correct on this one.  I'm sure someone will correct any facts I've got wrong...

My understanding is "Rebuild iPod Database" is a pretty drastic function that essentially throws away the database file on the iPod and then recreates it using the data it has availabe.  I'm not sure how "Update iPod database" differs, but I seem to recall it was a similarly drastic function.

When Foo_pod does a "normal" copy or sync operation it uses data that Foo_bar provides it to create the database file on the iPod.  In turn Foo_bar gets its data from a combination of its internal database and the tags in the music files.  I do not believe RG data is stored in the tags at all - only in the database.

I believe the problem you are having is this.  When foo_pod trys to rebuild that database, it only knows about the songs that are on your iPod's hard drive.  It can not associate those back to the PC hard drive origionals.  This is because you have asked foo_pod to delete the datbase file and then recreate it from scratch.

The replay gain data is in the foo_bar database and it is associated with the PC hard drive location which you did the RG from (although I understand that you have RG's the files directly on the iPod HD - not sure what is going on there).  Since the file paths have changed, foo_pod no longer has RG data availabe for the files and then can't include it in the new database.

As for last played dates and time (and ratings, etc.), on the iPod that data only exists in the iPod database file on the iPod HD.  I believe it gets lost in the rebuild process.

I could be completely wrong though.

Can I ask why you don't use the more traditional "copy to iPod" or "sync to iPod" methods?  I believe you will have much better results if you can stay away from "rebuild iPod database".
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-06-19 19:51:01
Quote
I think you mis-read what Aero said and that mis-understanding got him temporarily banned. Is not the SDK being held back until beta testing is over? If so, then the 3rd party plug-in developers are being discouraged, at least until the beta testing is complete.[a href="index.php?act=findpost&pid=307326"][{POST_SNAPBACK}][/a]
Saying that delaying the release of the public SDK discourages third party developers and suggesting that this discouraging is the purpose of the delay are two entirely different things. Perhaps you should reread what Aero wrote.
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-06-19 20:09:10
Wow. I just revisited this thread after a brief absence to see it in mayhem in disagreement about HA policy and people accusing Aero of "screwing us over."  Grow up people.  While I am disappointed in Aero's decision, he has his own motivations and, since we aren't paying for foo_pod, we can't make accusations. 

While I do implore Aero to wait to see the changes in the SDK before making a decision, it is his to make.  If you do decide the not continue development of foo_pod into 0.9 and stick with 0.8.3, is it possible for you to release your source files so someone else may pick up the project if someone is so willing.  I can't really speak much on this because my programming knowledge extends to the breaking point in HTML.   

Anyway, I do hope we can get back into discussion on the plug-in itself.  It's good to have Aero back.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-19 20:14:57
Quote
Quote
I think you mis-read what Aero said and that mis-understanding got him temporarily banned. Is not the SDK being held back until beta testing is over? If so, then the 3rd party plug-in developers are being discouraged, at least until the beta testing is complete.[a href="index.php?act=findpost&pid=307326"][{POST_SNAPBACK}][/a]
Saying that delaying the release of the public SDK discourages third party developers and suggesting that this discouraging is the purpose of the delay are two entirely different things. Perhaps you should reread what Aero wrote.
[a href="index.php?act=findpost&pid=307340"][{POST_SNAPBACK}][/a]

I did just re-read it, and I re-read it before I posted my remarks. The remark was actually made by someone else, with Aero changing one word. I still do not see anything there that warrants a ban. Maybe a correction, but not a ban. Plus, it seems that a couple people did get the SDK ahead of time. I think mixed signals can be taken when that happens. Banning should come from direct attacks and from posts that can hurt the majority posting in the forum, not from a subjective comment that can be taken as good or bad. Banning should only apply when it is the last possible alternative.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ssamadhi97 on 2005-06-19 21:45:28
Suspending Aero’s posting ability might have been an unfortunate choice, but I’m afraid it has been done and obviously it cannot be undone retroactively. We apologize, should this really have happened because of merely misunderstanding of what Aero meant to say.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-19 21:55:33
Quote
Suspending Aero’s posting ability might have been an unfortunate choice, but I’m afraid it has been done and obviously it cannot be undone retroactively. We apologize, should this really have happened because of merely misunderstanding of what Aero meant to say.
[a href="index.php?act=findpost&pid=307370"][{POST_SNAPBACK}][/a]

Thank you very much for your reply. :-)
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-06-20 09:12:58
Quote
I will say this, this place is "Ban" happy. I think you mis-read what Aero said and that mis-understanding got him temporarily banned. Is not the SDK being held back until beta testing is over? If so, then the 3rd party plug-in developers are being discouraged, at least until the beta testing is complete. I think a written clarification by you or one of the other moderators would have been in the best interest of the forum, and not a banning. As for kl33per's comments, I agree with you that his comments are way out of line. Aero, thank you for a great plugin, and I hope that you will reconsider your decision once the SDK is released and this "Ban" stuff blows over.
[a href="index.php?act=findpost&pid=307326"][{POST_SNAPBACK}][/a]
I fully second that...
Quote
The remark was actually made by someone else, with Aero changing one word. I still do not see anything there that warrants a ban. Maybe a correction, but not a ban. Plus, it seems that a couple people did get the SDK ahead of time. I think mixed signals can be taken when that happens. Banning should come from direct attacks and from posts that can hurt the majority posting in the forum, not from a subjective comment that can be taken as good or bad. Banning should only apply when it is the last possible alternative.
... and that.
Quote
Suspending Aero’s posting ability might have been an unfortunate choice, but I’m afraid it has been done and obviously it cannot be undone retroactively. We apologize, should this really have happened because of merely misunderstanding of what Aero meant to say.
Thanks for that.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-21 08:11:36
Well seeing as people are pretty angry with what I said, let me clarify.  Firstly, I respect Aero greatly, as he has done a lot for the community.  His plugin is fantastic, and is one of the many reasons use foobar2000.  I am not angry that foo_pod (seemingly) is not going to be ported to 0.9, but with the reasons for Aero's decision not to.

It seems to me that Aero is unhappy with the way things were handled with his temporary banning and as such has decided that as a form of punishment (re, "you're really screwing us over"), foo_pod will not be ported to 0.9.  I'm sorry if this seems harsh, but I'm only going by what you said:
Quote
BTW, in case anyone is wondering, I was temporarily banned from posting on the Hydrogen Audio forums apparently because of my questioning of the availability of the 0.9 SDK. I say apparently, because no one ever contacted me about the suspension, and the only thing I can find that could possibly be the cause is this post. Anyway, that combined with other factors pretty much killed any desire to upgrade to Foobar 0.9. Note that I am not planning on stopping foo_pod development, but it likely won't be focused on the changes necessary to make it run on Foobar 0.9.
Fair enough that you have other reasons for not porting foo_pod to 0.9, but if the deciding factor was this ban (which I agree was handled poorly, and I would find extremely discouraging as a third-party developer), then I'm sorely disappointed as a user of both foobar2000 and foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-06-21 11:00:47
Brushing the politics aside for a moment, I thought I'd get back to the actual business of discussing the plugin. Fantastic piece of software, it has restored my faith in 3rd party ipod loaders after the decline of Ephpod. I think I may have found a mini bug-ette anyhow.

It is said that Itunes is not required to use foo_pod, but I beg to differ slightly.
I am running itunes 4.8 and 60 Photo ipod with firmware 1.1 (23rd May release).
If I either load mp3s directly after a firmware reflash, or choose the rebuild database option, my ipod goes into a perpetual reboot cycle, showing the apple for a few seconds, clicking and showing it again.

The only way to get out of this, is by loading one mp3 in itunes before doing my main sync in foo_pod and by staying clear of the database rebuild ! I'm using 0.9.9j.

Anybody else seen this ?

regards

Niels

PS How / where do I post my itunesdb if anyone wants to see it
PPS Keep up the good work Aero. I think that bribery on the 0.9 could always be an option. What were the paypal details again .....
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-21 16:43:29
clunesy: I suggest using iTunes to drop one mp3 file into the iPod Photo and send the resulting iTunesDB file to Aero. Clearly, the problem is in creation of a new iTunesDB file that the photo doesn't like, so figuring out what the deal is requires a known good file to see where the differences are between it and what foo_pod will generate for a new iTunesDB file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-21 17:37:28
Quote
Well seeing as people are pretty angry with what I said, let me clarify.  Firstly, I respect Aero greatly, as he has done a lot for the community.  His plugin is fantastic, and is one of the many reasons use foobar2000.  I am not angry that foo_pod (seemingly) is not going to be ported to 0.9, but with the reasons for Aero's decision not to.

The ban has very little with my decision not to port foo_pod to Foobar 0.9.  I believe I alluded to the possibility of not porting foo_pod to 0.9 even before the ban.

Anyway, in order of priority, the reasons include:

1. Not having much time to work on foo_pod, in general.
2. No good reason (for me) to upgrade to Foobar 0.9.
3. The lack of a publically available SDK for 0.9.
4. Forum difficulties (i.e. the ban).


When Foobar 0.9 and SDK are released, if I find a good reason to upgrade and the 0.8->0.9 SDK changes are minimial, I might do the porting.  But like I said, I really don't see any good reason to upgrade to Foobar 0.9 at this point, and several good reasons not to.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-21 17:41:04
Quote
It is said that Itunes is not required to use foo_pod, but I beg to differ slightly.
I am running itunes 4.8 and 60 Photo ipod with firmware 1.1 (23rd May release).
If I either load mp3s directly after a firmware reflash, or choose the rebuild database option, my ipod goes into a perpetual reboot cycle, showing the apple for a few seconds, clicking and showing it again.

The only way to get out of this, is by loading one mp3 in itunes before doing my main sync in foo_pod and by staying clear of the database rebuild ! I'm using 0.9.9j.

Anybody else seen this ?

I have the same iPod and firmware, and I haven't seen any problems like that.  In fact, I don't think I have ever used iTunes to load music onto my iPod (other than maybe to test database format changes and the ArtworkDB and Photo Databases). 

Like Otto said, please send me your iTunes created iTunesDB along with a foo_pod generated one that seems to cause the reboot problem.  If you can make them as small as possible (1 song, if that shows the problem), it would be helpful.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-06-21 20:30:12
Hi Aero,
I have been having issue with recent versions of foo_pod. Bsaically when my ipod is connected, in foo_pod's menu "Eject ipod" is greyed out (and "Mount ipod" isn't). Clicking Mount ipod doesn't do anything helpful either.

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-22 19:09:22
Quote
I have been having issue with recent versions of foo_pod. Bsaically when my ipod is connected, in foo_pod's menu "Eject ipod" is greyed out (and "Mount ipod" isn't). Clicking Mount ipod doesn't do anything helpful either.

Nothing has changed with the mount/eject code in a while.  I have seen this happen occassionally in the past, and it seems to be a problem with iPodService.  Try restarting iPodService and see if that helps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-22 19:25:35
Quote
Quote
I have been having issue with recent versions of foo_pod. Bsaically when my ipod is connected, in foo_pod's menu "Eject ipod" is greyed out (and "Mount ipod" isn't). Clicking Mount ipod doesn't do anything helpful either.

Nothing has changed with the mount/eject code in a while.  I have seen this happen occassionally in the past, and it seems to be a problem with iPodService.  Try restarting iPodService and see if that helps.
[a href="index.php?act=findpost&pid=308126"][{POST_SNAPBACK}][/a]

I had that same problem a few months back, and re-installing iPodService was what corrected it for me.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-06-22 20:56:08
Quote
Quote
I have been having issue with recent versions of foo_pod. Bsaically when my ipod is connected, in foo_pod's menu "Eject ipod" is greyed out (and "Mount ipod" isn't). Clicking Mount ipod doesn't do anything helpful either.

Nothing has changed with the mount/eject code in a while.  I have seen this happen occassionally in the past, and it seems to be a problem with iPodService.  Try restarting iPodService and see if that helps.
[a href="index.php?act=findpost&pid=308126"][{POST_SNAPBACK}][/a]
Well, it works ok with foo_pod 0.8. I have had this problem for a while (and it always happens, it doesn't only happen occasionally).

The other problem I have had is that after a 'Sync All Playlists' you seem to keep a handle open to the "Ipod_Control/iTunes/Play Counts" file, which also renders the "Safely remove hardware" feature of Windows useless for ejecting the ipod until I close foobar2000.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-22 22:32:25
Quote
Quote
Nothing has changed with the mount/eject code in a while.  I have seen this happen occassionally in the past, and it seems to be a problem with iPodService.  Try restarting iPodService and see if that helps.
Well, it works ok with foo_pod 0.8. I have had this problem for a while (and it always happens, it doesn't only happen occasionally).

The mount/eject code hasn't been touched since well before v0.8, so there must be something else going wrong.  And really the only thing that can go wrong is iPodService.  Make sure you have the latest version installed.

Quote
The other problem I have had is that after a 'Sync All Playlists' you seem to keep a handle open to the "Ipod_Control/iTunes/Play Counts" file, which also renders the "Safely remove hardware" feature of Windows useless for ejecting the ipod until I close foobar2000.

This is a bug, but it can only occur if the Play Counts file is unreadable by foo_pod.  Try deleting it and see if the problem persists.

Edit: Actually, before you delete it, send me the Play Counts file so I can figure out why foo_pod can't ready it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: musicmusic on 2005-06-22 23:30:02
Quote
Quote
Quote
Nothing has changed with the mount/eject code in a while.  I have seen this happen occassionally in the past, and it seems to be a problem with iPodService.  Try restarting iPodService and see if that helps.
Well, it works ok with foo_pod 0.8. I have had this problem for a while (and it always happens, it doesn't only happen occasionally).

The mount/eject code hasn't been touched since well before v0.8, so there must be something else going wrong.  And really the only thing that can go wrong is iPodService.  Make sure you have the latest version installed.[a href="index.php?act=findpost&pid=308172"][{POST_SNAPBACK}][/a]
I have iPodService version 11 according to foo_pod. Probably not the latest, no; I will try downloading a newer version of ipod updater.

And yes, foo_pod 0.8 is working ok. I would guess something to do with ipodservice has changed on your side (broke compatibility with old version ?) because the ipodservice tab in prefs is not filled in with 0.9.9j but it is with 0.8.

[edit]
Alas, this is probably the change that broke it for my old ipodservice
Quote
Version 0.9.5 - December 5, 2004
*  Fixed an incompatability with recent versions of iPodService, which caused the Mount/Eject functions to not
   work correctly.
Mystery solved...

I would suggest if you don't want to support old versions of ipodservice you should handle it more elegantly..

Quote
Quote
The other problem I have had is that after a 'Sync All Playlists' you seem to keep a handle open to the "Ipod_Control/iTunes/Play Counts" file, which also renders the "Safely remove hardware" feature of Windows useless for ejecting the ipod until I close foobar2000.

This is a bug, but it can only occur if the Play Counts file is unreadable by foo_pod.  Try deleting it and see if the problem persists.

Edit: Actually, before you delete it, send me the Play Counts file so I can figure out why foo_pod can't ready it.
[a href="index.php?act=findpost&pid=308172"][{POST_SNAPBACK}][/a]
It is zero bytes big.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ExUser on 2005-06-25 08:15:11
I've just tried using this component for the first time. I was rather unimpressed.

On top of locking the main window whenever it accesses my iPod, it takes an eternity to do so, often giving no dialog box informing me anything is happening, and so on.

It refused to put any music onto my iPod (sometimes even claiming to have successfully done so), through transcoding or copying, until I switched to Disk mode. Even then, when transcoding large amounts, it locked my foobar and prevented me from even pausing the currently-playing track. So, I had a single second or two interval of a track stuck repeating for quite some time.

I think I've finally got it working decently now, but it still likes to lock foobar and prevent me from using it at all while it does things, which is enormously frustrating. I'm probably going to ditch it soon and go back to a transcode -> iTunes format after the current transcode finishes. At least then I can use foobar2000 while it's transcoding.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-06-25 19:28:23
Questions on the pre-amp stuff.

From what I can tell by exporting the iTunesDB, the pre-amp stuff that foo_pod does increases the volume variable in the DB.  This results in the song playing louder when the iPod volume is turned to 50% for example, than a song which has not had the pre-amp applied.  The problem with this, however, is that the iPod volume maxes out depending on how much preamp was applied.

For example, if I preamp a song (with soundcheck data) to 100%, any volume adjustments on the iPod past half-way make no difference, I'm assuming that the song volume variable plus iPod volume has past some threshold.  Without sound check data this doesn't happen.  Basically, there seems to be some max volume that I'm hitting when using soundcheck, and the greater the pre-amp by foo_pod, the quicker I hit that max on the iPod volume adjustment. (e.g. a preamp of 100%, I get no increase in volume past half-way, a pre-amp of 50% I get no increase in volume past 75% of the volume slider).

What I like to see done, if possible, is to rather than adjust the volume variable of the song, is to actually decrease the db reduction of the soundcheck.

Basically, soundchecked songs don't get loud enough for me, and when using the existing preamp, I'm hitting some volume limit on the iPod (not this isn't a Euro iPod).  Again, when I'm not using SoundCheck this limit is not an issue (it get's way loud).

Aero, does this make sense?  Is it doable?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-25 20:28:38
Quote
I've just tried using this component for the first time. I was rather unimpressed.

Wow - that's a great story.  Thanks for sharing!  Hope you have better luck with something else.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-25 20:41:41
Quote
From what I can tell by exporting the iTunesDB, the pre-amp stuff that foo_pod does increases the volume variable in the DB.  This results in the song playing louder when the iPod volume is turned to 50% for example, than a song which has not had the pre-amp applied.  The problem with this, however, is that the iPod volume maxes out depending on how much preamp was applied.

I'm sure the iPod has some sort of internal limiter, to prevent the amplifer from being overdriven.

Quote
What I like to see done, if possible, is to rather than adjust the volume variable of the song, is to actually decrease the db reduction of the soundcheck.

Basically, soundchecked songs don't get loud enough for me, and when using the existing preamp, I'm hitting some volume limit on the iPod (not this isn't a Euro iPod).  Again, when I'm not using SoundCheck this limit is not an issue (it get's way loud).

Aero, does this make sense?  Is it doable?

You are adjusting the pre-amp setting for both SoundCheck and non-SoundCheck songs, right?  Semi-recent versions of foo_pod have separate settings for songs with and without SoundCheck, although I believe some iPod firmware versions ignore the volume/pre-amp setting when SoundCheck information is present (which is likely your problem).

I suppose I could add some sort of SoundCheck bias setting, but you could also manually adjust the ReplayGain values on your songs and make them a little higher - say take a -6dB RG value and make it -3dB or 0dB.  What I will probably do is remove the slider for RG pre-amp (since it doesn't always work, depending on the firmware version) and replace it with a Quieter/No change/Louder switch that would do what you are looking for.  I'll consider putting that in  the next version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-06-25 23:17:47
Quote
Quote
I've just tried using this component for the first time. I was rather unimpressed.

Wow - that's a great story.  Thanks for sharing!  Hope you have better luck with something else.
[a href="index.php?act=findpost&pid=308851"][{POST_SNAPBACK}][/a]


 

One question though, why does foo_pod (and many other plugins) tend to lag or freeze the main window while they run?  Is this a foobar threading limitation?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-26 03:14:40
Quote
One question though, why does foo_pod (and many other plugins) tend to lag or freeze the main window while they run?  Is this a foobar threading limitation?

foo_pod had been like that since the beginning, then I experimented with allowing Foobar access during foo_pod operations.  Unfortunately, there were a bunch of unexplained crashes around this time as well, so I reverted back to the much-loved way.

I'm not really sure if the problem is something I'm (not) doing, or if it is a Foobar problem.  At the risk of being banned again  , Foobar has some limitations with respect to multi-threaded components.  So I think the problem could be something internal to Foobar, but it is hard enough to track down that I have just gone for the easy solution and locking down Foobar during foo_pod operations.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ExUser on 2005-06-26 06:49:52
Quote
Wow - that's a great story.  Thanks for sharing!  Hope you have better luck with something else.[a href="index.php?act=findpost&pid=308851"][{POST_SNAPBACK}][/a]


Maybe you missed the point. In its current form, I'm personally pushing to have foo_pod added to the Problematic list. Components should never lock foobar2000 like foo_pod does, preventing cancellation, playback, and interaction with the main window for an extended period of time.

If you're having issues with writing proper multithreaded code, drop by #foobar2000 on Freenode. I'm sure they'll help out if asked nicely.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Skates on 2005-06-26 17:05:24
Quote
Quote
Wow - that's a great story.  Thanks for sharing!  Hope you have better luck with something else.[a href="index.php?act=findpost&pid=308851"][{POST_SNAPBACK}][/a]


Maybe you missed the point. In its current form, I'm personally pushing to have foo_pod added to the Problematic list. Components should never lock foobar2000 like foo_pod does, preventing cancellation, playback, and interaction with the main window for an extended period of time.

If you're having issues with writing proper multithreaded code, drop by #foobar2000 on Freenode. I'm sure they'll help out if asked nicely.
[a href="index.php?act=findpost&pid=308949"][{POST_SNAPBACK}][/a]

Problematic list? Get real, the component works fine and has worked fine for many...
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-26 17:08:35
Whilst I do find it annoying that foobar's not accessible whilst foo_pod's working, adding it to the problematic list is over-the-top and will likely only discourage Aero further from working on this project.  The problematic list is for plugins that have really big problems (the ever present example of incomplete unicode support), or crashes a lot.  Not having foo_pod multi-threaded, whilst annoying, is not a serious problem and/or flaw, and certainly doesn't cause damage to foobar's configuration or any of your music files.  It's just the way it is.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-26 17:33:02
Quote
Quote
Wow - that's a great story.  Thanks for sharing!  Hope you have better luck with something else.[a href="index.php?act=findpost&pid=308851"][{POST_SNAPBACK}][/a]


Maybe you missed the point. In its current form, I'm personally pushing to have foo_pod added to the Problematic list. Components should never lock foobar2000 like foo_pod does, preventing cancellation, playback, and interaction with the main window for an extended period of time.

If you're having issues with writing proper multithreaded code, drop by #foobar2000 on Freenode. I'm sure they'll help out if asked nicely.
[a href="index.php?act=findpost&pid=308949"][{POST_SNAPBACK}][/a]

You know Canar, maybe you missed the point! Had you not been so smug in your original post, you may have received a better response than the one that was given. So, don't act like a child, go run and tell mommy because you got your feelings hurt. Aero has been very responsive at upgrading foo_pod when we post here with problems. Aero deserves to be treated with respect, as do all the members here in this forum. Try it Canar, you just might like it!

Regards,
Dirk
Title: foo_pod - Foobar2000 meets the iPod
Post by: hedge153 on 2005-06-26 18:48:57
Quote
Whilst I do find it annoying that foobar's not accessible whilst foo_pod's working, adding it to the problematic list is over-the-top and will likely only discourage Aero further from working on this project.  The problematic list is for plugins that have really big problems (the ever present example of incomplete unicode support), or crashes a lot.  Not having foo_pod multi-threaded, whilst annoying, is not a serious problem and/or flaw, and certainly doesn't cause damage to foobar's configuration or any of your music files.  It's just the way it is.
[a href="index.php?act=findpost&pid=309032"][{POST_SNAPBACK}][/a]

Yeah agree totally, Aero, you do a great job with foo_pod, and its much appreciated by many many users of foobar. It has always worked as close to flawlessly as is humanly possible for me, and the VERY minor irritance of locking up whilst sending to an ipod is hardly worth mentioning. Start some music you like to listen to on before you start a transfer, send your files (which won't take all that long anyway), whats the prob?

I must say though, I am a little disappointed with your decision to not update to .9, but at this stage 0.8.3 does everything (and more due to all the unported extensions) that i'll ever need for quite some time to come.
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-06-26 19:21:26
Quote
At the risk of being banned again  , Foobar has some limitations with respect to multi-threaded components.[a href="index.php?act=findpost&pid=308934"][{POST_SNAPBACK}][/a]
There are some APIs that may only be called from the main thread, and they are clearly marked as such. I don't know why talking about this in a factual manner would result in any kind of punishment.

Quote
In its current form, I'm personally pushing to have foo_pod added to the Problematic list. Components should never lock foobar2000 like foo_pod does, preventing cancellation, playback, and interaction with the main window for an extended period of time.[a href="index.php?act=findpost&pid=308949"][{POST_SNAPBACK}][/a]
Bugs and crashes are reasons to put components on the list of known problematic components, not unliked but completely legal behaviour. We will not label a component as problematic on such grounds.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ExUser on 2005-06-26 20:28:41
Quote
Bugs and crashes are reasons to put components on the list of known problematic components, not unliked but completely legal behaviour. We will not label a component as problematic on such grounds.
[a href="index.php?act=findpost&pid=309059"][{POST_SNAPBACK}][/a]


So locking foobar2000 for an hour and a half while the same 2 second loop of music played, preventing me from cancelling the operation or even stopping playback so I could do something else with my soundcard while it operated is considered "legal behaviour"? If the plugin had actually done something useful after that time, I might even be able to agree. However, it returned a console literally full of error messages that I was unable to see and stop so I could fix the problem.

However, I suppose that'd be at best merely my opinion. Hmm. 

Edit: For the record, I was using foo_pod to put MPCs on my iPod, so it was transcoding. I can recreate the lockup easily by doing precisely that.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ExUser on 2005-06-26 20:33:59
Quote
Whilst I do find it annoying that foobar's not accessible whilst foo_pod's working, adding it to the problematic list is over-the-top and will likely only discourage Aero further from working on this project.  The problematic list is for plugins that have really big problems (the ever present example of incomplete unicode support), or crashes a lot.  Not having foo_pod multi-threaded, whilst annoying, is not a serious problem and/or flaw, and certainly doesn't cause damage to foobar's configuration or any of your music files.  It's just the way it is.
[a href="index.php?act=findpost&pid=309032"][{POST_SNAPBACK}][/a]


I see your point here, but personally disagree. Foosion (and the other devs I mentioned this to) seem to agree more with you than me, so I'll let my last post stand and see how this plays out.
Title: foo_pod - Foobar2000 meets the iPod
Post by: foosion on 2005-06-26 21:25:50
The problem described by Canar seems to indicate that foo_pod lock the metadb for a longer period. While this is not strictly illegal, it is not very cooperative either and should best be avoided. My advise would be to check the code for this and either lock the metadb once to retrieve all necessary information at the beginning or to lock it for each file separatly. Feel free to ask questions regarding the SDK in the dev forum or on IRC.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-26 21:31:26
Quote
Quote
Bugs and crashes are reasons to put components on the list of known problematic components, not unliked but completely legal behaviour. We will not label a component as problematic on such grounds.
[a href="index.php?act=findpost&pid=309059"][{POST_SNAPBACK}][/a]


So locking foobar2000 for an hour and a half while the same 2 second loop of music played, preventing me from cancelling the operation or even stopping playback so I could do something else with my soundcard while it operated is considered "legal behaviour"? If the plugin had actually done something useful after that time, I might even be able to agree. However, it returned a console literally full of error messages that I was unable to see and stop so I could fix the problem.

However, I suppose that'd be at best merely my opinion. Hmm. 
[a href="index.php?act=findpost&pid=309072"][{POST_SNAPBACK}][/a]

I've been following this thread since it's inception, and I can say that I do not recall anybody having an hour and a half lockup with foo_pod. I've had quite a few lockups over the years with foobar2000, along with lots of other programs, as well. Sometimes you just have bite the bullet and press Alt-Ctrl-Delete. That's what it's there for, I think. ;-) Again, had you just stated the problem straight on, you may have been given an explanation as to what might be going on in your situation. I don't want to speak for Aero, but I think your problem would have been addressed had you used just a little bit of tact when you originally posted your problem. You seem to lose site of that fact. Aero made this plugin for free and out of the goodness of his heart. You shouldn't disrespect the one person that you are going to for help. Think about it?

Regards,
Dirk
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-06-26 21:33:04
Quote
Quote
Wow - that's a great story.  Thanks for sharing!  Hope you have better luck with something else.[a href="index.php?act=findpost&pid=308851"][{POST_SNAPBACK}][/a]


Maybe you missed the point. In its current form, I'm personally pushing to have foo_pod added to the Problematic list. Components should never lock foobar2000 like foo_pod does, preventing cancellation, playback, and interaction with the main window for an extended period of time.

[a href="index.php?act=findpost&pid=308949"][{POST_SNAPBACK}][/a]


You mean like the file renamer does?  Better add some of ZzZzZz's componets then . . .
Title: foo_pod - Foobar2000 meets the iPod
Post by: ExUser on 2005-06-26 21:42:10
Quote
You mean like the file renamer does?  Better add some of ZzZzZz's componets then . . .
[a href="index.php?act=findpost&pid=309082"][{POST_SNAPBACK}][/a]


File renamer displays a modal dialog with a progress meter and a cancel button. On top of that, it's never disrupted my music playback.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-06-26 21:56:53
Quote
Quote
You mean like the file renamer does?  Better add some of ZzZzZz's componets then . . .
[a href="index.php?act=findpost&pid=309082"][{POST_SNAPBACK}][/a]


File renamer displays a modal dialog with a progress meter and a cancel button. On top of that, it's never disrupted my music playback.
[a href="index.php?act=findpost&pid=309084"][{POST_SNAPBACK}][/a]

Yes, just as I have never experienced your problem! I guess each computer system is different, and programs encounter different kinds of problems on different kinds of systems.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-06-27 02:05:17
Quote
I'm sure the iPod has some sort of internal limiter, to prevent the amplifer from being overdriven.


Yeah, something like that is going on, but songs without SoundCheck data get louder than I can get them with the preamp@100%+SoundCheck, I'm presuming this limiter has something to do with the numeric value in the volume variable.

Quote
You are adjusting the pre-amp setting for both SoundCheck and non-SoundCheck songs, right?


I'm actually only using the SoundCheck one, since all my songs I'm putting on the iPod have ReplayGain associated with them.

Quote
Semi-recent versions of foo_pod have separate settings for songs with and without SoundCheck, although I believe some iPod firmware versions ignore the volume/pre-amp setting when SoundCheck information is present (which is likely your problem).


Not sure about that, I'm using the latest version of firmware 3/23/05 for iPod photo (v1.1), and I do see that volume/pre-amp does have an effect on the songs with SoundCheck.  For example, if I have the preamp at 100%, with an iPod slider volume at 50%, the song is louder than if the preamp was at 50%.

Quote
I suppose I could add some sort of SoundCheck bias setting, but you could also manually adjust the ReplayGain values on your songs and make them a little higher - say take a -6dB RG value and make it -3dB or 0dB.


Yeah I could do this, but an option in foo_pod would be nicer/cleaner.  I'm willing to do it if you wouldn't mind sharing the source.

Quote
What I will probably do is remove the slider for RG pre-amp (since it doesn't always work, depending on the firmware version) and replace it with a Quieter/No change/Louder switch that would do what you are looking for.  I'll consider putting that in  the next version.


What I think would be best would be to actually keep the slider as a percentage slider, and take the Replaygain value and decrease the db reduction that is done.  For example, if I have a Reaplygain value of -6dB, and a "boost" setting of 50%, then the resulting SoundCheck would be calculated based on a ReplayGain of -3dB.  I know this is probably logorithm based, so the calculation would be slightly different, but you get the idea.

Thanks for listening Aero!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-27 05:42:44
Quote
Quote
Quote
The other problem I have had is that after a 'Sync All Playlists' you seem to keep a handle open to the "Ipod_Control/iTunes/Play Counts" file, which also renders the "Safely remove hardware" feature of Windows useless for ejecting the ipod until I close foobar2000.

This is a bug, but it can only occur if the Play Counts file is unreadable by foo_pod.  Try deleting it and see if the problem persists.

Edit: Actually, before you delete it, send me the Play Counts file so I can figure out why foo_pod can't ready it.
[a href="index.php?act=findpost&pid=308172"][{POST_SNAPBACK}][/a]
It is zero bytes big.
[a href="index.php?act=findpost&pid=308188"][{POST_SNAPBACK}][/a]

Dunno if this matters, but there is a known issue bandied about on the Apple forums with regards to this stuff. The latest version of the firmware on 4G and up units can cause files to become inaccessible after the iPod reboots from a deep sleep mode (where you don't touch the thing for 36 hours or so). Running chkdsk on the iPod fixes the problem, until it goes back into deep sleep.

No word on when they're going to get a fix for this, but it's been around quite a while. The Play Counts file is particularly affected, because it is left open when you pause a song and set the iPod down, I think. Lots of people have the "Cannot read Play Counts" file message using iTunes and the latest firmware and newer iPod's.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-27 14:21:31
Offtopic: I hate that deep-sleep mode, it forgets that I hate the clicker.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-27 16:14:54
Deep Sleep mode isn't supposed to forget anything. It used to work fine, but they broke it in recent firmwares.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-06-28 03:55:20
Quote
Deep Sleep mode isn't supposed to forget anything. It used to work fine, but they broke it in recent firmwares.
[a href="index.php?act=findpost&pid=309247"][{POST_SNAPBACK}][/a]


Any idea which version number I need to go back to for the bug to be "fixed" on my 4th gen?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-28 06:05:39
Not offhand. I think the latest firmware on those is something.2 and the one that isn't broken is something.1. Dunno if that helps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-28 06:12:37
I think the latest firmware is 3.0.2.  By Otto42's logic then, the working firmware should be 3.0.1.  Going back to the previous firmware will probably re-introduce other bugs though.

Offtopic: On a completely different note, I'd like to say a big happy first birthday to foobar2000 0.8.3.  It was compiled exactly one year ago from today, June 28th.
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2005-06-28 16:00:02
Quote
I think your last sentence could be slightly reworked:
"Its not going to be released until the beta is over in order to discourage developers from writing 3rd party plugins."
[a href="index.php?act=findpost&pid=302691"][{POST_SNAPBACK}][/a]


Aero, as always, thanks for foo_pod.  It is the most valuable of all plugins for me, and combined with the solid and flexible foobar core has changed the way I use and organize music.

You ban from this forum, for an innocuous, accurate comment was hilarious and amateurish. 

Thanks for continuing your work on the 0.8 version.  I support your decision to not update for 0.9 even though I personally would benefit greatly from the add'l ID3v2 support.  If whoever banned you would apologize for a ridiculous overreaction than I'd reconsider.  For now, thanks for all your work.  The only person involved in fb2k who deserves more praise, in my mind, is the creator himself.

Will be interesting to see how long this post survives.  Aero if you provide your email@ to me via pm I will offer feedback that way, should the same dork who banned you ban me.

+Reardon
Title: foo_pod - Foobar2000 meets the iPod
Post by: Peter on 2005-06-28 17:50:24
Aero's "ban" was a result of forum software bug, which changed 3-day removal of posting ability into infinite, which we fixed two weeks later when we noticed the problem. As you can see, no one is banned, or was banned to start with. Apparently Aero & friends have a lot of enjoyment from trolling board staff/regulars about that issue. We have been patient not to even give any further warnings despite of repeated TOS #7 violations, but this nonsense has to stop.
Next time someone brings this up, admin-level actions *will* be taken.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-28 18:53:50
Quote
I think the latest firmware is 3.0.2.  By Otto42's logic then, the working firmware should be 3.0.1.  Going back to the previous firmware will probably re-introduce other bugs though.
[a href="index.php?act=findpost&pid=309412"][{POST_SNAPBACK}][/a]

There's a new iPod firmware out for 4G and up units today. They might have fixed it in that release. Worth a shot anyway.

Although the new firmware might break foo_pod compatibility too. Keep your old firmware installer handy, just in case.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Johnny Space Cadet on 2005-06-28 19:41:27
I upgraded to the new firmware and am now getting this error when I load files via the contextual menu > send files to iPod:

WARNING (foo_pod) : Unable to parse Play Counts file 'g:\iPod_Control\iTunes\Play Counts' (error 13)


Oh, let me just say, THANK YOU Aero, Otto and everyone else who have contributed to this awesome plug-in! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-28 19:42:24
Quote
There's a new iPod firmware out for 4G and up units today. They might have fixed it in that release. Worth a shot anyway.

Although the new firmware might break foo_pod compatibility too. Keep your old firmware installer handy, just in case.
[a href="index.php?act=findpost&pid=309562"][{POST_SNAPBACK}][/a]

There are some significant new changes in the databases created by iTunes 4.9 (Otto - how do *3* mhsd's strike you?  ), and due to the changes, foo_pod can't currently read databases written by iTunes 4.9.  I'll try to get foo_pod updated tonight, but foo_pod users might want to hold off on iTunes 4.9 and the latest firmware until I get foo_pod updated.

Edit: Wow, there is a lot of new, weird stuff in the new database format.  There are show notes now, so you can associate some text with a song, and it is accessible by clicking the center button once you get back the time and stars screens.  The most interesting new feature is that you can now have subsongs (like found in Cue sheets) in a single song.  For example, I found an Apple new music podcast that was broken up into 7 different subsongs - the time progress bar is split up into 7 sections, and you access each subsong by pressing the next/back button.  Pretty cool stuff, but it is going to take some work to update iPodDB to not crash on the new format (they added yet another string format and the subsong stuff is implemented as a MHOD (type 17)), let along be able to do anything useful with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-28 19:43:04
Quote
I upgraded to the new firmware and am now getting this error when I load files via the contextual menu > send files to iPod:

WARNING (foo_pod) : Unable to parse Play Counts file 'g:\iPod_Control\iTunes\Play Counts' (error 13)


Oh, let me just say, THANK YOU Aero, Otto and everyone else who have contributed to this awesome plug-in! 
[a href="index.php?act=findpost&pid=309569"][{POST_SNAPBACK}][/a]

Ooops...I should have posted a minute earlier.  Yeah, so hold off on the updates for now until I figure out what is going on.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-06-28 21:08:05
Sonofa... Here I am trying to write a nice interface to my parsing libraries, and they go and change the damn thing on me.

Okay. Email me a copy of the new files, would you, Aero? I'd like to get some of this stuff documented if possible. Might just take the opportunity to rewrite the library entirely and make it cleaner and more robust.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Roninr6 on 2005-06-29 04:53:56
well i screwed up and had installed itunes 4.9 and the new ipod installer, I wanted to check out the new podcast features.

So now I cant use foo_pod, how can i go back to the updater fron 03-23.  the update option is greyed out.  Would a restore from wothing the 03-23 updater help at all.  I wouldnt think so.

So basically the podcast that aplle offers are a waste, and now i cant put my music on my pod with foobar.

How long until you think there might be an update to foo pod to work around apples changes?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-29 05:19:11
Quote
well i screwed up and had installed itunes 4.9 and the new ipod installer, I wanted to check out the new podcast features.

So now I cant use foo_pod, how can i go back to the updater fron 03-23.  the update option is greyed out.  Would a restore from wothing the 03-23 updater help at all.  I wouldnt think so.

So basically the podcast that aplle offers are a waste, and now i cant put my music on my pod with foobar.

How long until you think there might be an update to foo pod to work around apples changes?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=309672")

There are some pretty significant changes in the iTunes 4.9 database format - I assume at this point, every non-iTunes application is either completely broken or not writing out fully compliant databases.  foo_pod is pretty close - I might have an update tomorrow.

To go back to a previous firmware version, go to your iPod's iPod_Control\Device directory and open up SysInfo in a text editor (like Notepad).  Find these lines:

buildID: 0x04208000 (4.2)
visibleBuildID: 0x01208000 (1.2)

Change them to something like this:

buildID: 0x03208000 (3.2)
visibleBuildID: 0x00208000 (0.2)

Save the file and run the Updater again.  Basically, you just need to convince the Updater than you have an earlier firmware version. 

There are more details [a href="http://www.hackaday.com/entry/1234000983023390/]here[/url].
Title: foo_pod - Foobar2000 meets the iPod
Post by: Roninr6 on 2005-06-29 05:50:59
Quote
There are some pretty significant changes in the iTunes 4.9 database format - I assume at this point, every non-iTunes application is either completely broken or not writing out fully compliant databases.  foo_pod is pretty close - I might have an update tomorrow.

To go back to a previous firmware version, go to your iPod's iPod_Control\Device directory and open up SysInfo in a text editor (like Notepad).  Find these lines:

buildID: 0x04208000 (4.2)
visibleBuildID: 0x01208000 (1.2)

Change them to something like this:

buildID: 0x03208000 (3.2)
visibleBuildID: 0x00208000 (0.2)

Save the file and run the Updater again.  Basically, you just need to convince the Updater than you have an earlier firmware version. 

There are more details here (http://www.hackaday.com/entry/1234000983023390/).
[a href="index.php?act=findpost&pid=309681"][{POST_SNAPBACK}][/a]


Thanks that worked a treat.  Foo Pod is working like a charm again.


Thanks for the help, and thanks for this kickass plugin.  you have made my life better since i dont have to use that crap they call iTunes
Title: foo_pod - Foobar2000 meets the iPod
Post by: Roninr6 on 2005-06-29 17:40:23
I am having a weird issue with foobar lately.

when i highlight a song (or a number of songs) and right click, there is a 5-7 second delay before the right click menu pops up.

I think it is relateted here because when i do the right click, iPodservice.exe jumps from usind 0% of CPU resources to close to 25%, then the milisecond it returns back to 0% the right click menu pops up.
Its really weird, it didnt use to do this until I started fecking with stff yesterday.

anyone have any suggestions

EDIT:  It only happens when the iPod is not mounted, if the iPod is present then the right click has 0 delay.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-06-29 18:41:56
iPodService is searching all the available drives to see if any of them are iPod's.  Only seems to effect some people (it effects me to).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Iuppiter on 2005-06-30 11:43:15
even goPod doesn't work anymore with firmware 1.2 on iPod photo...
that's a pitty.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-06-30 16:56:17
Quote
even goPod doesn't work anymore with firmware 1.2 on iPod photo...
that's a pitty.
[a href="index.php?act=findpost&pid=310023"][{POST_SNAPBACK}][/a]

Other than the Play Counts file, which was extended in the latest firmware and thus incompatable with previous software, just updating the firmware shouldn't break any 3rd party programs.  It is the database changes introduced by iTunes 4.9 that cause the majority of the problems.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Iuppiter on 2005-06-30 18:39:51
In my case, only the iPod photo is concerned by this problem.
For example, iPod minis are not affected.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-01 20:49:33
Word on the Apple discussion forums is that this latest update (3.1) also breaks smart playlist functionality. Smart Playlists are no longer "live", they don't update until you sync them with iTunes.

Edit: Apple is aware of the bug, they had an Apple employee post on there (a rarity in the extreme) saying that they had duplicated the problem and were working on it. I expect a new update to be made availble relatively quickly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-01 20:51:53
Quote
Word on the Apple discussion forums is that this latest update (3.1) also breaks smart playlist functionality. Smart Playlists are no longer "live", they don't update until you sync them with iTunes.
[a href="index.php?act=findpost&pid=310387"][{POST_SNAPBACK}][/a]

I noticed that too, but figured it was a foo_pod incompatability. 

So are live updating Smart Playlists are completely broken, even for iTunes generated SPs, and the 1.2/3.1 firmware has reverted to the 2G-style static Smart Playlists?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-01 20:56:20
Quote
So are live updating Smart Playlists are completely broken, even for iTunes generated SPs, and the 1.2/3.1 firmware has reverted to the 2G-style static Smart Playlists?
[a href="index.php?act=findpost&pid=310388"][{POST_SNAPBACK}][/a]

Yep. It shows the static list and doesn't attempt to recalc the SPL, regardless of what the rules are. It's definitely a firmware issue in 1.2/3.1, and it happens with any version of iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-01 21:04:39
Quote
Quote
So are live updating Smart Playlists are completely broken, even for iTunes generated SPs, and the 1.2/3.1 firmware has reverted to the 2G-style static Smart Playlists?
[a href="index.php?act=findpost&pid=310388"][{POST_SNAPBACK}][/a]

Yep. It shows the static list and doesn't attempt to recalc the SPL, regardless of what the rules are. It's definitely a firmware issue in 1.2/3.1, and it happens with any version of iTunes.
[a href="index.php?act=findpost&pid=310390"][{POST_SNAPBACK}][/a]

Wow...that is really embarrasing for Apple.  I can't believe that no one noticed before releasing the firmware (I noticed it the first time I transferred a file, but just figured it was a foo_pod problem). 

There are other problems with the latest firmware as well; twice I have had to soft reset my iPod because it wouldn't wake up from a non-deep sleep, and I have noted more temporary GUI lockups than usual, as well.   

I'm guessing that there are a few firmware developer and testing jobs opening up in Cupertino today...maybe I should send in my resume! 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-01 21:09:36
To be fair, the only reason you likely noticed it with foo_pod is because your implementation of the SPL's writes the rules only and doesn't calc the static playlist except in certain cases. I think.

So you'd see a blank SPL, whereas users of iTunes would see the static SPL. With the static one in there and that displaying, it's not immediately obvious until you try to change things and notice that the playlist doesn't change accordingly.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-01 21:15:20
Quote
To be fair, the only reason you likely noticed it with foo_pod is because your implementation of the SPL's writes the rules only and doesn't calc the static playlist except in certain cases. I think.

So you'd see a blank SPL, whereas users of iTunes would see the static SPL. With the static one in there and that displaying, it's not immediately obvious until you try to change things and notice that the playlist doesn't change accordingly.
[a href="index.php?act=findpost&pid=310393"][{POST_SNAPBACK}][/a]

So you are saying that Apple should be testing with foo_pod!   

Actually, I was not seeing a blank smart playlist with the 1.2 firmware - it just wasn't updating when I added new songs.  I don't believe I had the static entries in there, so I'm not sure what was going on, other than the firmware is screwed up.

And yes, I only write the static smart playlists for 1G and 2G iPods, and in a few rare cases where there were firmware bugs that broken dynamically updating smart playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-01 21:41:14
Well, if you used iTunes at some point, it would have calculated a static list for your SPLs and put it in there. It tends to do that. Then, when using foo_pod, the SPL would be read in, and would include that static list. Unless you recalced the static list or take steps to specifically erase the static list, it'd get written back out as is by the iPodDB functions. So even if you changed the SPL rules, the list would remain the same even after running it through foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-07-01 22:17:08
Aero, so what is the skinny on upgrading at this point? If we mostly use only foo_pod should we hold off on upgrading? Will foo_pod be updated to handle the changes? I'm a wee bit confused on what to do.    You & Otto are the guys in the know. Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-01 22:50:55
Quote
Well, if you used iTunes at some point, it would have calculated a static list for your SPLs and put it in there. It tends to do that. Then, when using foo_pod, the SPL would be read in, and would include that static list. Unless you recalced the static list or take steps to specifically erase the static list, it'd get written back out as is by the iPodDB functions. So even if you changed the SPL rules, the list would remain the same even after running it through foo_pod.
[a href="index.php?act=findpost&pid=310401"][{POST_SNAPBACK}][/a]

Its possible, but I generally don't let iTunes anywhere need my foo_pod created iTunesDB files.  In fact, the more I think of it, the less likely it was iTunes since I haven't run iTunes 4.7 in weeks, and the database version was 0x0c, so it wasn't iTunes 4.9.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-01 23:04:25
Quote
Aero, so what is the skinny on upgrading at this point? If we mostly use only foo_pod should we hold off on upgrading? Will foo_pod be updated to handle the changes? I'm a wee bit confused on what to do.     You & Otto are the guys in the know. Thanks!
[a href="index.php?act=findpost&pid=310405"][{POST_SNAPBACK}][/a]

I would highly recommend that all iPod user hold off on the latest firmware until Apple works out the kinks.  The released version of foo_pod should work ok with the 2005-06-26 update, other than things in the Play Counts file (last played time, rating set on the iPod, play count) aren't compatible.

I have upgraded foo_pod to be compatible with the new iTunes 4.9 created database format, but since I reverted my iPod Photo back to firmware v1.1 (due to the smart playlist problem), I don't really want to release something that I'm not personally using on a daily basis. 

On the other hand, there is a new setting to create either 4.7/4.8 or 4.9 compatible databases, so I could release it with the default set to 4.7 format databases, and just say that 4.9 is Use At Your Own Risk.  But since the new firmware is broken, I don't really see any point in handling the new database format until Apple gets their act together.


Edit: Just to be clear there are 2 separate, but connected, issues:

1. 2005-06-26 iPod firmware update - adds new podcasting related features, but they aren't used unless you are using the latest iTunes 4.9 database format.  And the firmware has some serious new problems with smart playlists and crashes/lockups.  Also, Apple slightly changed the Play Counts format, which breaks last played/ratings/play count for existing iPod software.

2. iTunes 4.9 database format.  Without the 2005-06-26 firmware, there is no point in switching to the new database format.  Plus, it is incompatible with all of the existing iPod software.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-07-02 00:29:13
Aero, thanks for the update & explanation. I'm really surprised that Apple let that release out with so many issues. I'll stay put until everything is compatible.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Roninr6 on 2005-07-03 20:25:52
well since youa re working on an update is there any way I could make a small request.

Is it possible that within the Playlist Editor you can make it so that i can right click and rename playlists.  For some reason on my PC the double click doesnt work right.  It takes me like 1-2 minutes of constant double clicking to finaly be able to rename the Playlist title.
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-07-03 23:41:39
I'm having crashes lately with foo_pod. It happens when long transfering to ipod shuffle or right-clicking on the ipod playlist. Herre's the latest error log:

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 004212F5h
Access violation, operation: read, address: 7C313431h
Call path:
WinMain=>app_mainloop
This is the first crash logged by this instance.
Code bytes (004212F5h):
004212B5h:  FF 15 18 90 43 00 8B 3D 1C 59 44 00 FF 05 10 59
004212C5h:  44 00 C1 EF 03 C7 45 FC 00 00 00 00 74 3D 53 8B
004212D5h:  5D 08 56 8B 4D 0C FF 75 FC 8B 01 FF 10 84 C0 74
004212E5h:  20 A1 14 59 44 00 8B 4D FC 8B 34 C8 8B CE 8B 06
004212F5h:  FF 10 8B 03 8B CB FF 10 8B 13 50 56 8B CB FF 52
00421305h:  10 FF 45 FC 39 7D FC 72 CA 5E 5B 8D 4D F8 E8 0C
00421315h:  4D FE FF 5F C9 C2 08 00 55 8B EC 51 B8 F8 58 44
00421325h:  00 56 50 89 45 FC FF 15 18 90 43 00 A1 1C 59 44
Stack (0012F4BCh):
0012F49Ch:  EB978A44 00000020 EB978D3C BF985E05
0012F4ACh:  BF98F2E0 FFFFFFFF BF8F3BB6 BF8BDE9F
0012F4BCh:  00000003 00000000 004465AC 004458F8
0012F4CCh:  00000004 0012F4F4 004275B5 0012F5FC
0012F4DCh:  0012F4FC 004465AC 10003463 00000000
0012F4ECh:  004465DC 004465AC 0012F678 03AE23AE
0012F4FCh:  004394C4 0012F5FC 0012F6E0 03AE15B7
0012F50Ch:  00000000 00000000 00560372 00000000
0012F51Ch:  00000014 00000001 00000000 00000000
0012F52Ch:  00000010 00000000 00560372 00000001
0012F53Ch:  00000000 00000000 0012F510 00000060
0012F54Ch:  0012F5A0 77D40467 77D18830 FFFFFFFF
0012F55Ch:  0012F790 00560372 00000000 03AE333A
0012F56Ch:  00560372 0000000F 00000000 00000000
0012F57Ch:  006BBB5C 77D1B4CB 0012F790 0012F5A4
0012F58Ch:  77D1B3F9 00560372 00000007 0022021C
0012F59Ch:  00000000 00000000 77D18BD9 77D70088
0012F5ACh:  00000040 0012F5EC 77D1B3CC 77D1B3A7
0012F5BCh:  0012F790 00560372 00000000 00000000
0012F5CCh:  00000001 00000000 0012F5BC 0000025D
Registers:
EAX: 7C313431, EBX: 0012F5FC, ECX: 0C44AF94, EDX: 00000003
ESI: 0C44AF94, EDI: 00000034, EBP: 0012F4D0, ESP: 0012F4BC
Crash location: "foobar2000", loaded at 00400000h - 00452000h

Loaded modules:
foobar2000                      loaded at 00400000h - 00452000h
ntdll                            loaded at 7C910000h - 7C9C6000h
kernel32                        loaded at 7C800000h - 7C901000h
USER32                          loaded at 77D10000h - 77DA0000h
GDI32                            loaded at 77EF0000h - 77F36000h
ole32                            loaded at 774B0000h - 775ED000h
ADVAPI32                        loaded at 77DA0000h - 77E4C000h
RPCRT4                          loaded at 77E50000h - 77EE1000h
msvcrt                          loaded at 77BE0000h - 77C38000h
COMCTL32                        loaded at 773A0000h - 774A2000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                        loaded at 76360000h - 763AA000h
SHELL32                          loaded at 7C9D0000h - 7D1EE000h
IMM32                            loaded at 76340000h - 7635D000h
LPK                              loaded at 62E30000h - 62E39000h
USP10                            loaded at 74D20000h - 74D8B000h
foo_abx                          loaded at 00A40000h - 00A4A000h
foo_ac3                          loaded at 00A50000h - 00A63000h
foo_albumlist                    loaded at 00A70000h - 00A7B000h
foo_ape                          loaded at 00A80000h - 00A9F000h
foo_audioscrobbler              loaded at 00AA0000h - 00AC0000h
LIBCURL                          loaded at 00AC0000h - 00AD9000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76B00000h - 76B2E000h
foo_burninate                    loaded at 00BB0000h - 00BBC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
foo_cdda                        loaded at 00BC0000h - 00BD0000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_clienc                      loaded at 00BE0000h - 00BEB000h
foo_console                      loaded at 00BF0000h - 00BF7000h
foo_custom_sort                  loaded at 00C00000h - 00C08000h
foo_dbexplorer                  loaded at 00C10000h - 00C1D000h
foo_dbsearch                    loaded at 00C20000h - 00C3A000h
foo_diskwriter                  loaded at 00C40000h - 00C52000h
foo_dsp_continuator              loaded at 00C60000h - 00C68000h
foo_dsp_crossfade                loaded at 00C70000h - 00C77000h
foo_dsp_extra                    loaded at 00C80000h - 00C95000h
foo_filedate                    loaded at 00CA0000h - 00CA9000h
foo_flac                        loaded at 00CB0000h - 00CCC000h
foo_flaccer                      loaded at 00CD0000h - 00CE6000h
foo_freedb                      loaded at 00CF0000h - 00D22000h
foo_history                      loaded at 00D30000h - 00D45000h
foo_id3v2                        loaded at 00D50000h - 00D80000h
MSVCP60                          loaded at 76030000h - 76095000h
foo_infobox                      loaded at 00D80000h - 00D93000h
foo_info_samurize                loaded at 00DA0000h - 00DBA000h
foo_input_std                    loaded at 00EE0000h - 00F9E000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
uxtheme                          loaded at 5B150000h - 5B188000h
foo_lirc                        loaded at 00FB0000h - 00FC3000h
wsock32                          loaded at 71A50000h - 71A5A000h
MSCTF                            loaded at 746B0000h - 746FB000h
foo_massdelete                  loaded at 01070000h - 0107A000h
foo_masstag                      loaded at 01080000h - 01094000h
foo_matroska                    loaded at 010A0000h - 010FB000h
foo_midi                        loaded at 01110000h - 0119E000h
MFC71                            loaded at 7C140000h - 7C243000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
OLEAUT32                        loaded at 770F0000h - 7717C000h
foo_mod                          loaded at 011A0000h - 011A9000h
BASS                            loaded at 011B0000h - 0120A000h
foo_nero                        loaded at 01210000h - 0121D000h
MFC42                            loaded at 73D50000h - 73E4E000h
MFC42LOC                        loaded at 61DF0000h - 61DFE000h
foo_openwith                    loaded at 01220000h - 01229000h
foo_output_asio(exe)            loaded at 01230000h - 0125C000h
foo_output_std                  loaded at 01270000h - 01279000h
foo_out_dsound_ex                loaded at 01280000h - 01289000h
DSOUND                          loaded at 73E90000h - 73EEC000h
foo_out_ks                      loaded at 012A0000h - 012AB000h
SETUPAPI                        loaded at 778F0000h - 779E7000h
foo_playcount                    loaded at 012B0000h - 012C0000h
foo_playlistfind                loaded at 012C0000h - 012CB000h
foo_playlistgen_ex              loaded at 012D0000h - 012DF000h
foo_playlist_tree                loaded at 012E0000h - 01327000h
foo_pod                          loaded at 01330000h - 01406000h
foo_podclienc                    loaded at 01410000h - 0142B000h
foo_podtranscoder                loaded at 01430000h - 01441000h
foo_prettypop                    loaded at 01450000h - 0148D000h
mscoree                          loaded at 79170000h - 79196000h
mscorwks                        loaded at 791B0000h - 79416000h
fusion                          loaded at 79040000h - 79085000h
mscorlib                        loaded at 79780000h - 7998C000h
mscorlib                        loaded at 79990000h - 79CCC000h
MSCORJIT                        loaded at 79430000h - 7947D000h
foo_qconfig                      loaded at 03890000h - 0389C000h
foo_quicktag                    loaded at 038A0000h - 038A9000h
foo_quicktag_sql                loaded at 038B0000h - 038E8000h
foo_read_http                    loaded at 038F0000h - 03905000h
foo_record                      loaded at 03910000h - 0391E000h
foo_remote                      loaded at 03920000h - 0392B000h
foo_rgscan                      loaded at 03930000h - 0393D000h
foo_scheduler                    loaded at 03940000h - 03955000h
foo_scroll                      loaded at 03960000h - 03966000h
foo_send_to_pl                  loaded at 03970000h - 03979000h
foo_shuffle                      loaded at 03980000h - 03998000h
foo_spc                          loaded at 039A0000h - 039B1000h
foo_speex                        loaded at 039C0000h - 039D8000h
foo_uie_albumart                loaded at 039E0000h - 039EC000h
gdiplus                          loaded at 4EBA0000h - 4ED43000h
foo_uie_albumlist                loaded at 03A00000h - 03A11000h
foo_uie_dbexplorer              loaded at 03A20000h - 03A2B000h
foo_uie_lyrics                  loaded at 03A30000h - 03A5A000h
WININET                          loaded at 77180000h - 77227000h
CRYPT32                          loaded at 77A50000h - 77AE5000h
MSASN1                          loaded at 77AF0000h - 77B02000h
foo_uie_simple_spectrum          loaded at 03A60000h - 03A6B000h
foo_uie_trackinfo                loaded at 03A70000h - 03A7B000h
foo_uie_vis_projectm            loaded at 03A80000h - 03AC0000h
OPENGL32                        loaded at 5F120000h - 5F1EC000h
GLU32                            loaded at 5FEA0000h - 5FEC1000h
DDRAW                            loaded at 736E0000h - 73729000h
DCIMAN32                        loaded at 73B40000h - 73B46000h
foo_uie_volume                  loaded at 03AC0000h - 03ACA000h
foo_ui_columns                  loaded at 03AD0000h - 03B07000h
foo_ui_std                      loaded at 0BB20000h - 0BB37000h
foo_unpack                      loaded at 0BB40000h - 0BB71000h
foo_vis_bubbla                  loaded at 0BB80000h - 0BB94000h
foo_vis_manager                  loaded at 0BBA0000h - 0BBA8000h
foo_vis_samurize2                loaded at 0BBB0000h - 0BBD7000h
foo_vis_simple_spectrum          loaded at 0BD00000h - 0BD0B000h
foo_vis_stereo                  loaded at 0BD10000h - 0BD98000h
foo_vis_vu_meter                loaded at 0BDA0000h - 0BDA8000h
foo_wavpack                      loaded at 0BDB0000h - 0BDC2000h
foo_web                          loaded at 0BDD0000h - 0BDE9000h
foo_wma                          loaded at 0BDF0000h - 0BE09000h
WMVCore                          loaded at 0BE10000h - 0C054000h
WMASF                            loaded at 0C060000h - 0C09B000h
foo_tbar                        loaded at 0C0A0000h - 0C0A9000h
foo_text                        loaded at 0C0B0000h - 0C0C3000h
msctfime                        loaded at 75160000h - 7518E000h
Powrprof                        loaded at 74A60000h - 74A68000h
system.drawing                  loaded at 7B490000h - 7B506000h
system.drawing                  loaded at 7B510000h - 7B5DE000h
system.windows.forms            loaded at 7B610000h - 7B808000h
system.windows.forms            loaded at 7B810000h - 7BAF2000h
system                          loaded at 7B0A0000h - 7B1CE000h
system                          loaded at 7B1D0000h - 7B3B0000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770E0000h
xpsp2res                        loaded at 20000000h - 202D6000h
mswsock                          loaded at 719D0000h - 71A10000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
iphlpapi                        loaded at 76D20000h - 76D39000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
wshbth                          loaded at 74FD0000h - 74FEE000h
GoogleDesktopNetwork1            loaded at 43000000h - 43005000h
Secur32                          loaded at 77FC0000h - 77FD1000h
hnetcfg                          loaded at 66740000h - 66799000h
wshtcpip                        loaded at 71A10000h - 71A18000h
rasadhlp                        loaded at 76F80000h - 76F86000h
browseui                        loaded at 75F30000h - 7602D000h
browselc                        loaded at 0D750000h - 0D763000h
sqlite                          loaded at 0DA80000h - 0DAAF000h
imagehlp                        loaded at 76C50000h - 76C78000h
DBGHELP                          loaded at 5D4B0000h - 5D551000h

Stack dump analysis:
Address: 004465ACh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004458F8h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004275B5h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004465ACh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 10003463h, location: "utf8api", loaded at 10000000h - 1000D000h
Symbol: "uAppendMenu" (+00000000h)
Address: 004465DCh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004465ACh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 03AE23AEh, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 004394C4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 03AE333Ah, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 77D1B4CBh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+0000018Fh)
Address: 77D1B3F9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 77D18BD9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowThreadProcessId" (+00000159h)
Address: 77D70088h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D1B3CCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000090h)
Address: 77D1B3A7h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 03AF67DCh, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 03AF67C8h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 03AE500Dh, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 03AE333Ah, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 746C0DCEh, location: "MSCTF", loaded at 746B0000h - 746FB000h
Symbol: "TF_UninitSystem" (+00000965h)
Address: 77D318F4h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "UnhookWinEvent" (+00000077h)
Address: 03AF5873h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 77D18734h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000006Dh)
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 77D18816h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+0000014Fh)
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D18830h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetDC" (+00000169h)
Address: 77D1B4C0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000184h)
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 03AE333Ah, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 77D40467h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DeregisterShellHookWindow" (+000001CFh)
Address: 77D1B4D0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000194h)
Address: 77D1B50Ch, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000001D0h)
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 7C91EAE3h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "KiUserCallbackDispatcher" (+00000013h)
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 03AE15B7h, location: "foo_ui_columns", loaded at 03AD0000h - 03B07000h
Address: 77D1B473h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000137h)
Address: 77D194BEh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowLongA" (+00000061h)
Address: 77D1B42Dh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000F1h)
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 77D1B933h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "IsWindow" (+00000000h)
Address: 77D184FCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D185A4h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D1B3F9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+000000BDh)
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 5B151AF6h, location: "uxtheme", loaded at 5B150000h - 5B188000h
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 77D18BD9h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetWindowThreadProcessId" (+00000159h)
Address: 77D70088h, location: "USER32", loaded at 77D10000h - 77DA0000h
Address: 77D1B3CCh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000090h)
Address: 77D1B3A7h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+0000006Bh)
Address: 77D1B3D2h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "DefWindowProcW" (+00000096h)
Address: 5B151B3Dh, location: "uxtheme", loaded at 5B150000h - 5B188000h
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 77D1BB15h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "GetPropW" (+0000003Ah)
Address: 0134025Dh, location: "foo_pod", loaded at 01330000h - 01406000h

Version info:
foobar2000 v0.8.3
UNICODE

And the one before (they're a lot of different error logs)
Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 004217F4h
Access violation, operation: read, address: 6E656E6Fh
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/Delete All iPod Music and Playlists"
This is the first crash logged by this instance.
Code bytes (004217F4h):
004217B4h:  83 EC 1C 89 4D FC E8 92 FD FF FF 84 C0 0F 84 8C
004217C4h:  00 00 00 53 56 6A 01 8D 4D E4 E8 DB CB FE FF 8B
004217D4h:  75 08 8B CE 8B 06 FF 10 33 DB 89 45 08 85 C0 76
004217E4h:  28 57 8B 06 53 8B CE FF 50 04 8B F8 8B CF 8B 07
004217F4h:  FF 10 8B 45 EC 8D 4D E4 C1 E8 02 50 57 E8 78 1B
00421804h:  FF FF 43 3B 5D 08 72 DA 5F 80 7D 18 00 5E 5B 74
00421814h:  0A 8D 45 E4 50 E8 39 00 00 00 59 FF 75 14 8B 45
00421824h:  F4 8B 4D FC FF 75 10 8B 40 04 FF 75 0C 8D 44 05
Stack (0012E958h):
0012E938h:  00EBDCDC 7C9D93A0 77F443DD 7C9D93A0
0012E948h:  00000004 00000000 00EBD1E8 00000000
0012E958h:  004458F4 0EBFD240 00000000 00000000
0012E968h:  00000000 00000000 00000001 0043A1C8
0012E978h:  0043A1B4 004458F4 0012E9A4 00426FE2
0012E988h:  00000008 00000001 FFFFFFFF 00000000
0012E998h:  00000000 00000001 00000002 0012E9BC
0012E9A8h:  004277B4 00000002 002180D8 004465AC
0012E9B8h:  00000000 00000000 01391B44 004465DC
0012E9C8h:  00000001 00000000 01347B90 0C1DBDE0
0012E9D8h:  0000006F 00000000 0012FC30 00000020
0012E9E8h:  00000000 00000000 00000000 00000000
0012E9F8h:  00000001 013A5D24 013A5D0C 013AA430
0012EA08h:  00000000 013AA11C 00000000 00000000
0012EA18h:  00000001 0000000C 00000002 62AA6FFE
0012EA28h:  E2DC3389 00000002 00BDD118 0C1D8180
0012EA38h:  FFFFFFFF 013AA210 00000000 00000000
0012EA48h:  00000000 7C3416B8 00000000 00000000
0012EA58h:  00000000 013AA424 0012EB10 0012EA50
0012EA68h:  0012EB14 00000000 00000000 00000000
Registers:
EAX: 6E656E6F, EBX: 00000000, ECX: 0EBFBB04, EDX: 0043B0D8
ESI: 0EBFD254, EDI: 0EBFBB04, EBP: 0012E980, ESP: 0012E958
Crash location: "foobar2000", loaded at 00400000h - 00452000h

Loaded modules:
foobar2000                      loaded at 00400000h - 00452000h
ntdll                            loaded at 7C910000h - 7C9C6000h
kernel32                        loaded at 7C800000h - 7C901000h
USER32                          loaded at 77D10000h - 77DA0000h
GDI32                            loaded at 77EF0000h - 77F36000h
ole32                            loaded at 774B0000h - 775ED000h
ADVAPI32                        loaded at 77DA0000h - 77E4C000h
RPCRT4                          loaded at 77E50000h - 77EE1000h
msvcrt                          loaded at 77BE0000h - 77C38000h
COMCTL32                        loaded at 773A0000h - 774A2000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                        loaded at 76360000h - 763AA000h
SHELL32                          loaded at 7C9D0000h - 7D1EE000h
IMM32                            loaded at 76340000h - 7635D000h
LPK                              loaded at 62E30000h - 62E39000h
USP10                            loaded at 74D20000h - 74D8B000h
foo_abx                          loaded at 00A40000h - 00A4A000h
foo_ac3                          loaded at 00A50000h - 00A63000h
foo_albumlist                    loaded at 00A70000h - 00A7B000h
foo_ape                          loaded at 00A80000h - 00A9F000h
foo_audioscrobbler              loaded at 00AA0000h - 00AC0000h
LIBCURL                          loaded at 00AC0000h - 00AD9000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76B00000h - 76B2E000h
foo_burninate                    loaded at 00BB0000h - 00BBC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
foo_cdda                        loaded at 00BC0000h - 00BD0000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_clienc                      loaded at 00BE0000h - 00BEB000h
foo_console                      loaded at 00BF0000h - 00BF7000h
foo_custom_sort                  loaded at 00C00000h - 00C08000h
foo_dbexplorer                  loaded at 00C10000h - 00C1D000h
foo_dbsearch                    loaded at 00C20000h - 00C3A000h
foo_diskwriter                  loaded at 00C40000h - 00C52000h
foo_dsp_continuator              loaded at 00C60000h - 00C68000h
foo_dsp_crossfade                loaded at 00C70000h - 00C77000h
foo_dsp_extra                    loaded at 00C80000h - 00C95000h
foo_filedate                    loaded at 00CA0000h - 00CA9000h
foo_flac                        loaded at 00CB0000h - 00CCC000h
foo_flaccer                      loaded at 00CD0000h - 00CE6000h
foo_freedb                      loaded at 00CF0000h - 00D22000h
foo_history                      loaded at 00D30000h - 00D45000h
foo_id3v2                        loaded at 00D50000h - 00D80000h
MSVCP60                          loaded at 76030000h - 76095000h
foo_infobox                      loaded at 00D80000h - 00D93000h
foo_info_samurize                loaded at 00DA0000h - 00DBA000h
foo_input_std                    loaded at 00EE0000h - 00F9E000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
uxtheme                          loaded at 5B150000h - 5B188000h
foo_lirc                        loaded at 00FB0000h - 00FC3000h
wsock32                          loaded at 71A50000h - 71A5A000h
MSCTF                            loaded at 746B0000h - 746FB000h
foo_massdelete                  loaded at 01070000h - 0107A000h
foo_masstag                      loaded at 01080000h - 01094000h
foo_matroska                    loaded at 010A0000h - 010FB000h
foo_midi                        loaded at 01110000h - 0119E000h
MFC71                            loaded at 7C140000h - 7C243000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
OLEAUT32                        loaded at 770F0000h - 7717C000h
foo_mod                          loaded at 011A0000h - 011A9000h
BASS                            loaded at 011B0000h - 0120A000h
foo_nero                        loaded at 01210000h - 0121D000h
MFC42                            loaded at 73D50000h - 73E4E000h
MFC42LOC                        loaded at 61DF0000h - 61DFE000h
foo_openwith                    loaded at 01220000h - 01229000h
foo_output_asio(exe)            loaded at 01230000h - 0125C000h
foo_output_std                  loaded at 01270000h - 01279000h
foo_out_dsound_ex                loaded at 01280000h - 01289000h
DSOUND                          loaded at 73E90000h - 73EEC000h
foo_out_ks                      loaded at 012A0000h - 012AB000h
SETUPAPI                        loaded at 778F0000h - 779E7000h
foo_playcount                    loaded at 012B0000h - 012C0000h
foo_playlistfind                loaded at 012C0000h - 012CB000h
foo_playlistgen_ex              loaded at 012D0000h - 012DF000h
foo_playlist_tree                loaded at 012E0000h - 01327000h
foo_pod                          loaded at 01330000h - 01406000h
foo_podclienc                    loaded at 01410000h - 0142B000h
foo_podtranscoder                loaded at 01430000h - 01441000h
foo_prettypop                    loaded at 01450000h - 0148D000h
mscoree                          loaded at 79170000h - 79196000h
mscorwks                        loaded at 791B0000h - 79416000h
fusion                          loaded at 79040000h - 79085000h
mscorlib                        loaded at 79780000h - 7998C000h
mscorlib                        loaded at 79990000h - 79CCC000h
MSCORJIT                        loaded at 79430000h - 7947D000h
foo_qconfig                      loaded at 03890000h - 0389C000h
foo_quicktag                    loaded at 038A0000h - 038A9000h
foo_quicktag_sql                loaded at 038B0000h - 038E8000h
foo_read_http                    loaded at 038F0000h - 03905000h
foo_record                      loaded at 03910000h - 0391E000h
foo_remote                      loaded at 03920000h - 0392B000h
foo_rgscan                      loaded at 03930000h - 0393D000h
foo_scheduler                    loaded at 03940000h - 03955000h
foo_scroll                      loaded at 03960000h - 03966000h
foo_send_to_pl                  loaded at 03970000h - 03979000h
foo_shuffle                      loaded at 03980000h - 03998000h
foo_spc                          loaded at 039A0000h - 039B1000h
foo_speex                        loaded at 039C0000h - 039D8000h
foo_uie_albumart                loaded at 039E0000h - 039EC000h
gdiplus                          loaded at 4EBA0000h - 4ED43000h
foo_uie_albumlist                loaded at 03A00000h - 03A11000h
foo_uie_dbexplorer              loaded at 03A20000h - 03A2B000h
foo_uie_lyrics                  loaded at 03A30000h - 03A5A000h
WININET                          loaded at 77180000h - 77227000h
CRYPT32                          loaded at 77A50000h - 77AE5000h
MSASN1                          loaded at 77AF0000h - 77B02000h
foo_uie_simple_spectrum          loaded at 03A60000h - 03A6B000h
foo_uie_trackinfo                loaded at 03A70000h - 03A7B000h
foo_uie_vis_projectm            loaded at 03A80000h - 03AC0000h
OPENGL32                        loaded at 5F120000h - 5F1EC000h
GLU32                            loaded at 5FEA0000h - 5FEC1000h
DDRAW                            loaded at 736E0000h - 73729000h
DCIMAN32                        loaded at 73B40000h - 73B46000h
foo_uie_volume                  loaded at 03AC0000h - 03ACA000h
foo_ui_columns                  loaded at 03AD0000h - 03B07000h
foo_ui_std                      loaded at 0BB20000h - 0BB37000h
foo_unpack                      loaded at 0BB40000h - 0BB71000h
foo_vis_bubbla                  loaded at 0BB80000h - 0BB94000h
foo_vis_manager                  loaded at 0BBA0000h - 0BBA8000h
foo_vis_samurize2                loaded at 0BBB0000h - 0BBD7000h
foo_vis_simple_spectrum          loaded at 0BD00000h - 0BD0B000h
foo_vis_stereo                  loaded at 0BD10000h - 0BD98000h
foo_vis_vu_meter                loaded at 0BDA0000h - 0BDA8000h
foo_wavpack                      loaded at 0BDB0000h - 0BDC2000h
foo_web                          loaded at 0BDD0000h - 0BDE9000h
foo_wma                          loaded at 0BDF0000h - 0BE09000h
WMVCore                          loaded at 0BE10000h - 0C054000h
WMASF                            loaded at 0C060000h - 0C09B000h
foo_tbar                        loaded at 0C0A0000h - 0C0A9000h
foo_text                        loaded at 0C0B0000h - 0C0C3000h
msctfime                        loaded at 75160000h - 7518E000h
Powrprof                        loaded at 74A60000h - 74A68000h
system.drawing                  loaded at 7B490000h - 7B506000h
system.drawing                  loaded at 7B510000h - 7B5DE000h
system.windows.forms            loaded at 7B610000h - 7B808000h
system.windows.forms            loaded at 7B810000h - 7BAF2000h
system                          loaded at 7B0A0000h - 7B1CE000h
system                          loaded at 7B1D0000h - 7B3B0000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770E0000h
xpsp2res                        loaded at 20000000h - 202D6000h
mswsock                          loaded at 719D0000h - 71A10000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
iphlpapi                        loaded at 76D20000h - 76D39000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
wshbth                          loaded at 74FD0000h - 74FEE000h
GoogleDesktopNetwork1            loaded at 43000000h - 43005000h
Secur32                          loaded at 77FC0000h - 77FD1000h
hnetcfg                          loaded at 66740000h - 66799000h
wshtcpip                        loaded at 71A10000h - 71A18000h
rasadhlp                        loaded at 76F80000h - 76F86000h
browseui                        loaded at 75F30000h - 7602D000h
browselc                        loaded at 0D7C0000h - 0D7D3000h
gkh                              loaded at 0D6C0000h - 0D6D3000h
WINSPOOL                        loaded at 72F80000h - 72FA6000h
NeroIPP                          loaded at 0DCB0000h - 0DDBC000h
AdvrCntr                        loaded at 0DDC0000h - 0DF20000h
mp3PRO_dmo                      loaded at 26000000h - 26018000h
VqfEncLib1                      loaded at 0DB30000h - 0DC3D000h
sqlite                          loaded at 0D770000h - 0D79F000h
imagehlp                        loaded at 76C50000h - 76C78000h
DBGHELP                          loaded at 5D4B0000h - 5D551000h

Stack dump analysis:
Address: 004458F4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043A1C8h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043A1B4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004458F4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00426FE2h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004277B4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004465ACh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 01391B44h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 004465DCh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 01347B90h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013A5D24h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013A5D0Ch, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013AA430h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013AA11Ch, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013AA210h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 7C3416B8h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "_crtLCMapStringA" (+0000030Ah)
Address: 013AA424h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013AA224h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013AA2E0h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013AA260h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 0139ABD0h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 01348143h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013A3068h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 7C36A5DCh, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "snwprintf" (+00000000h)
Address: 013A3068h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 0139AC04h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 01367E08h, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 013C380Ch, location: "foo_pod", loaded at 01330000h - 01406000h
Address: 77EF7F5Ah, location: "GDI32", loaded at 77EF0000h - 77F36000h
Symbol: "ExtTextOutW" (+00000094h)
Address: 74D70480h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D70260h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 7517D545h, location: "msctfime", loaded at 75160000h - 7518E000h
Address: 7517D54Dh, location: "msctfime", loaded at 75160000h - 7518E000h
Address: 74D54700h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D331BDh, location: "USP10", loaded at 74D20000h - 74D8B000h
Symbol: "ScriptTextOut" (+00000178h)
Address: 74D70480h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D70260h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D70480h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D70480h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D3D29Dh, location: "USP10", loaded at 74D20000h - 74D8B000h
Symbol: "ScriptApplyDigitSubstitution" (+0000861Bh)
Address: 74D70480h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 77EF7F5Ah, location: "GDI32", loaded at 77EF0000h - 77F36000h
Symbol: "ExtTextOutW" (+00000094h)
Address: 74D70470h, location: "USP10", loaded at 74D20000h - 74D8B000h
Address: 74D3DE46h, location: "USP10", loaded at 74D20000h - 74D8B000h
Symbol: "ScriptApplyDigitSubstitution" (+000091C4h)

Version info:
foobar2000 v0.8.3
UNICODE

So right now I have to make small transfers (10 songs at once), close and reopen foobar to avoid crashes.

Any ideas?  Thanks.

PS: using latest version of foo_pod, not updated my ipod firmware to newest and foobar2000 0.8.3.

[span style=\'font-size:8pt;line-height:100%\']moderation: please use [ codebox ] for crashlogs.[/span]
Title: foo_pod - Foobar2000 meets the iPod
Post by: gcsherwood on 2005-07-04 15:45:58
Help, please, with ipod tags (from metadata tags)...


I'm sure I'm doing something dumb but I can't figure it out.  If there is some info out there that can tell me how to use the tags with foo_pod and smart playlists please point me to it so there is no need to clutter up the list....

Anyway, I have a bunch of songs on my ipod.  I went through and tagged them with POD_COMPOSER set to irish or english, and POD_COMMENT set to song or instrumental in foobar using Properties.  I also tried this with the COMPOSER and COMMENT fields.  Any smart playlists which try to look at the fields are blank (no songs).  I fired up ephpod and all of the COMPOSER and COMMENT fields are blank for all songs on the ipod.

I tried setting these fields for couple of songs in ephpod and saved back to the ipod -- and the foo_pod generated smart playlists now pick up those fields just fine and work properly.  Foobar 'properties' does not pick up the fields I set in ephpod, though, so I'm figuring these are stored somewhere else.

While I could go through ephpod and set all the fields, I already did spend most of a day doing this in foobar and would really rather not repeat the experience.  Even more importantly, if I were to do it in ephpod and then had to redownload the songs I think I'd have to do it all again which I'd *really* rather not do.

Oh, and just to make things lots of fun I also set GENRE in foobar Properties.  This not only works great  for smart playlists --  the values I set show up in ephpod as well.  So why don't the ones I set for COMPOSER and COMMENT?

I'm probably missing something obvious, but if someone could help I'd really appreciate it.

thanks  much,

Geoff Sherwood
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-04 17:15:49
Quote
Anyway, I have a bunch of songs on my ipod.  I went through and tagged them with POD_COMPOSER set to irish or english, and POD_COMMENT set to song or instrumental in foobar using Properties.  I also tried this with the COMPOSER and COMMENT fields.  Any smart playlists which try to look at the fields are blank (no songs).   I fired up ephpod and all of the COMPOSER and COMMENT fields are blank for all songs on the ipod.

The key thing here is you tagged the files *already on* your iPod.  The iPod itself doesn't use the tags, so you need to instruct foo_pod to rescan the files and update the database.  Go to the Components/foo_pod/Maintenance menu and select Update iTunesDB Database on iPod.  As the name says, it will update the iPod's database, including the new metadata you added.

Also, the POD_* metadata are only handled by foo_pod, so if you transferred the songs with Ephpod, they would be ignored.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Iuppiter on 2005-07-04 19:20:14
I'm sorry if this was mentioned before, but do you guys know a workaround to get covers on my iPod Photo? 
I love it, when it shows a cover while playing a song.  One of the strenghts which the colour-display offers.
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2005-07-05 16:01:52
Quote
I'm sorry if this was mentioned before, but do you guys know a workaround to get covers on my iPod Photo? 
I love it, when it shows a cover while playing a song.  One of the strenghts which the colour-display offers.
[a href="index.php?act=findpost&pid=310958"][{POST_SNAPBACK}][/a]



Yeah, I would absolutely love to have this feature.  And I hope when you guys implement it, you'll set it up to transfer album art to the MP3s on-the-fly so it will leave the source MP3s intact, just like you've set up with RG to SC.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-05 16:04:29
Quote
I'm sorry if this was mentioned before, but do you guys know a workaround to get covers on my iPod Photo? [a href="index.php?act=findpost&pid=310958"][{POST_SNAPBACK}][/a]

Sure. Use iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-07-05 21:25:30
I just loaded the latest version of foo_pod and it does not seem to work.  I'm using foobar 0.8.3.  I unzipped foo_pod.zip into components directory.  When I start foobar, I get

INFO (CORE) : startup time: 411 ms
ERROR (CORE) : Failed to load DLL: foo_pod.dll, reason: Unable to load DLL.

If I try again, it works sometimes.  Any ideas?

where can I find older versions?  I was using an older version (circa Sept or Oct 2004) for a long while with no problems.  I tried re-downloading, etc., with no luck.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Iuppiter on 2005-07-05 22:35:52
Quote
Sure. Use iTunes.
[a href="index.php?act=findpost&pid=311152"][{POST_SNAPBACK}][/a]

That's a pitty. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-06 03:15:17
Quote
I just loaded the latest version of foo_pod and it does not seem to work.  I'm using foobar 0.8.3.  I unzipped foo_pod.zip into components directory.  When I start foobar, I get

INFO (CORE) : startup time: 411 ms
ERROR (CORE) : Failed to load DLL: foo_pod.dll, reason: Unable to load DLL.

If I try again, it works sometimes.  Any ideas?

where can I find older versions?  I was using an older version (circa Sept or Oct 2004) for a long while with no problems.  I tried re-downloading, etc., with no luck.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=311235")

If it happened all of the time, I would bet that you don't have the require msvcp71.dll on your system.  But if it works sometimes, I'm at a loss.

All of the released foo_pod versions (upto 0.6.1) can be found at: [a href="http://www.loodi.com/foo_pod_]http://www.loodi.com/foo_pod_[/url][version].zip.  For example, http://www.loodi.com/foo_pod_0.9.9i.zip (http://www.loodi.com/foo_pod_0.9.9i.zip) or http://www.loodi.com/foo_pod_0.6.1.zip (http://www.loodi.com/foo_pod_0.6.1.zip)
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-07-06 08:01:17
Quote
http://www.tinkafoo.com/log/foo_pod.html (http://www.tinkafoo.com/log/foo_pod.html) is an excellent source of information about foo_pod, and might save you 8+ hours reading this forum trying to find the answer to a commonly asked foo_pod question.[a href="index.php?act=findpost&pid=188776"][{POST_SNAPBACK}][/a]

Holy crap, how'd this get in the first post?! I guess I have to keep it up to date now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-07-06 12:37:55
Quote
If it happened all of the time, I would bet that you don't have the require msvcp71.dll on your system.  But if it works sometimes, I'm at a loss.

All of the released foo_pod versions (upto 0.6.1) can be found at: http://www.loodi.com/foo_pod_ (http://www.loodi.com/foo_pod_)[version].zip.   For example, http://www.loodi.com/foo_pod_0.9.9i.zip (http://www.loodi.com/foo_pod_0.9.9i.zip) or http://www.loodi.com/foo_pod_0.6.1.zip (http://www.loodi.com/foo_pod_0.6.1.zip)
[a href="index.php?act=findpost&pid=311302"][{POST_SNAPBACK}][/a]
I had msvcp71.dll in my foobar\components directory.  When I moved it to a directory in my path, all worked.  I guess the older versions didn't use this dll. It does not make sense that it would work sometimes.

Foo_pod seems to work very well with my 2G ipod.  With luck it will work better than itunes on my wife's shuffle.

Thanks again for a great program.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-07-06 18:19:23
I finally updated my foo_pod user's guide (http://www.tinkafoo.com/log/foo_pod.html). It includes all the features I could find up to version 0.9.9j (currently the latest version), and a brief mention of compatibility issues with the latest versions of iTunes and iPod firmware.

As for all the "<need information>" entries, I would like to find some more stuff about the following items:

foo_pod / Send All Playlists to iPod
- Is it that easy? just "click, and there they go"? (I'm assuming I should mention the "Select to Ignore Playlist" function here.)
- Does it transcode files?

Preferences / Main / Force iPod Drive Letter
- How does it work, and in what situations would someone need to enable it? I tried it on my C: drive (obviously not an iPod), and the only function I could get to work was "iPod free disk space".

Preferences / Main / Send/Sync Playlist Settings (Create iPod Playlists, Create Randomize Playlists, Custom Format)
- Since I don't use sync (heard it was buggy), I don't really know what this stuff does. I have a general idea on the first one (it creates the same playlists on my iPod as I have in Foobar), but the other ones are a little hazy. And since it has "Send" in the title, I'm assuming it applies to regular transfers and not just syncs.

Preferences / iPod Service / Stop iPodService On Exit
- Why? And what would happen if I closed Foobar, then opened it again? Will foo_pod manually start the service, or will I have to start it myself?

Preferences / Advanced / Console Debug Mode
- I think it controls how much 'stuff' gets sent to the Foobar console (a "verbose" setting), but I haven't found any concrete documentation on it.

Other: "It automatically creates all necessary directories, so that a completely blank iPod can be used without first being initialized by iTunes or the iPod Updater."
-- Correct me if I'm wrong, but I thought that iPods were shipped totally unformatted and the iPod install software does both: formatting and folder creation. (I'm too scared to try it myself.)
-- Is this the "Rebuild iTunesDB Database" function?

foo_pod / Maintenance / Rebuild iTunesDB Database
-- Speaking of which, what's the word on how iPods handle long file names? If I just copy all my files over as they are (with names of up to 107 characters (http://www.amazon.com/exec/obidos/tg/detail/-/B000005HTX/qid=1120667532/sr=1-1/ref=sr_1_1/104-5352197-6265567?v=glance&s=music)), will it simply not see the files if their names are too big, will it see them but display them all crazy?

Other: Metadata
-- I know of "COPY_TO_PORTABLE", "DISCNUMBER", "DISCCOUNT" and all the "POD_*" strings, but are there more? I'd like to include a list of all available metadata entries.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-06 18:34:19
Quote
-- Speaking of which, what's the word on how iPods handle long file names? If I just copy all my files over as they are (with names of up to 107 characters (http://www.amazon.com/exec/obidos/tg/detail/-/B000005HTX/qid=1120667532/sr=1-1/ref=sr_1_1/104-5352197-6265567?v=glance&s=music)), will it simply not see the files if their names are too big, will it see them but display them all crazy?
[a href="index.php?act=findpost&pid=311454"][{POST_SNAPBACK}][/a]

It'll display them fine, just not play them. They get skipped over. This varies from model to model, but in general, the total path of the location of the file on the iPod needs to be under 127 characters for maximum compatibility.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-07-06 23:32:25
Quote
It is said that Itunes is not required to use foo_pod, but I beg to differ slightly.
I am running itunes 4.8 and 60 Photo ipod with firmware 1.1 (23rd May release).
If I either load mp3s directly after a firmware reflash, or choose the rebuild database option, my ipod goes into a perpetual reboot cycle, showing the apple for a few seconds, clicking and showing it again.

The only way to get out of this, is by loading one mp3 in itunes before doing my main sync in foo_pod and by staying clear of the database rebuild ! I'm using 0.9.9j.

Anybody else seen this ?[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=307777")


This is definitely still a real problem for me. Hope you can replicate.

[a href="http://www.aqyt18.dsl.pipex.com/iTunesDBfoo.rar]http://www.aqyt18.dsl.pipex.com/iTunesDBfoo.rar[/url] 

is the DB built or rebuilt from scratch by foopod. It sends my 60gig photopod

(windows format, firmware 1.1,  2nd wave of photopods with no dock or AV cable - HP brand)
into a perpetual reboot. The only way to fix is to mount it in disk mode, open itunes (4.8) load one mp3, let it update, then reboot the pod again. All is then well.

http://www.aqyt18.dsl.pipex.com/iTunesDBok.rar (http://www.aqyt18.dsl.pipex.com/iTunesDBok.rar)

is the database that follows loading one file with itunes.

If you just make modifications to an itunes-generated DB with foo_pod all is also well. Any ideas ?

regards

Clunes
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2005-07-07 16:54:01
Quote
Quote
I'm sorry if this was mentioned before, but do you guys know a workaround to get covers on my iPod Photo? [a href="index.php?act=findpost&pid=310958"][{POST_SNAPBACK}][/a]

Sure. Use iTunes.
[a href="index.php?act=findpost&pid=311152"][{POST_SNAPBACK}][/a]



Anapod offers this feature too.  And they are currently working on translating RG to SC. When that happens, then I'll buy it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Iuppiter on 2005-07-07 17:51:53
Quote
And they are currently working on translating RG to SC.

What the hell do you mean with RG & SC ?
Anapod looks nice. But to pay for a programm that only offers one function more than foo_pod... I don't know, to forgo on covers saves hd-capacity... 
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-07-07 18:16:22
RG = ReplayGain
SC = SoundCheck

foo_pod already converts ReplayGain values to equivalent SoundCheck values.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-07-07 18:42:28
Quote
Quote
It is said that Itunes is not required to use foo_pod, but I beg to differ slightly.
I am running itunes 4.8 and 60 Photo ipod with firmware 1.1 (23rd May release).
If I either load mp3s directly after a firmware reflash, or choose the rebuild database option, my ipod goes into a perpetual reboot cycle, showing the apple for a few seconds, clicking and showing it again.

The only way to get out of this, is by loading one mp3 in itunes before doing my main sync in foo_pod and by staying clear of the database rebuild ! I'm using 0.9.9j.

Anybody else seen this ?[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=307777")


This is definitely still a real problem for me. Hope you can replicate.

[a href="http://www.aqyt18.dsl.pipex.com/iTunesDBfoo.rar]http://www.aqyt18.dsl.pipex.com/iTunesDBfoo.rar[/url] 

is the DB built or rebuilt from scratch by foopod. It sends my 60gig photopod

(windows format, firmware 1.1,  2nd wave of photopods with no dock or AV cable - HP brand)
into a perpetual reboot. The only way to fix is to mount it in disk mode, open itunes (4.8) load one mp3, let it update, then reboot the pod again. All is then well.

http://www.aqyt18.dsl.pipex.com/iTunesDBok.rar (http://www.aqyt18.dsl.pipex.com/iTunesDBok.rar)

is the database that follows loading one file with itunes.

If you just make modifications to an itunes-generated DB with foo_pod all is also well. Any ideas ?

regards

Clunes
[a href="index.php?act=findpost&pid=311518"][{POST_SNAPBACK}][/a]


Just read your original post which asks for a database with only one song in it - sorry !  I don't have time any time soon to empty/reload my ipod. Aero - are the big databases any use to you?

Clunes
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-07-07 22:51:54
Aero: 

Any interest in playing around with threading again?  Not to single out your componet (lack of threading in many componets in .8.3 annoys me: masstagger/renamer/freedb/etc), but it would be a nice new feature.
Title: foo_pod - Foobar2000 meets the iPod
Post by: etotore on 2005-07-09 20:26:47
THANK YOU Aero, Otto and everyone else who have contributed to this awesome plug-in! 

I havent had Itunes installed for almost a year now......!!!!!   
Only foo_pod4me2.   

The new chapter functions in the new DB format will be really nice to have.
Classical works ok, but mostly Audiobooks....

Idea.... how about storing the Chapter index as a field in the comment tag of the file itself.
As security, when losing DB and so on.....

Hope you will continue with foo_pod it is really good application, now.
 

10K thx....

Br
Tormod
Title: foo_pod - Foobar2000 meets the iPod
Post by: etotore on 2005-07-09 20:35:00
Hi one question...

I want to recode some of my MP3 book's to m4b files.

It is no point waiting??
Or are there also chapter info needed to be put into the aacstream\ file??

Edit:::
Is it hard to make an feature that read multiple files, book's is often split to one file for each chapter, recodes it to one MP4 file and making the Chapter index, with time pointers correct at the same time ready for editing.
Please if it is not to hard.

BR
Tormod
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-07-10 06:54:17
Not like foo_pod needs a logo or anything, but I was bored earlier:

(http://www.tinkafoo.com/temp/foo_pod_logo.gif)
(pdf (http://www.tinkafoo.com/temp/foo_pod_logo.pdf) 175K)
Title: foo_pod - Foobar2000 meets the iPod
Post by: zyrill on 2005-07-11 22:11:15
WARNING (foo_pod) : Unable to parse Play Counts file 'i:\iPod_Control\iTunes\Play Counts' (error 13)

happens when i try to "load ipod songs to foobar playlist" i think the error may have started to appear since i updated to firmware 1.2 on my photo... not sure though
Title: foo_pod - Foobar2000 meets the iPod
Post by: Iuppiter on 2005-07-11 22:30:02
Just one (perhaps silly) question:
does foo_pod support firewire?   
Title: foo_pod - Foobar2000 meets the iPod
Post by: firewire_666 on 2005-07-11 22:32:19
Quote
Just one (perhaps silly) question:
does foo_pod support firewire?   
[a href="index.php?act=findpost&pid=312659"][{POST_SNAPBACK}][/a]


Sure, supports FW, USB2 and even old USB1.1
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-07-11 22:51:20
Quote
Just one (perhaps silly) question:
does foo_pod support firewire?   
[a href="index.php?act=findpost&pid=312659"][{POST_SNAPBACK}][/a]


Windows handles disk access, so foo_pod doesn't even know about such things.  I think in theory you could have foo_pod add files to a USB drive if you set it up right.
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-07-12 06:26:55
<---wondering if there is a new foo_pod any time in the forseeable future?
Title: foo_pod - Foobar2000 meets the iPod
Post by: jkwarras on 2005-07-12 07:33:26
Damn, another crash for no reason, I was just sending some files to the iPod

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 004217F4h
Access violation, operation: read, address: 00000001h
Call path:
WinMain=>app_mainloop=>menu command: "foo_pod/Send selected to iPod"
This is the first crash logged by this instance.
Code bytes (004217F4h):
004217B4h:  83 EC 1C 89 4D FC E8 92 FD FF FF 84 C0 0F 84 8C
004217C4h:  00 00 00 53 56 6A 01 8D 4D E4 E8 DB CB FE FF 8B
004217D4h:  75 08 8B CE 8B 06 FF 10 33 DB 89 45 08 85 C0 76
004217E4h:  28 57 8B 06 53 8B CE FF 50 04 8B F8 8B CF 8B 07
004217F4h:  FF 10 8B 45 EC 8D 4D E4 C1 E8 02 50 57 E8 78 1B
00421804h:  FF FF 43 3B 5D 08 72 DA 5F 80 7D 18 00 5E 5B 74
00421814h:  0A 8D 45 E4 50 E8 39 00 00 00 59 FF 75 14 8B 45
00421824h:  F4 8B 4D FC FF 75 10 8B 40 04 FF 75 0C 8D 44 05
Stack (0012F1A0h):
0012F180h:  00000000 EBD7E5DC 00000001 804D73EE
0012F190h:  EBD7E614 7FFDE700 00000000 00000000
0012F1A0h:  004458F4 0FD0EC40 00000000 00000000
0012F1B0h:  00000000 00000000 00000001 0043A1C8
0012F1C0h:  0043A1B4 004458F4 0012F1EC 00426FE2
0012F1D0h:  00000186 00000001 FFFFFFFF 00000000
0012F1E0h:  00000000 00000001 00000002 0012F204
0012F1F0h:  004277B4 00000002 001D6890 004465AC
0012F200h:  00000000 00000000 013B1B44 004465DC
0012F210h:  00000001 00000000 01367B90 0E90EC68
0012F220h:  0000000D 00000000 001D6890 00000020
0012F230h:  00000000 183C90B0 00000800 0000064C
0012F240h:  00000001 013C5D24 013C5D0C 013CA430
0012F250h:  00000000 013CA11C 00000068 000919B4
0012F260h:  00000001 0000000C 00000002 0E775FF7
0012F270h:  215471B8 00000002 0E90F368 0E8E9418
0012F280h:  FFFFFFFF 013CA210 00000000 00000000
0012F290h:  00000000 7C3416B8 00000000 00000000
0012F2A0h:  00000000 013CA424 0012F358 0012F298
0012F2B0h:  0012F35C 00000000 00000000 00000000
Registers:
EAX: 00000001, EBX: 00000000, ECX: 0FCE7CB4, EDX: 0043B0D8
ESI: 0FD0EC54, EDI: 0FCE7CB4, EBP: 0012F1C8, ESP: 0012F1A0
Crash location: "foobar2000", loaded at 00400000h - 00452000h

Loaded modules:
foobar2000                      loaded at 00400000h - 00452000h
ntdll                            loaded at 7C910000h - 7C9C6000h
kernel32                        loaded at 7C800000h - 7C901000h
USER32                          loaded at 77D10000h - 77DA0000h
GDI32                            loaded at 77EF0000h - 77F36000h
ole32                            loaded at 774B0000h - 775ED000h
ADVAPI32                        loaded at 77DA0000h - 77E4C000h
RPCRT4                          loaded at 77E50000h - 77EE1000h
msvcrt                          loaded at 77BE0000h - 77C38000h
COMCTL32                        loaded at 773A0000h - 774A2000h
SHLWAPI                          loaded at 77F40000h - 77FB6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                        loaded at 76360000h - 763AA000h
SHELL32                          loaded at 7C9D0000h - 7D1EE000h
IMM32                            loaded at 76340000h - 7635D000h
LPK                              loaded at 62E30000h - 62E39000h
USP10                            loaded at 74D20000h - 74D8B000h
foo_abx                          loaded at 00A40000h - 00A4A000h
foo_ac3                          loaded at 00A50000h - 00A63000h
foo_albumlist                    loaded at 00A70000h - 00A7B000h
foo_ape                          loaded at 00A80000h - 00A9F000h
foo_audioscrobbler              loaded at 00AA0000h - 00AC0000h
LIBCURL                          loaded at 00AC0000h - 00AD9000h
WS2_32                          loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76B00000h - 76B2E000h
foo_burninate                    loaded at 00BB0000h - 00BBC000h
VERSION                          loaded at 77BD0000h - 77BD8000h
foo_cdda                        loaded at 00BC0000h - 00BD0000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_clienc                      loaded at 00BE0000h - 00BEB000h
foo_console                      loaded at 00BF0000h - 00BF7000h
foo_custom_sort                  loaded at 00C00000h - 00C08000h
foo_dbexplorer                  loaded at 00C10000h - 00C1D000h
foo_dbsearch                    loaded at 00C20000h - 00C3A000h
foo_diskwriter                  loaded at 00C40000h - 00C52000h
foo_dsp_continuator              loaded at 00C60000h - 00C68000h
foo_dsp_crossfade                loaded at 00C70000h - 00C77000h
foo_dsp_extra                    loaded at 00C80000h - 00C95000h
foo_filedate                    loaded at 00CA0000h - 00CA9000h
foo_flac                        loaded at 00CB0000h - 00CCC000h
foo_flaccer                      loaded at 00CD0000h - 00CE6000h
foo_freedb                      loaded at 00CF0000h - 00D22000h
foo_history                      loaded at 00D30000h - 00D45000h
foo_httpserver_ctrl              loaded at 00D50000h - 00D62000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
foo_id3v2                        loaded at 00D70000h - 00DA0000h
MSVCP60                          loaded at 76030000h - 76095000h
foo_infobox                      loaded at 00DA0000h - 00DB3000h
foo_info_samurize                loaded at 00DC0000h - 00DDA000h
foo_input_std                    loaded at 00F00000h - 00FBE000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
uxtheme                          loaded at 5B150000h - 5B188000h
foo_lirc                        loaded at 00FD0000h - 00FE3000h
wsock32                          loaded at 71A50000h - 71A5A000h
foo_massdelete                  loaded at 01040000h - 0104A000h
foo_masstag                      loaded at 01050000h - 01064000h
foo_matroska                    loaded at 01070000h - 010CB000h
MSCTF                            loaded at 746B0000h - 746FB000h
foo_midi                        loaded at 01130000h - 011BE000h
MFC71                            loaded at 7C140000h - 7C243000h
OLEAUT32                        loaded at 770F0000h - 7717C000h
foo_mod                          loaded at 011C0000h - 011C9000h
BASS                            loaded at 011D0000h - 0122A000h
foo_nero                        loaded at 01230000h - 0123D000h
MFC42                            loaded at 73D50000h - 73E4E000h
MFC42LOC                        loaded at 61DF0000h - 61DFE000h
foo_openwith                    loaded at 01240000h - 01249000h
foo_output_asio(exe)            loaded at 01250000h - 0127C000h
foo_output_std                  loaded at 01290000h - 01299000h
foo_out_dsound_ex                loaded at 012A0000h - 012A9000h
DSOUND                          loaded at 73E90000h - 73EEC000h
foo_out_ks                      loaded at 012C0000h - 012CB000h
SETUPAPI                        loaded at 778F0000h - 779E7000h
foo_playcount                    loaded at 012D0000h - 012E0000h
foo_playlistfind                loaded at 012E0000h - 012EB000h
foo_playlistgen_ex              loaded at 012F0000h - 012FF000h
foo_playlist_tree                loaded at 01300000h - 01347000h
foo_pod                          loaded at 01350000h - 01426000h
foo_podclienc                    loaded at 01430000h - 0144B000h
foo_podtranscoder                loaded at 01450000h - 01461000h
foo_prettypop                    loaded at 01470000h - 014AD000h
mscoree                          loaded at 79170000h - 79196000h
mscorwks                        loaded at 791B0000h - 79416000h
fusion                          loaded at 79040000h - 79085000h
mscorlib                        loaded at 79780000h - 7998C000h
mscorlib                        loaded at 79990000h - 79CCC000h
MSCORJIT                        loaded at 79430000h - 7947D000h
foo_qconfig                      loaded at 038B0000h - 038BC000h
foo_quicktag                    loaded at 038C0000h - 038C9000h
foo_quicktag_sql                loaded at 038D0000h - 03908000h
foo_read_http                    loaded at 03910000h - 03925000h
foo_record                      loaded at 03930000h - 0393E000h
foo_remote                      loaded at 03940000h - 0394B000h
foo_rgscan                      loaded at 03950000h - 0395D000h
foo_scheduler                    loaded at 03960000h - 03975000h
foo_scroll                      loaded at 03980000h - 03986000h
foo_send_to_pl                  loaded at 03990000h - 03999000h
foo_shuffle                      loaded at 039A0000h - 039B8000h
foo_spc                          loaded at 039C0000h - 039D1000h
foo_speex                        loaded at 039E0000h - 039F8000h
foo_uie_albumart                loaded at 03A00000h - 03A0C000h
gdiplus                          loaded at 4EBA0000h - 4ED43000h
foo_uie_albumlist                loaded at 03A20000h - 03A31000h
foo_uie_dbexplorer              loaded at 03A40000h - 03A4B000h
foo_uie_lyrics                  loaded at 03A50000h - 03A7A000h
WININET                          loaded at 77180000h - 77227000h
CRYPT32                          loaded at 77A50000h - 77AE5000h
MSASN1                          loaded at 77AF0000h - 77B02000h
foo_uie_simple_spectrum          loaded at 03A80000h - 03A8B000h
foo_uie_tabs                    loaded at 03A90000h - 03A9A000h
foo_uie_trackinfo                loaded at 03AA0000h - 03AAB000h
foo_uie_vis_projectm            loaded at 03AB0000h - 03AF0000h
OPENGL32                        loaded at 5F120000h - 5F1EC000h
GLU32                            loaded at 5FEA0000h - 5FEC1000h
DDRAW                            loaded at 736E0000h - 73729000h
DCIMAN32                        loaded at 73B40000h - 73B46000h
foo_uie_volume                  loaded at 03AF0000h - 03AFA000h
foo_ui_columns                  loaded at 0BB40000h - 0BB77000h
foo_ui_std                      loaded at 03B00000h - 03B17000h
foo_unpack                      loaded at 0BB80000h - 0BBB1000h
foo_vis_bubbla                  loaded at 0BBC0000h - 0BBD4000h
foo_vis_manager                  loaded at 03B20000h - 03B28000h
foo_vis_samurize2                loaded at 0BBE0000h - 0BC07000h
foo_vis_simple_spectrum          loaded at 0BD30000h - 0BD3B000h
foo_vis_stereo                  loaded at 0BD40000h - 0BDC8000h
foo_vis_vu_meter                loaded at 0BDD0000h - 0BDD8000h
foo_wavpack                      loaded at 0BDE0000h - 0BDF2000h
foo_web                          loaded at 0BE00000h - 0BE19000h
foo_wma                          loaded at 0BE20000h - 0BE39000h
WMVCore                          loaded at 0BE40000h - 0C084000h
WMASF                            loaded at 0C090000h - 0C0CB000h
foo_tbar                        loaded at 0C0D0000h - 0C0D9000h
foo_text                        loaded at 0C0E0000h - 0C0F3000h
msctfime                        loaded at 75160000h - 7518E000h
WINSPOOL                        loaded at 72F80000h - 72FA6000h
NeroIPP                          loaded at 0CB10000h - 0CC1C000h
AdvrCntr                        loaded at 0CC20000h - 0CD80000h
mp3PRO_dmo                      loaded at 26000000h - 26018000h
VqfEncLib1                      loaded at 0CF70000h - 0D07D000h
atioglxx                        loaded at 69000000h - 694B1000h
Powrprof                        loaded at 74A60000h - 74A68000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                          loaded at 77010000h - 770E0000h
xpsp2res                        loaded at 20000000h - 202D6000h
system.drawing                  loaded at 7B490000h - 7B506000h
system.drawing                  loaded at 7B510000h - 7B5DE000h
system.windows.forms            loaded at 7B610000h - 7B808000h
system.windows.forms            loaded at 7B810000h - 7BAF2000h
system                          loaded at 7B0A0000h - 7B1CE000h
system                          loaded at 7B1D0000h - 7B3B0000h
mswsock                          loaded at 719D0000h - 71A10000h
hnetcfg                          loaded at 66740000h - 66799000h
wshtcpip                        loaded at 71A10000h - 71A18000h
DNSAPI                          loaded at 76EE0000h - 76F07000h
iphlpapi                        loaded at 76D20000h - 76D39000h
winrnr                          loaded at 76F70000h - 76F78000h
WLDAP32                          loaded at 76F20000h - 76F4D000h
rasadhlp                        loaded at 76F80000h - 76F86000h
iconv                            loaded at 0C410000h - 0C4EA000h
gkh                              loaded at 0CF40000h - 0CF53000h
sqlite                          loaded at 0E200000h - 0E22F000h
browseui                        loaded at 75F30000h - 7602D000h
browselc                        loaded at 0E250000h - 0E263000h
imagehlp                        loaded at 76C50000h - 76C78000h
DBGHELP                          loaded at 5D4B0000h - 5D551000h

Stack dump analysis:
Address: 004458F4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043A1C8h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043A1B4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004458F4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00426FE2h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004277B4h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004465ACh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 013B1B44h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 004465DCh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 01367B90h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013C5D24h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013C5D0Ch, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA430h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA11Ch, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA210h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 7C3416B8h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "_crtLCMapStringA" (+0000030Ah)
Address: 013CA424h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA224h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA2E0h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA260h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013BABD0h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 01368143h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013C3068h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013C3068h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013BAC04h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 01386A90h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013DDAB0h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013C5D24h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013C5D0Ch, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 77D1EAB0h, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+00000081h)
Address: 013C3068h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 77C0A52Eh, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "unlock" (+00000015h)
Address: 77C31AA0h, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "wpgmptr" (+00000058h)
Address: 77BFC5A3h, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "realloc" (+0000016Ch)
Address: 013CA430h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA11Ch, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA210h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 00433C21h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 013CA424h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 10005B70h, location: "utf8api", loaded at 10000000h - 1000D000h
Address: 013CA224h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013CA2E0h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 77D1EAADh, location: "USER32", loaded at 77D10000h - 77DA0000h
Symbol: "EnableMenuItem" (+0000007Eh)
Address: 013CA260h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013BC463h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 0137B734h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013DDAB0h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 013DDAB0h, location: "foo_pod", loaded at 01350000h - 01426000h
Address: 0043390Dh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 77BFC21Bh, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "free" (+00000000h)
Address: 00416341h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043959Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0BB6120Ch, location: "foo_ui_columns", loaded at 0BB40000h - 0BB77000h
Address: 0BB51D04h, location: "foo_ui_columns", loaded at 0BB40000h - 0BB77000h
Address: 0BB515B7h, location: "foo_ui_columns", loaded at 0BB40000h - 0BB77000h

Version info:
foobar2000 v0.8.3
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-07-14 18:53:58
Crash while rebuilding iTunesDB.  This has happened on every recent rebuild.  At least rebuild appears to succeed.

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 7C911E58h
Access violation, operation: read, address: 0067006Fh
Call path:
WinMain=>app_mainloop=>menu command: "Components/foo_pod/Maintenance/Rebuild iTunesDB Database on iPod"
This is the first crash logged by this instance.
Code bytes (7C911E58h):
7C911E18h:  89 5F 4C EB 8F 33 C9 E9 37 FF FF FF FF 75 10 57
7C911E28h:  56 E8 26 FD FF FF EB AE 0F B7 06 8B 4D 10 03 01
7C911E38h:  3D 00 FE 00 00 0F 87 EE ED FF FF 80 7D 14 00 0F
7C911E48h:  85 97 7A 03 00 8B 4E 0C 8D 46 08 8B 10 89 4D 08
7C911E58h:  8B 09 3B 4A 04 89 55 0C 0F 85 9D 00 00 00 3B C8
7C911E68h:  0F 85 95 00 00 00 56 53 E8 1F ED FF FF 8B 45 0C
7C911E78h:  8B 4D 08 3B C1 89 01 89 48 04 74 49 8A 46 05 A8
7C911E88h:  04 0F 85 2F 7B 03 00 8A 47 05 24 10 A8 10 88 46
Stack (0012E194h):
0012E174h:  80000002 0012AE34 0012B238 00000006
0012E184h:  006F0053 00740066 00610077 00650072
0012E194h:  00DA0000 00000001 00DA0005 0012E1D8
0012E1A4h:  7C918251 0067006F 056A4000 0012E1CC
0012E1B4h:  00000000 00000005 00DA0168 00DA0000
0012E1C4h:  0012E105 0012E204 00000200 05320000
0012E1D4h:  00DA0168 0012E408 7C911C76 04DA0000
0012E1E4h:  00000028 0568A1A0 00000020 00000602
0012E1F4h:  0012E228 00DA0000 7C910732 00000004
0012E204h:  00DA0748 00DA0000 0569DFB8 0012E200
0012E214h:  00DA0438 0012E444 00DA0178 7C910738
0012E224h:  FFFFFFFF 7C910732 7C9106AB 7C9106EB
0012E234h:  00000010 00000012 01BA0A2C 00000014
0012E244h:  00DA01A0 00000000 00DA0178 00DA01A0
0012E254h:  05320000 7C918331 FFFFFFFF 0012E2CC
0012E264h:  0012E27C 7C9182BA 056C5AD0 00DA0000
0012E274h:  01640000 00DA0000 056C5FE0 05320000
0012E284h:  7C918545 00DA0000 0000000B 056C5AD8
0012E294h:  056C26F8 01640000 00DA0000 056BCF70
0012E2A4h:  056C5BF8 056A24B0 00000000 056C0580
Registers:
EAX: 05665748, EBX: 00DA0000, ECX: 0067006F, EDX: 006C006F
ESI: 05665740, EDI: 056A4000, EBP: 0012E1A0, ESP: 0012E194
Crash location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlInitializeCriticalSection" (+0000032Bh)

Loaded modules:
foobar2000                      loaded at 00400000h - 00452000h
ntdll                            loaded at 7C900000h - 7C9B0000h
kernel32                        loaded at 7C800000h - 7C8F4000h
USER32                          loaded at 77D40000h - 77DD0000h
GDI32                            loaded at 77F10000h - 77F56000h
ole32                            loaded at 774E0000h - 7761D000h
ADVAPI32                        loaded at 77DD0000h - 77E6B000h
RPCRT4                          loaded at 77E70000h - 77F01000h
msvcrt                          loaded at 77C10000h - 77C68000h
COMCTL32                        loaded at 773D0000h - 774D2000h
SHLWAPI                          loaded at 77F60000h - 77FD6000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                        loaded at 763B0000h - 763F9000h
SHELL32                          loaded at 7C9C0000h - 7D1D4000h
IMM32                            loaded at 76390000h - 763AD000h
LPK                              loaded at 629C0000h - 629C9000h
USP10                            loaded at 74D90000h - 74DFB000h
foo_albumlist                    loaded at 009E0000h - 009EB000h
foo_ape                          loaded at 009F0000h - 00A0F000h
foo_cdda                        loaded at 00A10000h - 00A1E000h
foo_clienc                      loaded at 00A20000h - 00A2B000h
foo_console                      loaded at 00A30000h - 00A37000h
foo_diskwriter                  loaded at 00A40000h - 00A52000h
WINMM                            loaded at 76B40000h - 76B6D000h
foo_dsp_extra                    loaded at 00AE0000h - 00AF5000h
foo_dts                          loaded at 00B00000h - 00B25000h
foo_flac                        loaded at 00B30000h - 00B4C000h
foo_freedb                      loaded at 00B50000h - 00B7E000h
WS2_32                          loaded at 71AB0000h - 71AC7000h
WS2HELP                          loaded at 71AA0000h - 71AA8000h
foo_id3v2                        loaded at 00B80000h - 00BB1000h
MSVCP60                          loaded at 76080000h - 760E5000h
foo_infobox                      loaded at 00BC0000h - 00BD3000h
foo_input_std                    loaded at 00BE0000h - 00C7E000h
MSACM32                          loaded at 77BE0000h - 77BF5000h
foo_masstag                      loaded at 00C80000h - 00C94000h
foo_output_std                  loaded at 00CA0000h - 00CA9000h
foo_playlistgen_ex              loaded at 00CB0000h - 00CBF000h
foo_pod                          loaded at 00CC0000h - 00D96000h
SETUPAPI                        loaded at 77920000h - 77A13000h
OLEAUT32                        loaded at 77120000h - 771AC000h
MSVCR71                          loaded at 7C340000h - 7C396000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
foo_podclienc                    loaded at 00DB0000h - 00DCB000h
foo_podtranscoder                loaded at 00DD0000h - 00DE1000h
foo_read_http                    loaded at 00DF0000h - 00DF9000h
foo_rgscan                      loaded at 00E00000h - 00E0D000h
foo_shuffle                      loaded at 00E10000h - 00E1B000h
foo_speex                        loaded at 00E20000h - 00E38000h
foo_uie_albumart                loaded at 00E40000h - 00E4C000h
gdiplus                          loaded at 4EC50000h - 4EDF3000h
foo_uie_albumlist                loaded at 00E60000h - 00E72000h
foo_uie_lyrics                  loaded at 00E80000h - 00EAA000h
WININET                          loaded at 771B0000h - 77256000h
CRYPT32                          loaded at 77A80000h - 77B14000h
MSASN1                          loaded at 77B20000h - 77B32000h
foo_uie_tabs                    loaded at 00EB0000h - 00EBA000h
foo_uie_trackinfo                loaded at 00EC0000h - 00ECB000h
foo_ui_columns                  loaded at 00ED0000h - 00F07000h
foo_ui_std                      loaded at 00F10000h - 00F27000h
foo_vis_manager                  loaded at 00F30000h - 00F38000h
foo_wavpack                      loaded at 00F40000h - 00F52000h
msctfime                        loaded at 755C0000h - 755EE000h
uxtheme                          loaded at 5AD70000h - 5ADA8000h
dciman32                        loaded at 73BC0000h - 73BC6000h
CLBCATQ                          loaded at 76FD0000h - 7704F000h
COMRes                          loaded at 77050000h - 77115000h
VERSION                          loaded at 77C00000h - 77C08000h
msi                              loaded at 745E0000h - 748A6000h
xpsp2res                        loaded at 20000000h - 202C5000h
SXS                              loaded at 75E90000h - 75F40000h
WINTRUST                        loaded at 76C30000h - 76C5E000h
IMAGEHLP                        loaded at 76C90000h - 76CB8000h
wdmaud                          loaded at 72D20000h - 72D29000h
msacm32                          loaded at 72D10000h - 72D18000h
midimap                          loaded at 77BD0000h - 77BD7000h
Secur32                          loaded at 77FE0000h - 77FF1000h
urlmon                          loaded at 77260000h - 772FE000h
wsock32                          loaded at 71AD0000h - 71AD9000h
RASAPI32                        loaded at 76EE0000h - 76F1C000h
rasman                          loaded at 76E90000h - 76EA2000h
NETAPI32                        loaded at 5B860000h - 5B8B4000h
TAPI32                          loaded at 76EB0000h - 76EDF000h
rtutils                          loaded at 76E80000h - 76E8E000h
msv1_0                          loaded at 77C70000h - 77C93000h
iphlpapi                        loaded at 76D60000h - 76D79000h
sensapi                          loaded at 722B0000h - 722B5000h
USERENV                          loaded at 769C0000h - 76A73000h
rsaenh                          loaded at 0FFD0000h - 0FFF8000h
mswsock                          loaded at 71A50000h - 71A8F000h
DNSAPI                          loaded at 76F20000h - 76F47000h
rasadhlp                        loaded at 76FC0000h - 76FC6000h
hnetcfg                          loaded at 662B0000h - 66308000h
wshtcpip                        loaded at 71A90000h - 71A98000h
Apphelp                          loaded at 77B40000h - 77B62000h
cscui                            loaded at 77A20000h - 77A74000h
CSCDLL                          loaded at 76600000h - 7661D000h
browseui                        loaded at 75F80000h - 7607D000h
ntshrui                          loaded at 76990000h - 769B5000h
ATL                              loaded at 76B20000h - 76B31000h
shdocvw                          loaded at 77760000h - 778CC000h
CRYPTUI                          loaded at 754D0000h - 75550000h
WLDAP32                          loaded at 76F60000h - 76F8C000h
winrnr                          loaded at 76FB0000h - 76FB8000h
MPR                              loaded at 71B20000h - 71B32000h
drprov                          loaded at 75F60000h - 75F67000h
ntlanman                        loaded at 71C10000h - 71C1E000h
NETUI0                          loaded at 71CD0000h - 71CE7000h
NETUI1                          loaded at 71C90000h - 71CD0000h
NETRAP                          loaded at 71C80000h - 71C87000h
SAMLIB                          loaded at 71BF0000h - 71C03000h
davclnt                          loaded at 75F70000h - 75F79000h
shgina                          loaded at 73D70000h - 73D83000h
MSGINA                          loaded at 75970000h - 75A67000h
WINSTA                          loaded at 76360000h - 76370000h
ODBC32                          loaded at 74320000h - 7435D000h
odbcint                          loaded at 01840000h - 01857000h
wiashext                        loaded at 593F0000h - 59482000h
sti                              loaded at 73BA0000h - 73BB3000h
CFGMGR32                        loaded at 74AE0000h - 74AE7000h
shmedia                          loaded at 5CAD0000h - 5CAF7000h
MSVFW32                          loaded at 75A70000h - 75A91000h
AVIFIL32                        loaded at 73B50000h - 73B67000h
wmvcore                          loaded at 7D790000h - 7D99A000h
wmidx                            loaded at 4B320000h - 4B349000h
WMASF                            loaded at 59A10000h - 59A4C000h
msdmo                            loaded at 736B0000h - 736B7000h
DRMClien                        loaded at 018A0000h - 018EF000h
mlang                            loaded at 75CF0000h - 75D81000h
dsound                          loaded at 73F10000h - 73F6C000h
KsUser                          loaded at 73EE0000h - 73EE4000h
browselc                        loaded at 01650000h - 01662000h
DBGHELP                          loaded at 59A60000h - 59B01000h

Stack dump analysis:
Address: 7C918251h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+00000854h)
Address: 7C911C76h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlInitializeCriticalSection" (+00000149h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C910738h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000164h)
Address: 7C910732h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C9106ABh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+000000D7h)
Address: 7C9106EBh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 7C918331h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+00000934h)
Address: 7C9182BAh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+000008BDh)
Address: 7C918545h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlReAllocateHeap" (+00000B48h)
Address: 7C910E91h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "wcsncpy" (+00000402h)
Address: 7C91056Dh, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000130h)
Address: 7C910570h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlFreeHeap" (+00000133h)
Address: 7C90EE18h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "strchr" (+00000117h)
Address: 7C9106F0h, location: "ntdll", loaded at 7C900000h - 7C9B0000h
Symbol: "RtlAllocateHeap" (+0000011Ch)
Address: 7C3416B3h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "_crtLCMapStringA" (+00000305h)
Address: 7C34218Fh, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "free" (+0000003Eh)
Address: 7C34240Dh, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "except_handler3" (+00000000h)
Address: 7C37A2A8h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "ldexp" (+00005388h)
Address: 7C3416DBh, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "_crtLCMapStringA" (+0000032Dh)
Address: 7C360947h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "operator new" (+0000000Bh)
Address: 00D04203h, location: "foo_pod", loaded at 00CC0000h - 00D96000h
Address: 00D2C91Fh, location: "foo_pod", loaded at 00CC0000h - 00D96000h
Address: 00CD020Ah, location: "foo_pod", loaded at 00CC0000h - 00D96000h
Address: 7C342151h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "free" (+00000000h)
Address: 00CD10D0h, location: "foo_pod", loaded at 00CC0000h - 00D96000h
Address: 7C36A5DCh, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "snwprintf" (+00000000h)
Address: 7C342151h, location: "MSVCR71", loaded at 7C340000h - 7C396000h
Symbol: "free" (+00000000h)
Address: 00CD251Ch, location: "foo_pod", loaded at 00CC0000h - 00D96000h
Address: 00D33068h, location: "foo_pod", loaded at 00CC0000h - 00D96000h
Address: 00440073h, location: "foobar2000", loaded at 00400000h - 00452000h

Version info:
foobar2000 v0.8.3
UNICODE

[span style=\'font-size:8pt;line-height:100%\']moderation: please use codebox instead of code tags for crash logs and such[/span]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-16 23:22:41
Version 0.9.9k (http://www.loodi.com/foo_pod.zip) is now available.


I have been busy with some other stuff recently, so I haven't made too many changes to foo_pod, and I have been falling behind responding to forum posts and email.  I'll try to catch up soon.

Anyway, this version's big change is support for the new database format written by iTunes 4.9.  There is still more to be learned about the format, but this should be good enough to read and write iTunes 4.9 iTunesDB files.  Note that I am not using the latest firmware or the 4.9 database format on a daily basis, so use at your own risk.  There is 2 radio buttons on the Advanced tab in the preferences that allow you to set which database version you want to write. 

I also added a checkbox on the Advanced tab to allow access to Foobar during foo_pod operations.  This may have caused crashes in the past, so again, use at your own risk.



From the Readme:
Code: [Select]
Version 0.9.9k - July 16, 2005
*  Fixed a bug where zero byte or invalid Play Count files would cause foo_pod to not release a file handle, causing the iPod to not be able to be ejected.
 
*  Added preliminary support for the new database format created by iTunes 4.9.  There is a radio button on the foo_pod Advanced preferences tab that controls which version is written to the iPod.  Unless you have a good reason, you should probably leave this set to the default iTunes 4.7/4.8 format.  
 
*  Added a checkbox on the foo_pod Advanced preferences tab that avoids locking Foobar during long operations.  This has caused crashes in the past, so if you expereince problems after enabling this, try turning it off before reporting a problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: etotore on 2005-07-17 10:50:14
It is vacation time and you are doing this on your free time.

So thx again... 

Do this mean that u are looking into the Audiobook, chapter feature now???

BR
Tormod
Title: foo_pod - Foobar2000 meets the iPod
Post by: xoxox on 2005-07-17 21:35:23
Hi,

I've tried the new foo_pod version (0.9.9k) with the new Ipod Firmware (2005-06-26).
But something went wrong.
The Songs wasn't shown on the Ipod, so i think the database format is not compatible :-(
(I've checked the "iTunes 4.9" option in foo_pod.)

I had to restore my Ipod with the old Firmware (2005-03-25) and everything's fine.
So i must really warn everbody of updating his Ipod to the new Firmware.
It won't work and the new Firmware has other bugs too.

PS: Sorry for my bad English. I'm not used to write in English.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zyrill on 2005-07-18 21:50:53
Quote
I've tried the new foo_pod version (0.9.9k) with the new Ipod Firmware (2005-06-26).
But something went wrong.
The Songs wasn't shown on the Ipod, so i think the database format is not compatible :-(
[a href="index.php?act=findpost&pid=314183"][{POST_SNAPBACK}][/a]

did you try rebuilding the db?
Title: foo_pod - Foobar2000 meets the iPod
Post by: zyrill on 2005-07-18 22:06:35
well, i did a quick test myself and those are the results: i told foo_pod to use the 4.9 format and then i selected "Rebuild iTunesDB Database on iPod" and then "Load iPod Songs to Foobar2000 playlist" and i got loads of those errors:
WARNING (foo_pod) : mhit(id = 2250) doesn't have a MHOD_LOCATION - removing it from the iTunesDB
WARNING (foo_pod) : mhit(id = 2279) doesn't have a MHOD_LOCATION - removing it from the iTunesDB
WARNING (foo_pod) : mhit(id = 2280) doesn't have a MHOD_LOCATION - removing it from the iTunesDB
WARNING (foo_pod) : mhit(id = 2303) doesn't have a MHOD_LOCATION - removing it from the iTunesDB
WARNING (foo_pod) : mhit(id = 2318) doesn't have a MHOD_LOCATION - removing it from the iTunesDB
and guess what: xoxox is right - not a single song shows up on my ipod...
Title: foo_pod - Foobar2000 meets the iPod
Post by: xoxox on 2005-07-19 11:11:00
Quote
did you try rebuilding the db?

Jup, but it didn't help.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zot on 2005-07-20 07:07:03
Quote
Hi,

I've tried the new foo_pod version (0.9.9k) with the new Ipod Firmware (2005-06-26).
But something went wrong.
The Songs wasn't shown on the Ipod, so i think the database format is not compatible :-(
(I've checked the "iTunes 4.9" option in foo_pod.)

I had to restore my Ipod with the old Firmware (2005-03-25) and everything's fine.
So i must really warn everbody of updating his Ipod to the new Firmware.
It won't work and the new Firmware has other bugs too.

PS: Sorry for my bad English. I'm not used to write in English.
[a href="index.php?act=findpost&pid=314183"][{POST_SNAPBACK}][/a]


I am having the same problems, I upgraded to the new firmware and its completely incompatible with foo_pod.  Since I upgraded to the new firmware I am now having to reset my ipod to factory defaults and replace all the music for the second time tonight.  Needless to say, I'm a little pissed.  Not with foo_pod just at the situation in general.  I understand this is what happens with third party software when the hardware developer doesn't want you using third party software but its still a gigantic pain in the ass.  Seriously.  Sorry for venting. 

Cliff notes version: Don't use foo_pod with the new firmware.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-07-20 15:19:22
Quote
I am having the same problems, I upgraded to the new firmware and its completely incompatible with foo_pod.  Since I upgraded to the new firmware I am now having to reset my ipod to factory defaults and replace all the music for the second time tonight.  Needless to say, I'm a little pissed.  Not with foo_pod just at the situation in general.  I understand this is what happens with third party software when the hardware developer doesn't want you using third party software but its still a gigantic pain in the ass.  Seriously.  Sorry for venting. 

Cliff notes version: Don't use foo_pod with the new firmware.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=314812")


There's been plenty of warnings not to do that, so I wouldn't get too pissed.

Most recent is from Aero's latest post:
Quote
Note that I am not using the latest firmware or the 4.9 database format on a daily basis, so use at your own risk.

And
[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=310394]http://www.hydrogenaudio.org/forums/index....ndpost&p=310394[/url]

[span style='font-size:8pt;line-height:100%']Edit:Added second example.[/span]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-20 16:28:46
Quote
Cliff notes version: Don't use foo_pod with the new firmware.
[a href="index.php?act=findpost&pid=314812"][{POST_SNAPBACK}][/a]

Unless you *need* the podcast menu or something, I would avoid the new firmware at all costs, period. Regardless of whether you use foo_pod or iTunes or whatever.

The new firmware breaks Smart Playlists. Period. They're just flat out broken.

Wait until they get a fix. Having a podcast menu isn't really worth it for the cost of broken SPL's, IMO.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-07-20 16:48:44
I used the latest updater on my shuffle, but the latest firmware for the shuffle is 1.1, which is unchanged from the 2005-03-23 version. I filled the shuffle using iTunes 4.9, then tried using foo_pod.  foo_pod won't recognize. 

Is that because I'm using the latest iTunes? If so, where can I find the prior version?
Title: foo_pod - Foobar2000 meets the iPod
Post by: zot on 2005-07-20 18:11:58
Quote
Quote
I am having the same problems, I upgraded to the new firmware and its completely incompatible with foo_pod.  Since I upgraded to the new firmware I am now having to reset my ipod to factory defaults and replace all the music for the second time tonight.  Needless to say, I'm a little pissed.  Not with foo_pod just at the situation in general.  I understand this is what happens with third party software when the hardware developer doesn't want you using third party software but its still a gigantic pain in the ass.  Seriously.  Sorry for venting. 

Cliff notes version: Don't use foo_pod with the new firmware.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=314812")


There's been plenty of warnings not to do that, so I wouldn't get too pissed.

Most recent is from Aero's latest post:
Quote
Note that I am not using the latest firmware or the 4.9 database format on a daily basis, so use at your own risk.

And
[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=310394]http://www.hydrogenaudio.org/forums/index....ndpost&p=310394[/url]

[span style='font-size:8pt;line-height:100%']Edit:Added second example.[/span]
[a href="index.php?act=findpost&pid=314888"][{POST_SNAPBACK}][/a]


I said I was pissed about the situation and not pissed at anyone on the software end.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-07-20 18:34:12
Ok, here is the situation on the iTunes 4.9 database format/new firmware.

As several people have said, the latest firmware (2005-06-26) is not recommended, because of a variety of problems - the most serious being that dynamically updating smart playlists are broken (Apple acknowledges this problem (http://docs.info.apple.com/article.html?artnum=301910), so hopefully it will be resolved in the next firmware release).

Although I thought I had foo_pod working with writing iTunes 4.9 compatible databases, this does not work correctly in foo_pod 0.9.9k. 

Don't use foo_pod's iTunes 4.9 database format until this is resolved.  This is no advantage of using this format for now, even if it did work.


That said, I believe you can write iTunes 4.7/4.8 format databases and they will work even on the latest firmware.  So if you must use the latest firmware, write iTunes 4.7/4.8 format databases.  Note that foo_pod can read iTunes 4.9 format databases, it is just writing that doesn't appear to be working at the moment.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-07-20 22:03:06
Quote
I used the latest updater on my shuffle, but the latest firmware for the shuffle is 1.1, which is unchanged from the 2005-03-23 version. I filled the shuffle using iTunes 4.9, then tried using foo_pod.  foo_pod won't recognize. 

Is that because I'm using the latest iTunes? If so, where can I find the prior version?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=314909")

You can find the iPod Updater 2005-03-23 for Windows here: [a href="http://www.apple.com/ipod/hp/download/]http://www.apple.com/ipod/hp/download/[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-07-20 22:42:36
Quote
Quote
I used the latest updater on my shuffle, but the latest firmware for the shuffle is 1.1, which is unchanged from the 2005-03-23 version. I filled the shuffle using iTunes 4.9, then tried using foo_pod.  foo_pod won't recognize. 

Is that because I'm using the latest iTunes? If so, where can I find the prior version?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=314909")

You can find the iPod Updater 2005-03-23 for Windows here: [a href="http://www.apple.com/ipod/hp/download/]http://www.apple.com/ipod/hp/download/[/url]
[{POST_SNAPBACK}][/a]
(http://index.php?act=findpost&pid=314955")
According to Apple, this contains the same shuffle firmware as the 2005-06-26 version:

iPod Updater 2005-06-26 includes new iPod Software 1.2 for iPod with color display, new iPod software 3.1 for iPod with Click Wheel and new iPod software 1.4 for iPod mini. iPod Updater 2005-06-26 contains the same software versions as iPod Updater 2005-03-23 for all other iPod models.

[a href="http://www.apple.com/ipod/download/]http://www.apple.com/ipod/download/[/url]

I thought the reason foo_pod could not read my shuffle was because I loaded the shuffle using iTunes 4.9, not because of a firmware issue.

Where can I find the earlier version of iTunes?
Title: foo_pod - Foobar2000 meets the iPod
Post by: zyrill on 2005-07-25 18:04:16
Quote
Where can I find the earlier version of iTunes?
[a href="index.php?act=findpost&pid=314960"][{POST_SNAPBACK}][/a]

i'm terribly sorry, but you can't - not legally, that is: apple does not provide any old versions neither of itunes nor of the ipod-firmwares. the only thing you can do is dig out your install cd that came with your ipod and use the versions they put on there... well and maybe a friend of yours has an old firmware lieing about. i'm sorry to say those are the only options...
Title: foo_pod - Foobar2000 meets the iPod
Post by: etotore on 2005-07-25 23:00:20
One more feature request, please!!!   

Is there a way to add files from audible.com ".aa" extension.
Maybe a directory pointer because foobar can not read them.

I had to install itunes to solve it     


BR
Tormod
Title: foo_pod - Foobar2000 meets the iPod
Post by: Roninr6 on 2005-07-27 22:23:18
the one thing that im still in need of is the abililty to right click on playlist names in the playlist editor and be able to rename, and delete them.

the double click to rename doen not work on my PC really.  it takes my 15-20 tries to finally get it.

other than that I really like this plugin, and I appreciate you hard work, Its so nice not having to use Itunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-07-27 23:03:11
Quote
Quote
Quote
It is said that Itunes is not required to use foo_pod, but I beg to differ slightly.
I am running itunes 4.8 and 60 Photo ipod with firmware 1.1 (23rd May release).
If I either load mp3s directly after a firmware reflash, or choose the rebuild database option, my ipod goes into a perpetual reboot cycle, showing the apple for a few seconds, clicking and showing it again.

The only way to get out of this, is by loading one mp3 in itunes before doing my main sync in foo_pod and by staying clear of the database rebuild ! I'm using 0.9.9j.

Anybody else seen this ?[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=307777")


This is definitely still a real problem for me. Hope you can replicate.

[a href="http://www.aqyt18.dsl.pipex.com/iTunesDBfoo.rar]http://www.aqyt18.dsl.pipex.com/iTunesDBfoo.rar[/url] 

is the DB built or rebuilt from scratch by foopod. It sends my 60gig photopod

(windows format, firmware 1.1,  2nd wave of photopods with no dock or AV cable - HP brand)
into a perpetual reboot. The only way to fix is to mount it in disk mode, open itunes (4.8) load one mp3, let it update, then reboot the pod again. All is then well.

http://www.aqyt18.dsl.pipex.com/iTunesDBok.rar (http://www.aqyt18.dsl.pipex.com/iTunesDBok.rar)

is the database that follows loading one file with itunes.

If you just make modifications to an itunes-generated DB with foo_pod all is also well. Any ideas ?

regards

Clunes
[a href="index.php?act=findpost&pid=311518"][{POST_SNAPBACK}][/a]


Just read your original post which asks for a database with only one song in it - sorry !  I don't have time any time soon to empty/reload my ipod. Aero - are the big databases any use to you?

Clunes
[a href="index.php?act=findpost&pid=311665"][{POST_SNAPBACK}][/a]



Sorry to be a drag - me again - Aero, do you think you might have five mins just to see if these DBs crash your pod ?  all the best

Clunes
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-07-28 19:59:52
Quote
Quote
Where can I find the earlier version of iTunes?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=314960")

i'm terribly sorry, but you can't - not legally, that is: apple does not provide any old versions neither of itunes nor of the ipod-firmwares. the only thing you can do is dig out your install cd that came with your ipod and use the versions they put on there... well and maybe a friend of yours has an old firmware lieing about. i'm sorry to say those are the only options...
[a href="index.php?act=findpost&pid=315857"][{POST_SNAPBACK}][/a]


Actually, Apple leaves the old downloads up for all versions of iTunes back to 4.2.  The trick is just in finding them since they are not sensibly named

Heres 4.7 which I happen to have handy:

Edit:  I can't figure out how to cut out that stupid redirector to akamai.  Try this link instead:

[a href="http://www.mpex.net/software/download/ituneswin.html]http://www.mpex.net/software/download/ituneswin.html[/url]

Try google for 'itunes akamai'.  I managed to get 4.2, 4.5, and 4.6 with some effort a while ago while testing something.
Title: foo_pod - Foobar2000 meets the iPod
Post by: blizeH on 2005-07-29 12:09:22
Two quick questions:

1) I assume this will automatically synch the iPod with the Database/Music Library in the exact same way iTunes does?

2) Any idea when a 0.9 version will be released?

Thanksx
Title: foo_pod - Foobar2000 meets the iPod
Post by: Chaser on 2005-07-29 12:32:47
concerning 2): when 0.9 goes final, the sdk will be released and it is likely that aero might the update the component!
Title: foo_pod - Foobar2000 meets the iPod
Post by: blizeH on 2005-07-29 12:50:36
Only likely that he *might* do it? Haha. Oh my.

I hate to say this, but looks like I might have to re-install iTunes then, especially since from the looks of it I have the latest version of firmware on my iPod which won't work with foo_tunes anyway

*cries*
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-29 16:10:20
foo_pod will work fine with the latest firmware, if you leave the experimental "write 4.9 databases" turned off.

However, the latest firmware for 4G and up iPod's has serious issues just by itself, so I'd try to revert it back to a previous version anyway.

As for whether he might do it or not, well, until the SDK is released, he *can't* do it, so there's your main reason it can't be done yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: blizeH on 2005-07-29 16:51:52
Ahh I see, thanks.

All I want it to do is basically every time I add a song to the Media Library it'll synch it to the iPod, everytime I remove a song from my hard drive/Media Library it'll again synch it and delete it from the iPod. I assume that foo_pod does this without any troubles? If so, I'll stick it out and see how it goes!

Thanks Otto
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-07-31 01:01:38
Here's a weird one for you guys: Is there any way foo_pod could check the battery life while my iPod is connected?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-07-31 06:16:01
No. The computer just sees the iPod as a hard drive. There's no secret method of communication or anything, it's just a hard drive. Nothing more.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eyemthatguy on 2005-07-31 19:16:52
I am prepared to be beaten down for this question... knowing that here goes..

how, if its possible, do I send my lossless (flac/ape) to my ipod as .wav?
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-07-31 22:17:41
Quote
I am prepared to be beaten down for this question... knowing that here goes..

how, if its possible, do I send my lossless (flac/ape) to my ipod as .wav?
[a href="index.php?act=findpost&pid=317012"][{POST_SNAPBACK}][/a]


Set up the transcoder in foo_pod to convert all lossless files to wav.  Its in the options, and pretty straightforward.  However I recommend you don't use wav.  It'll waste battery and space on the ipod.  Instead, convert it to ALAC (or even LAME/AAC unless you have some insanely good headphones and really can ABX lossy audio).  Same audio, smaller file size.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-08-01 04:07:43
Quote
One more feature request, please!!!    

Is there a way to add files from audible.com ".aa" extension.
Maybe a directory pointer because foobar can not read them.

I had to install itunes to solve it    
[a href="index.php?act=findpost&pid=315913"][{POST_SNAPBACK}][/a]

Nope - there is no way for foo_pod to add songs to the iPod (at least add them and put them in the database so that they are playable) if the format is not playable in Foobar.

The technical reason for this is that a song in the iPod database needs some basic information about the songs - information like song length and other details about the song.  If Foobar can't play the song, there is no way for foo_pod to get this information.  Also, I would guess that most .aa files are DRM'ed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-08-01 04:10:25
Quote
Here's a weird one for you guys: Is there any way foo_pod could check the battery life while my iPod is connected?
[a href="index.php?act=findpost&pid=316901"][{POST_SNAPBACK}][/a]

I don't know of any way to query the battery state, and I don't see anything in the iPodService interface that is even close.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-08-01 04:15:59
Quote
Quote
I am prepared to be beaten down for this question... knowing that here goes..

how, if its possible, do I send my lossless (flac/ape) to my ipod as .wav?
[a href="index.php?act=findpost&pid=317012"][{POST_SNAPBACK}][/a]


Set up the transcoder in foo_pod to convert all lossless files to wav.  Its in the options, and pretty straightforward.  However I recommend you don't use wav.  It'll waste battery and space on the ipod.  Instead, convert it to ALAC (or even LAME/AAC unless you have some insanely good headphones and really can ABX lossy audio).  Same audio, smaller file size.
[a href="index.php?act=findpost&pid=317033"][{POST_SNAPBACK}][/a]

I'm not sure that transcoding to .wav will work.  I haven't tried it, but it might fail when foo_pod tries to write metadata to the WAV file.

But MG is right - transcoding to ALAC (using Otto's iTunesEncoder script) is probably a better idea than writing uncompressed WAV files.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-08-01 06:22:33
Quote
Sorry to be a drag - me again - Aero, do you think you might have five mins just to see if these DBs crash your pod ?  all the best
[a href="index.php?act=findpost&pid=316301"][{POST_SNAPBACK}][/a]

Yes, I took a look at your iTunesDB file and it promptly crashed my 4G iPod, requiring going into Disk Mode to recover. 

Unfortunately, the iTunesDB file is so big that finding the one thing that is causing the problem is like looking for a needle in a haystack.  So I haven't made much progress in figuring out the problem - if you can reproduce it with a smaller set of files, it would help my debugging efforts.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Slaanesh on 2005-08-02 05:56:21
I'm having a serious problem with foo_pod. It only has the "Update iTunesDB on iPod" choice in it's list of choices. I cannot send songs to the iPod either. Please help!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-08-03 02:51:58
Hey Folks,

I've got a question on playlists.

I have a bunch of songs in the default IPod playlist in Foobar.  These songs are already on the iPod.

I added a new playlist, and put a subset of the files in the default playlist into the new playlist.  I then select Send Playlist to iPod, and it doesn't show up on the iPod.  I get all the warnings about the songs already on the iPod and I expect that, but I also though that the playlist would have been added to the iPod.

Is this expected behavior?

Thanks,
Brian
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2005-08-03 06:43:14
Sorry for the off topic but I figure it would be useful info here...

I took the time to go through all of the iPod updaters to figure out what firmware versions are in which updater.

Code: [Select]
Release     Click  iPod Dock Touch                File
Date        Wheel  Mini Conn Wheel Photo Shuffle  Size
2004-07-15  3.0    1.1   2.2  1.4
2004-08-06  3.0.1  1.1   2.2  1.4
2004-10-20  3.0.1  1.1   2.2  1.4   1.0           31,840,184 bytes
2004-11-15  3.0.2  1.2   2.2  1.4   1.0           37,284,280 bytes
2005-01-11  3.0.2  1.2   2.2  1.4   1.0    1.0    41,204,592 bytes
2005-02-22  3.0.2  1.3   2.3  1.5   1.0    1.1    44,011,816 bytes
2005-03-23  3.0.2  1.3   2.3  1.5   1.1    1.1    49,164,072 bytes
2005-06-26  3.1    1.4   2.3  1.5   1.2    1.1    49,312,016 bytes


You can find instructions on how to downgrade your firmware Here (http://www.hackaday.com/entry/1234000983023390/)

As far as I know, 3.1 and 1.4 are the bad ones that do not update SPL's.
Title: foo_pod - Foobar2000 meets the iPod
Post by: fakeplastictrees on 2005-08-04 15:33:21
Hi guys, need some help with this.

"Rebuild iTunesDB Database on iPod
Searches for iPod-playable music anywhere on the iPod, not just in the Music directories. This allows you to create a working database after copying music anywhere on the iPod. This is useful if you want to store your songs in human-readable directories, rather than in F00 - F99.

Note: The iPod cannot read files with a total path and filename of greater than 127 characters. During transfer, foo_pod truncates long filenames to alleviate this.

It deletes existing playlists, and dynamic data: rating, playcounts, and last played time. It preserves Smart Playlists."

Will this actually sort all the current folders into Artist/Album instead of the F00-F99 folder sequence? I need to do this as i bring my iPod to work and i would want to actually put folder.jpg into the folders so i can view the albumart at work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Slaanesh on 2005-08-04 21:43:29
My iPod is being detected by foo_pod, because it can update the iTunesDB on it. Unfortunately, I don't see any other options for controlling the iPod (there are no "Send song(s) to iPod" or iPod playlists available). My iPod is being detected by the computer and iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-08-04 22:24:22
Quote
"Rebuild iTunesDB Database on iPod
...
Will this actually sort all the current folders into Artist/Album instead of the F00-F99 folder sequence?
[a href="index.php?act=findpost&pid=317855"][{POST_SNAPBACK}][/a]

No. It will scan the iPod for any files it finds that are playable by the iPod and build an iTunesDB out of them, but it doesn't change the location of the music on the iPod.

If you manually put the music on the iPod thru explorer and used that artist/album method for your naming, then this would rebuild the database such that the iPod would then be able to play that music. But it won't do that for you.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-08-05 04:35:47
Quote
Quote
"Rebuild iTunesDB Database on iPod
...
Will this actually sort all the current folders into Artist/Album instead of the F00-F99 folder sequence?
[a href="index.php?act=findpost&pid=317855"][{POST_SNAPBACK}][/a]

No. It will scan the iPod for any files it finds that are playable by the iPod and build an iTunesDB out of them, but it doesn't change the location of the music on the iPod.

If you manually put the music on the iPod thru explorer and used that artist/album method for your naming, then this would rebuild the database such that the iPod would then be able to play that music. But it won't do that for you.
[a href="index.php?act=findpost&pid=317925"][{POST_SNAPBACK}][/a]

You probably could use FooBar's masstagger, then rebuild using foo_pod
Title: foo_pod - Foobar2000 meets the iPod
Post by: eyemthatguy on 2005-08-05 05:28:48
Quote
Quote
Quote
I am prepared to be beaten down for this question... knowing that here goes..

how, if its possible, do I send my lossless (flac/ape) to my ipod as .wav?
[a href="index.php?act=findpost&pid=317012"][{POST_SNAPBACK}][/a]


Set up the transcoder in foo_pod to convert all lossless files to wav.  Its in the options, and pretty straightforward.  However I recommend you don't use wav.  It'll waste battery and space on the ipod.  Instead, convert it to ALAC (or even LAME/AAC unless you have some insanely good headphones and really can ABX lossy audio).  Same audio, smaller file size.
[a href="index.php?act=findpost&pid=317033"][{POST_SNAPBACK}][/a]

I'm not sure that transcoding to .wav will work.  I haven't tried it, but it might fail when foo_pod tries to write metadata to the WAV file.

But MG is right - transcoding to ALAC (using Otto's iTunesEncoder script) is probably a better idea than writing uncompressed WAV files.
[a href="index.php?act=findpost&pid=317078"][{POST_SNAPBACK}][/a]



Thanks for the input guys...

I guess I should clarify more specifically my reasoning. 

I couldnt care less about battery life, as I use my IPOD mostly in the truck connected to the cigarette lighter power plug.  When Its not plugged in the truck, I may use it while jogging, hiking a few hours, or bicycling to and from work.  The point being battery life isnt all that important.

As for space, I only have a 15 gigger, roughly 13 and some change.  I dont really mind not carrying more songs as updating/transferring a playlist should be easy to handle overnight.

My main issue:  I would prefer not to have 2 sets of files (flac and mp3) for each album.

I guess I was wrong in assuming transcoding would only create a temp file for xfer and then delete it.

I had all my lossless mass transcoded to apx, but found I didnt like managing 2 sets of files.  Anyone have any advice for my situation?

IM tired and hopefully Im making sense.

Thanks for reading.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-08-05 12:32:27
Quote
Thanks for the input guys...

I guess I should clarify more specifically my reasoning. 

I couldnt care less about battery life, as I use my IPOD mostly in the truck connected to the cigarette lighter power plug.  When Its not plugged in the truck, I may use it while jogging, hiking a few hours, or bicycling to and from work.  The point being battery life isnt all that important.

As for space, I only have a 15 gigger, roughly 13 and some change.  I dont really mind not carrying more songs as updating/transferring a playlist should be easy to handle overnight.

My main issue:  I would prefer not to have 2 sets of files (flac and mp3) for each album.

I guess I was wrong in assuming transcoding would only create a temp file for xfer and then delete it.

I had all my lossless mass transcoded to apx, but found I didnt like managing 2 sets of files.  Anyone have any advice for my situation?

IM tired and hopefully Im making sense.

Thanks for reading.
[a href="index.php?act=findpost&pid=317983"][{POST_SNAPBACK}][/a]


I do this, and there shouldn't be an issue.  I have all my CDs ripped to FLAC on my computer harddrive.  Then I just setup foo_pod to transcode the files to MP3s prior to sending them to the iPod.  No MP3s are required on your computer harddrive, as foo_pod does this all for you (this is why I started using foo_pod actually).

The iPod can't decode FLAC/APE, so MP3 is the way to go since ALAC won't leave you with much spaced on a 15GB.  That being said, I would use aps or the medium setting, cuz I doubt you're getting much more out of apx, and with a 15 gigger, space is an issue.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: eyemthatguy on 2005-08-06 01:46:00
[/quote]

I do this, and there shouldn't be an issue.  I have all my CDs ripped to FLAC on my computer harddrive.  Then I just setup foo_pod to transcode the files to MP3s prior to sending them to the iPod.  No MP3s are required on your computer harddrive, as foo_pod does this all for you (this is why I started using foo_pod actually).

The iPod can't decode FLAC/APE, so MP3 is the way to go since ALAC won't leave you with much spaced on a 15GB.  That being said, I would use aps or the medium setting, cuz I doubt you're getting much more out of apx, and with a 15 gigger, space is an issue.

Thanks!
[a href="index.php?act=findpost&pid=318017"][{POST_SNAPBACK}][/a]
[/quote]
Yo thanks for the great info!  Im looking forward to a successful transcode/transfer.

can anyone fill me in on what I may be doing wrong here getting this message trying:

Components > foo_pod > Send Current Playlist to IPOD

I get this:

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://d:\Lossless\2Pac [1996] All Eyez On Me (Disc 1)\02 All Bout U.flac
ERROR (foo_pod) : Transcoding failed!

(it happens for all the songs until i can manually cancel the xfer)



win xp sp2
foobar 0.8.3

thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-08-06 03:28:40
Quote
Yo thanks for the great info!  Im looking forward to a successful transcode/transfer.

can anyone fill me in on what I may be doing wrong here getting this message trying:

Components > foo_pod > Send Current Playlist to IPOD

I get this:

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://d:\Lossless\2Pac [1996] All Eyez On Me (Disc 1)\02 All Bout U.flac
ERROR (foo_pod) : Transcoding failed!

(it happens for all the songs until i can manually cancel the xfer)



win xp sp2
foobar 0.8.3

thanks.
[a href="index.php?act=findpost&pid=318133"][{POST_SNAPBACK}][/a]


First let's make sure your transcoder is setup properly.  You need to make sure that you have the foo_podtranscoder.dll, foo_podclienc.dll, and foo_pod.dll in foobar2000/components directory.

Then go to the transcoder tab.  You can use some of the presets, or you can make your own.  If you use the presets, you need to make sure the encoder, either LAME of FAAC are in the foobar2000 top level directory. I've made my own, so under the configuration of Use Custom Encoder Settings I have:

Encoder: C:\Program Files\LAME-3.96.1\lame.exe
Extension: mp3
Parameters: --preset standard - %d
Format is: lossy
Highest BPS mode supported: 24 (I don't know what this should be set to, maybe someone can tell me)
Tag: ID3v2
Pass floating point data (some lossy encoders only) is not checked. (I don't know if this should be set or not with LAME/mp3, maybe somone can clarify if this is needed)
Encoder requires accurate length is not checked. (I don't know if this should be set or not with LAME/mp3, maybe someone can clarify if this is needed)
Display name: LAME 3.96.1
Neither box under Generic Setting are checked.

This has worked for me for a while.

[span style='font-size:8pt;line-height:100%']Edit: Fixed quote'ing problem.[/span]
Title: foo_pod - Foobar2000 meets the iPod
Post by: KnightR on 2005-08-06 10:58:33
foo_pod does not support packed mp3-files? (*.zip etc..)
if not support, please support 'unpack' URL.

# I expect that foo_pod cuts first 7 characters of 'location'.
# excuse me about poor english by Jp.
Title: foo_pod - Foobar2000 meets the iPod
Post by: RDJ on 2005-08-08 17:03:23
Thank you for this program. I even paid for Anapod, but now that I've finally figured it out, I use foo_pod exclusively.

Also, http://www.tinkafoo.com/log/foo_pod.html (http://www.tinkafoo.com/log/foo_pod.html) is an excellent resouce, though I'd love to see the information it's missing added.


I've been seeing the perpetual reboot cycle bug with my 60 GB PhotoPod. It seems to happen most often after I've transferred a large amount of music to my ipod.

I'm using itunes 4.7, and running the firmware/itunesDB format 1.1. I transcode some mp3s to audiobooks, and just in the course of figuring foo_pod out, I've had foo_pod backup/restore/rebuild/update the itunesdb multiple times.

As with others, putting it into Disk Mode through diagnostics, and then adding one song through itunes fixes it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Alzer on 2005-08-09 17:13:20
Hello.

Just got foo_pod. It works just fine.

But there's one thing I'm wondering about.

Is there any way to make foo_pod read the taginfo from det foobar database instead of the file itself?

Thanks
/Alzer
Title: foo_pod - Foobar2000 meets the iPod
Post by: KyPeN on 2005-08-10 04:43:25
Quote
Yo thanks for the great info!  Im looking forward to a successful transcode/transfer.

can anyone fill me in on what I may be doing wrong here getting this message trying:

Components > foo_pod > Send Current Playlist to IPOD

I get this:

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://d:\Lossless\2Pac [1996] All Eyez On Me (Disc 1)\02 All Bout U.flac
ERROR (foo_pod) : Transcoding failed!

(it happens for all the songs until i can manually cancel the xfer)



win xp sp2
foobar 0.8.3

thanks.


I am having the exact same problem and have been for about 3 releases.  I end up switching between preset transcoder setting (error), manual (error), back to preset, and it finally works.  Sometimes it takes 3-4 switches, but it will finally go.
Title: foo_pod - Foobar2000 meets the iPod
Post by: fakeplastictrees on 2005-08-10 19:22:45
Quote
Quote
Quote
"Rebuild iTunesDB Database on iPod
...
Will this actually sort all the current folders into Artist/Album instead of the F00-F99 folder sequence?
[a href="index.php?act=findpost&pid=317855"][{POST_SNAPBACK}][/a]

No. It will scan the iPod for any files it finds that are playable by the iPod and build an iTunesDB out of them, but it doesn't change the location of the music on the iPod.

If you manually put the music on the iPod thru explorer and used that artist/album method for your naming, then this would rebuild the database such that the iPod would then be able to play that music. But it won't do that for you.
[a href="index.php?act=findpost&pid=317925"][{POST_SNAPBACK}][/a]

You probably could use FooBar's masstagger, then rebuild using foo_pod
[a href="index.php?act=findpost&pid=317975"][{POST_SNAPBACK}][/a]


Hi, how do i use masstagger to sort into Artist/Album directory structure?
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-08-10 19:32:47
Quote
Hi, how do i use masstagger to sort into Artist/Album directory structure?
[a href="index.php?act=findpost&pid=319119"][{POST_SNAPBACK}][/a]

masstagger -> rename, move or copy files -> artist/album/nn - title
then remember to click the create subdirectories checkbox

This assumes songs are tagged properly
Title: foo_pod - Foobar2000 meets the iPod
Post by: fakeplastictrees on 2005-08-10 20:05:32
Quote
Quote
Hi, how do i use masstagger to sort into Artist/Album directory structure?
[a href="index.php?act=findpost&pid=319119"][{POST_SNAPBACK}][/a]

masstagger -> rename, move or copy files -> artist/album/nn - title
then remember to click the create subdirectories checkbox

This assumes songs are tagged properly
[a href="index.php?act=findpost&pid=319122"][{POST_SNAPBACK}][/a]


thank you, that did the trick!
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-08-10 21:26:25
Quote
Hello.

Just got foo_pod. It works just fine.

But there's one thing I'm wondering about.

Is there any way to make foo_pod read the taginfo from det foobar database instead of the file itself?

Thanks
/Alzer
[a href="index.php?act=findpost&pid=318830"][{POST_SNAPBACK}][/a]


AFAIK foo_pod always uses the foobar database.  I don't think it can read tags at all, instead it just uses whatever info in the foobar database.  However, I haven't looked at the code, so I could be mistaken.
Title: foo_pod - Foobar2000 meets the iPod
Post by: RDJ on 2005-08-10 21:44:21
Quote
AFAIK foo_pod always uses the foobar database. I don't think it can read tags at all, instead it just uses whatever info in the foobar database. However, I haven't looked at the code, so I could be mistaken.


I don't use the foobar database at all and foo_pod works just fine (with the minor exception of the occasional perpetual reboot cycle).

If I guessed, I'd say that perhaps foo_pod uses both database info and tags, and one has precedent over the other.


Is there a command to update all playlists? Having to update each playlist one by one is a key usabiilty frustration for me. (Maybe it's a sync thing? Though I tried that and almost wiped out all my music).
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-08-10 22:12:08
Quote
Quote
AFAIK foo_pod always uses the foobar database. I don't think it can read tags at all, instead it just uses whatever info in the foobar database. However, I haven't looked at the code, so I could be mistaken.


I don't use the foobar database at all and foo_pod works just fine (with the minor exception of the occasional perpetual reboot cycle).

If I guessed, I'd say that perhaps foo_pod uses both database info and tags, and one has precedent over the other.


Is there a command to update all playlists? Having to update each playlist one by one is a key usabiilty frustration for me. (Maybe it's a sync thing? Though I tried that and almost wiped out all my music).
[a href="index.php?act=findpost&pid=319153"][{POST_SNAPBACK}][/a]


How do you go about updating playlists now?  How about creating new ones?
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-08-11 02:13:49
Quote
Quote
AFAIK foo_pod always uses the foobar database. I don't think it can read tags at all, instead it just uses whatever info in the foobar database. However, I haven't looked at the code, so I could be mistaken.


I don't use the foobar database at all and foo_pod works just fine (with the minor exception of the occasional perpetual reboot cycle).



AFAIK you can't actually disable the entire database.  When you choose that option theres just no central store of song info.  Your playlists (like the one foo_pod constructs) still contain database entries for each song in them.  So from foo_pod's perspective, you're still using the database, even if you don't want to.

At least thats what I've gathered. 

Quote
If I guessed, I'd say that perhaps foo_pod uses both database info and tags, and one has precedent over the other.


[a href="index.php?act=findpost&pid=319153"][{POST_SNAPBACK}][/a]


I really doubt theres a parser built into foo_pod for all tag and file types it supports.  I'm pretty sure its just reading the info that foobar gives it.  Unless Areo's been busy writing code to handle reading not just AAC/MP3 but also tags on FLAC/APE/etc files transcoded into MP3/AAC by foo_pod
Title: foo_pod - Foobar2000 meets the iPod
Post by: RDJ on 2005-08-11 02:33:44
Quote
AFAIK you can't actually disable the entire database. When you choose that option theres just no central store of song info. Your playlists (like the one foo_pod constructs) still contain database entries for each song in them. So from foo_pod's perspective, you're still using the database, even if you don't want to.

Fair enough. Though it's a database entry created instantly from tags, and exists only as long as the song is in a playlist. Point granted though; if we take this any further it'll just be an exercise in semantics.

I guess the more helpful question to Alzer would be: what are you trying to do?



Quote
How do you go about updating playlists now? How about creating new ones?

I right click on the playlist tab and choose "update this playlist." I use the playlist editor to create new ones. I tried using "Send all playlists to ipod," but then I just end up with two copies of every playlist.

Update: I just tried "Sync all playlists." Foobar crashed, and all my playlists dissappeared. Sigh.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-08-11 14:08:05
Quote
Quote
AFAIK you can't actually disable the entire database. When you choose that option theres just no central store of song info. Your playlists (like the one foo_pod constructs) still contain database entries for each song in them. So from foo_pod's perspective, you're still using the database, even if you don't want to.

Fair enough. Though it's a database entry created instantly from tags, and exists only as long as the song is in a playlist. Point granted though; if we take this any further it'll just be an exercise in semantics.

I guess the more helpful question to Alzer would be: what are you trying to do?



Quote
How do you go about updating playlists now? How about creating new ones?

I right click on the playlist tab and choose "update this playlist." I use the playlist editor to create new ones. I tried using "Send all playlists to ipod," but then I just end up with two copies of every playlist.

Update: I just tried "Sync all playlists." Foobar crashed, and all my playlists dissappeared. Sigh.
[a href="index.php?act=findpost&pid=319218"][{POST_SNAPBACK}][/a]


When you use the Playlist Editor, how do you get the playlists to showup in foobar?  When I add a playlist in the playlist editor, I don't see the equivalent playlist in foobar.  Maybe I'm missing something.
Title: foo_pod - Foobar2000 meets the iPod
Post by: RDJ on 2005-08-11 15:55:52
After creating the playlists in Playlist Editor, I then do: components>foo_pod>load ipod playlists as tabs, and they show up.

It'd be nice if there was the option for smart playlists and regular playlists to show up at the same time.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-08-13 17:34:02
Is there a quick tutorial on how to get ratings working with fb2k and foo_pod so that I can start to use SmartPlaylists?  I went to tinkafoo and didn't see anything related to this.

Searching the thread for this information has gotten a little unweildy, so I'm hoping someone has a concise pointer.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-08-15 16:46:19
You should just be able to set the RATING metadata to a number from 0-5 (corresponding to 0-5 stars). I think it works. Other foobar addons that do ratings use this same RATING metadata.
Title: foo_pod - Foobar2000 meets the iPod
Post by: neomoe on 2005-08-19 16:34:05
just in case someone wants to downgrade his firmware and has not got older iTunes and iPod_updaters, you can get the older updaters here (http://www.touslesdrivers.com/index.php?v_page=26&v_code=67) and older versions of iTunes here (http://www.tweakzone.nl/downloads/6192).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Tsphere on 2005-08-22 16:18:18
I have a question since I think my iPod hd is suffering from bad blocks or such (getting the folder + ! symbo. can't format etc.),.
I was told I'd have to send it to be replaced.

My question is if using foo_pod voided the warranty, and if it is even traceable or is foo_pod's components identical to iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-08-22 16:57:56
Quote
I have a question since I think my iPod hd is suffering from bad blocks or such (getting the folder + ! symbo. can't format etc.),.
I was told I'd have to send it to be replaced.

My question is if using foo_pod voided the warranty, and if it is even traceable or is foo_pod's components identical to iTunes.
[a href="index.php?act=findpost&pid=321755"][{POST_SNAPBACK}][/a]

foo_pod just writes files to the iPod's hard drive as a hard drive. It doesn't void the warranty.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Tsphere on 2005-08-22 17:17:24
But it also writes and compiles the database, my question is if the functions it uses are identical to iTunes, and if the code written on the iPod is thus identical to what would've been written by iTunes.

Also,
I noticed other people had this issue in this topic, could it be connected to a bug in foo_pod, or is it coincidential. Also, is this a common iPod issue or something rare?
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-08-22 23:56:11
Quote
But it also writes and compiles the database, my question is if the functions it uses are identical to iTunes, and if the code written on the iPod is thus identical to what would've been written by iTunes.

Also,
I noticed other people had this issue in this topic, could it be connected to a bug in foo_pod, or is it coincidential. Also, is this a common iPod issue or something rare?
[a href="index.php?act=findpost&pid=321773"][{POST_SNAPBACK}][/a]


If you're worried, just format your ipod before you send it in.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-08-23 02:33:09
Quote
I have a question since I think my iPod hd is suffering from bad blocks or such (getting the folder + ! symbo. can't format etc.),.
I was told I'd have to send it to be replaced.

My question is if using foo_pod voided the warranty, and if it is even traceable or is foo_pod's components identical to iTunes.
[a href="index.php?act=findpost&pid=321755"][{POST_SNAPBACK}][/a]

I've just had the same problem.  Sent it back a few days ago.  I find it difficult to see how foo_pod could possibly have caused our problems.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-08-23 13:35:11
I have been trying to catch up on this new firmware/database stuff for the sake of updating my documentation (http://www.tinkafoo.com/log/foo_pod.html), but I want to make sure of a few things.

-- only foo_pod v0.9.9k supports iTunes 4.9 databases, but even then it can only read them.
-- only foo_pod v0.9.9k can see an iPod using firmware 2005-06-26.

So does this sound right?

The best combination:
- foo_pod 0.9.9k (or earlier)
- iTunes 4.7/4.8 database
- iPod firmware 2005-03-25 (or earlier)

Should work:
- foo_pod 0.9.9k
- iTunes 4.7/4.8 database
- iPod firmware 2005-06-26

Does not work:
- foo_pod 0.9.9j (or earlier)
- iTunes 4.9 database
- iPod firmware 2005-06-26
Title: foo_pod - Foobar2000 meets the iPod
Post by: reardon on 2005-08-23 14:43:12
Quote
I have been trying to catch up on this new firmware/database stuff for the sake of updating my documentation (http://www.tinkafoo.com/log/foo_pod.html), but I want to make sure of a few things.

-- only foo_pod v0.9.9k supports iTunes 4.9 databases, but even then it can only read them.
-- only foo_pod v0.9.9k can see an iPod using firmware 2005-06-26.

So does this sound right?

The best combination:
- foo_pod 0.9.9k (or earlier)
- iTunes 4.7/4.8 database
- iPod firmware 2005-03-25 (or earlier)


Does anyone have a copy of iTunes 4.7?  I am <thomasreardon +at+ hotmail.com>
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-08-23 15:18:53
Quote
Does anyone have a copy of iTunes 4.7?  I am <thomasreardon +at+ hotmail.com>
[a href="index.php?act=findpost&pid=322048"][{POST_SNAPBACK}][/a]
Consider reading back 8-10 posts in this thread.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-08-23 17:23:35
Quote
But it also writes and compiles the database, my question is if the functions it uses are identical to iTunes, and if the code written on the iPod is thus identical to what would've been written by iTunes.

The answer is no, the file is not identical to what iTunes would write. Pretty close, but there's enough differences that I could tell whether or not foo_pod or iTunes wrote any non-trivial example.

But "compiles" is a bit of strong term. It's just a file. You can read/write it like any other file. Nothing that you write to that file will cause damage to the iPod in any unrepairable-by-yourself manner. It might cause the exclamation mark folder issue if the file is written badly, but lots of things will cause that. Deleting the file, for example, causes the same thing.

If you can't format the thing, that's not a mere badly written file error. Formatting it is a lower level function than any higher level file stuff. Formatting it doesn't care what the contents of the database is. So if it won't format, that's not something foo_pod could cause. Foo_pod only works with it at the file level, formatting it is at the drive level.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ezekiel2517 on 2005-08-24 10:09:47
Hi guys, I'm using

03-23-05 ipod firmware
latest version of foo_pod
foobar 0.8.2
and itunes v4.8

and I have a couple of LONG questions, been wrestling with this for the greater part of the evening and I'd greatly appreciate any help:

1) Is there anyway to make "Sync All Playlists"  SKIP playlists that have been flagged as "ignore this playlist"? I can "Send all playlists to ipod" and foo_pod will obey and skip the ignored playlists, but "sync" tries to synchronize every playlist in foobar, even these ones that hve been flagged as ignore.

2) are ipod databases supposed to be comptaible between foo_pod and iTunes? I'm getting some werid behavior between the two programs. I'll add playlists with songs to an empty ipod in foo_bar, go into itunes, and everything will show up in iTunes just fine. But if i later go back into foopod and add additional playlists, then fire up iTunes, all the songs have disappeared in iTunes. The playlists are still there, but they are empty as well is the root where all the songs are consolodated. (Interestingly, "the number of tracks" and "size" totals at the bottom of iTunes are still accurate). The playlists still work fine on the ipod, but in iTunes they are empty. If I rebuild the DB in foo_pod the songs return to iTunes, but that deletes all the playlists.

Long question short: are users supposed to be able to go back and forth between iTunes and foo_pod, and if so, any ideas what's wrong with my setup?

3) Anybody know what happens to my on-the-go playlist when I add a new playlist in foo_pod? It just disappears, its not on the ipod anymore after I add the new playlist. If I fire up iTunes after adding the new playlist in foo_pod, then the on-the-go will reappear as "On-The-Go #x", but otherwise the playlist vanishes. Am I doing something wrong here or is that intentional (or just a bug)? This workaround (using itunes to "recover" the on-the-go) is acceptable but it'd be cool if there was a way to do this within foo_pod.

4) Whats the best way to clear playcounts within foo_pod? I think syncing playlists does the trick, but thats not an option because of #1, and I can't just go into iTunes and do it manually because of #2. Right now im exporting the iTunesDB as XML, using textpad to do a find and replace of <PLAYCOUNT>X</PLAYCOUNT> to <PLAYCOUNT>0</PLAYCOUNT>, then importing the DB back, but if there was a more convient way to do it that'd be awesome. EDIT: Just found out this method doesn't seem to work, after importing the edited XML file, my computer locks up when I try to use iTunes, and won't work properly again until disconnecting the ipod! Fortunately I restored to a backup of the DB and all is all right again.


Whew that was a mouthful! Any advice and suggestions would be appreciated. Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2005-08-24 16:00:30
Quote
2) are ipod databases supposed to be comptaible between foo_pod and iTunes?

Not entirely, no. I don't recommend switching back and forth. Doing so will cause odd behavior, as you may have noticed.

Quote
3) Anybody know what happens to my on-the-go playlist when I add a new playlist in foo_pod?

Unless foo_pod reads the On-The-Go playlists and converts them to normal playlists, the iPod will remove them itself, after any changes to the contents of the iPod are made. This is because of the way that the OTG playlists work, and explaining it is a bit detailed and boring. Short version is that foo_pod doesn't read the OTG playlists, to the best of my knowledge. The capability is there though, I just don't think it's been added yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-08-29 11:56:58
Feature Request:  Add random album.  Ottofill now adds random songs.  It would be nice if it had a feature to add random albums.
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2005-08-30 15:22:17
Quote
Feature Request:  Add random album.  Ottofill now adds random songs.  It would be nice if it had a feature to add random albums.
[a href="index.php?act=findpost&pid=323450"][{POST_SNAPBACK}][/a]



Great idea, I second that.
Title: foo_pod - Foobar2000 meets the iPod
Post by: GrumpyDoctor on 2005-09-03 23:41:45
Quote
Yo thanks for the great info!  Im looking forward to a successful transcode/transfer.

can anyone fill me in on what I may be doing wrong here getting this message trying:

Components > foo_pod > Send Current Playlist to IPOD

I get this:

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://d:\Lossless\2Pac [1996] All Eyez On Me (Disc 1)\02 All Bout U.flac
ERROR (foo_pod) : Transcoding failed!

(it happens for all the songs until i can manually cancel the xfer)



win xp sp2
foobar 0.8.3

thanks.
[a href="index.php?act=findpost&pid=318133"][{POST_SNAPBACK}][/a]

I am having this exact same problem (transcoding FLAC to mp3), except that I know the transcoder should be set up correctly because it used to work. I have no idea what might have changed. Same component list, same location of lame.exe, flac.exe, and foobar2000, same transcoder settings, everything.

Curiously, if I try that once (and it fails), and then I try it again, I get this console warning (but no transcoder error):

Unsupported file 'C:\Documents and Settings\Cody\My Documents\My Music\BT\BT - 2001 - Rare & Remixed (CD2)\01 Sunblind(Rare And Remixed US CD Version).flac' has already been transcoded and is on the iPod

which I assume means that foo_pod went ahead and put a FLAC on the iPod even though the iPod can't play it? This is doubly upsetting because it's not showing up on the foobar2000 iPod song playlist, so I don't know how to get rid of it.

I have been pulling my hair out over this!

foobar2000 0.8.3
foo_pod 0.9.9k
windows xp sp2
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-05 03:08:19
Quote
Quote

Yo thanks for the great info!  Im looking forward to a successful transcode/transfer.

can anyone fill me in on what I may be doing wrong here getting this message trying:

Components > foo_pod > Send Current Playlist to IPOD

I get this:

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://d:\Lossless\2Pac [1996] All Eyez On Me (Disc 1)\02 All Bout U.flac
ERROR (foo_pod) : Transcoding failed!

(it happens for all the songs until i can manually cancel the xfer)



win xp sp2
foobar 0.8.3

thanks.
[a href="index.php?act=findpost&pid=318133"][{POST_SNAPBACK}][/a]

which I assume means that foo_pod went ahead and put a FLAC on the iPod even though the iPod can't play it? This is doubly upsetting because it's not showing up on the foobar2000 iPod song playlist, so I don't know how to get rid of it.

[a href="index.php?act=findpost&pid=324791"][{POST_SNAPBACK}][/a]


No, foo_pod must have already put the file on the iPod in mp3 format at sometime.  How many songs do you have on the iPod?  Can you experiment?  If so, try to rebuild the database and see if the song(s) show up.  If not, delete everything off it and try again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-08 03:49:50
What am I doing wrong?

I blank my iPod.
I create a foobar playlist
I add an album to this foobar playlist
I click on Components->foo_pod->Send Current Playlist To iPod

I get the process dialog that the files are being transcoded (from FLAC to mp3) onto the iPod.

Process dialog completes, I unmount the iPod from XP, naviagte on the iPod, and the playlist doesn't exist.

The songs, however, do exist on the iPod.

Can someone help here?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-08 12:37:33
OK...how about this one...

Wipe the iPod clean via Components->foo_pod->Delete All.....
Add a Normal playlist (call it blah) to the iPod via Components->foo_pod->Playlist editor
Import this new playlist into foobar via Components->foo_pod->Load iPod Playlists As Tabs
Add a song to the "blah [iPod]" playlist in foobar
Right click on this playlist and select foo_pod->Update this Playlist on the iPod
The song in the playlist is successfully transcoded (from FLAC to MP3) and put on the iPod, the playlist is on the iPod, but the song is not in the playlist on the iPod.

I don't get it.

Any ideas?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2005-09-08 14:17:13
Quote
The songs, however, do exist on the iPod.
[a href="index.php?act=findpost&pid=325742"][{POST_SNAPBACK}][/a]

I'm sorry I don't have a proper solution, but here's a workaround: Once the tracks are copied to your iPod (either after a transcode operation or after you manually copy them over with Explorer), try the "Rebuild iTunesDB Database" function.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-08 14:37:24
Quote
Quote
The songs, however, do exist on the iPod.
[a href="index.php?act=findpost&pid=325742"][{POST_SNAPBACK}][/a]

I'm sorry I don't have a proper solution, but here's a workaround: Once the tracks are copied to your iPod (either after a transcode operation or after you manually copy them over with Explorer), try the "Rebuild iTunesDB Database" function.
[a href="index.php?act=findpost&pid=325813"][{POST_SNAPBACK}][/a]


OK, I'll try that.  I'll also play around to see if it's a transcoding issue, since this is pretty basic functionality that should work fine.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2005-09-09 02:39:10
To add on to the confusion, iTunes 5 is out, and so is the new iPod nano (2/4GB flash based players).

Anyone has managed to try the new iTunes out (and not break compatibility with foo_pod)?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-09-10 19:57:56
Quote
To add on to the confusion, iTunes 5 is out, and so is the new iPod nano (2/4GB flash based players).

Anyone has managed to try the new iTunes out (and not break compatibility with foo_pod)?
[a href="index.php?act=findpost&pid=325939"][{POST_SNAPBACK}][/a]

I tested iTunes 5.0 (briefly) just to see if anything major had changed. 

There are a few new data fields, but nothing important looking.  Since foo_pod was able to read an iTunes 5.0 created database, and since there were no new firmware releases for existing iPods, I suspect that foo_pod is compatable with iTunes 5.0.

As for the iPod nano, I haven't heard from anyone with one.  My email address is in the foo_pod Readme.txt in case anyone wants to send me one for testing...
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-09-12 22:58:22
ok, i am reripping my entire collection in flac so i never have to rip again (hopefully), but i want to use foo_pod's transcoder feature to put aac on my 3g ipod 15gb.  i want to use itunesencoder with itunes 5.0 and aac 160 vbr (i find that completely transparent).  however, to do this i'll need to have both itunes and foo_pod open at once with the ipod connected.  how would the ipod react to two diff programs trying to access it at once? 

i'd like to not have to reencode everything to aac, then put it on the ipod, then delete it all if i didn't have to.

thx,
jack
Title: foo_pod - Foobar2000 meets the iPod
Post by: lex_nasa on 2005-09-13 11:17:08
Tested foo_pod 0.9.9k, it works OK with iTunes 5 on my iPod Photo 1.1 and iPod Shuffle 1.  However it does not work with the Nano.  The file transfer seems to work, and the free disk space reports that the files are there, but they don't show up in the menus on the Nano itself.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-13 14:43:19
Quote
Tested foo_pod 0.9.9k, it works OK with iTunes 5 on my iPod Photo 1.1 and iPod Shuffle 1.  However it does not work with the Nano.  The file transfer seems to work, and the free disk space reports that the files are there, but they don't show up in the menus on the Nano itself.
[a href="index.php?act=findpost&pid=326584"][{POST_SNAPBACK}][/a]


Were you transcoding?
Title: foo_pod - Foobar2000 meets the iPod
Post by: lex_nasa on 2005-09-13 14:52:52
No, transferring files already encoded.  I also tried the maintenance options like "fix skipped songs", "rebuild database etc."... it seems like the database may be a different format on the new Nano.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-09-14 01:31:35
Quote
No, transferring files already encoded.  I also tried the maintenance options like "fix skipped songs", "rebuild database etc."... it seems like the database may be a different format on the new Nano.
[a href="index.php?act=findpost&pid=326607"][{POST_SNAPBACK}][/a]

Would you please send me your iPod nano so I could check it out...

Failing that, could you load up about 5 songs using iTunes 5.0 and send me the contents of your iPod_Control folder?
Title: foo_pod - Foobar2000 meets the iPod
Post by: lex_nasa on 2005-09-14 13:34:43
Hi Aero, I won't send you my Nano (I'm in Hong Kong and I'm enjoying my Nano too much), but I'll for sure send you the iPod_Control folder.  The Nano also will not work with previous versions of iTunes.  I tried re-installing 4.8 and the Nano is not recognised atall.

I've uploaded iPod_Control in a zip file here:

http://www.at-sea.com/iPod_Control.zip (http://www.at-sea.com/iPod_Control.zip)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-09-15 17:02:43
Quote
Hi Aero, I won't send you my Nano (I'm in Hong Kong and I'm enjoying my Nano too much), but I'll for sure send you the iPod_Control folder.  The Nano also will not work with previous versions of iTunes.  I tried re-installing 4.8 and the Nano is not recognised atall.

I've uploaded iPod_Control in a zip file here:

http://www.at-sea.com/iPod_Control.zip (http://www.at-sea.com/iPod_Control.zip)
[a href="index.php?act=findpost&pid=326832"][{POST_SNAPBACK}][/a]

Thanks for the files.  I didn't see anything too unusual in the iTunesDB, so I bet that the nano is just refusing to load older databases (there is a version flag in there, and it was changed for iTunes 5.0). 

If you aren't already doing so, you could try writing iTunes 4.9 compatable databases (foo_pod Preferences, Advanced tab), and see if that helps.  But even that is one version behind iTunes 5.0, so it still might not work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: lex_nasa on 2005-09-16 01:35:49
Hi Aero, I already tried the setting to write 4.9 databases, and it doesn't work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-16 22:50:30
Aero,

I think I'm hitting a bug with transcoding and playlists.

If I add files into a playlist in Foobar that has not already been transcoded and put on the iPod, it will go through the process of transcoding them and putting them on the iPod, however the songs do not show up in the playlist (they do show up in the iPod, just not on the playlist).

On the other hand, if I select some songs, tranfer them to the iPod, then add them to the playlist and then update the playlist it works fine.  Too many steps though .

Some Qs:

Any chance this is a bug and not a problem with my setup?

When is the next release slated for?

Any more thought on releasing the source?

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-16 23:00:20
Aero,

Another question/problem if I may.

The way you tell uniqueness of a file to is hash that file after it's been transcoded. The problem that I'm having is that when foo_pod is trying to determine if a file is already on the iPod, it has to transcode the file just to get the hash, and then compare the hash with filenames that are already on the iPod to determine if it's unique or not.

Is there a way you can store the hash (after the initial transcode to put the file on the iPod) with the file, preferably in some foobar2k database, or suboptimally in the comments tag of the file, so that you don't have to transcode the file everytime you want the hash of the resulting transcoded file?

An alternative to that may be to hash the pre-transcoded file, but I think the above would be faster.

Curious about your thoughs on this....

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2005-09-20 21:25:36
I want foo_pod for foobar 0.9 really badly!
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-09-21 00:11:27
Quote
I want foo_pod for foobar 0.9 really badly!
[a href="index.php?act=findpost&pid=328442"][{POST_SNAPBACK}][/a]
You're not the only one 

The SDK will be available when it's ready and Aero will port if and when he's in the mood.
Title: foo_pod - Foobar2000 meets the iPod
Post by: xGo on 2005-09-21 05:32:17
Small Problem:
foo_pod works great, but now iTunes doesn't recognize the content inside the playlists, meaning i can see the playlists but can't see what's inside playlists, i can upload songs into playlists though...

Specs:
foobar 0.8.3
foo_pod 0.9.9k
iPod mini [ firmware 1.3 ]
iTunes 5.0.1 [5.0.1.4]

Any tips or suggestions on how i can fix that...?

Thanks in advance...

P.S.: i don't want to upload/manage songs using foo_pod, cause i still addicted to iTunes interface, but hate the quality of iTunes' sound, so basically i want to use foo_pod for viewing/playing only, but still would like to use iTunes as manager for my iPod's music...
Title: foo_pod - Foobar2000 meets the iPod
Post by: lex_nasa on 2005-09-23 11:09:16
I finally got foo_pod to work with the Nano using this configuration:

foo_pod 0.9.9k
set to iTunes 4.7/4.8 compatibility in preferences
iTunes 4.9 installed

Used iPod updater to reload firmware beforehand.

Everything now works fine!
Title: foo_pod - Foobar2000 meets the iPod
Post by: wac on 2005-09-23 18:29:47
Wow!  foo_pod works great!  Thanks for all your hard work!

I have a couple feature requests.  Yes,  never entirely happy we users be...

When transcoding,  the output filename isn't human readable - would it be possible to get it to something similar to what it does for the other files - some kind of truncate of the original filename (replacing the extension in this case)?

Would it also be possible to specify a destination directory - I wouldn't mind having the music files in a more intuitive directory like \music rather than hidden under Ipod_control (but this might be ipod restriction...)  This would also let the filenames be longer before getting truncated

Thanks again for the great program!
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-09-24 02:09:09
Is there another place to find Otto's ipodDB code? 

http://otto.homedns.org:8888/itunes/iPodDB.zip (http://otto.homedns.org:8888/itunes/iPodDB.zip) seems to be down every time I try.

EDIT: http://home.midsouth.rr.com/ottootto/iPodDB.zip (http://home.midsouth.rr.com/ottootto/iPodDB.zip)
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2005-09-25 03:09:54
I'm still hopeing for a .9 version of foo_pod.  Its currently the only componet I need thats not on .9.

I'm hopeing Aero has reconsidered his previous decision about not wanting to do the .8 => .9 porting.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-09-25 22:50:15
Quote
I'm still hopeing for a .9 version of foo_pod.  Its currently the only componet I need thats not on .9.

I'm hopeing Aero has reconsidered his previous decision about not wanting to do the .8 => .9 porting.
[a href="index.php?act=findpost&pid=329402"][{POST_SNAPBACK}][/a]


Or release the source.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-09-29 23:18:46
aero, any news on the next version of foo_pod?  will it be for 0.8.3 or 0.9?  what bugs are you working of fixing righ now?
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-02 05:08:46
anyone?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Cpt. Spandrel on 2005-10-02 09:30:42
Basic rule: don't nag developers of free stuff. Aero made his feelings clear earlier, he'll reconsider if he feels like it and if you don't like what he decides or his lack of response about the issue then go write your own plugin.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2005-10-02 13:17:48
I think that's fair too. My exclamation earlier, that was before I knew Aero had already talked about it...
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-10-02 15:13:39
Quote
Basic rule: don't nag developers of free stuff. Aero made his feelings clear earlier, he'll reconsider if he feels like it and if you don't like what he decides or his lack of response about the issue then go write your own plugin.
[a href="index.php?act=findpost&pid=331004"][{POST_SNAPBACK}][/a]


I disagree.  If development is going to cease, the right thing to do is release the source so someone can pick up the development from where it left off.

It's not in the best interest of the community to have yet another foobar/iPod plugin, effectivley wasting the work Aero/Otto42 have already done.

www.sourceforge.net - maybe it's time.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-10-02 16:32:32
Quote
I disagree.  If development is going to cease, the right thing to do is release the source so someone can pick up the development from where it left off.

It's not in the best interest of the community to have yet another foobar/iPod plugin, effectivley wasting the work Aero/Otto42 have already done.

www.sourceforge.net - maybe it's time.
[a href="index.php?act=findpost&pid=331053"][{POST_SNAPBACK}][/a]
It's Aero's code and his decision.  Annoying him does not seem the best way to get him to do what we'd like.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-10-02 18:09:56
I think Aero's done all that he can do at the moment. The issue here is that the 0.9 beta has been out for a long time now, and users are getting antsy to bring their new plug-in configurations up to the standards of version 0.8.3. The problem still lies in the fact that a very select few of plug-in developers were given access to the new SDK in the beginning, while most plug-in developers were told that they'd have to wait until the official release of version 0.9. I had a feeling back when that happened, that this clamoring for new updates before the official release would happen. All I can add is to be patient. Hopefully, the beta testing period is near an end.
Title: foo_pod - Foobar2000 meets the iPod
Post by: lex_nasa on 2005-10-04 17:35:22
Quote
I think Aero's done all that he can do at the moment. The issue here is that the 0.9 beta has been out for a long time now, and users are getting antsy to bring their new plug-in configurations up to the standards of version 0.8.3. The problem still lies in the fact that a very select few of plug-in developers were given access to the new SDK in the beginning, while most plug-in developers were told that they'd have to wait until the official release of version 0.9. I had a feeling back when that happened, that this clamoring for new updates before the official release would happen. All I can add is to be patient. Hopefully, the beta testing period is near an end.
[a href="index.php?act=findpost&pid=331077"][{POST_SNAPBACK}][/a]

Agree 100%, it's up to Aero what he wants to do, he doesn't have to do any development or release the source code if he doesn't want to, after all none of us have paid a single cent for foo_pod.  We should thank him for the excellent work he has done so far, and be done with it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-05 04:13:38
Version 0.9.9l (http://www.loodi.com/foo_pod.zip) is now available.

This is mainly a maintenance release, which fixes a very serious problem with long metadata strings which would cause the iPod to continously reboot until either the battery died, or the user put the iPod into Disk Mode and removed iTunesDB.  There appears to be a buffer overflow in the iPod firmware where long strings would cause the crash.  I believe this is the problem that clunsey (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&st=1600&p=316301&#) was experiencing, but until I couldn't track down - until today.  I downloaded a podcast that had extensive show notes in the Comment metadata, and this caused the reboot problem.

If you have a database where this is occurring, install the new foo_pod, then run the Maintenance->Update iPod Database command to fix the metadata.

I also included a feature that I promised to ReD-BaRoN way back in July - a slider to adjust the ReplayGain level.  This slider is found on the Advanced tab, and its value is simply added to a song's RG value (e.g. -9dB from the song + +6dB from the slider = -3dB).  If you find that ReplayGain/SoundCheck songs are too quiet, try setting the slider to +3 or +6, and run the Update iPod Database menu item (you just have to do that once to change the songs already on the iPod - future songs will get the adjustment automatically).


From the Readme:
Code: [Select]
Version 0.9.9l - October 4, 2005
*  Fixed a critical problem when dealing with very long metadata strings.  Due to an apparent bug in the iPod firmware, very long strings (longer than 512 characters) would cause the iPod to spontaneously reboot when it attempted to read the database.  If you have an affected iPod, put the iPod into Disk Mode using the controls, then run foo_pod and select Maintenance->Update iPod Database, and foo_pod will correct the problem.
 
*  Added initial support for podcast show notes and data.

*  Added a control for adjusting the ReplayGain/SoundCheck level.  This value is simply added to a song's ReplayGain value, so you can make all songs sound louder or softer.
 
  In effect, this allows you to change the ReplayGain targel level - ReplayGain defaults to a target of 83dB which some people find too quiet.  If you would rather have a level of 89dB, you could adjust the slider to +6dB.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-05 04:39:22
Regarding foo_pod development:

Just looking at the release dates, it is no secret that foo_pod development has (considerably) slowed down.  Due to time constraints, I don't really have a lot of time to work on foo_pod.  Also, the code has reached a state where adding new features is troublesome.  Any future development really needs to start from scratch; starting with the current feature set and doing it right, rather than hacking on the current code.

Development also depends on my motivation level.  Honestly, foo_pod works pretty well for me, and there isn't too much more I need it to do, or do better.  I was pretty excited when the podcasting features were added to the firmware, but since Apple botched the dynamically updating smart playlists feature and hasn't bothered to fix it in over 3 months, that has pretty well killed off that enthusiasm.

I'm also not particuarly interested in Foobar 0.9 at this point.  If there were an SDK available, I'd see how much work would be involved in updating foo_pod.  Admittedly, I haven't followed the 0.9 beta progress, at all, but the last feature set I saw didn't look like it would be worth the trouble of updating foo_pod along with ALL of the other components I use.

As for the foo_pod source code, the most important piece is already open source - the iPodDB library.  I have submitted all of my changes back to Otto, and I will gladly send my working version of iPodDB to anyone who requests it.  The rest is really just the glue that hooks up iPodDB with Foobar.  If someone is interested in starting clean, I am happy to provide any assistance and advice.  Otherwise, any future foo_pod updates are going to be dependant on firmware changes from Apple, major bug fixes, and interesting feature requests.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-05 05:12:04
any possibility of fixing how foo_pod intereacts with the itunes 4.9 database?  that's my only real concern right now

thanks for getting back to us on the true state of things.  i'm sure there are people here who know enough code (is it c++?) to take on the project if you'd like to pass it on. 

i hope 0.9 becomes a really big thing (i still use 0.8.3), it'd be cool to have a big fat update, and hopefully inspiring for you and the other coders of the most popular plugins

thanks again for all you've done
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-05 05:38:38
Quote
any possibility of fixing how foo_pod intereacts with the itunes 4.9 database?  that's my only real concern right now

As soon as Apple fixes their firmware and I start using it on a regular basis, it is very likely that I'll add full 4.9/5.0 support.  There has been a lot of work (http://ipodlinux.org/ITunesDB) done by myself and others in figuring out the new database format, so it should be fairly easy to implement.

I forget to note in the release notes, but I did add one significant 4.9 related fix in 0.9.9l, so you might want to try it again and see if it works a little better than 0.9.9k.
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-10-05 05:54:37
Quote
ReplayGain defaults to a target of 83dB which some people find too quiet.  If you would rather have a level of 89dB, you could adjust the slider to +6dB.

Actually IIRC, the original ReplayGain spec targets 83db, but current ReplayGain implementations target 89db.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-05 06:01:15
Quote
Quote
ReplayGain defaults to a target of 83dB which some people find too quiet.  If you would rather have a level of 89dB, you could adjust the slider to +6dB.

Actually IIRC, the original ReplayGain spec targets 83db, but current ReplayGain implementations target 89db.
[a href="index.php?act=findpost&pid=331747"][{POST_SNAPBACK}][/a]

Yeah, 89dB sounds right.  Thanks for the correction.

In any event, move the slider in the positive direction if you want louder SoundCheck songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-08 19:57:32
i'm having trouble transcoding my flac files to mp3 with foo_pod

i decided to test out the transcoding feature with foo_pod by sending the dire straits song brother in arms.flac to the ipod.  foobar gave me the following error message:

ERROR (foo_podclienc) : Writing to encoder failed
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Music\Lossless\Dire Straits\Brothers In Arms\Dire Straits - Brothers In Arms - 09 - Brothers In Arms.flac
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying C:\Music\Lossless\Dire Straits\Brothers In Arms\Dire Straits - Brothers In Arms - 09 - Brothers In Arms.flac to d:\iPod_Control\Music\F05\ab7d56a6dcfea7c3c..mp3

what's going on?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-09 03:57:28
Quote
i'm having trouble transcoding my flac files to mp3 with foo_pod

i decided to test out the transcoding feature with foo_pod by sending the dire straits song brother in arms.flac to the ipod.  foobar gave me the following error message:

ERROR (foo_podclienc) : Writing to encoder failed
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Music\Lossless\Dire Straits\Brothers In Arms\Dire Straits - Brothers In Arms - 09 - Brothers In Arms.flac
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying C:\Music\Lossless\Dire Straits\Brothers In Arms\Dire Straits - Brothers In Arms - 09 - Brothers In Arms.flac to d:\iPod_Control\Music\F05\ab7d56a6dcfea7c3c..mp3


Are you using one of the MP3 presets?  And do you have lame.exe in the same directory as Foobar2000.exe, or somewhere else in your system PATH?
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-09 06:31:58
Quote
Quote
i'm having trouble transcoding my flac files to mp3 with foo_pod

i decided to test out the transcoding feature with foo_pod by sending the dire straits song brother in arms.flac to the ipod.  foobar gave me the following error message:

ERROR (foo_podclienc) : Writing to encoder failed
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Music\Lossless\Dire Straits\Brothers In Arms\Dire Straits - Brothers In Arms - 09 - Brothers In Arms.flac
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying C:\Music\Lossless\Dire Straits\Brothers In Arms\Dire Straits - Brothers In Arms - 09 - Brothers In Arms.flac to d:\iPod_Control\Music\F05\ab7d56a6dcfea7c3c..mp3


Are you using one of the MP3 presets?  And do you have lame.exe in the same directory as Foobar2000.exe, or somewhere else in your system PATH?
[{POST_SNAPBACK}][/a]
(http://index.php?act=findpost&pid=332865")



i'm using a custom encoder setting, which is pointing to the lame.exe in my EAC folder (3.97b1).  here's a screenshot of the custom encoder settings window:

[a href="http://img251.imageshack.us/my.php?image=noname6jp.jpg](http://img251.imageshack.us/img251/3258/noname6jp.th.jpg)[/url]

the encoder parameters are the recommended ones in the recommended settings thread for lame 3.97b1
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-09 06:44:04
Quote
Quote
Are you using one of the MP3 presets?  And do you have lame.exe in the same directory as Foobar2000.exe, or somewhere else in your system PATH?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=332865")



i'm using a custom encoder setting, which is pointing to the lame.exe in my EAC folder (3.97b1).  here's a screenshot of the custom encoder settings window:

[a href="http://img251.imageshack.us/my.php?image=noname6jp.jpg](http://img251.imageshack.us/img251/3258/noname6jp.th.jpg)[/url]

the encoder parameters are the recommended ones in the recommended settings thread for lame 3.97b1
[a href="index.php?act=findpost&pid=332880"][{POST_SNAPBACK}][/a]

See if it works with one of the LAME presets.  You should also remove the ID3 tagging parameters - they aren't necessary and are probably causing the problem (your recommened parameters are for use with EAC, and aren't completely applicable to foo_pod).

BTW - using LAME 3.97b1, foo_pod's highest quality MP3 preset (--preset fast standard) is the exact same setting as '-V 2 --vbr new'.  If you really want to do a custom preset, use "-V 2 -vbr new - %d" (no quotes) for the parameters.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-10-09 16:06:19
Aero,

I'm interested in your thoughts on these recently posted issues:

http://www.hydrogenaudio.org/forums/index....ndpost&p=327406 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=327406)

http://www.hydrogenaudio.org/forums/index....ndpost&p=327408 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=327408)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bachi-Bouzouk on 2005-10-09 20:38:26
Could someone upload the plug-in on his website or send it by e-mail (if so contact me by PM), because when I try to download it from the link in this post (I have tried several times already  ), I only get a file of 1ko unusable.. Many thanks

Edit: problem solved It came from mozilla and a plug in 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-09 21:19:45
Quote
I'm interested in your thoughts on these recently posted issues:

http://www.hydrogenaudio.org/forums/index....ndpost&p=327406 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=327406)

This is a well known bug in foo_pod (check the archives), and while I fixed it at one point, the fix caused worse problems.  Basically, it is too hard to fix at this point, which is a good indication that foo_pod needs to be rewritten from scratch.

Quote
http://www.hydrogenaudio.org/forums/index....ndpost&p=327408 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=327408)

The way you tell uniqueness of a file to is hash that file after it's been transcoded. The problem that I'm having is that when foo_pod is trying to determine if a file is already on the iPod, it has to transcode the file just to get the hash, and then compare the hash with filenames that are already on the iPod to determine if it's unique or not.

Is there a way you can store the hash (after the initial transcode to put the file on the iPod) with the file, preferably in some foobar2k database, or suboptimally in the comments tag of the file, so that you don't have to transcode the file everytime you want the hash of the resulting transcoded file?

An alternative to that may be to hash the pre-transcoded file, but I think the above would be faster.
[a href="index.php?act=findpost&pid=332982"][{POST_SNAPBACK}][/a]

foo_pod determines the uniqueness of a file that is to be transcoded by computing a MD4 hash of the original file, and using the hash value as the filename on the iPod.  Note that the hash is of the original file, not the transcoded file...

This is a pretty clever approach (if I may say so), because it doesn't change the metadata of the file on the iPod, you don't need to don't something as heavyweight as a database, and since the hash is the filename it is very fast to find matching files on the iPod since you don't have to open every file on the iPod to get the hash.

As far as I can tell, this works fairly reliably.  For example, if you transcode a file onto the iPod, then try transcoding it again, it won't be duplicated.  If you are getting duplicates, then either your original file is changing or there is a bug in foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-10 04:37:36
but why is transcoding not working for me (see above problem)?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-10 05:21:23
Quote
but why is transcoding not working for me (see above problem)?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=333169")

Did you see my [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=332886]above reply[/url]?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2005-10-13 14:25:02
Thought I may want to update you guys with the latest developments in the iPod foray:

The 5G iPod (supporting video playback) is out, and so is iTunes 6.0. Supports internet video downloads.

Title: foo_pod - Foobar2000 meets the iPod
Post by: topdownjimmy on 2005-10-16 19:33:06
this may have been asked before, but i don't want to wade through 69 pages of posts.

often i get the message that the file "Play Count" is corrupt, and that i need to run chkdsk.  why does this happen?

(i did do a search, but searches don't allow you to go directly to the post that contains your search terms.  ...unless there's something i don't know?)

edit: nm, after some more google searching i found that it's a problem with the ipod, not caused by foo_pod.

http://forums.ilounge.com/showthread.php?s=&threadid=73012 (http://forums.ilounge.com/showthread.php?s=&threadid=73012)
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-10-16 21:11:04
Quote
(i did do a search, but searches don't allow you to go directly to the post that contains your search terms.  ...unless there's something i don't know?)[a href="index.php?act=findpost&pid=334872"][{POST_SNAPBACK}][/a]
Use "Search topic" near the bottom left of each page of the post.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rectangle on 2005-10-18 10:24:27
I've been getting an error copying files to my Shuffle (software version 1.1.2) which is happening totally randomly:
Code: [Select]
ERROR (foo_pod) : Error #123 copying C:\Documents and Settings\xxxxxxx\Desktop\Slacker Astronomy Extra\051011-slackextra.mp3 to g:\iPod_Control\Music\F06\051011-slackextra.mp3摯
since using 0.9.9l. All was working OK before. I did a brand new install of Foobar2000 0.8.3 (Special installer) but problem persists. It's always Error #123
Can anyone direct me to a previous version of foo_pod to try?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-18 18:40:37
Quote
I've been getting an error copying files to my Shuffle (software version 1.1.2) which is happening totally randomly:
Code: [Select]
ERROR (foo_pod) : Error #123 copying C:\Documents and Settings\xxxxxxx\Desktop\Slacker Astronomy Extra\051011-slackextra.mp3 to g:\iPod_Control\Music\F06\051011-slackextra.mp3摯
since using 0.9.9l. All was working OK before. I did a brand new install of Foobar2000 0.8.3 (Special installer) but problem persists. It's always Error #123
Can anyone direct me to a previous version of foo_pod to try?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=335371")

I saw that yesterday for the first time, and I'll work on a fix for it shortly.

Almost all previous foo_pod versions are online.  For example, the previous version is [a href="http://www.loodi.com/foo_pod_0.9.9k.zip]http://www.loodi.com/foo_pod_0.9.9k.zip[/url]
Title: foo_pod - Foobar2000 meets the iPod
Post by: rectangle on 2005-10-18 22:39:35
Quote
I saw that yesterday for the first time, and I'll work on a fix for it shortly.

Almost all previous foo_pod versions are online.  For example, the previous version is http://www.loodi.com/foo_pod_0.9.9k.zip (http://www.loodi.com/foo_pod_0.9.9k.zip)
[a href="index.php?act=findpost&pid=335461"][{POST_SNAPBACK}][/a]

Thanks Aero.  0.9.9k is working fine
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bobjua on 2005-10-19 02:16:52
i know this is stupid and i didnt LOOK for an answer, but do i have to have itunes installed?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-19 06:56:08
Quote
i know this is stupid and i didnt LOOK for an answer, but do i have to have itunes installed?
[a href="index.php?act=findpost&pid=335546"][{POST_SNAPBACK}][/a]

No.  This is a nice feature of foo_pod - you can throw it and Foobar on any USB drive (or the iPod itself), and run it from any Windows computer without installing Foobar or iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-19 06:59:02
Version 0.9.9m (http://www.loodi.com/foo_pod.zip) is now available

0.9.9m fixes a fairly serious and intermittant problem with filename corruption.  This is the "Error 123" problem that rectangle (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=335371) was experiencing.  This bug was introduced in the previous version, and while it seems to happen more frequently on iPod Shuffles, it will affect all iPods - so you should upgrade as soon as possible.


From the Readme:
Code: [Select]
Version 0.9.9m - October 19, 2005
*  Fixed a filename corruption bug, introduced in version 0.9.9l.  For some reason, this bug was more visible when sending files to an iPod Shuffle, but it affects all iPod models.
Title: foo_pod - Foobar2000 meets the iPod
Post by: 2Pacalypse on 2005-10-19 17:28:13
im sure this is not a bug but something im doing wrong:

when i add files/playlists to my ipod from foo_pod it all works with no errors and if i bring up the playlist explorer afterwards it shows the new playlists on my ipod.

yet when i eject my ipod and look under playlists there never there.  i have to send a file to my ipod using winamp and then eject my ipod and the file from winamp along with the files/playlists from foo_pod and then visible on my ipod.

4g 60 gb ipod with latest foo_pod
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-10-19 17:58:18
Quote
im sure this is not a bug but something im doing wrong:

when i add files/playlists to my ipod from foo_pod it all works with no errors and if i bring up the playlist explorer afterwards it shows the new playlists on my ipod.

yet when i eject my ipod and look under playlists there never there.  i have to send a file to my ipod using winamp and then eject my ipod and the file from winamp along with the files/playlists from foo_pod and then visible on my ipod.

4g 60 gb ipod with latest foo_pod
[a href="index.php?act=findpost&pid=335706"][{POST_SNAPBACK}][/a]


I've seen similar behavior with my 4G 60GB too.  I'm pretty sure it's foo_pod, but haven't been able to track down what the issue is.  Are you doing transcoding?
Title: foo_pod - Foobar2000 meets the iPod
Post by: 2Pacalypse on 2005-10-19 20:26:10
occasionally but even if i send a playlist with 2 mp3's its not untill another app has transferred a song that my ipod will display the playlist.

made a mistake it above post its a 4gen 40GB (not 60)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bobjua on 2005-10-20 05:20:51
Code: [Select]
ERROR (foo_pod) : iPod Shuffle Is Full
ERROR (foo_pod) : Insufficient free space (0 kB) to copy D:\Music - Metal\Catamenia - 2003 - Chaos Born\Catamenia - Chaos Born - 01 - Kuolon Tanssi.mp3 (10847 kB)
ERROR (foo_pod) : Insufficient free space (0 kB) to copy D:\Music - Metal\Catamenia - 2003 - Chaos Born\Catamenia - Chaos Born - 01 - Kuolon Tanssi.mp3 (10847 kB)


i have an iPod nano, not shuffle.?
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2005-10-20 15:18:56
Quote
Code: [Select]
ERROR (foo_pod) : iPod Shuffle Is Full
ERROR (foo_pod) : Insufficient free space (0 kB) to copy D:\Music - Metal\Catamenia - 2003 - Chaos Born\Catamenia - Chaos Born - 01 - Kuolon Tanssi.mp3 (10847 kB)
ERROR (foo_pod) : Insufficient free space (0 kB) to copy D:\Music - Metal\Catamenia - 2003 - Chaos Born\Catamenia - Chaos Born - 01 - Kuolon Tanssi.mp3 (10847 kB)


i have an iPod nano, not shuffle.?
[a href="index.php?act=findpost&pid=335843"][{POST_SNAPBACK}][/a]

So, what is the problem, the "Name" or the 'Insufficient free space" or both?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-20 18:47:18
Quote
Code: [Select]
ERROR (foo_pod) : iPod Shuffle Is Full
ERROR (foo_pod) : Insufficient free space (0 kB) to copy D:\Music - Metal\Catamenia - 2003 - Chaos Born\Catamenia - Chaos Born - 01 - Kuolon Tanssi.mp3 (10847 kB)
ERROR (foo_pod) : Insufficient free space (0 kB) to copy D:\Music - Metal\Catamenia - 2003 - Chaos Born\Catamenia - Chaos Born - 01 - Kuolon Tanssi.mp3 (10847 kB)


i have an iPod nano, not shuffle.?
[a href="index.php?act=findpost&pid=335843"][{POST_SNAPBACK}][/a]

Don't worry - foo_pod is physically incapable of transmuting your iPod Nano into an iPod Shuffle. 

The message is from the pre-Nano days, where anything smaller than 4GB could be assumed to be a Shuffle.  I have a better way to detect iPod models, so I'll see about removing that text.
Title: foo_pod - Foobar2000 meets the iPod
Post by: stevekim on 2005-10-21 05:13:36
Aero:

Any chance you could incorporate a method like strftime() for translating "last played" times to a human-readable format?  We mentioned it briefly many moons ago (#1433)...
Quote
Edit: If it would be useful, I could add another metadata item that could be formatted according to a foo_pod preference item.  Something like a strftime() (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp) format string?
[a href="index.php?act=findpost&pid=302689"][{POST_SNAPBACK}][/a]


Thanks,
Steve
Title: foo_pod - Foobar2000 meets the iPod
Post by: oscar on 2005-10-22 13:49:41
Sorry to interupt your comely conversation...but I am having inexplicable trouble using foo_pod on win98se with foobar 0.83


i get this error upon running foober (in le console):

"ERROR (CORE) : Failed to load DLL: foo_pod.dll, reason: Unable to load DLL."


I have downloaded Msvcp60.dll and msvcr71.dll (I remember having truble with another component before that needed them... I have extracted them to the components folder (I am that far past noob at least )


Is there any particular reason this could happen or am I just a fool


ta
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-23 00:39:04
Quote
Any chance you could incorporate a method like strftime() for translating "last played" times to a human-readable format?  We mentioned it briefly many moons ago (#1433)...
Quote
Edit: If it would be useful, I could add another metadata item that could be formatted according to a foo_pod preference item.  Something like a strftime() (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_strftime.2c_.wcsftime.asp) format string?
[a href="index.php?act=findpost&pid=302689"][{POST_SNAPBACK}][/a]

[a href="index.php?act=findpost&pid=336144"][{POST_SNAPBACK}][/a]

Yeah, I'll try to squeeze that onto the Advanced tab or something for the next release.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-23 00:44:22
Quote
Sorry to interupt your comely conversation...but I am having inexplicable trouble using foo_pod on win98se with foobar 0.83
[a href="index.php?act=findpost&pid=336527"][{POST_SNAPBACK}][/a]

Windows 98 is the problem - foo_pod only works on Windows 2000 or better.  I posted some time ago and asked if anyone was interested in a Windows 98 version, and I never received any responses. 

As I no longer have any Windows 98 machines to test or build on, I will not be supporting Windows 98 in the future.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-23 14:57:43
Quote
Windows 98 is the problem - foo_pod only works on Windows 2000 or better.

I have the exactly same problem as oscar has, but I'm using XP Pro (english) SP2 and Foobar 0.8.3:

INFO (CORE) : startup time: 375 ms
ERROR (CORE) : Failed to load DLL: foo_pod.dll, reason: Unable to load DLL.
ERROR (CORE) : Failed to load DLL: foo_podclienc.dll, reason: Unable to load DLL.
ERROR (CORE) : Failed to load DLL: foo_podtranscoder.dll, reason: Unable to load DLL.

I've tryed 3 different versions of foo_pod including the newest 0.9.9m. Could the files be corrupted? I used winzip 8.1 SR-1 for extraction.


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-24 16:00:28
I have now downloaded foobar 0.8.3 normal and special edition, foo_pod 0.9.9 l,k and m on two different computers (Intel and AMD, both XP SP2) via two different ISP's. Installed and uninstalled all the different versions of both foobar and foo_pod. I have extracted foo_pod.dll, foo_podclienc.dll and foo_podtranscoder.dll to D:\Program Files\foobar2000\components folder according to the foo_pod readme (what is the use of msvcp71.dll? Also tryed to extract that one to the components folder). Every time I get the same error message.

I have an iPod shuffle waiting... Please, somebody help me!


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-24 18:00:15
Quote
I have now downloaded foobar 0.8.3 normal and special edition, foo_pod 0.9.9 l,k and m on two different computers (Intel and AMD, both XP SP2) via two different ISP's. Installed and uninstalled all the different versions of both foobar and foo_pod. I have extracted foo_pod.dll, foo_podclienc.dll and foo_podtranscoder.dll to D:\Program Files\foobar2000\components folder according to the foo_pod readme (what is the use of msvcp71.dll? Also tryed to extract that one to the components folder). Every time I get the same error message.
[a href="index.php?act=findpost&pid=336953"][{POST_SNAPBACK}][/a]

Try moving mscvp71.dll to the same directory as Foobar2000.exe.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-25 02:43:10
Quote
Try moving mscvp71.dll to the same directory as Foobar2000.exe.
[a href="index.php?act=findpost&pid=336974"][{POST_SNAPBACK}][/a]

No effect. Still have the same error messages.

I have Macdrive installed, wich enables Windows to read/write (external) Mac HFS(+) formatted HD's. I've disabled Macdrive but it didn't help. Could this still be a problem even if it is disabled? I have used my iPod on both PC and Mac with iTunes.


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: oscar on 2005-10-25 04:15:27
It shouldn't matter what you use with your ipod, the dll should load regardless of whether your ipod is actually connected to the pc or not (unless i am gravely mistaken).


Also does anyone know where i can get ottos itunesdb classes from...I tried http://otto.homedns.org:8888/iTunes/iPodDB.zip (http://otto.homedns.org:8888/iTunes/iPodDB.zip) but it timed out (tried for the last couple of days actually).
edit: they url is wrong  should be http://otto.homedns.org/iTunes/iPodDB.zip (http://otto.homedns.org/iTunes/iPodDB.zip)

I can't make head or tail of it going from some stuff i've found (my db doesnt even look anything like teh way it is described in these docs :'(
Title: foo_pod - Foobar2000 meets the iPod
Post by: Tsphere on 2005-10-25 13:30:47
Hi,
I had a 20g 4g ipod die on me about two months ago and it had been replaced by a new one.

Recently, I'm getting the same annoyances I was getting with the previous one:
Skipping on songs (which I have to get to manually by using the foreward button), and last night the ipods display got stuck while a song played and I didnt manage to unlock it and restart until after it had finished.

My question is:
what should I do now?
Format it? defrag it? fix it somehow?

Im sure many of you have had these issues, whats the solution?

Also, I saw there is a new firmware available, what do you think of it?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-25 22:58:20
Quote
Hi,
I had a 20g 4g ipod die on me about two months ago and it had been replaced by a new one.

Recently, I'm getting the same annoyances I was getting with the previous one:
Skipping on songs (which I have to get to manually by using the foreward button), and last night the ipods display got stuck while a song played and I didnt manage to unlock it and restart until after it had finished.

My question is:
what should I do now?
Format it? defrag it? fix it somehow?

Im sure many of you have had these issues, whats the solution?

In my experience, the skipped songs is mainly caused by the delay in spinning up or locating a song on the hard drive, and iPod timing out and going to the next one.

Defragging might help, but it is mostly a design flaw in the older iPods.  I have had a 3G, 4G, and iPod Photo, and I experienced many more skipped songs with the 3G and 4G models. 

As for the stuck UI, that happens occassionally, but I don't know what causes it (other than generally buggyness).  Doing a soft reset (hold down the Menu and Center buttons for a few seconds) might help clear things up.


Quote
Also, I saw there is a new firmware available, what do you think of it?
[a href="index.php?act=findpost&pid=337141"][{POST_SNAPBACK}][/a]

Avoid it like the plague, IMHO.  The latest firmware for 3G, 4G, and iPod Photo breaks dynamically updating smart playlists, and seemed somewhat buggier (lockups and crash/resets).  Unfortuantely, this has been broken for several months and 2-3 firmware releases, and Apple hasn't bothered to fix it, despite widespread outrage.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-26 03:44:16
what is the latest firmware that a 3g 15gig ipod user should have installed?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-27 14:24:58
Quote
Try moving mscvp71.dll to the same directory as Foobar2000.exe.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=336974")

The readme file does not say anything about this file, why? What is the use of this file? Tryed to put it in the components folder and foobar folder but nothing works.

I formatted one of my computer and installed a clean Win XP pro SP1. Installed only Foobar 2000 and foo_pod and I still get the same error messages. I am 99% convinced that the problem is not in my computer but in the software. I downloaded Foobar 2000 from here: [a href="http://www.foobar2000.org/foobar2000_special.exe]http://www.foobar2000.org/foobar2000_special.exe[/url] and foo_pod from here: http://www.loodi.com/foo_pod.zip (http://www.loodi.com/foo_pod.zip).

Could someone please try these versions if you get the same error messages? Is the Foobar version too new even if it is 0.8.3???

Please someone help me, this problem is driving me nuts!


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-10-27 16:05:40
Well I'm pretty sure you're missing DLL's somewhere.  I'm not sure how foo_pod is built, but try installing the .NET Framework.  As I understand it, foo_pod shouldn't need it as it's unmanaged code, but install it anywhere and report back.  Oh, and get SP2 on that machine quick smart.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-28 02:45:01
Quote
Well I'm pretty sure you're missing DLL's somewhere.  I'm not sure how foo_pod is built, but try installing the .NET Framework.  As I understand it, foo_pod shouldn't need it as it's unmanaged code, but install it anywhere and report back.  Oh, and get SP2 on that machine quick smart.
[a href="index.php?act=findpost&pid=337610"][{POST_SNAPBACK}][/a]

I don't understand how I can miss any DLL's as I manually extract them to the components folder? If i take the foo_pod DLL's away from the components folder i don't get the error messages anymore. Obviously Foobar finds the DLL's when they are in the components folder but can't load them correctly.

NET framework is installed now because of another program (Cutterman) that needed it. No help there. The computer wich I formatted is standalone and not connected to internet or any other computer at any time. I only do video/sound editing on that computer so SP2 is not needed.

Where can I find older/other versions of Foobar 2000?


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: kl33per on 2005-10-28 03:24:40
No your not missing any foo_pod dll's of foobar dll's, but  other windows dll's, at least that would be my guess.  Have you got the msvcr71.dll.  Note that it is different than the mscvp71.dll file.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-28 12:56:21
Quote
No your not missing any foo_pod dll's of foobar dll's, but  other windows dll's, at least that would be my guess.  Have you got the msvcr71.dll.  Note that it is different than the mscvp71.dll file.
[a href="index.php?act=findpost&pid=337731"][{POST_SNAPBACK}][/a]

msvcr71.dll found in: D:\Program Files\Radeon Omega Drivers v2.5.58\AtiTool.


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: anza on 2005-10-28 14:41:11
If that directory is not in your %path%, it doesn't help, as foobar can't find it. Try copying the file to a directory in your %path% (ie. c:\windows\system32).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Kim on 2005-10-28 15:50:17
Quote
If that directory is not in your %path%, it doesn't help, as foobar can't find it. Try copying the file to a directory in your %path% (ie. c:\windows\system32).
[a href="index.php?act=findpost&pid=337847"][{POST_SNAPBACK}][/a]

Bingo! Thanks "kl33per" and "anza"! I copied msvcr71.dll to D:\WINDOWS\system32 and now i get the foo_pod option under the components tab in Foobar.

Now I have to try and transcode flac->mp3 on the fly into my iPod. Thanks again guys!


Kim
Title: foo_pod - Foobar2000 meets the iPod
Post by: WellPaidScientist on 2005-10-30 01:22:31
Will the new 5G ipod (ie ipod video) work with foo_pod?  As I understand it, foo_pod only works with itunes 4.8 database files, but the 5G ipod ships with itunes 6 so...  I'm not really sure what that would mean.

I'm getting the 60GB ipod 5G as soon as they are available here in Canada (within a couple of weeks it looks like).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-30 03:22:09
Quote
Will the new 5G ipod (ie ipod video) work with foo_pod?  As I understand it, foo_pod only works with itunes 4.8 database files, but the 5G ipod ships with itunes 6 so...  I'm not really sure what that would mean.

I'm getting the 60GB ipod 5G as soon as they are available here in Canada (within a couple of weeks it looks like).
[a href="index.php?act=findpost&pid=338171"][{POST_SNAPBACK}][/a]

Based on my limited testing, iTunes 4.7 format databases (the kind that foo_pod typically writes) will work wijth newer firmware.  You won't be able to use the newer firmware features, like the special podcast features, but otherwise, you should be fine.  And if Apple ever fixes the firmware for older iPods, I'll probably add more complete support for the newer iTunes versions as well.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-30 04:39:25
sorry to reiterate my quesiton from earlier on, but it's been lost in the conversation that has arisen since. 

which firmware is best for 3g ipod owners (i have the 15gb 3g version) who want to use foo_pod?  does anyone have a link to it? 

also, does anyone have a link to itunes 4.8 so i can have the ipod organized so that it will work best with foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-30 06:23:20
Quote
sorry to reiterate my quesiton from earlier on, but it's been lost in the conversation that has arisen since. 

which firmware is best for 3g ipod owners (i have the 15gb 3g version) who want to use foo_pod?  does anyone have a link to it? 

also, does anyone have a link to itunes 4.8 so i can have the ipod organized so that it will work best with foo_pod?
[a href="index.php?act=findpost&pid=338217"][{POST_SNAPBACK}][/a]

In general, the last good updater was the 2005-03-23 Updater, which has firmware version 2.3 for the 3G.  That looks like that is the same version contained in the latest firmware, so I guess the 3G is probably not affected.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-10-31 01:54:22
Quote
Quote
sorry to reiterate my quesiton from earlier on, but it's been lost in the conversation that has arisen since. 

which firmware is best for 3g ipod owners (i have the 15gb 3g version) who want to use foo_pod?  does anyone have a link to it? 

also, does anyone have a link to itunes 4.8 so i can have the ipod organized so that it will work best with foo_pod?
[a href="index.php?act=findpost&pid=338217"][{POST_SNAPBACK}][/a]

In general, the last good updater was the 2005-03-23 Updater, which has firmware version 2.3 for the 3G.  That looks like that is the same version contained in the latest firmware, so I guess the 3G is probably not affected.
[a href="index.php?act=findpost&pid=338227"][{POST_SNAPBACK}][/a]



k thx

anyone have itunes 4.8?  i can't find it on google, onl links to version 6 on apple site
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-10-31 03:20:48
Quote
anyone have itunes 4.8?  i can't find it on google, onl links to version 6 on apple site
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=338403")

Why do you want iTunes 4.8?  iTunes 4.7 is the most compatable with foo_pod (or vice versa), so if that is what you want, you want version 4.7.  Otherwise, I don't know why you wouldn't want the latest version of iTunes.

You will have to look pretty hard to find old versions of iTunes - Apple actively discourages 3rd party sites from distributing any version of iTunes (e.g. [a href="http://www.oldversion.com/program.php?n=itunes]OldVersion.com[/url]).
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-10-31 23:07:14
Smartplaylists that use ratings....can someone give me a quick tutorial on what I need to do this in foobar and foo_pod?

Thanks!

Edit: Made the request more specific.
Title: foo_pod - Foobar2000 meets the iPod
Post by: macfly on 2005-11-01 09:08:47
Quote
Quote
sorry to reiterate my quesiton from earlier on, but it's been lost in the conversation that has arisen since. 

which firmware is best for 3g ipod owners (i have the 15gb 3g version) who want to use foo_pod?  does anyone have a link to it? 

also, does anyone have a link to itunes 4.8 so i can have the ipod organized so that it will work best with foo_pod?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=338217")

In general, the last good updater was the 2005-03-23 Updater, which has firmware version 2.3 for the 3G.  That looks like that is the same version contained in the latest firmware, so I guess the 3G is probably not affected.
[a href="index.php?act=findpost&pid=338227"][{POST_SNAPBACK}][/a]


i did a little bit of hunting, and found [a href="http://www.touslesdrivers.com/index.php?v_page=26&v_code=67]this french driver download site[/url] which hosts all of the old updates for Windows iPods (including 2005-03-23).

still trying to find a link to download iTunes 4.7.1...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Storm on 2005-11-02 02:51:09
Wasn't there a 4.7.2? Then anyone who wants to host 4.7 will probably only have 4.7.2...

What's your problem, deleted the uninstall files and can't get rid of the old version? Or you just wanna downgrade?
Title: foo_pod - Foobar2000 meets the iPod
Post by: macfly on 2005-11-02 19:46:50
Quote
Wasn't there a 4.7.2? Then anyone who wants to host 4.7 will probably only have 4.7.2...

What's your problem, deleted the uninstall files and can't get rid of the old version? Or you just wanna downgrade?
[a href="index.php?act=findpost&pid=338876"][{POST_SNAPBACK}][/a]


hm, i guess i didn't know there was a 4.7.2. i wanted to downgrade, so that i could safely use both iTunes and foo_pod to add songs to the iPod. this way i wouldn't have to show my girlfriend another set of instructions on how to put her mp3s on there, since she already knows her way around iTunes a little bit.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-11-03 04:59:32
i guess 4.7.1 is what i want then, not 4.8  i'll look for that, too
Title: foo_pod - Foobar2000 meets the iPod
Post by: toddyarling on 2005-11-03 16:53:26
Hi

foo_pod isn't adding the genre's at all AFAIK to teh ipod Music - Genre section and also, in the playlist section of the ipod, are a whole bunch of  playlists called "Podcasts" for every file I copied over.

I'm using latest itunes and also have ran yamipod, which might have something to do with it.

Oh yeah, and now iTunes doesn't see any music on the iPod, altho it does see the playlists, but they show up on the Ipod itself.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-04 04:42:33
Quote
foo_pod isn't adding the genre's at all AFAIK to teh ipod Music - Genre section and also, in the playlist section of the ipod, are a whole bunch of  playlists called "Podcasts" for every file I copied over.

I'm using latest itunes and also have ran yamipod, which might have something to do with it.

Oh yeah, and now iTunes doesn't see any music on the iPod, altho it does see the playlists, but they show up on the Ipod itself.
[a href="index.php?act=findpost&pid=339309"][{POST_SNAPBACK}][/a]

foo_pod is not currently completely compatible with iPod databases created by iTunes 4.9 and higher (mainly due to the fact that I don't have an iPod that works well with the new firmware).  You can try setting the database format to 4.9 (Advanced tab of the foo_pod Preferences) and see if that helps.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-11-04 04:47:55
Quote
foo_pod is not currently completely compatible with iPod databases created by iTunes 4.9 and higher (mainly due to the fact that I don't have an iPod that works well with the new firmware).  You can try setting the database format to 4.9 (Advanced tab of the foo_pod Preferences) and see if that helps.
[a href="index.php?act=findpost&pid=339432"][{POST_SNAPBACK}][/a]


so, why isn't 4.8 the best version to use with foo_pod, then, instead of 4.7.1?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-04 04:56:32
Quote
Quote
foo_pod is not currently completely compatible with iPod databases created by iTunes 4.9 and higher (mainly due to the fact that I don't have an iPod that works well with the new firmware).  You can try setting the database format to 4.9 (Advanced tab of the foo_pod Preferences) and see if that helps.
[a href="index.php?act=findpost&pid=339432"][{POST_SNAPBACK}][/a]


so, why isn't 4.8 the best version to use with foo_pod, then, instead of 4.7.1?
[a href="index.php?act=findpost&pid=339433"][{POST_SNAPBACK}][/a]

You're correct - I thought the database changed between 4.7 and 4.8, but in fact, they are identical.  4.9 is when things changed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-11-06 21:38:26
i now have itunes 4.8 installed, i've formatted the ipod with the latest firmware (my ipod is 15gig 3g, so it's firmware 2.3), opened it in itunes to give it the old database format, and then i closed itunes and opened the ipod with foo_pod.

i still cannot transcode my flac files when they are sent to the ipod.  i get the following messages in the console:
Code: [Select]
ERROR (foo_podclienc) : Writing to encoder failed
ERROR (foo_podclienc) : Error writing to pipe
ERROR (foo_podclienc) : Encoding failed - transcoded file does not exist
ERROR (foo_podtranscoder) : Conversion failed.
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Music\Various\O Brother Where Art Thou\04 - Alison Krauss - Down In The River To Pray.flac
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying C:\Music\Various\O Brother Where Art Thou\04 - Alison Krauss - Down In The River To Pray.flac to d:\iPod_Control\Music\F92\154a7b8f187d42436..mp3

what settings should i have in the foo_pod preferences?  i want to use lame 3.97beta1 with -V2 --vbr-new.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nonchalant on 2005-11-07 01:44:27
hi... i have a 5g video ipod and have been using foo_pod for the past couple of days... its great (both of them)! i had a couple of problems with it though, im guessing because of the new model. the first one is with sending playlists; sometimes they become unsorted on the ipod even though its in order on foobar. and the second is copying mp3's directly onto the ipod: i can get foo_pod to rebuild the itunesDB so its visible on the ipod but when it attempts to play, it just skips through each song in the playlist as if it was 0 seconds long (although the correct song length is shown). am i doing something wrong here? thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-11-07 23:21:33
ok, so i got a lame encoding profile for foo_pod (at least, it works with diskwriter). 

whenever i try to send a flac file to the ipod with foo_pod, though, a second process of foobar opens in the task manager and both of these processes stop responding.  what's wrong with foo_pod?  i use foobar 0.8.3, foo_pod 0.9.9m, and have a 3g ipod with itunes 4.8 installed (foo_pod is using the 4.8 databse mode) and ipod updater 2005-10-12 installed (ipod firmware 2.3 for me)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-08 05:45:00
Quote
hi... i have a 5g video ipod and have been using foo_pod for the past couple of days... its great (both of them)! i had a couple of problems with it though, im guessing because of the new model. the first one is with sending playlists; sometimes they become unsorted on the ipod even though its in order on foobar. and the second is copying mp3's directly onto the ipod: i can get foo_pod to rebuild the itunesDB so its visible on the ipod but when it attempts to play, it just skips through each song in the playlist as if it was 0 seconds long (although the correct song length is shown). am i doing something wrong here? thanks!
[a href="index.php?act=findpost&pid=340128"][{POST_SNAPBACK}][/a]

I'm not sure what the playlist sorting problem is - I haven't seen anything like that on my iPods, so it could be something that has changed on the 5G.

As for the rebuilding the iTunesDB, it could be a filename length problem.  Different iPod models have different maximum filename length (note that this length includes the filename + the directory name(s)).  From my experience, this maximum length has gotten shorter with newer iPods, so it is possible that the 5G can only play songs that have the filename length that iTunes uses.

If you want to do a test, copy a song called "a.mp3" to iPod_Control/Music/F00/a.mp3, rebuild the database, and see if it plays.  If that works but your other songs don't, it is probably a filename length issue.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-08 05:45:31
Quote
ok, so i got a lame encoding profile for foo_pod (at least, it works with diskwriter). 

whenever i try to send a flac file to the ipod with foo_pod, though, a second process of foobar opens in the task manager and both of these processes stop responding.  what's wrong with foo_pod?  i use foobar 0.8.3, foo_pod 0.9.9m, and have a 3g ipod with itunes 4.8 installed (foo_pod is using the 4.8 databse mode) and ipod updater 2005-10-12 installed (ipod firmware 2.3 for me)
[a href="index.php?act=findpost&pid=340345"][{POST_SNAPBACK}][/a]

Have you tried any of the MP3 presets?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Marino13 on 2005-11-08 21:30:47
Quote
Quote
Quote
sorry to reiterate my quesiton from earlier on, but it's been lost in the conversation that has arisen since. 

which firmware is best for 3g ipod owners (i have the 15gb 3g version) who want to use foo_pod?  does anyone have a link to it? 

also, does anyone have a link to itunes 4.8 so i can have the ipod organized so that it will work best with foo_pod?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=338217")

In general, the last good updater was the 2005-03-23 Updater, which has firmware version 2.3 for the 3G.  That looks like that is the same version contained in the latest firmware, so I guess the 3G is probably not affected.
[a href="index.php?act=findpost&pid=338227"][{POST_SNAPBACK}][/a]



k thx

anyone have itunes 4.8?  i can't find it on google, onl links to version 6 on apple site
[a href="index.php?act=findpost&pid=338403"][{POST_SNAPBACK}][/a]



[a href="http://stuff.techwhack.com/index.php?category_name=music-utilities/&paged=2]http://stuff.techwhack.com/index.php?categ...lities/&paged=2[/url]

I found 4.8 at this site after about an hour of searching.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-11-09 12:05:04
I have the video ipod also, and you're right it rocks. I didn't think I'd bother watching movies on it because it seemed there was no easy way to rip DVDs to mp4 video and because I thought the screen would suck to watch. - Itunes certainly won't let you rip dvds [can you imagine if the original itunes hadn't allowed you to rip audio cds to an ipod - I don't know wtf apple thinks its doing], but if anyones interested nero recode does a really good job (and fast!) of coding dvds for watching on an ipod (just make sure you tick quicktime compatibility). Also - have you noticed how the 5G ipod SOUNDS better ? It has bottom end in spades !

Anyway.  0.9.9m works just fine for loading music on the 5G, but unfortunately all your songs ALSO appear under the videos section in the ipod. You also can't use foopod to load movies to the ipod (they play back audio only if you try). So as a work-flow, I can load all my music with foo_pod and then afterwards load my movies with itunes 6.0.1 (Anyone know how different the 6.0.1 DB format is from 4.9 - is it just the movies support?). Any plans to update foo_pod so it simply knows what movies are, and how to put them on properly and how not to mess them up in a database rebuild, which it seems to (fair enough !! - I know foobar doesn't play pictures). To be honest I've steered clear of database rebuilding for a while, it was always this that sent my 60gig photo into a perpetual reboot, did I read that this bug was fixed ? (I wasn't really clear whether it was just fixed for database build, or rebuild too). Anyway. Foopod is still rockin'; keep up the good work !
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-10 02:44:54
Quote
Anyway.  0.9.9m works just fine for loading music on the 5G, but unfortunately all your songs ALSO appear under the videos section in the ipod. You also can't use foopod to load movies to the ipod (they play back audio only if you

Thanks for the report.  Someone recently documented a flag in the new database format that controls where files appear.  Unfortunately, Apple choose the value '0' to mean to put it in both places, and since foo_pod doesn't know what this flag does, it writes a '0'. 


Quote
try). So as a work-flow, I can load all my music with foo_pod and then afterwards load my movies with itunes 6.0.1 (Anyone know how different the 6.0.1 DB format is from 4.9 - is it just the movies support?). Any plans to update foo_pod so it simply knows what movies are, and how to put them on properly and how not to mess them up in a database rebuild, which it seems to (fair enough !! - I know foobar doesn't play pictures).

I don't have a 5G iPod, and currently don't have any plans to buy one, so it would be difficult to add support for movies.  If I bought one, I would definitely look into adding video support.  Although since Foobar doesn't support video, I'm not sure how that would work - it would probably need to be a separate application.


Quote
To be honest I've steered clear of database rebuilding for a while, it was always this that sent my 60gig photo into a perpetual reboot, did I read that this bug was fixed ? (I wasn't really clear whether it was just fixed for database build, or rebuild too). Anyway. Foopod is still rockin'; keep up the good work !
[a href="index.php?act=findpost&pid=340711"][{POST_SNAPBACK}][/a]

Thanks!  I fixed the bug that you reported that caused the reboot problem, so the latest foo_pod should be fine to rebuild the database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-11-10 19:27:58
<delete>
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2005-11-10 19:31:35
Quote
I don't have a 5G iPod, and currently don't have any plans to buy one, so it would be difficult to add support for movies.  If I bought one, I would definitely look into adding video support.  Although since Foobar doesn't support video, I'm not sure how that would work - it would probably need to be a separate application.


Movies that you create or download for ipod playback, all seem to have the suffix .mp4.  If you load them into foobar, it is quite happy to play the audio track from them. If you tell it to load this file to the ipod, it plays back on the ipod audio-only, but nothing in the file data has changed, so presumably the video data is still there untouched, but the file is not shown in the database correctly for the pod to know its supposed to be looking for video.  I can think of two ideas. 1) a tickbox to tell foo_pod that anything with .mp4 suffix is a video file (no good if you have audio only mp4s, although aren't they usually called .m4a ???).  2) You have a right-click menu option that says, 'load selected files to ipod AS VIDEO' - once the video database format is documented, then option 2 should be easy enough to implement, no ? What was the word on an album-art feature for foo_pod too ? Did you say something about paypal contributions at one point ? I'd rather give you my money than Mediafour or the Anapod people !

Anyway just some ideas. Thanks again.

cheers

Clunesy
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-10 19:45:53
Quote
Movies that you create or download for ipod playback, all seem to have the suffix .mp4.  If you load them into foobar, it is quite happy to play the audio track from them. If you tell it to load this file to the ipod, it plays back on the ipod audio-only, but nothing in the file data has changed, so presumably the video data is still there untouched, but the file is not shown in the database correctly for the pod to know its supposed to be looking for video.  I can think of two ideas. 1) a tickbox to tell foo_pod that anything with .mp4 suffix is a video file (no good if you have audio only mp4s, although aren't they usually called .m4a ???).  2) You have a right-click menu option that says, 'load selected files to ipod AS VIDEO' - once the video database format is documented, then option 2 should be easy enough to implement, no?

Interesting.  I'm not sure how to make this work on the 5G without more information about the database.  If the file is transferred directly, then it might be as easy as just setting the video flag in the new database.  But I bet there is some other data (video length, resolution, etc.) required to make it play on the iPod. 

One quasi-related thing is that if you use the WMA Foobar component, you can load .wmv (Windows Media Video files) and transcode them into MP3/AAC audio format for playback on the iPod.


Quote
What was the word on an album-art feature for foo_pod too ?

I believe there has been some more information on the album art database format, but I haven't looked into it lately.  I'd definitely like to add some album art support (and Photos, as well), and I have gone through and download artwork for almost all of my music, so I have some extra incentive to get it working.


Quote
Did you say something about paypal contributions at one point ? I'd rather give you my money than Mediafour or the Anapod people !

There is some information in the foo_pod Readme.txt file, although I haven't really pushed it.  I have received a grand total of 2 contributions, so I'm still a little ways away from 5G kind of money...
Title: foo_pod - Foobar2000 meets the iPod
Post by: rexy on 2005-11-10 22:55:29
Quote
Quote
What was the word on an album-art feature for foo_pod too ?

I believe there has been some more information on the album art database format, but I haven't looked into it lately.  I'd definitely like to add some album art support (and Photos, as well), and I have gone through and download artwork for almost all of my music, so I have some extra incentive to get it working.


Feel free to use my album art finder code from foo_uie_albumart to find the image to embed into the file transfered so that there is uniformity between foobar and the iPod. Too bad I'm still with my aged G3 40 gigger, but if I ever get a new iPod, it would be very nice to have an album art feature in foo_pod.
Keep up the great work, foo_pod is invaluable!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ryeosborne on 2005-11-12 01:26:39
[span style='font-size:14pt;line-height:100%']HELP![/span]

I am sure this has been answered elsewhere countless times probably, but I am having some foo_pod issues. I have the new version...this is my first time trying the program. I plugged in the iPod and started transferring files, and then when to open the iPod in iTunes to edit and create playlists, and iTunes recognizes my iPod but doesn't display the songs. It knows they are there because the slider gets really small when in the main "Library" folder, indicating a large number of tracks, and it gets smaller in the various playlists. But it looks as if the iPod is completely empty. Just the white and light blue bars appear, making the Library look empty. What's wrong? Did foo_pod automatically edit my database making it impossible to use with iTunes? HELP!
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-11-12 08:07:13
I think you should at least tell us iPod model, firmware release, foo_pod version and iTunes version.

Also read 1 or 2 pages back in this thread to find some useful information.

HTH.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: hunted on 2005-11-12 08:40:45
Quote
I think you should at least tell us iPod model, firmware release, foo_pod version and iTunes version.

Also read 1 or 2 pages back in this thread to find some useful information.

HTH.

Alessandro
[a href="index.php?act=findpost&pid=341255"][{POST_SNAPBACK}][/a]

Also note the searchbox at the bottom of the thread that allows you to search the thread.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ryeosborne on 2005-11-12 16:55:20
Quote
Also note the searchbox at the bottom of the thread that allows you to search the thread.
[a href="index.php?act=findpost&pid=341261"][{POST_SNAPBACK}][/a]



Really? No kiddin!

Anyways...the iPod is a 4th Gen 40gig, the firmware is the most recent, the foo_pod version is the most recent, and the iTunes version is the moth recent.

Thanks to anyone who can help. I think it might be a problem with the iPodDB file. Foobar can read it, iTunes can't...it shows that there is space taken up on the iPod (says 3 gigs free), but won't show what is taking up that space. It won't show the songs.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2005-11-13 17:03:50
Quote
the iPod is a 4th Gen 40gig, the firmware is the most recent, the foo_pod version is the most recent, and the iTunes version is the moth recent.
http://www.hydrogenaudio.org/forums/index....ndpost&p=339432 (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=339432)

HTH.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: corganzero0 on 2005-11-13 20:20:07
Does this plugin work for other MP3 players, or just iPod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: nonchalant on 2005-11-13 20:47:22
hey thanks for this... I found out that the "tracknumber" ID3 tag was not updated leading to the out-of-sequence issue...  well from what ive seen now v0.9.9m works well with the 5G ipod at least music wise anyway. thanks for the great tool!

Quote
I'm not sure what the playlist sorting problem is - I haven't seen anything like that on my iPods, so it could be something that has changed on the 5G.

As for the rebuilding the iTunesDB, it could be a filename length problem.  Different iPod models have different maximum filename length (note that this length includes the filename + the directory name(s)).  From my experience, this maximum length has gotten shorter with newer iPods, so it is possible that the 5G can only play songs that have the filename length that iTunes uses.

If you want to do a test, copy a song called "a.mp3" to iPod_Control/Music/F00/a.mp3, rebuild the database, and see if it plays.  If that works but your other songs don't, it is probably a filename length issue.
[a href="index.php?act=findpost&pid=340394"][{POST_SNAPBACK}][/a]
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-14 00:08:40
Quote
hey thanks for this... I found out that the "tracknumber" ID3 tag was not updated leading to the out-of-sequence issue...  well from what ive seen now v0.9.9m works well with the 5G ipod at least music wise anyway. thanks for the great tool!


Thanks for the report.  Are you using iTunes (6?) as well, and are you using the 4.7/4.8 or 4.9 database format in foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-14 00:08:57
Quote
Does this plugin work for other MP3 players, or just iPod?
[a href="index.php?act=findpost&pid=341602"][{POST_SNAPBACK}][/a]

iPod only.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nazgulord on 2005-11-16 02:28:55
Ok guys, I'm truly sorry if this has been answered before, but is there any way to stop those popup windows coming up when I transfer files to my iPod? I can't use my computer without interruptions until it finishes. 

Thanks,

nazgulord.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-11-19 15:28:48
I've gotten lost in the iTunes and firmware upgrade issues with iPod.  What will I lose with foo_pod if using the latest iTunes (6) and 4G firmware (1.2).

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-21 02:34:05
Quote
I've gotten lost in the iTunes and firmware upgrade issues with iPod.  What will I lose with foo_pod if using the latest iTunes (6) and 4G firmware (1.2).
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=343154")

According to [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=341613]nonchalant[/url], foo_pod seems to work ok with iTunes 6.  I haven't even downloaded iTunes 6 yet, so I can't confirm this.
Title: foo_pod - Foobar2000 meets the iPod
Post by: nonchalant on 2005-11-21 04:17:39
Hi Aero,
yeah im using itunes 6, and the 4.7/4.8 DB format in foo_pod. foo_pod works great from what ive seen so far. a little thing i noticed was with deleting files; i import the ipod into foobar's playlist and choose the "delete" option from the right-click context menu. it still appears in the foobar playlist; i thought it may have been just a screen update issue but its actually still on the ipod. but i can go into itunes 6 and delete it. no biggie though.
thanks!

Quote
Quote
hey thanks for this... I found out that the "tracknumber" ID3 tag was not updated leading to the out-of-sequence issue...  well from what ive seen now v0.9.9m works well with the 5G ipod at least music wise anyway. thanks for the great tool!


Thanks for the report.  Are you using iTunes (6?) as well, and are you using the 4.7/4.8 or 4.9 database format in foo_pod?
[a href="index.php?act=findpost&pid=341658"][{POST_SNAPBACK}][/a]
Title: foo_pod - Foobar2000 meets the iPod
Post by: ST8 on 2005-11-22 12:28:14
Is there any chance of getting the ipod ratings to pull off %__rating% (techinfo) the same way copy_portable was modified earlier? This would solve the ratings issues with the sql version of quicktag i *think*.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-11-22 15:32:05
Quote
I've gotten lost in the iTunes and firmware upgrade issues with iPod.  What will I lose with foo_pod if using the latest iTunes (6) and 4G firmware (1.2).
[a href="index.php?act=findpost&pid=343154"][{POST_SNAPBACK}][/a]
I used iTunes 6 to load my new Nano.  foo_pod had no problem reading the list of files on the Nano, deleting some and adding others.

Given iTunes problems in reading some foobar tags (see my thread on the subject), I'm not likely to go back to iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bl@ck_warrior on 2005-11-23 18:52:59
Hi everybody , i would like to know if there is a possibility to add video on the ipod video using foo_pod or another software instead of itunes because i don't like itunes at all .
If it doesn't exist yet, will it be possible to add this feature or not ?
It would be great 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Hoppa on 2005-11-24 20:53:36
Now I have a few questions:

Do the g5 ipods work with foo_pod?
Does the 4.8 version of iTunes work with the g5?

The offtopic one:

Is the g5 generation worth getting? as I've
heard people with very split decisions.

Cheers!
>Hoppa<
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bl@ck_warrior on 2005-11-27 20:19:55
the ipod vidéo ? yes ot works with foo_pod but not for the video =(
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-30 01:47:42
Quote
Is there any chance of getting the ipod ratings to pull off %__rating% (techinfo) the same way copy_portable was modified earlier? This would solve the ratings issues with the sql version of quicktag i *think*.
[a href="index.php?act=findpost&pid=344103"][{POST_SNAPBACK}][/a]

This has been brought up before, and I seem to remember there was a good reason not to make it technical info, as opposed to metadata.  But I'll look into it...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-11-30 02:04:40
Quote
Is the g5 generation worth getting? as I've
heard people with very split decisions.
[a href="index.php?act=findpost&pid=344701"][{POST_SNAPBACK}][/a]

Here is my take:

If you have a 3G iPod or earlier and want a color screen or a newer iPod, a 5G iPod is very tempting.  They have bigger screens than the iPod Photos and are significantly thinner.  I have seen the video playback, and it looks pretty nice.  I wouldn't necessarily buy the overpriced iTunes Video Store movies/videos, but it is pretty easy to transcode your own video content. 

But here is why I won't buy one...

4G and iPod Photo users have been left out in the cold by Apple's horrible firmware support.  It is bad enough that updates have all but stopped for older iPods (this is nothing new, as owners of 3G and older models can attest), but to stop releasing updates after the disasterous last release is intolerable.  I wouldn't even consider upgrading until Apple at least releases usable firmware for the older iPods. 

There are also some technical things that don't sit well with me, like the lack of Firewire support and omission of the headphone accessory jack.  And to be completely petty, the position of the headphone jack off-center just seems wrong to me.

I think the next iPod will be the one to watch - it seems like Apple rushed the 5G out so they could get into the video market.  If Apple can fix some of the issues and provides even minimal support for older iPods, I'd consider a 5G+ iPod.  But until then, I'm not really interested.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-11-30 06:41:52
Aero,

As a 4G owner I agree with your sentiments. And while I have thanked you before, I want to say thank you again for foo_pod. It's truly been indispensable!

As many are probably already aware there is good progress being made in porting Rockbox to the iPod. I look forward to being able to play Ogg Vorbis and many other formats on my player. Let's hope it happens sooner rather than later.

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: RudElph on 2005-12-01 09:37:44
How about support of Motorola E1 ROKR?
ITunesDB is almost the same except a few changes
If you interesting in it I can send you more info
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-01 14:44:04
Quote
Aero,

As a 4G owner I agree with your sentiments. And while I have thanked you before, I want to say thank you again for foo_pod. It's truly been indispensable!

As many are probably already aware there is good progress being made in porting Rockbox to the iPod. I look forward to being able to play Ogg Vorbis and many other formats on my player. Let's hope it happens sooner rather than later.

Cheers,
Pete
[a href="index.php?act=findpost&pid=346460"][{POST_SNAPBACK}][/a]


Do you have more information on this?  A URL or something?

Thanks,
Brian
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2005-12-01 17:24:36
Quote
Do you have more information on this?  A URL or something?

Thanks,
Brian
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=346895")


Here you go Brian: [a href="http://www.rockbox.org/twiki/bin/view/Main/IpodPort]RockBox (iPod)[/url]

There is some more info in their forum as well.

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Tall-Guy on 2005-12-01 18:14:12
I alreday I open a thread about this problem, but i'm afraid I opened it in the wrong place since this problem concering foo_pod and foo_pod alone.
So i'm going to reask the question here.

I have a strange problem when i'm trying to copy AAC files (VBR, Replay Gain) into the ipod.
I select all the files I want and then send them with the foo_pod menu.
When I refresh my ipod songs list (again, using foo_pod) I can see the song are copied.
But then, when i'm unpluging my ipod(ejecting it with foo_pod), some song will not be in the ipod itself, even though I saw it on foobar.

If I try to REcopy the files, it work 99% of the time, but in every copy I lose some files this way.

Maybe Itunes need to be open for foo_pod to work? or is it standalone? anyone famlier with this problem?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ST8 on 2005-12-01 20:00:33
Quote
This has been brought up before, and I seem to remember there was a good reason not to make it technical info, as opposed to metadata.  But I'll look into it...
[a href="index.php?act=findpost&pid=346437"][{POST_SNAPBACK}][/a]

Maybe if it was something like
Code: [Select]
if %_rating% 
else %__rating%

ie check meta, if not present use techinfo

Its just that quicktag sql saves all its data into techinfo rather than meta
Title: foo_pod - Foobar2000 meets the iPod
Post by: ChaosPhoenix on 2005-12-02 19:43:58
I am new to Foopod. Foobar + Foopod seems better than Ephod. Any way, I've got a problem.

I'm using the 30gb version of the newest Ipod (had a 3rd Gen 15gb version before). The transfer with foopod is working fine, but foopod doesn't seem to create a playlist. At least it isn't accessible.



Windows XP SP2
Newest foobar version
Newest foopod version
Via USB

did I forget anything?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Spyde on 2005-12-02 22:43:11
Is it possible to use the sync function but also transcode files of a different type? The sync function works best for my huge collection but I've got a few albums which I've been unable to find in mp3. I can't add them to the iPod manually because when I sync again it will just delete them. Is my only solution to this transcoding all the non-mp3 files manually before syncing?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-02 22:47:11
Quote
Is it possible to use the sync function but also transcode files of a different type? The sync function works best for my huge collection but I've got a few albums which I've been unable to find in mp3. I can't add them to the iPod manually because when I sync again it will just delete them. Is my only solution to this transcoding all the non-mp3 files manually before syncing?
[a href="index.php?act=findpost&pid=347262"][{POST_SNAPBACK}][/a]


No, sync doesn't work with transcoding.
Title: foo_pod - Foobar2000 meets the iPod
Post by: TomGroove on 2005-12-04 12:13:54
 interesting things happen from time to time.... loaded some fresh created mp3 to Ipod. While using "loading Ipod playlist" there was the error message cannot parse Itune DB.

Than I could just see the newly loaded files on the Ipod and in foobar...and Itunes could not load Ipod at all ???

Rebuild itunes DB on Ipod solved most of my problems than, except that I had recreate some tags on a very limited number of files, which may be were created with Itunes before... don't remember.

Anyway glad it works again    not sure what happend there...may be latest Itunes software created that problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-12-08 22:38:35
ok, i've recently decided that, as i never really listen closely to my music when i'm on the go, and i can't tell the difference in most cases between lame 3.97b2 -V2 --vbr-new and itunes 160 kbps aac, i'd like to replace all of my transcoded-to-mp3 flac files which are now on my ipod to itunes 160 kbps vbr aac.  this will save a lot of space on my ipod (which is good, as i'm running out, it's a 15 gig 3g).  of course, this means that i have to install itunes 6.0, while i now have 4.8 to keep the good database on my ipod for use with foo_pod.  i

'd like to just use itunesencode to transcode my flacs to aac while sending them to the ipod, but if itunes 6.0 were open at the same time as foobar, what would happen to the ipod tranfer, knowing that the ipod was formatted to use the 4.8 and older database?
Title: foo_pod - Foobar2000 meets the iPod
Post by: WellPaidScientist on 2005-12-10 07:22:26
Hi 

I was wondering if there is any trick or workaround to allow me to use ipod album art with foo_pod.  In my testing, the ipod just doesn't recognize that files have the embedded artwork when I transfer them with foo_pod (whereas the same file transferred with itunes does display the album art).

I fear this might be the deal breaker that forces me switch over to itunes - having the album art come up with every track would just be too cool.  The main advantage of foo_pod as I see it is the replaygain functionality, but I guess I can accomplish the same thing with mp3gain and itunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-10 18:18:58
New Transcoding feature request:

ReplayGain values calculated on flac files are different from the RG value calculated on the associated trancoded mp3 file.  This different is non-negligible.

Aero, can you add functionality to the transcoder to run ReplayGain *after* you transcode, for example, a flac file to mp3?  Of course you would have to add some intelligence around buffering up an album, and then running RG on the album so you can support both album gain and track gain.  If the user only wanted Track RG, then you wouldn't have to do this.

Example empirical data:
3 Doors Down - [Away From The Sun #01] When I'm Gone:
flac RG Track Gain = -8.83 dB
mp3 RG Track Gain = -6.02 dB

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2005-12-13 03:44:14
Quote
ok, i've recently decided that, as i never really listen closely to my music when i'm on the go, and i can't tell the difference in most cases between lame 3.97b2 -V2 --vbr-new and itunes 160 kbps aac, i'd like to replace all of my transcoded-to-mp3 flac files which are now on my ipod to itunes 160 kbps vbr aac.  this will save a lot of space on my ipod (which is good, as i'm running out, it's a 15 gig 3g).  of course, this means that i have to install itunes 6.0, while i now have 4.8 to keep the good database on my ipod for use with foo_pod.  i

I'd like to just use itunesencode to transcode my flacs to aac while sending them to the ipod, but if itunes 6.0 were open at the same time as foobar, what would happen to the ipod tranfer, knowing that the ipod was formatted to use the 4.8 and older database?
[a href="index.php?act=findpost&pid=348731"][{POST_SNAPBACK}][/a]


anybody have an answer to how this might work?
Title: foo_pod - Foobar2000 meets the iPod
Post by: SiKth on 2005-12-13 11:37:17
i've been having problems with my ipod 4G 40Gb i transferred alll my songs using foo_pod (roughly 7,500 or so) to begin with they seemed to play fine however recently i've noticed that there are many tracks which just won't play, my ipod just skips them entierly (fast fowarding through the song doesn't help), this seems to have happened to at least 500 probably more of the songs. I tried formatting then resending them but only to get the same issue. What's weird though is that if i load the songs on foobar2000 i can play them without any problem on my computer through foobar2000.
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2005-12-13 13:10:04
Quote
ok, i've recently decided that, as i never really listen closely to my music when i'm on the go, and i can't tell the difference in most cases between lame 3.97b2 -V2 --vbr-new and itunes 160 kbps aac, i'd like to replace all of my transcoded-to-mp3 flac files which are now on my ipod to itunes 160 kbps vbr aac.  this will save a lot of space on my ipod (which is good, as i'm running out, it's a 15 gig 3g).  of course, this means that i have to install itunes 6.0, while i now have 4.8 to keep the good database on my ipod for use with foo_pod.  i

'd like to just use itunesencode to transcode my flacs to aac while sending them to the ipod, but if itunes 6.0 were open at the same time as foobar, what would happen to the ipod tranfer, knowing that the ipod was formatted to use the 4.8 and older database?
[a href="index.php?act=findpost&pid=348731"][{POST_SNAPBACK}][/a]
Why don't you just try it? First go through all the ipod settings in iTunes 6 and make sure auto transfer and the like are turned off.

Also, you might try ABX'ing 128k vbr aac.  You might be able to save even more space.
Title: foo_pod - Foobar2000 meets the iPod
Post by: n00b on 2005-12-14 23:56:34
i just bought a new ipod nano 4g for my girl. As a long time critic of iTunes the first thing i did was download the foo_pod plug. My music is all in .mpc format so i also installed the transcoder plugin.

it almost all works, Foobar transcodes the file and writes it to the ipod with a long numerical name that has all tags complete, the only problem is that the ipod does not "see" the file and therefore it cannot be played.
can anyone give me some clue as to what i have not done or what i am doing wrong?
thanks
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-15 03:18:30
Quote
i just bought a new ipod nano 4g for my girl. As a long time critic of iTunes the first thing i did was download the foo_pod plug. My music is all in .mpc format so i also installed the transcoder plugin.

it almost all works, Foobar transcodes the file and writes it to the ipod with a long numerical name that has all tags complete, the only problem is that the ipod does not "see" the file and therefore it cannot be played.
can anyone give me some clue as to what i have not done or what i am doing wrong?
thanks
[a href="index.php?act=findpost&pid=350256"][{POST_SNAPBACK}][/a]


It takes a little while to figure out all the nuances with foo_pod, especially with transcoding.  Try to rebuild the database from the foo_pod menu.  If that doesn't work and if you don't have much on there already, delete the DB and try again with just one song and see if that works.
Title: foo_pod - Foobar2000 meets the iPod
Post by: n00b on 2005-12-15 07:42:08
hey Red thanks for your reply,
i couldnt find the option to rebuild the database so i deleted it from the iTunes folder on the iPod, i then sent an mpc file and although the file was correctly transcoded and written the iTunesDB file was NOT re-created, so i tried sending an mp3 to take transcoding out of the equation and again no joy.
there must be something i am missing.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-15 14:25:35
Quote
hey Red thanks for your reply,
i couldnt find the option to rebuild the database so i deleted it from the iTunes folder on the iPod, i then sent an mpc file and although the file was correctly transcoded and written the iTunesDB file was NOT re-created, so i tried sending an mp3 to take transcoding out of the equation and again no joy.
there must be something i am missing.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=350306")


Don't play too much with the files on the iPod directly.

What version of foo_pod do you have?  I'm presuming the latest.

I'm not at home right now, so I don't have the menu mapping in front of me, but if you go here [a href="http://www.tinkafoo.com/log/foo_pod.html]http://www.tinkafoo.com/log/foo_pod.html[/url] you'll find out how to do it.  First thing I would do is to delete the DB entirely, transcode one file to the Ipod and see if it shows up (btw, are you getting any errors from the transcoding process in the foobar console?).  If the file doesn't show up, then rebuild the DB and then see if it shows up.  If that still doesn't work, then I'm out of options .
Title: foo_pod - Foobar2000 meets the iPod
Post by: n00b on 2005-12-16 00:11:01
Ok,
looks like we've had a breakthrough, i enabled disk mode in iTunes before closing it for the last time, and then found the foo_pod under the COMPONENTS menu in foobar, after rebuilding the ipod dB everything works 100%.

Ipod nano Ver1.0
iTunes Ver 6
foobar v0.8.3
foo_pod 0.9.9m

Thanks again for your help Red Baron
Title: foo_pod - Foobar2000 meets the iPod
Post by: likestogofast on 2005-12-16 00:54:30
I am having quite the time trying to get foo_pod to work correctly.

iPod: 4g 60gb iPhoto
iTunes: 4.7.0.42
iPodSoftware: 1.1

iPod is freshly formatted
iTunes has no files
iPod is set up for disk mode

FooBar2000 .83
foo_pod.9
7990 Flac Files

I have read all of the post here as well as other help guides. I have everything installed in the compnets directory of FooBar. When I go to the foo_pod preferences I can see the iPod and I can update the database, but I can only see maitenance and    under the components menu/foo_pod. I dont se anything else. Also I get transcoding errors when I try and send a file to the iPod.

Any help will be greatly appreciated...

Mark
Title: foo_pod - Foobar2000 meets the iPod
Post by: Sandman2012 on 2005-12-16 01:50:50
I've got an iPod Mini with the latest firmware installed. I've been using iTunes 6 to sync it, but I'm interested in trying foopod. I'm a little worried because back when I was following this thread there were issues with newer versions of the firmware (am I using the right word here?). I used ephpod with my mini a few times and it completely fucked a lot of things up, causing me to have to revert the pod back to factory settings and start from scratch. So before I install foopod I just want to know what I should expect and if there are any issues with newer firmware and such. Any feedback would be appreciated.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-16 16:08:37
Quote
I've got an iPod Mini with the latest firmware installed. I've been using iTunes 6 to sync it, but I'm interested in trying foopod. I'm a little worried because back when I was following this thread there were issues with newer versions of the firmware (am I using the right word here?). I used ephpod with my mini a few times and it completely fucked a lot of things up, causing me to have to revert the pod back to factory settings and start from scratch. So before I install foopod I just want to know what I should expect and if there are any issues with newer firmware and such. Any feedback would be appreciated.
[a href="index.php?act=findpost&pid=350512"][{POST_SNAPBACK}][/a]


Why do you want to move from iTunes?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-16 16:09:16
Quote
I am having quite the time trying to get foo_pod to work correctly.

iPod: 4g 60gb iPhoto
iTunes: 4.7.0.42
iPodSoftware: 1.1

iPod is freshly formatted
iTunes has no files
iPod is set up for disk mode

FooBar2000 .83
foo_pod.9
7990 Flac Files

I have read all of the post here as well as other help guides. I have everything installed in the compnets directory of FooBar. When I go to the foo_pod preferences I can see the iPod and I can update the database, but I can only see maitenance and    under the components menu/foo_pod. I dont se anything else. Also I get transcoding errors when I try and send a file to the iPod.

Any help will be greatly appreciated...

Mark
[a href="index.php?act=findpost&pid=350500"][{POST_SNAPBACK}][/a]


First let's start with the transcoding issue, can you copy&paste the error you're getting here?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-16 16:09:56
Quote
Ok,
looks like we've had a breakthrough, i enabled disk mode in iTunes before closing it for the last time, and then found the foo_pod under the COMPONENTS menu in foobar, after rebuilding the ipod dB everything works 100%.

Ipod nano Ver1.0
iTunes Ver 6
foobar v0.8.3
foo_pod 0.9.9m

Thanks again for your help Red Baron
[a href="index.php?act=findpost&pid=350497"][{POST_SNAPBACK}][/a]


Awesome!
Title: foo_pod - Foobar2000 meets the iPod
Post by: likestogofast on 2005-12-16 16:43:40
Quote
Quote
I am having quite the time trying to get foo_pod to work correctly.

iPod: 4g 60gb iPhoto
iTunes: 4.7.0.42
iPodSoftware: 1.1

iPod is freshly formatted
iTunes has no files
iPod is set up for disk mode

FooBar2000 .83
foo_pod.9
7990 Flac Files

I have read all of the post here as well as other help guides. I have everything installed in the compnets directory of FooBar. When I go to the foo_pod preferences I can see the iPod and I can update the database, but I can only see maitenance and    under the components menu/foo_pod. I dont se anything else. Also I get transcoding errors when I try and send a file to the iPod.

Any help will be greatly appreciated...

Mark
[a href="index.php?act=findpost&pid=350500"][{POST_SNAPBACK}][/a]


First let's start with the transcoding issue, can you copy&paste the error you're getting here?
[a href="index.php?act=findpost&pid=350625"][{POST_SNAPBACK}][/a]


I will gather all information and generate screen captures to fully illustrate my problem in a few days.

In addition, I am correct in assuming one can successfully revert to an older version of iPod updater by editing the iPod's sys file and re-installing the correct iPod updater for use with Foo_Pod?

Thanks for your help and expect to see my posting of screen captures and error generations.

Mark
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-16 16:57:34
Quote
Quote
Quote
I am having quite the time trying to get foo_pod to work correctly.

iPod: 4g 60gb iPhoto
iTunes: 4.7.0.42
iPodSoftware: 1.1

iPod is freshly formatted
iTunes has no files
iPod is set up for disk mode

FooBar2000 .83
foo_pod.9
7990 Flac Files

I have read all of the post here as well as other help guides. I have everything installed in the compnets directory of FooBar. When I go to the foo_pod preferences I can see the iPod and I can update the database, but I can only see maitenance and    under the components menu/foo_pod. I dont se anything else. Also I get transcoding errors when I try and send a file to the iPod.

Any help will be greatly appreciated...

Mark
[a href="index.php?act=findpost&pid=350500"][{POST_SNAPBACK}][/a]


First let's start with the transcoding issue, can you copy&paste the error you're getting here?
[a href="index.php?act=findpost&pid=350625"][{POST_SNAPBACK}][/a]

In addition, I am correct in assuming one can successfully revert to an older version of iPod updater by editing the iPod's sys file and re-installing the correct iPod updater for use with Foo_Pod?
[a href="index.php?act=findpost&pid=350631"][{POST_SNAPBACK}][/a]

I don't know about that, maybe someone else can comment.  Have you tried to downrev without messing with the iPod's sys file?
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-12-17 00:46:13
Hey, i've got a problem, i've been trying to get these smart playlists to work on my iPod but they just won't.. When I look for playlists on my iPod, the SPL's show up, but they're completely empty. They do show up with their respective content in foobar when i choose [components --> foo_pod --> load ipod smart playlists as tabs] however.
I think I tried everything possible, so i'm basically at loss here. Can anyone explain how i can get these smart playlists to work on my ipod?

I have a 3g iPod (v2.3) and use the latest version of foo_pod (iTunes 4.9 compatible).

Any help on this issue would be greatly appreciated!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Sandman2012 on 2005-12-17 03:29:14
Quote
Quote
I've got an iPod Mini with the latest firmware installed. I've been using iTunes 6 to sync it, but I'm interested in trying foopod. I'm a little worried because back when I was following this thread there were issues with newer versions of the firmware (am I using the right word here?). I used ephpod with my mini a few times and it completely fucked a lot of things up, causing me to have to revert the pod back to factory settings and start from scratch. So before I install foopod I just want to know what I should expect and if there are any issues with newer firmware and such. Any feedback would be appreciated.
[a href="index.php?act=findpost&pid=350512"][{POST_SNAPBACK}][/a]


Why do you want to move from iTunes?
[a href="index.php?act=findpost&pid=350624"][{POST_SNAPBACK}][/a]

Curiousity, trying out new things.

That doesn't answer my questions though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-17 15:47:13
Quote
Quote
Quote
I've got an iPod Mini with the latest firmware installed. I've been using iTunes 6 to sync it, but I'm interested in trying foopod. I'm a little worried because back when I was following this thread there were issues with newer versions of the firmware (am I using the right word here?). I used ephpod with my mini a few times and it completely fucked a lot of things up, causing me to have to revert the pod back to factory settings and start from scratch. So before I install foopod I just want to know what I should expect and if there are any issues with newer firmware and such. Any feedback would be appreciated.
[a href="index.php?act=findpost&pid=350512"][{POST_SNAPBACK}][/a]


Why do you want to move from iTunes?
[a href="index.php?act=findpost&pid=350624"][{POST_SNAPBACK}][/a]

Curiousity, trying out new things.

That doesn't answer my questions though.
[a href="index.php?act=findpost&pid=350725"][{POST_SNAPBACK}][/a]


foo_pod should work fine if you have the 4.9 database option checked.  However, there is always a risk.  You need to determine if you are willing to take that risk.  I don't think foo_pod is necessary unless you are doing transcoding.  If you are not doing transcoding, then I would just stick with iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-17 15:51:00
Quote
Hey, i've got a problem, i've been trying to get these smart playlists to work on my iPod but they just won't.. When I look for playlists on my iPod, the SPL's show up, but they're completely empty. They do show up with their respective content in foobar when i choose [components --> foo_pod --> load ipod smart playlists as tabs] however.
I think I tried everything possible, so i'm basically at loss here. Can anyone explain how i can get these smart playlists to work on my ipod?

I have a 3g iPod (v2.3) and use the latest version of foo_pod (iTunes 4.9 compatible).

Any help on this issue would be greatly appreciated!
[a href="index.php?act=findpost&pid=350709"][{POST_SNAPBACK}][/a]


If you go back in this thread a few pages, you will see that SPLs are broken with certain versions of iPod firmware.  I'm not sure if that means the latest version is broken, but they were broken at some time.  I'm on an old release of firmware 3-23-05 on my 4g iPod and SPLs work fine.  I suggest reading back a few pages to see if you have the problematic firmware.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Sandman2012 on 2005-12-17 17:15:52
Quote
foo_pod should work fine if you have the 4.9 database option checked.  However, there is always a risk.  You need to determine if you are willing to take that risk.  I don't think foo_pod is necessary unless you are doing transcoding.  If you are not doing transcoding, then I would just stick with iTunes.
[a href="index.php?act=findpost&pid=350794"][{POST_SNAPBACK}][/a]

Thanks. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: .zolder on 2005-12-17 19:14:59
Quote
If you go back in this thread a few pages, you will see that SPLs are broken with certain versions of iPod firmware.  I'm not sure if that means the latest version is broken, but they were broken at some time.  I'm on an old release of firmware 3-23-05 on my 4g iPod and SPLs work fine.  I suggest reading back a few pages to see if you have the problematic firmware.


Thanks for replying. I tried to install the firmware you mentioned, but I couldnt install in on my iPod.. I did try to use iTunesDB v4.7 in foo_pod's prefs though and that did solve the problem  looks like i didnt try everything..
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2005-12-17 19:58:33
Quote
Quote
If you go back in this thread a few pages, you will see that SPLs are broken with certain versions of iPod firmware.  I'm not sure if that means the latest version is broken, but they were broken at some time.  I'm on an old release of firmware 3-23-05 on my 4g iPod and SPLs work fine.  I suggest reading back a few pages to see if you have the problematic firmware.


Thanks for replying. I tried to install the firmware you mentioned, but I couldnt install in on my iPod.. I did try to use iTunesDB v4.7 in foo_pod's prefs though and that did solve the problem  looks like i didnt try everything..
[a href="index.php?act=findpost&pid=350819"][{POST_SNAPBACK}][/a]


Cool!
Title: foo_pod - Foobar2000 meets the iPod
Post by: mdhare007 on 2005-12-26 21:29:14
Hello-

With foobar2000 v0.8.3 and with the latest version of foo_pod (0.9.9m), when I click the "3G Ipod Line Out Mode", the option doesn't stay checked when I save the options.

I'm trying to apply this option for a new Ipod Video to be able to normalize audio on the dock.

Is this option no longer supported, or does this method not work on this generation of ipod?  I'm trying to avoid using mp3gain.

-Michael
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2005-12-27 05:16:31
Quote
With foobar2000 v0.8.3 and with the latest version of foo_pod (0.9.9m), when I click the "3G Ipod Line Out Mode", the option doesn't stay checked when I save the options.

I'm trying to apply this option for a new Ipod Video to be able to normalize audio on the dock.

Is this option no longer supported, or does this method not work on this generation of ipod?  I'm trying to avoid using mp3gain.


As the name is supposed to indicate, 3G iPod Line Out mode is *only* necessary for 3G iPods.  All subsequent iPods correctly apply SoundCheck corrections to the dock line out port.  So you shouldn't enable it for your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mdhare007 on 2005-12-27 16:50:15
Aero-

Thanks for the reply.  On my new 30Gb Ipod video, toggling the soundcheck option makes an audible difference in sound output on the headphone jack, but does nothing once the ipod is docked to my griffin roadtrip (which connects via the bottom dock of course).  I was using an older rock album and a new rock album with very different peak RMS values, so there was a large delta in DBs here.  When I listen to these same tracks via headphones, things sound more equal.

I assumed that the problem was the ipod and not the roadtrip.  I assume the roadtrip is incapable of twiddling with the sound levels since it has analog input, and when I manually boosted a file's volume with mp3gain, the perceived playback volume with the roadtrip volume was much louder.

I've read about what 3g out mode does (sets a different field in the itunesdb).  I've thought about experimenting by poking around in the itunes db and setting this field for a couple of my songs but probably won't get around to it until this weekend.  I'm also unsure of what the field is called (Volume?) and if it's even going to be available, but that's why it's an experiment.

fwiw, this ipod hasn't been connected with Itunes, so I don't think there's anything funky going on there.

-Michael
Title: foo_pod - Foobar2000 meets the iPod
Post by: Dan Hibiki on 2006-01-02 23:23:15
Is there anyway I can use Helix MP3 encoder with foo_pod? I tried to use the "Custom Encoder", but it returned me an error...

Thanks 
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-03 01:55:48
Quote
Is there anyway I can use Helix MP3 encoder with foo_pod? I tried to use the "Custom Encoder", but it returned me an error...

Thanks 
[a href="index.php?act=findpost&pid=354078"][{POST_SNAPBACK}][/a]


You can use any enoder you like, just make sure the path and the variable are set correctly.

Post the acutal error for more help.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Dan Hibiki on 2006-01-03 02:18:07
Quote
Quote
Is there anyway I can use Helix MP3 encoder with foo_pod? I tried to use the "Custom Encoder", but it returned me an error...

Thanks 
[a href="index.php?act=findpost&pid=354078"][{POST_SNAPBACK}][/a]


You can use any enoder you like, just make sure the path and the variable are set correctly.

Post the acutal error for more help.
[a href="index.php?act=findpost&pid=354125"][{POST_SNAPBACK}][/a]


Error:

ERROR (foo_podtranscoder) : Error opening transcoder exe

And the settings:
Use Custom Encoder Settings:
Encoder: C:\Arquivos de programas\Multimídia\foobar2000\encoder\hmp3.exe
Extension: mp3
Parameters: - %d -V80 -X2 -HF2 -SBT450 -TX0
Format is: lossy
Highest BPS mode supported: 16
Tag: Default
All other settings unchecked

Using these exact same settings on diskwriter works fine... And using LAME with presets also works fine...

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-01-03 02:21:34
Quote
Quote
Quote
Is there anyway I can use Helix MP3 encoder with foo_pod? I tried to use the "Custom Encoder", but it returned me an error...

Thanks 
[a href="index.php?act=findpost&pid=354078"][{POST_SNAPBACK}][/a]


You can use any enoder you like, just make sure the path and the variable are set correctly.

Post the acutal error for more help.
[a href="index.php?act=findpost&pid=354125"][{POST_SNAPBACK}][/a]


Error:

Code: [Select]
ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://D:\Audio\Green Day\(1997) nimrod\Green Day - 17 - Good Riddance (Time Of Your Life).ogg
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #0 copying D:\Audio\Green Day\(1997) nimrod\Green Day - 17 - Good Riddance (Time Of Your Life).ogg to j:\iPod_Control\Music\F66\6b9cada371b3a8be6.mp3


And the settings:
Use Custom Encoder Settings:
Encoder: C:\Arquivos de programas\Multimídia\foobar2000\encoder\hmp3.exe
Extension: mp3
Parameters: - %d -V80 -X2 -HF2 -SBT450 -TX0
Format is: lossy
Highest BPS mode supported: 16
Tag: Default
All other settings unchecked

Using these exact same settings on diskwriter works fine... And using LAME with presets also works fine...

Thanks!
[a href="index.php?act=findpost&pid=354128"][{POST_SNAPBACK}][/a]

Use %s instead of the "-" as the first parameter.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Dan Hibiki on 2006-01-03 02:55:46
Quote
Use %s instead of the "-" as the first parameter.
[a href="index.php?act=findpost&pid=354130"][{POST_SNAPBACK}][/a]


Didn't work 
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-09 09:54:12
I don't know if this has been mentioned before, but it is a bug that remains. I have my CDs as single .ape files indexed with a CUE sheet. foobar loads and displays the individual tracks perfectly. I can convert the individual tracks to AAC with diskwriter and NAACEnc and load them onto my ipod with itunes (well, i could until i installed foo_pod and it fucked up the database) perfectly. However when i select the tracks and choose foo_pod->Send to iPod, foobar freezes up. From what i can see in process explorer, foo_pod is trying to load the entire .ape file into memory (This almost definately should not be happening unless foo_pod is very badly designed, and I hope not). Even worse, it is doing this in the main thread, freezing foobar and leaving no way to cleanly abort. As i now have no alternative but to use foo_pod (due to database incompatiblity), my temporary solution is to convert the files with diskwriter, then add them to another playlist and send to iPod from there.
Title: foo_pod - Foobar2000 meets the iPod
Post by: magnusak on 2006-01-10 13:44:32
Since there probably are many out there with iPod 5G (video), I just wanted to share my experience with foo_pod.

My configuration:
--------------------
- iPod 5G (video) 30GB, software version 1.0
- foobar2000 v0.8.3
- foo_pod v0.9.9
- iTunes v6.0.1.3

Why do I want to use foo_pod?
-----------------------------------
- foobar2000 is my favourite music player and music library.
- I have encoded all my music with Replay Gain and want to take advantage of that on my iPod.

Why do I need iTunes?
--------------------------
- I want to transfer videos to my iPod
- I want to syncronize my iPod with podcasts
- I want to syncronize my Outlook contacts to my iPod.

How do I make it work?
---------------------------
First of all, foo_pod must be set to use the iTunes 4.7/4.8 database format. If I set it to 4.9, all artists and albums disappear from my iPod. (They re-appear if this setting is set back to 4.7/4.8.)

Second, as you probably know, iTunes must be set to syncronize music (and videos) manually.

If these two requirements are met, I am able to operate quite normal with foo_pod and iTunes against my iPod. I load all the music through foo_pod and all the videos through iTunes. I am also able to get content off the iPod with foo_pod.

What problems to I have?
-----------------------------
When I copy songs to my iPod from foobar2000, they also appear as videos on my iPod. This is fixed however by simply opening iTunes with my iPod connected. (It seems that iTunes automatically does some DB maintainance.)

foo_pod seems to distroy all smart playlists, by converting them to normal playlists. I have not found the solution to this, but I do not mind, as I don't use much playlists.


I hope that this helps some of the 5G owners out there, and that we soon might get a new version of foo_pod, supporting the 6.0 DB format.

Thanks to the developer (and testers/contributors),
Magnus
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-01-11 16:40:41
Just a quick note: Apple released a new firmware update for many iPod models today - http://www.apple.com/ipod/download/ (http://www.apple.com/ipod/download/).

As you might remember, the last good firmware update for 4G and Photo iPods was the 2005-03-23 update, since all subsequent updates had broken smart playlists.  I installed the 2006-01-10 update on my iPod Photo (version 1.2.1), and dynamically updating smart playlists have finally been fixed

I'm going to test it off and on today to see if there is any other gotchas, but this looks like it might finally be a useable update.  The current version of foo_pod works fine with this update, using the 4.7 database format.  If the update turns out to be good, I'll see about adding newer features (like audio bookmarking for non-m4b songs and Podcasting support).
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2006-01-12 02:14:19
That is great news Aero, thank you!!

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: Yamabushi on 2006-01-16 18:27:18
I've been running the latest firmware for a few days and everything seems to be working well for me, including Smart Playlist. :-) I look forward to the new foo_pod features Aero,  thanks again!

Cheers,
Pete
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-16 19:15:59
Quote
I've been running the latest firmware for a few days and everything seems to be working well for me, including Smart Playlist. :-) I look forward to the new foo_pod features Aero,  thanks again!

Cheers,
Pete
[a href="index.php?act=findpost&pid=357629"][{POST_SNAPBACK}][/a]


Question, what are we losing by running on the old DB?  One thing I noticed was that iTunes 6.0 can't read my dB if I'm on the old 4.7/4.8 dB.  Therefore, when I have to run iTunes to subscribe to podcasts, iTunes is blank.  What other features are we missing?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-01-18 02:13:01
Quote
I've been running the latest firmware for a few days and everything Question, what are we losing by running on the old DB?  One thing I noticed was that iTunes 6.0 can't read my dB if I'm on the old 4.7/4.8 dB.  Therefore, when I have to run iTunes to subscribe to podcasts, iTunes is blank.  What other features are we missing?

Support for iTunes 4.7/4.8 format is almost complete.  4.9 and above support is very weak/non-existent, because I don't have a 5G iPod and until recently, firmware bugs kept me from upgrading to the latest firmware. 

As I have time, I will work on improving support for newer formats.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-18 02:52:43
Quote
Quote
I've been running the latest firmware for a few days and everything Question, what are we losing by running on the old DB?  One thing I noticed was that iTunes 6.0 can't read my dB if I'm on the old 4.7/4.8 dB.  Therefore, when I have to run iTunes to subscribe to podcasts, iTunes is blank.  What other features are we missing?

Support for iTunes 4.7/4.8 format is almost complete.  4.9 and above support is very weak/non-existent, because I don't have a 5G iPod and until recently, firmware bugs kept me from upgrading to the latest firmware. 

As I have time, I will work on improving support for newer formats.
[a href="index.php?act=findpost&pid=357937"][{POST_SNAPBACK}][/a]


Do you need a 5G to test the 4.9 format?  I thought the 4.9dB was out once podcasting support started.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-01-18 16:54:52
Quote
Do you need a 5G to test the 4.9 format?  I thought the 4.9dB was out once podcasting support started.
[a href="index.php?act=findpost&pid=357947"][{POST_SNAPBACK}][/a]

Not any longer.  The situation was that for a long time, the released firmware for 4G/Photo iPods was buggy (non-dynamically updating smart playlists), so there was no incentive for me to work on the post 4.8 format databases since none of the new features (i.e. special Podcast support) were usable with the older, but working, firmware.

Now that the latest firmware update has finally fixed the problems (and I'm actually using it), I have some incentive to get the foo_pod updated so that it correctly reads and writes 4.9+ databases.
Title: foo_pod - Foobar2000 meets the iPod
Post by: schugh on 2006-01-18 18:13:31
Does foo_pod work on an amd x64 (dual core) with 64 bit windows?
Or is it supposed to work?
foobar works fine. The Naacenc tool works fine.
But when I use foo_pod set up to use naacenc for transcoding it generates very large temp wav files before encoding to aac. For a 7 minute track it generates a 700MB file before calling naacenc.
Title: foo_pod - Foobar2000 meets the iPod
Post by: schugh on 2006-01-18 22:54:31
Never mind my question above.
I kept digging and found the answer.
I guess foo_pod still does not support cue sheets which for me makes it useless.

-- Sanjay
Title: foo_pod - Foobar2000 meets the iPod
Post by: nicholas on 2006-01-19 00:28:56
Does the database format (ie. 4.7/4.8) directly correspond to the iTunes version?  How do I know what database format I am using?
Title: foo_pod - Foobar2000 meets the iPod
Post by: binkgle on 2006-01-19 00:57:20
Quote
Does the database format (ie. 4.7/4.8) directly correspond to the iTunes version?  How do I know what database format I am using?
[a href="index.php?act=findpost&pid=358155"][{POST_SNAPBACK}][/a]


it depends on which version of itunes you had when you first got your ipod and which you have now.  if you've always had itunes 4.8 or earlier, then you use the earlier database format in foo_pod.  for now that's the only one that really works in foo_pod, though it seems that that's going to change soon (thx aero!!!!!!!!!    )

any later versions and you use the 4.9 database
Title: foo_pod - Foobar2000 meets the iPod
Post by: Sandman2012 on 2006-01-19 02:51:07
Quote
for now that's the only one that really works in foo_pod, though it seems that that's going to change soon (thx aero!!!!!!!!!    )
[a href="index.php?act=findpost&pid=358159"][{POST_SNAPBACK}][/a]

Title: foo_pod - Foobar2000 meets the iPod
Post by: nicholas on 2006-01-20 07:42:08
Interesting.  I am using iTunes 6 (the only version I have run) with the latest iPod firmware and have had no problems using foo_pod.  If I am using the 4.9 database format, it seems Aero has done a good job supporting it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-25 06:36:13
Is there a way to get iTunes to utilize Replaygain values in place of Soundcheck values if I don't use foo_pod to transfer music onto my iPod?

It seems like it's possible, but I might be missing how to do it.  The preferences talk about translations between the two, but I can't figure out how to send those vales to the iTunes database.  I'm assuming that the intended usage is to have foo_pod communicate those values directly to the ipod during transfer.  I would prefer using iTunes for syncing my iPod because I rely heavily on smart playlists.

What I would like to do is send the Replaygain values to iTunes and have iTunes record them as Soundcheck settings.

Is this possible using foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-25 07:29:54
Quote
Is there a way to get iTunes to utilize Replaygain values in place of Soundcheck values if I don't use foo_pod to transfer music onto my iPod?

It seems like it's possible, but I might be missing how to do it.  The preferences talk about translations between the two, but I can't figure out how to send those vales to the iTunes database.  I'm assuming that the intended usage is to have foo_pod communicate those values directly to the ipod during transfer.  I would prefer using iTunes for syncing my iPod because I rely heavily on smart playlists.

What I would like to do is send the Replaygain values to iTunes and have iTunes record them as Soundcheck settings.

Is this possible using foo_pod?
[a href="index.php?act=findpost&pid=359585"][{POST_SNAPBACK}][/a]


I plan on adding this feature to foo_sendtopod (which uses iTunes to do the transfer). However I need to work out how to translate the replay gain value to a value from -100 to 100. I assume this has something to do with logarithmic and linear scales, not something I understand fully. I'm assuming foo_pod already does this, would anyone like to reveal how? Or I could work it out for myself, but i'd rather not .
Also, does soundcheck support track and album gains? I don't think it does, which is annoying, as on my iPod I sometimes listen to full albums, or I listen to shuffle.

Edit: On thinking about it wouldnt the -100 to 100 value be logarithmic, because that is the way we hear? Hmm. On looking at my replay gain values in foobar, they go from about -13 dB to +64 (silence, the hidden tracks on Tool - Undertow). But most are clearly in a 10-10 range. I guess it could work to multiply RG by 10, then set anything outside the range to max or min (this shouldnt affect most tracks as they are within the range)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-25 13:17:43
When I use MP3Gain to do volume leveling I know that I have some albums that need -12dB.  I may even have some that need more.  Since the values for soundcheck seem to be percentages, then the min would be half as loud and the max would be twice as loud.

Not sure what that means to this situation though.  The exact decibels needed to make something twice as loud are relative to how loud it is to start, isn't it?

I think I'm just confusing myself, hopefully someone else will answer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-25 13:53:23
Quote
Quote
Is there a way to get iTunes to utilize Replaygain values in place of Soundcheck values if I don't use foo_pod to transfer music onto my iPod?

It seems like it's possible, but I might be missing how to do it.  The preferences talk about translations between the two, but I can't figure out how to send those vales to the iTunes database.  I'm assuming that the intended usage is to have foo_pod communicate those values directly to the ipod during transfer.  I would prefer using iTunes for syncing my iPod because I rely heavily on smart playlists.

What I would like to do is send the Replaygain values to iTunes and have iTunes record them as Soundcheck settings.

Is this possible using foo_pod?
[a href="index.php?act=findpost&pid=359585"][{POST_SNAPBACK}][/a]


I plan on adding this feature to foo_sendtopod (which uses iTunes to do the transfer). However I need to work out how to translate the replay gain value to a value from -100 to 100. I assume this has something to do with logarithmic and linear scales, not something I understand fully. I'm assuming foo_pod already does this, would anyone like to reveal how? Or I could work it out for myself, but i'd rather not .
Also, does soundcheck support track and album gains? I don't think it does, which is annoying, as on my iPod I sometimes listen to full albums, or I listen to shuffle.

Edit: On thinking about it wouldnt the -100 to 100 value be logarithmic, because that is the way we hear? Hmm. On looking at my replay gain values in foobar, they go from about -13 dB to +64 (silence, the hidden tracks on Tool - Undertow). But most are clearly in a 10-10 range. I guess it could work to multiply RG by 10, then set anything outside the range to max or min (this shouldnt affect most tracks as they are within the range)
[a href="index.php?act=findpost&pid=359593"][{POST_SNAPBACK}][/a]


Can we have more details on this foo_sendtopod?  How is this going to differ feature wise from foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-25 15:16:34
I just found this at wikiPodLinux (http://ipodlinux.org/ITunesDB)

Quote
The Track List has Track Items as its children. The number of Track Items is the same as the number of songs.

[Offset: 76, Field: Soundcheck]

The SoundCheck value to apply to the song, when Sound Check is on. The value to put in this field can be determined by the equation: X = 1000 * 10 ^ (-.1 * Y) where Y is the adjustment value in dB and X is the value that goes into the SoundCheck field. This works perfectly well with ReplayGain derived data instead of the iTunes SoundCheck derived information.

Also, I also read a couple places that iTunes only uses the soundcheck values when it initially imports it.  After that it uses the stored value in its database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-25 18:44:56
Quote
Can we have more details on this foo_sendtopod?  How is this going to differ feature wise from foo_pod?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=359638")


[a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=40854]http://www.hydrogenaudio.org/forums/index....showtopic=40854[/url]

It just controls iTunes to send (and possibly transcode) files to the iPod, then tag them quite basic, but handy if you want to use iTunes but don't want to manually transcode and tag (afaik iTunesEncode doesnt work with foo_pod because iTunes locks the iPod database, so you are limited to the nero AAC encoder which AFAIK is slower, hasn't been proven to be as good, and can cause skipping on some iPods)

Quote
The Track List has Track Items as its children. The number of Track Items is the same as the number of songs.

[Offset: 76, Field: Soundcheck]

The SoundCheck value to apply to the song, when Sound Check is on. The value to put in this field can be determined by the equation: X = 1000 * 10 ^ (-.1 * Y) where Y is the adjustment value in dB and X is the value that goes into the SoundCheck field. This works perfectly well with ReplayGain derived data instead of the iTunes SoundCheck derived information.


Thanks, thats just what I was looking for.

Quote
Also, I also read a couple places that iTunes only uses the soundcheck values when it initially imports it. After that it uses the stored value in its database.


The iTunes API provides a function to set "Volume adjustment" which I assume is soundcheck. It would be easy enough to set when adding files, but perhaps I could  also implement a 'scanner' that goes through the files on the iPod, locating them in the foobar2000 database and adding these values, but this would be very slow and rely on tag uniformity between iTunes and foobar.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2006-01-25 19:05:26
Quote
The iTunes API provides a function to set "Volume adjustment" which I assume is soundcheck.

Bad assumption.

The iPod has two volume level fields. One corresponds to that volume slider in iTunes Get Info screen, and ranges from -100 to +100. The other corresponds to the volume adjustment via SoundCheck. This is a power level adjustment, which is why it uses that odd logarithmic scale (the 1000 * 10 ^ (-x/10) thing). These are not the same and do not behave in the same manner. Also, the SoundCheck one is not accessible through any iTunes API or setting, it's wholly automatically determined by iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-25 19:30:03
Quote
Also, the SoundCheck one is not accessible through any iTunes API or setting, it's wholly automatically determined by iTunes.[a href="index.php?act=findpost&pid=359702"][{POST_SNAPBACK}][/a]

So Otto do you know if the foo_pod replaygain translation adjusts the soundcheck values or the volume adjustment?

If iTunes doesn't read the soundcheck values directly from the file then does that mean that it is stored somewhere in the iTunes Library XML file?  Is it possible to manually modify those values so that they reflect replaygain settings?

Foo_pod seems to have some type of importing/exporting feature with XML libraries, but I'm not sure if that only modifies the iTunesDB on the iPod without affecting the iTunes library.
Title: foo_pod - Foobar2000 meets the iPod
Post by: carmenm on 2006-01-26 00:32:36
I have a little problem with the plugin. When i right click on a file from a playlist and goes to foo_pod i dont have send to ipod. I only have send to ipod "send file to ipod as audiobook". How do i manage to have "send file to ipod" ???
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-26 04:35:48
Ok, I did a bunch of digging through this thread today.  I'm starting to get a decent handle on how all this Soundcheck/Replaygain stuff works.  I would just like to ask a few followup questions to these previous conversations

Quote
Quote
Quote
When I look at the tag of a file that has been "Soundchecked" by iTunes, this is what it says in the "comment" field:  00001020 0000118B 00003555 00004352 0002E675 0002230E 00008000 00008000 0001D4EE 0001D4EE

I thought that as you'd already figured out how to calculate Soundcheck values from Replaygain values, it would just be a matter of adding that into the "comment" field? Guess I was wrong then...

No, you are correct.  The catch is that the "just be a matter of adding that into the "comment" field" part is the unknown piece here. 

Actually now that I think of it, I think Otto42 determined that the first series of alphanumeric characters (00001020) is just the Sound Check value from the database.  But the rest of the groups are apparently unknown, unless someone can point me to more recent information.

That's correct, the first value in that big ugly comment string is the value that iTunes puts into the iTunesDB as the SoundCheck field. foo_pod is now putting a ReplayGain value in that field, since we worked out the conversion equation.

However, the rest of the stuff in that comment baffles me. I don't know what any of it means, and I can't find any obvious correspondence to anything anywhere. But if you figure it out, let us know. [a href="index.php?act=findpost&pid=211985"][{POST_SNAPBACK}][/a]


When foo_pod writes replaygain values to the iPod, does it simply replace the first value in the itunNORM field leaving the rest of the values alone?  If you guys don't know what the other values represent then it would seem that you either 1) leave them alone and modify the value you do know, or 2) modify the first value and delete all the rest.

If this is the case, then (and I'm probably setting myself up for my own private hell) I'm considering manually editing the itunNORM field with a translated Replaygain setting.  Yes, I am that obsessive.

So, first of all, is this even feasible?  (Ignoring the massive waste of time)  And second, is there any way to harvest the RG/SC translation data from foo_pod so that I don't have to compute it all and then translate to hexadecimal (or whatever format that itunNORM field is in)


Quote
Quote
If I add replaygain information to my .mp3 files in fb2k, and don't have soundcheck scanning activated in iTunes, that (rg) information should remain untouched, and still play properly on my iPod (when soundcheck is "on"), correct?
[a href="index.php?act=findpost&pid=269321"][{POST_SNAPBACK}][/a]

Nope. iTunes will overwrite the soundcheck field in the iTunesDB when it creates the file. If it doesn't have volume information from scanning the file, it writes zeros. iTunes doesn't actually change a pre-existing file, it simply rewrites the entire iTunesDB file the way it thinks it should be.
[a href="index.php?act=findpost&pid=269363"][{POST_SNAPBACK}][/a]

Now this conversation gives me pause.  From what I understand, the itunNORM field is not directly read from the audio file, but it will be read when adding the file to the iTunes library.  So, I think I should be able to turn on soundcheck in itunes, causing it to analyze what's there.  Then, modify that data to reflect RG values.  Then, delete the iTunes library and finally add all the newly formatted audio files back into the library, leaving soundcheck turned on.  Will this work?  Will this get around iTunes overwriting the RG values?
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-26 05:13:59
Just for the record, you should definately check here (http://www.hydrogenaudio.org/forums/index.php?showtopic=40230) and here (http://www.hydrogenaudio.org/forums/index.php?showtopic=40269)
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-26 05:36:39
Yeah, I think I came across that material at some time or another in the last two days.  These are the issues I'm trying to address:

1. I need to use iTunes for the smart playlists.  I rely on playlists that refer to other playlists as selection criteria.

2. I want the album gain feature of Replaygain.

3. I have been using MP3Gain for a while now, but I always undo the gain changes once the files are transfered to the portable.  My wife and I share the same music files and she doesn't like the altered files.  If I edit any tags then I have to regain before I can upload it.

I would think that the time invested in getting the Replaygain values into the Soundcheck format now would make my life easier down the road.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2006-01-26 11:35:14
Quote
So Otto do you know if the foo_pod replaygain translation adjusts the soundcheck values or the volume adjustment?

I believe it can do either. There's a setting for that, or there used to be. The reason for this setting was that, on older iPods (3G), the soundcheck is not performed on audio using the Line Out on the dock. Newer iPods fixed this flaw.

Quote
If iTunes doesn't read the soundcheck values directly from the file then does that mean that it is stored somewhere in the iTunes Library XML file?

Just to be clear, the XML file is *not* the library. The library is the ITL file, the XML file is what I like to call a "write-only" file. iTunes never really reads the XML file.

Quote
Is it possible to manually modify those values so that they reflect replaygain settings?

Possible? Sure. You'd have to figure out how the ITL file works.

Quote
When foo_pod writes replaygain values to the iPod, does it simply replace the first value in the itunNORM field leaving the rest of the values alone?

Neither foo_pod nor the iPod care what is in the iTunNORM comment. The iPod never, ever, reads tags. Period. It's getting it's information from the iTunesDB. foo_pod writes converted ReplayGain values directly to the proper places in the iTunesDB file on the iPod. 

Quote
If this is the case, then (and I'm probably setting myself up for my own private hell) I'm considering manually editing the itunNORM field with a translated Replaygain setting.  Yes, I am that obsessive.

Wouldn't do you any good. The iPod does not read the iTunNORM data.

Now, iTunes DOES read this data, but only when the song is initially added to iTunes. After that, it never looks at it again, as far as I know. Although from what the iVolume guy has said on his page, I'm starting to wonder about that.

Quote
So, first of all, is this even feasible?  (Ignoring the massive waste of time)  And second, is there any way to harvest the RG/SC translation data from foo_pod so that I don't have to compute it all and then translate to hexadecimal (or whatever format that itunNORM field is in)

It really depends on what exactly your goal here is. I'm uncertain as to what it is, precisely, that you're attempting to accomplish.

Quote
Now this conversation gives me pause.  From what I understand, the itunNORM field is not directly read from the audio file, but it will be read when adding the file to the iTunes library.  So, I think I should be able to turn on soundcheck in itunes, causing it to analyze what's there.  Then, modify that data to reflect RG values.  Then, delete the iTunes library and finally add all the newly formatted audio files back into the library, leaving soundcheck turned on.  Will this work?  Will this get around iTunes overwriting the RG values?
[a href="index.php?act=findpost&pid=359819"][{POST_SNAPBACK}][/a]

That would work, despite being a massive pain in the ass.

Another way that *might* work would be to let iTunes scan the file, thus writing the iTunNorm crap to it, then modifying the iTunNorm data directly, and then using the UpdateInfoFromFile() call in the COM library to force iTunes to reread the file tags. This *might* update volume information from that tag, but that is only conjecture. However, it sounds sorta like what the iVolume guy is doing, although he's doing it on the Mac, it seems. Testing would be needed to see if this would work.

Quote
1. I need to use iTunes for the smart playlists.  I rely on playlists that refer to other playlists as selection criteria.

I wrote functionality into my original implementation of smart playlists to allow these sort of smart playlists to work without using iTunes. Since foo_pod is using a highly modified version of that original code, foo_pod *could* implement this, in theory. You'd have to talk to Aero. Basically, foo_pod is not precalculating smart playlists, just letting the iPod do it. But the iPod does not implement the "Playlist" rule. If foo_pod precalculated it (which is what that code I wrote does), then it would work.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-26 15:40:34
First, Otto, I want to thank you for such a thorough answer.

I'm not sure if I will proceed with modifying the iTunNorm value now.  If you guys aren't able to figure out what those extra values are, then I seriously doubt I will be able to make any headway.  However, I may play around a little with the scheme I outlined in my last post where I modify the iTunNorm and then import it into the iTunes library.

In order to do that though I was hoping you could give me a little more information on the formatting of that value.  (I have next to no programming experience)  I remember reading in one of the earliest posts regarding the soundcheck variable you mentioned that the digits were reversed.  Could you elaborate on that?

For example, if I have a track that i want to apply a -12.0dB gain:

1000 * 10^(-.1 * -12.0) = 15848.931...

Round to 15849 then convert to hexadecimal yields 3DE9, correct?

So how would I enter that into iTunNorm? 00003DE9? 0000E93D?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Otto42 on 2006-01-26 16:18:18
Quote
For example, if I have a track that i want to apply a -12.0dB gain:

1000 * 10^(-.1 * -12.0) = 15848.931...

Round to 15849 then convert to hexadecimal yields 3DE9, correct?

So how would I enter that into iTunNorm? 00003DE9? 0000E93D?
[a href="index.php?act=findpost&pid=359907"][{POST_SNAPBACK}][/a]

In iTunNorm, it'll be 00003DE9. In the iTunesDB file, it'll be E93D0000.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-26 16:45:58
Excellent.  Thanks for all your help.  If my experiments yield any notable results I'll post them.  If not, you can probably safely assume that my brain short-circuited from obsessing over unimportant minutiae.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-27 08:01:47
Hmm, foo_pod sounds like the best solution to this issue. Will it ever support cuesheets/ CD images? I can't imagine this being particularly hard to implement, as they will  always need to be transcoded, and diskwriter (which AFAIK foo_pod's transcoding is based on) supports them. For me this makes it all but completely useless. It would also be nice if it didnt completely block the entire foobar GUI during the transfer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-27 14:45:25
Quote
Hmm, foo_pod sounds like the best solution to this issue. Will it ever support cuesheets/ CD images? I can't imagine this being particularly hard to implement, as they will  always need to be transcoded, and diskwriter (which AFAIK foo_pod's transcoding is based on) supports them. For me this makes it all but completely useless. It would also be nice if it didnt completely block the entire foobar GUI during the transfer.
[a href="index.php?act=findpost&pid=360087"][{POST_SNAPBACK}][/a]


It would be nice if the source was open and add that support yourself, eh?
Title: foo_pod - Foobar2000 meets the iPod
Post by: dalecooper on 2006-01-27 15:13:46
Hi there - I'm having a problem with foo pod.  I just downloaded foobar and foo pod and they seemed to work as desired.  I downloaded them primarily to update my iPod with replaygain values so I could use Soundcheck.  However, after scanning my entire playlist for replaygain and updating the iPod database, my iPod no longer shows song information in iTunes - the screen is simply blank.  What have I done?  Is there anyway to undo this?  I like using iTunes for several reasons and I'd like to be able to use both.  foobar/foo pod is still showing my iPod contents correctly and will play the files.  iTunes has a scroll bar but no track information at all.

Thanks!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-27 15:20:53
Quote
Hi there - I'm having a problem with foo pod.  I just downloaded foobar and foo pod and they seemed to work as desired.  I downloaded them primarily to update my iPod with replaygain values so I could use Soundcheck.  However, after scanning my entire playlist for replaygain and updating the iPod database, my iPod no longer shows song information in iTunes - the screen is simply blank.  What have I done?  Is there anyway to undo this?  I like using iTunes for several reasons and I'd like to be able to use both.  foobar/foo pod is still showing my iPod contents correctly and will play the files.  iTunes has a scroll bar but no track information at all.

Thanks!!
[a href="index.php?act=findpost&pid=360149"][{POST_SNAPBACK}][/a]


I'm presuming you're using a recent version of iTunes.  foo_pod doesn't suport the latest version of the iTunesDB, so once it writes its version of the iPod, iTunes can no longer read it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: dalecooper on 2006-01-27 15:25:33
That was pretty much what I figured.  I had read somewhere (maybe on this forum) that someone was using foo pod with iTunes 6.0 successfully, but I guess I should have taken that with a grain of salt.  Is it possible to revert the db in some way using iTunes, or am I now stuck waiting for a foo pod update?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-27 15:38:16
Quote
That was pretty much what I figured.  I had read somewhere (maybe on this forum) that someone was using foo pod with iTunes 6.0 successfully, but I guess I should have taken that with a grain of salt.  Is it possible to revert the db in some way using iTunes, or am I now stuck waiting for a foo pod update?
[a href="index.php?act=findpost&pid=360154"][{POST_SNAPBACK}][/a]


This I don't know the answer to, but I suspect one of five things can happen:

1) Drop iTunes and stick with foobar/foo_pod
2) Go back to a previous version of iTunes (4.8) which can read the foo_pod DB
3) Erase your iPod and start over using iTunes only.
4) Wait for a new version of foo_pod which supports the new databases
5) Write a new foobar plugin for the iPod (from scratch)
Title: foo_pod - Foobar2000 meets the iPod
Post by: dalecooper on 2006-01-27 15:43:09
Heh heh.  OK, I guess I have an uncomfortable decision to make.
Title: foo_pod - Foobar2000 meets the iPod
Post by: carmenm on 2006-01-27 18:57:16
I have a little problem with the plugin. When i right click on a file from a playlist and goes to foo_pod i dont have send to ipod. I only have send to ipod "send file to ipod as audiobook". How do i manage to have "send file to ipod" ???
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-27 19:10:32
Quote
I have a little problem with the plugin. When i right click on a file from a playlist and goes to foo_pod i dont have send to ipod. I only have send to ipod "send file to ipod as audiobook". How do i manage to have "send file to ipod" ???
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=360195")


Have you looked at [a href="http://www.tinkafoo.com/log/foo_pod.html]http://www.tinkafoo.com/log/foo_pod.html[/url]?
Title: foo_pod - Foobar2000 meets the iPod
Post by: carmenm on 2006-01-27 19:43:38
Yeah i did and that's where i found that i should have the entry in my menu...
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-01-27 19:48:05
Quote
Yeah i did and that's where i found that i should have the entry in my menu...
[a href="index.php?act=findpost&pid=360206"][{POST_SNAPBACK}][/a]


Are you files MP3?  If not, do you have transcoding setup?  Is your iPod connected?  Did you try to mount/eject it from foo_pod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: carmenm on 2006-01-27 21:01:42
All my files are mp3 and yes my ipod is connected. In fact all the others options of foo_pod work perfectly, like editing playlists. Only "send to ipod" does not appear which is quite annoying...
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-27 23:14:49
Quote
All my files are mp3 and yes my ipod is connected. In fact all the others options of foo_pod work perfectly, like editing playlists. Only "send to ipod" does not appear which is quite annoying...
[a href="index.php?act=findpost&pid=360213"][{POST_SNAPBACK}][/a]


Are you sure that Send to iPod is in your context menu? I found that after reinstalling some plugins that were previously installed some menu items vanished, check Core->Context menu items in settings.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-01-27 23:22:41
Quote
Quote
Hmm, foo_pod sounds like the best solution to this issue. Will it ever support cuesheets/ CD images? I can't imagine this being particularly hard to implement, as they will  always need to be transcoded, and diskwriter (which AFAIK foo_pod's transcoding is based on) supports them. For me this makes it all but completely useless. It would also be nice if it didnt completely block the entire foobar GUI during the transfer.
[a href="index.php?act=findpost&pid=360087"][{POST_SNAPBACK}][/a]


It would be nice if the source was open and add that support yourself, eh?
[a href="index.php?act=findpost&pid=360145"][{POST_SNAPBACK}][/a]


That would be nice too, although starting over is also an option (I remember iTunesDB code is available, written by Otto42 from memory). However foo_sendtopod+iTunes is doing a good job for me at the moment. Not having replaygain is the main annoyance, but it just occurred to me, what if I modified foo_pod to apply replaygain when transcoding, and use mp3gain when not transcoding? The only files left unreplaygained would be AAC, but I only have one album of these which can easily be re-ripped to wavpack like everything else.

Not the ultimate, best, or even a proper solution, and I know I will never be happy with it just because its not the best way, but it would be better than what I'm currently doing.

Edit: It seems something called AACGain exists...
Title: foo_pod - Foobar2000 meets the iPod
Post by: carmenm on 2006-01-28 11:02:14
Quote
Are you sure that Send to iPod is in your context menu? I found that after reinstalling some plugins that were previously installed some menu items vanished, check Core->Context menu items in settings.
[a href="index.php?act=findpost&pid=360228"][{POST_SNAPBACK}][/a]



  Thank you, that was that. I reset the context menu and know everything is ok!!!!!!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-01-30 05:55:51
Here is what I've learned from my experiments with modifying the iTunNORM values to reflect Replaygain settings.  (Before doing this I backed up my full iTunes Library XML and ITL files from the iTunes folder, and deleted the main files to force iTunes to create a new set)

First, I ran the Replaygain Scanner in foobar to calculate the album gain values.  Then I ran them through Soundcheck in iTunes and closed iTunes.  After converting the Replaygain album gain values to hexadecimal I modified the first value in the iTunNORM string to reflect the new gain setting.  I then deleted the iTunes Library XML and ITL again and added the folders to iTunes.

As long as only the first value of the iTunNORM string was modified iTunes recognized and used that value for its Soundcheck settings.  Also noteworthy was that iTunes apparently DID continue to read the iTunNORM value after initially adding it to the library.  I was able to modify the tag and change the volume without having to delete the library and reimport the files.  However, if I deleted the iTunNORM frame from the file, iTunes used whatever value I had last entered.  If the iTunes library was then deleted, any file missing the iTunNORM frame was re-analyzed by Soundcheck.

Additionally, if I deleted the other values in the iTunNORM string iTunes no longer recognized it.  Similar to deleting the frame entirely, it would use whatever the last gain setting was.  If I deleted the iTunes library it would re-analyze the file and overwrite the modified iTunNORM string.

None of this information is too earth-shattering, but iTunes' continued interaction with the iTunNORM value is noteworthy.  This means that the values can be modified without having to delete the iTunes library XML and ITL files.  So play counts and play dates can be retained.
Title: foo_pod - Foobar2000 meets the iPod
Post by: warhog4ever on 2006-01-30 19:55:27
Any chance of iPod 5G support? I've been using foo_pod with my 3G for ages, and I love it. I might be switching to Anapod for my new 5G when it arrives... since I don't see how it would work for video and such to be integrated from foobar... but I gotta say, I LOVE this plugin. Thanks man.
Title: foo_pod - Foobar2000 meets the iPod
Post by: warhog4ever on 2006-01-31 22:37:35
I had a thought. Does foo_pod still work with the latest firmware?

If it does... then I could still use it for my music (just not my videos and images) which would be GREAT!

My bad, I should've read the topic first. Please get a new iPod so we can get new firmware support soon! =D I know that's asking a lot... lol. You should start a paypal fund, I'm sure plenty of people would like to see new iPod support. =) You'd get a new iPod out of the deal and we'd get foobar support, I'm not complaining! =D
Title: foo_pod - Foobar2000 meets the iPod
Post by: Raja on 2006-02-01 08:13:36
Okay, so it's been a while since I've paid attention to this thread.

I have a version of foo_pod installed already.  I don't know which one it is, but it's pretty old.  At least a few months, if not more.

I also have iTunes on my computer.  Pretty sure my iTunes is ancient as well.

The firmware on my 40 GB 4G iPod hasn't been updated in some time either.  Probably because of what I am posting below, for some reason.

I can remember checking in here a while back.  I remember hearing warnings about using foo_pod with a certain firmware, or with a certain iTunes, or that a version of foo_pod would destroy something.  Something to that effect.

Now, I notice that foo_pod 0.9.9m has been released.  Are there any MAJOR issues?  As in, if I upgrade, will it do something to my iPod?

Basically what I am asking is this:  if I upgrade to the latest iTunes, the latest iPod firmware, and the latest foo_pod, will something break?

Just an FYI, but I did read the web page with info about the foo_pod plugin before I posted this, and I cannot see that my concerns are adequately addressed there.

Thanks for an answer!
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-02-01 15:08:05
Quote
Okay, so it's been a while since I've paid attention to this thread.

I have a version of foo_pod installed already.  I don't know which one it is, but it's pretty old.  At least a few months, if not more.

I also have iTunes on my computer.  Pretty sure my iTunes is ancient as well.

The firmware on my 40 GB 4G iPod hasn't been updated in some time either.  Probably because of what I am posting below, for some reason.

I can remember checking in here a while back.  I remember hearing warnings about using foo_pod with a certain firmware, or with a certain iTunes, or that a version of foo_pod would destroy something.  Something to that effect.

Now, I notice that foo_pod 0.9.9m has been released.  Are there any MAJOR issues?  As in, if I upgrade, will it do something to my iPod?

Basically what I am asking is this:  if I upgrade to the latest iTunes, the latest iPod firmware, and the latest foo_pod, will something break?

Just an FYI, but I did read the web page with info about the foo_pod plugin before I posted this, and I cannot see that my concerns are adequately addressed there.

Thanks for an answer!
[a href="index.php?act=findpost&pid=361171"][{POST_SNAPBACK}][/a]


The only problem you will have is if you upgrade to a recent version of Itunes.  The issue is that foo_pod doesn't yet support the latest iTunesDB version.  If you write a foo_pod DB out to the iPod, iTunes will no longer be able to read it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: spanky1406 on 2006-02-02 11:05:06
Is foo_pod able to sync ratings, playcounts and last_played info between ipod and the foobar database?

E.g. I'm sending songs to my ipod, play the songs on ipod and change the rating. Now I want to sync this changes with my foobar database. How can I do this?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-02-02 14:55:24
Quote
Is foo_pod able to sync ratings, playcounts and last_played info between ipod and the foobar database?

E.g. I'm sending songs to my ipod, play the songs on ipod and change the rating. Now I want to sync this changes with my foobar database. How can I do this?
[a href="index.php?act=findpost&pid=361451"][{POST_SNAPBACK}][/a]


How do you change the rating from the iPod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Veritas on 2006-02-02 22:28:08
I don't know about earlier iPods, but with a 5G you push the select (center) button twice at the now playing screen.  The track length bar then changes to the ratings bar and you can scroll the rating up or down.
Title: foo_pod - Foobar2000 meets the iPod
Post by: spanky1406 on 2006-02-03 15:13:24
Quote
Quote
Is foo_pod able to sync ratings, playcounts and last_played info between ipod and the foobar database?

E.g. I'm sending songs to my ipod, play the songs on ipod and change the rating. Now I want to sync this changes with my foobar database. How can I do this?
[a href="index.php?act=findpost&pid=361451"][{POST_SNAPBACK}][/a]


How do you change the rating from the iPod?
[a href="index.php?act=findpost&pid=361482"][{POST_SNAPBACK}][/a]


Sorry, I did not express myself correctly: I load songs on the iPod without ratings, value it there and would like to receive these ratings in my foobar database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-02-03 15:22:05
Quote
Quote
Quote
Is foo_pod able to sync ratings, playcounts and last_played info between ipod and the foobar database?

E.g. I'm sending songs to my ipod, play the songs on ipod and change the rating. Now I want to sync this changes with my foobar database. How can I do this?
[a href="index.php?act=findpost&pid=361451"][{POST_SNAPBACK}][/a]


How do you change the rating from the iPod?
[a href="index.php?act=findpost&pid=361482"][{POST_SNAPBACK}][/a]


Sorry, I did not express myself correctly: I load songs on the iPod without ratings, value it there and would like to receive these ratings in my foobar database.
[a href="index.php?act=findpost&pid=361674"][{POST_SNAPBACK}][/a]


I don't think this works this way, i.e. foo_pod only syncs to the iPod, not the other way around.

Anyone else know for sure?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Raja on 2006-02-04 00:55:07
Quote
The only problem you will have is if you upgrade to a recent version of Itunes. The issue is that foo_pod doesn't yet support the latest iTunesDB version. If you write a foo_pod DB out to the iPod, iTunes will no longer be able to read it.
Okay.  I just checked my iTunes version, and it stands at 4.8.x, so I'm good there.

I can still apply updates to foo_pod and iPod firmware though, correct?
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-02-04 02:30:32
Quote
Quote
The only problem you will have is if you upgrade to a recent version of Itunes. The issue is that foo_pod doesn't yet support the latest iTunesDB version. If you write a foo_pod DB out to the iPod, iTunes will no longer be able to read it.
Okay.  I just checked my iTunes version, and it stands at 4.8.x, so I'm good there.

I can still apply updates to foo_pod and iPod firmware though, correct?
[a href="index.php?act=findpost&pid=361769"][{POST_SNAPBACK}][/a]

I have a 20G 4G iPod and I have had no problems using the 01-10-2006 Updater with foo_pod v0.9.9m, using the 4.7 DB format. I do not use my iPod with iTunes at all, so I cannot vouch as to whether or not you'll encounter any problems while connected to iTunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-02-05 00:48:41
Quote
Quote
Quote
The only problem you will have is if you upgrade to a recent version of Itunes. The issue is that foo_pod doesn't yet support the latest iTunesDB version. If you write a foo_pod DB out to the iPod, iTunes will no longer be able to read it.
Okay.  I just checked my iTunes version, and it stands at 4.8.x, so I'm good there.

I can still apply updates to foo_pod and iPod firmware though, correct?
[a href="index.php?act=findpost&pid=361769"][{POST_SNAPBACK}][/a]

I have a 20G 4G iPod and I have had no problems using the 01-10-2006 Updater with foo_pod v0.9.9m, using the 4.7 DB format. I do not use my iPod with iTunes at all, so I cannot vouch as to whether or not you'll encounter any problems while connected to iTunes.
[a href="index.php?act=findpost&pid=361782"][{POST_SNAPBACK}][/a]


I used the exact same combination, foo_pod worked in a way, except I got duplicate entries for some artists, tracks that would not play (it just skipped to the next track when I tried to play them). iTunes refused to display the tracks (the scrollbar showed there were tracks there, but every row was blank). XPlay2 still worked though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: bobbobbob on 2006-02-07 21:56:33
Hi, I want to alter the tags on my iPod without altering the original files ID3 tags (I want to add tracknumbers - they are in the filename but not detected by the iPod as they aren't in the tag). Is this possible at all, whether using foo_pod or anything else (well, except iTunes)? I can't find anything that will do this.

Great work on the plugin btw
Title: foo_pod - Foobar2000 meets the iPod
Post by: Raja on 2006-02-08 08:22:05
Why wouldn't you want to add tracknumbers to the original tags?
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-02-08 09:17:41
Quote
(well, except iTunes)? I can't find anything that will do this.
[a href="index.php?act=findpost&pid=362606"][{POST_SNAPBACK}][/a]


Why not iTunes?

Edit: BTW, what you are suggesting is probably not possible. Most ipod software mangles filenames, in which case you won't have the original tracknumbers anymore.
Title: foo_pod - Foobar2000 meets the iPod
Post by: fenningenarius on 2006-02-08 17:08:08
Has anyone been able to get foo_pod and iTunes to both work with a Nano?

I'd like to be able to use iTunes occaisonaly with my Nano, but use foo_pod exclusively to transfer music to the Nano.  I want to use foo_pod because of the replaygain->soundcheck translation.  I want to use iTunes whenever I play music on my ipod while connected to the computer because then my ratings/playcounts will work correctly. 

I have tried many combinations of firmware/itunes/foo_pod versions including firmware versions 1.0 and 1.1, itunes 4.8, 4.9 and 6.0.  I've only ever used foo_pod 0.9.9m.  I've also tried changing the foo_pod options to use 4.7/4.8 databases as well as 4.9 databases.  I've tried pretty much every combination possible of these firmware/software versions/options. 

I can get foo_pod to successfully transfer songs to the ipod and play them, but the only way I've been able to play these songs on the ipod from within iTunes is to use the 'rebuild database' feature.  After rebuilding, iTunes can play the files until anything new has been transferred with foo_pod - if something new is transferred with foo_pod then 'rebuild database' must be performed again in order for iTunes to be able to play any files on the ipod (not just the new ones).  I wouldn't mind just rebuilding the database after each transfer except that it resets all my ratings/playcounts each time I do this. 

Anyone got any ideas or is this something that just isn't possible?  Thanks for any help. 

PS:  Anyone know of a program like iVolume for Windows?
Title: foo_pod - Foobar2000 meets the iPod
Post by: bobbobbob on 2006-02-08 17:18:41
Quote
Why wouldn't you want to add tracknumbers to the original tags?
[a href="index.php?act=findpost&pid=362711"][{POST_SNAPBACK}][/a]


Because I don't have all the songs on my PC.

Quote
Why not iTunes?

Edit: BTW, what you are suggesting is probably not possible. Most ipod software mangles filenames, in which case you won't have the original tracknumbers anymore.
[a href="index.php?act=findpost&pid=362718"][{POST_SNAPBACK}][/a]


Because I don't have iTunes installed and wish to avoid it (heard horror stories of it altering MP3 files from just running it), and from what I can tell it likes to have files on the HDD at the same time as on the iPod. And if there was an easy way of doing it by hand it would be okay too

Edit: Just found Anapod can do what I want. Woo
Title: foo_pod - Foobar2000 meets the iPod
Post by: m1abrams on 2006-02-11 19:52:13
So Aero you still supporting/developing foo_pod?  I hope now that they fixed the annoying smart playlist bug you are.  I know you mentioned that you feel that any new features would require a full rewrite.

I have read through a good bit of the thread almost all 77 pages.  However correct me if I am wrong.

foo_pod does NOT support the following.
syncing of rating,last played, play count
and AlbumArt.

Is this correct?

Are their any plans to add support to any of the above items?

Thanks.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-02-11 20:46:17
Add CD Images/Files with subsong indices to that list.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Ice Devil on 2006-02-15 16:00:34
I don't know if someone has posted this before but I discovered a bug in the latest version.  I got an iPod color and it seems that long songs that are more then 12 or 13 minutes long get skipped.  This has nothing to do with long file names as all my files are encoded with the latest iTunes and iTunes by default keeps their file names to a maximum of 36 characters.  So this problem only occurs during very long songs.  I discovered this problem with listening to Pink Floyd "Animals".  Track two is over 17 minutes in length, so as the first track played through, it ended then my iPod started playing track Three, totally skipping track two.  However, I was able to play track two just by skipping back a track, so long songs are still playable.

So I decided to test my iPod out, to see if this was just a small glitch that happed, and this time watching the display.  What happed was after playing track one through again, the display momentaraly showed track two's information and then immediately skipped to track three again, never playing track two.  I've also tested this on other long songs that I have on my iPod and the results are the same.  Long song gets skipped.  Thankfully, not allot of my songs are very long, but it's still rather frustrating to have to reach for my iPod to skip back to a song because it gets skipped from song length issues.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-02-24 20:02:16
I've been using foo_pod (v. 9.9m) for two days, and it's great, except I can't transcode on the fly.  The .dll's are in the 'components' file, and I've got the LAME.exe in the main foobar folder. I set the foo_pod transcode preferences for LAME.  I right-click on a file to sent to the 'pod, and get the following error message in the console -

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape to e:\iPod_Control\Music\F34\15f06b5e910672496.mp3

There's a msvcp71.dll still in the foo_pod folder, but the readme says nothing about it.  Is this my problem?  I read thru this thread (well, mostly) and went thru tinkafoo's page looking for info, but no luck.  I've tried putting just the LAME.exe in the folder, and I even dumped the whole LAME folder in.  All I get are error messages like the one above.  I downloaded FAAC v1.24, but I'm not sure what I'm supposed to place (nothing looks like an "FAAC.exe").

Anyone have suggestions?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-02-24 20:29:21
Quote
I've been using foo_pod (v. 9.9m) for two days, and it's great, except I can't transcode on the fly.  The .dll's are in the 'components' file, and I've got the LAME.exe in the main foobar folder. I set the foo_pod transcode preferences for LAME.   I right-click on a file to sent to the 'pod, and get the following error message in the console -

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape to e:\iPod_Control\Music\F34\15f06b5e910672496.mp3

There's a msvcp71.dll still in the foo_pod folder, but the readme says nothing about it.  Is this my problem?  I read thru this thread (well, mostly) and went thru tinkafoo's page looking for info, but no luck.  I've tried putting just the LAME.exe in the folder, and I even dumped the whole LAME folder in.  All I get are error messages like the one above.  I downloaded FAAC v1.24, but I'm not sure what I'm supposed to place (nothing looks like an "FAAC.exe").

Anyone have suggestions?
[a href="index.php?act=findpost&pid=367002"][{POST_SNAPBACK}][/a]


Are you doing one of the preset transcoding selections?  Can you try a customer encoder and specify the path the lame.exe and see if that helps?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Demonanya on 2006-02-24 21:06:07
First of all many thanks for this wonderful plugin, ITunes has been uninstalled and shall never darken my PC ever again.

Anyway, just got a quick question with regards to Replay Gain.  All of my music on the PC has been ran through the Replay Gain scanner, does this mean that when I transfer songs over to my iPod, the Replay Gain information will go over as well or will it need re-applying on the actual iPod?
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-02-24 21:10:12
Quote
First of all many thanks for this wonderful plugin, ITunes has been uninstalled and shall never darken my PC ever again.

Anyway, just got a quick question with regards to Replay Gain.  All of my music on the PC has been ran through the Replay Gain scanner, does this mean that when I transfer songs over to my iPod, the Replay Gain information will go over as well or will it need re-applying on the actual iPod?
[a href="index.php?act=findpost&pid=367029"][{POST_SNAPBACK}][/a]


It will use the ReplayGain values you already have in foo_bar.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Demonanya on 2006-02-24 21:19:05
Quote
Quote
First of all many thanks for this wonderful plugin, ITunes has been uninstalled and shall never darken my PC ever again.

Anyway, just got a quick question with regards to Replay Gain.  All of my music on the PC has been ran through the Replay Gain scanner, does this mean that when I transfer songs over to my iPod, the Replay Gain information will go over as well or will it need re-applying on the actual iPod?
[a href="index.php?act=findpost&pid=367029"][{POST_SNAPBACK}][/a]


It will use the ReplayGain values you already have in foo_bar.
[a href="index.php?act=findpost&pid=367031"][{POST_SNAPBACK}][/a]


Many thanks for the reply ReD-BaRoN
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-02-26 05:56:38
Quote
Quote
I've been using foo_pod (v. 9.9m) for two days, and it's great, except I can't transcode on the fly.  The .dll's are in the 'components' file, and I've got the LAME.exe in the main foobar folder. I set the foo_pod transcode preferences for LAME.   I right-click on a file to sent to the 'pod, and get the following error message in the console -

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape to e:\iPod_Control\Music\F34\15f06b5e910672496.mp3

There's a msvcp71.dll still in the foo_pod folder, but the readme says nothing about it.  Is this my problem?  I read thru this thread (well, mostly) and went thru tinkafoo's page looking for info, but no luck.  I've tried putting just the LAME.exe in the folder, and I even dumped the whole LAME folder in.  All I get are error messages like the one above.  I downloaded FAAC v1.24, but I'm not sure what I'm supposed to place (nothing looks like an "FAAC.exe").

Anyone have suggestions?
[a href="index.php?act=findpost&pid=367002"][{POST_SNAPBACK}][/a]


Are you doing one of the preset transcoding selections?  Can you try a customer encoder and specify the path the lame.exe and see if that helps?
[a href="index.php?act=findpost&pid=367015"][{POST_SNAPBACK}][/a]

Tried that - same message.
- edit - I just discovered that I can't convert a file in fb2k, either.  Is there a connection here?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-02-26 09:36:10
Version 0.9.9n (http://www.loodi.com/foo_pod.zip) is now available.


Yeah, it has been awhile since the last release, but foo_pod development is (slowing) progressing.  Since Apple finally got their firmware situation straightened out, I have been wanting to get foo_pod's iTunesDB support up to snuff.  Unfortunately, it still isn't there yet...

But the good news is that there are some nice new features that I was able to get working.  These are mainly Podcasting related features - Bookmarking and Shuffle Skip. 

Previous to this version, if you wanted to be able to make a song bookmarkable (meaning that you can play a song, switch to a different song, and return to the first song and pick up playback), you had to use the "Send To iPod as Audiobook" feature.  This transcoded the file into AAC format and wrote it out as a .m4b file.  This worked, but the drawbacks were that transcoding took a lot of time and it degraded the audio quality.  You can now specify a TAGZ formatting string in the Podcast tab of the foo_pod preferences to determine which songs will be bookmarkable. 

Also under the Podcasting tab is another TAGZ format string called Shuffle Skip.  As the name implies, this feature allows you to specify a group of songs that will not be played in shuffle mode.  You might use this ensure that only songs are shuffled.

There is also a Podcast TAGZ string on this tab, but until better iTunesDB format support is available, this doesn't do anything very useful.


From the Readme:
Code: [Select]
Version 0.9.9n - February 26, 2006
*  Added podcast features, which work with newer versions of the iPod firmware - Podcast, Bookmarkable, and Shuffle Skip.  

  Podcast is a special designation which displays show notes and causes the song to appear in
  special Podcast menu (these features are not fully implemented in foo_pod yet...).  

  Bookmarkable feature allows the position within a song to be saved so if you switch to a different song,
  when you return to the original bookmarked song, the playback will resume from the last played location.

  Shuffle Skip allows you to designate a category of songs that will not be played by the iPod while in
  shuffle mode.  This is useful for preventing audiobooks and podcasts from being played during shuffling,
  for example.

  These features are found under the Podcast tab in the foo_pod preference.  You will have to specify TAGZ
  format strings to control how these are used.  See the tab for further information.

*  Disabled the iTunes 4.9 compatible format database writing.  Support for this format has always been marginal, and it causes more problems than it is worth.  Eventually, iTunes 6+ format databases will be supported.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-02-26 17:06:50
Quote
Quote
Quote
I've been using foo_pod (v. 9.9m) for two days, and it's great, except I can't transcode on the fly.  The .dll's are in the 'components' file, and I've got the LAME.exe in the main foobar folder. I set the foo_pod transcode preferences for LAME.   I right-click on a file to sent to the 'pod, and get the following error message in the console -

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape to e:\iPod_Control\Music\F34\15f06b5e910672496.mp3

There's a msvcp71.dll still in the foo_pod folder, but the readme says nothing about it.  Is this my problem?  I read thru this thread (well, mostly) and went thru tinkafoo's page looking for info, but no luck.  I've tried putting just the LAME.exe in the folder, and I even dumped the whole LAME folder in.  All I get are error messages like the one above.  I downloaded FAAC v1.24, but I'm not sure what I'm supposed to place (nothing looks like an "FAAC.exe").

Anyone have suggestions?
[a href="index.php?act=findpost&pid=367002"][{POST_SNAPBACK}][/a]


Are you doing one of the preset transcoding selections?  Can you try a customer encoder and specify the path the lame.exe and see if that helps?
[a href="index.php?act=findpost&pid=367015"][{POST_SNAPBACK}][/a]

- edit - I just discovered that I can't convert a file in fb2k, either.  Is there a connection here?
[a href="index.php?act=findpost&pid=367346"][{POST_SNAPBACK}][/a]


I'm pretty sure that foo_pod leverages fb2k's transcoding support.  I would work on getting transcoding to work in fb2k first, and then come back and try it in foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-02-26 18:38:15
Quote
Quote
Quote
Quote
I've been using foo_pod (v. 9.9m) for two days, and it's great, except I can't transcode on the fly.  The .dll's are in the 'components' file, and I've got the LAME.exe in the main foobar folder. I set the foo_pod transcode preferences for LAME.   I right-click on a file to sent to the 'pod, and get the following error message in the console -

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape to e:\iPod_Control\Music\F34\15f06b5e910672496.mp3

There's a msvcp71.dll still in the foo_pod folder, but the readme says nothing about it.  Is this my problem?  I read thru this thread (well, mostly) and went thru tinkafoo's page looking for info, but no luck.  I've tried putting just the LAME.exe in the folder, and I even dumped the whole LAME folder in.  All I get are error messages like the one above.  I downloaded FAAC v1.24, but I'm not sure what I'm supposed to place (nothing looks like an "FAAC.exe").

Anyone have suggestions?
[a href="index.php?act=findpost&pid=367002"][{POST_SNAPBACK}][/a]


Are you doing one of the preset transcoding selections?  Can you try a customer encoder and specify the path the lame.exe and see if that helps?
[a href="index.php?act=findpost&pid=367015"][{POST_SNAPBACK}][/a]

- edit - I just discovered that I can't convert a file in fb2k, either.  Is there a connection here?
[a href="index.php?act=findpost&pid=367346"][{POST_SNAPBACK}][/a]


I'm pretty sure that foo_pod leverages fb2k's transcoding support.  I would work on getting transcoding to work in fb2k first, and then come back and try it in foo_pod.
[a href="index.php?act=findpost&pid=367483"][{POST_SNAPBACK}][/a]

That's what I was thinking also - I may try a fresh install of v0.8.3 w/the above-mentioned foo_pod  new release (it wouldn't surprise me to discover that I buggered up my current version of fb2k, trying various things over the last year or so...).
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-02-27 05:57:30
Quote
Quote
Quote
Quote
Quote
I've been using foo_pod (v. 9.9m) for two days, and it's great, except I can't transcode on the fly.  The .dll's are in the 'components' file, and I've got the LAME.exe in the main foobar folder. I set the foo_pod transcode preferences for LAME.   I right-click on a file to sent to the 'pod, and get the following error message in the console -

ERROR (foo_podtranscoder) : Error opening transcoder exe
ERROR (foo_podtranscoder) : foo_podtranscoder: transcoding failed for file://C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape
ERROR (foo_pod) : Transcoding failed!
ERROR (foo_pod) : Error #5 copying C:\Documents and Settings\Ken.KEN-EG260PCW4NG\My Documents\My Music\Monkey's Audio\Pink Floyd\Pulse\disc 1\Pink Floyd - What Do You Want From Me.ape to e:\iPod_Control\Music\F34\15f06b5e910672496.mp3

There's a msvcp71.dll still in the foo_pod folder, but the readme says nothing about it.  Is this my problem?  I read thru this thread (well, mostly) and went thru tinkafoo's page looking for info, but no luck.  I've tried putting just the LAME.exe in the folder, and I even dumped the whole LAME folder in.  All I get are error messages like the one above.  I downloaded FAAC v1.24, but I'm not sure what I'm supposed to place (nothing looks like an "FAAC.exe").

Anyone have suggestions?
[a href="index.php?act=findpost&pid=367002"][{POST_SNAPBACK}][/a]


Are you doing one of the preset transcoding selections?  Can you try a customer encoder and specify the path the lame.exe and see if that helps?
[a href="index.php?act=findpost&pid=367015"][{POST_SNAPBACK}][/a]

- edit - I just discovered that I can't convert a file in fb2k, either.  Is there a connection here?
[a href="index.php?act=findpost&pid=367346"][{POST_SNAPBACK}][/a]


I'm pretty sure that foo_pod leverages fb2k's transcoding support.  I would work on getting transcoding to work in fb2k first, and then come back and try it in foo_pod.
[a href="index.php?act=findpost&pid=367483"][{POST_SNAPBACK}][/a]

That's what I was thinking also - I may try a fresh install of v0.8.3 w/the above-mentioned foo_pod  new release (it wouldn't surprise me to discover that I buggered up my current version of fb2k, trying various things over the last year or so...).
[a href="index.php?act=findpost&pid=367508"][{POST_SNAPBACK}][/a]

Update - both file conversion and transcoding are working fine.  Thanks for your help!
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-02-27 06:26:21
Quote
Version 0.9.9n (http://www.loodi.com/foo_pod.zip) is now available.

[a href="index.php?act=findpost&pid=367379"][{POST_SNAPBACK}][/a]


Good to see development continuing. Sorry to keep asking this, but is the transcoding of songs with subsong indices (ie. CD Images with cuesheets) working yet? Without this foo_pod is to me little more than completely useless, since I have my albums in lossless CD Image format so that I can choose a lossy format when I put them on my iPod. foo_sendtopod is a less than ideal solution and I would love to delete iTunes for good.

Thanks.

Edit: typos.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-02-28 03:27:20
Quote
Quote
Version 0.9.9n (http://www.loodi.com/foo_pod.zip) is now available.

[a href="index.php?act=findpost&pid=367379"][{POST_SNAPBACK}][/a]


Good to see development continuing. Sorry to keep asking this, but is the transcoding of songs with subsong indices (ie. CD Images with cuesheets) working yet? Without this foo_pod is to me little more than completely useless, since I have my albums in lossless CD Image format so that I can choose a lossy format when I put them on my iPod. foo_sendtopod is a less than ideal solution and I would love to delete iTunes for good.
[a href="index.php?act=findpost&pid=367669"][{POST_SNAPBACK}][/a]

Sorry, but I haven't worked on cue sheet support recently.  If you are going to be transcoding anyway, you could use Foobar's Convert function to save the songs to your local hard drive, then transfer them with foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Raja on 2006-02-28 05:31:57
Quote
Quote
First of all many thanks for this wonderful plugin, ITunes has been uninstalled and shall never darken my PC ever again.

Anyway, just got a quick question with regards to Replay Gain.  All of my music on the PC has been ran through the Replay Gain scanner, does this mean that when I transfer songs over to my iPod, the Replay Gain information will go over as well or will it need re-applying on the actual iPod?
[a href="index.php?act=findpost&pid=367029"][{POST_SNAPBACK}][/a]


It will use the ReplayGain values you already have in foo_bar.
[a href="index.php?act=findpost&pid=367031"][{POST_SNAPBACK}][/a]
Right.  You just need to turn on SoundCheck on your iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-03 08:05:16
Is the fb2k equalizer 'on' during transcoding?  I have the EQ as part of my DSP stack, but don't want those settings used by the files going to the iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2006-03-04 03:04:48
Quote
Version 0.9.9n (http://www.loodi.com/foo_pod.zip) is now available.
[a href="index.php?act=findpost&pid=367379"][{POST_SNAPBACK}][/a]

Sweet! I've been looking for a reason to update the manual!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Dan Hibiki on 2006-03-06 16:54:52
Quote
Quote
Quote
Is there anyway I can use Helix MP3 encoder with foo_pod? I tried to use the "Custom Encoder", but it returned me an error...

Thanks 
[a href="index.php?act=findpost&pid=354078"][{POST_SNAPBACK}][/a]


You can use any enoder you like, just make sure the path and the variable are set correctly.

Post the acutal error for more help.
[a href="index.php?act=findpost&pid=354125"][{POST_SNAPBACK}][/a]


Error:

ERROR (foo_podtranscoder) : Error opening transcoder exe

And the settings:
Use Custom Encoder Settings:
Encoder: C:\Arquivos de programas\Multimídia\foobar2000\encoder\hmp3.exe
Extension: mp3
Parameters: - %d -V80 -X2 -HF2 -SBT450 -TX0
Format is: lossy
Highest BPS mode supported: 16
Tag: Default
All other settings unchecked

Using these exact same settings on diskwriter works fine... And using LAME with presets also works fine...

Thanks!
[a href="index.php?act=findpost&pid=354128"][{POST_SNAPBACK}][/a]


I found out what was causing this problem: it was the path of the encoder. Copying hmp3.exe to C:\ and using it as the encoder worked fine.
I think it's a bug dealing with the spaces in "Arquivos de programas"...
Title: foo_pod - Foobar2000 meets the iPod
Post by: Dan Hibiki on 2006-03-06 16:56:41
Quote
Is the fb2k equalizer 'on' during transcoding?  I have the EQ as part of my DSP stack, but don't want those settings used by the files going to the iPod.
[a href="index.php?act=findpost&pid=368722"][{POST_SNAPBACK}][/a]


I think it uses foobar's diskwriter, so, if you don't want to enable the EQ while transcoding you just have to disable the option "Use DSP" on the diskwriter's settings.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-06 17:32:14
Quote
Quote
Is the fb2k equalizer 'on' during transcoding?  I have the EQ as part of my DSP stack, but don't want those settings used by the files going to the iPod.
[a href="index.php?act=findpost&pid=368722"][{POST_SNAPBACK}][/a]


I think it uses foobar's diskwriter, so, if you don't want to enable the EQ while transcoding you just have to disable the option "Use DSP" on the diskwriter's settings.
[a href="index.php?act=findpost&pid=369656"][{POST_SNAPBACK}][/a]

That makes sense - thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-03-06 18:34:23
Quote
Quote
Is the fb2k equalizer 'on' during transcoding?  I have the EQ as part of my DSP stack, but don't want those settings used by the files going to the iPod.
[a href="index.php?act=findpost&pid=368722"][{POST_SNAPBACK}][/a]


I think it uses foobar's diskwriter, so, if you don't want to enable the EQ while transcoding you just have to disable the option "Use DSP" on the diskwriter's settings.
[a href="index.php?act=findpost&pid=369656"][{POST_SNAPBACK}][/a]

This is incorrect - foo_pod does not use the Foobar Diskwrite (although the code is very similar), so Diskwriter settings will have no effect on what foo_pod does.

BTW, foo_pod only applies the Advanced Limiter DSP entity when transcoding.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Neil K on 2006-03-06 19:38:32
OK, so for Podcasts I have the following string (in the 'Podcast' box):
$if($stricmp(%genre%,Podcast),1,0)
but when I just synced my iPod, the podcasts were just lumped in with all the other music . What did I do wrong?
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-03-06 20:13:25
Hi Neil,

I don't think that "Podcast" is fully functional yet. Here is the note from the Readme file.

"Podcast is a special designation which displays show notes and causes the song to appear in special Podcast menu (these features are not fully implemented in foo_pod yet...)."
Title: foo_pod - Foobar2000 meets the iPod
Post by: toology on 2006-03-07 20:39:05
How's the new database support comming along? I started using Rockbox firmware from time to time and would like to have all the songs alavable through both firmwares. Good work so far!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-03-08 17:59:46
Quote
How's the new database support comming along? I started using Rockbox firmware from time to time and would like to have all the songs alavable through both firmwares. Good work so far!
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=370007")

What is the status of Rockbox on the iPod.  According to [a href="http://www.rockbox.org/twiki/bin/view/Main/IpodFAQ#Can_I_use_my_iTunes_Database]this link[/url], it looks like they don't use the iTunesDB database at all. 

Or do you mean if foo_pod can read iTunes created databases?  foo_pod should be able to read the latest iTunesDB format (at least the basic stuff like songs and playlists), but it doesn't write it yet.
Title: foo_pod - Foobar2000 meets the iPod
Post by: toology on 2006-03-08 19:23:09
I know it dont read the database file but I would like to organize music on the ipod in artist/album order for Rockbox, and then write a database file that can  be used in standard OS if needed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-03-08 19:28:00
Quote
I know it dont read the database file but I would like to organize music on the ipod in artist/album order for Rockbox, and then write a database file that can  be used in standard OS if needed.
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=370236")

[a href="http://forums.rockbox.org/index.php?topic=2532.msg17413#msg17413]This post[/url] explains how to do what you are looking for.  The caveat is that there is a limit on filename length, which has gotten short with recent iPod firmware versions.  So while the technique works in general, if you go over the filename length limit, the song won't play on the iPod (using Apple's firmware).
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2006-03-09 09:00:11
Quote
This post (http://forums.rockbox.org/index.php?topic=2532.msg17413#msg17413) explains how to do what you are looking for.  The caveat is that there is a limit on filename length, which has gotten short with recent iPod firmware versions.  So while the technique works in general, if you go over the filename length limit, the song won't play on the iPod (using Apple's firmware).
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=370239")

Consider it [a href="http://www.tinkafoo.com/log/foo_pod.html]added to the manual[/url].

This is one of the things that makes foo_pod stand out, but it's not very obvious if you just glance at the interface. It reminds me of stuff I've done with the Alternate Metadata strings:

Sort albums by year on your iPodThis got me to thinking..  What other nifty tips are floating around?


While I'm looking to beef-up the manual, I might ought to show off the PDF version (includes Table of Contents, Index, and even a cheesy logo!) I don't expect people to use it much, but it was a fun excuse to teach myself InDesign.

Linear version (http://www.tinkafoo.com/log/foo_pod/foo_pod.pdf) (343K PDF)
The pages are in numerical order. Recommended for online viewing.
[a href="http://www.tinkafoo.com/log/foo_pod/foo_pod.pdf" target="_blank"]
Title: foo_pod - Foobar2000 meets the iPod
Post by: toology on 2006-03-09 11:30:18
Ok I've read that topic before but what worried me was the post below:

Quote
Quote
Thanks for the tip.  I tried that and it didn't work though.  All of the music that I loaded played fine in Rockbox but it didn't play in the Apple firmware.  The database knows where all of the music is - all of the artists and albums appear as they should in the menus, but when I go to play a song it just skips immediately to the next song without any sound ever coming out of the speakers - it does this for each song until it reaches the end of the playlist.

For what it's worth, I got the same thing.  It could be that foo_pod doesn't support a recent enough version of iTunesDB for the Nano or something like that.


The iPod I have is 4g Greyscale but I don't think it uses a different database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-09 18:14:07
Is this a bug?  The 'Mount iPod' thingy, in the foo_pod drop-down,  isn't working - everything else works fine (sending 'pod playlists to fb2k, adding/removing files from the 'pod, transcoding, ejecting the 'pod upon closing fb2k, all that stuff), but when I click on 'mount', the window flashes on the screen for about a millisecond, and that's it.  (BTW - I haven't tried un- and re-installing the .dll, 'cause I don't want to have to reconfigure it, until/unless I need to).

My thanks to Aero for thinking up, and updating, this little gem.  I don't miss iTunes at all!

Off-topic@quazi - What is your avatar?
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2006-03-09 22:49:42
Quote
Is this a bug?  The 'Mount iPod' thingy, in the foo_pod drop-down,  isn't working - everything else works fine ...

It sounds like you're trying to mount it after it's already mounted. Do you have the "Safely Remove Hardware" icon in the Windows Tray?

Just for kicks, go to Components / foo_pod / Preferences / Main and see if "Force iPod Drive Letter" is blank. Then go to Preferences / iPod Service, and see if "Don't Use iPod Service" is off, and "Enable Disk Mode" is on. (..These are my settings *shrug*)

Quote
Off-topic@quazi - What is your avatar?
[{POST_SNAPBACK}][/a] (http://index.php?act=findpost&pid=370435")

He's a headless pewter miniature with (almost) no arms.
([a href="http://www.tinkafoo.com/temp/quazi-avatar.jpg]bigger[/url])
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-10 07:55:59
I forget to mention that the 'eject ipod' button won't activate, either (never post on minimal caffeine...). 

I do have the 'safely remove hardware' icon.  I also get the 'safe to remove' message when exiting fb2k w/the 'pod plugged in. 

'Force iPod Letter' is blank; iPod Services is off;  I can't activate Disc Mode - again, the button is there, but won't highlight (didn't know this until just now).

Off-topic - so that's where the arm went...
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2006-03-11 11:15:02
Quote
(BTW - I haven't tried un- and re-installing the .dll, 'cause I don't want to have to reconfigure it, until/unless I need to).
[a href="index.php?act=findpost&pid=370435"][{POST_SNAPBACK}][/a]

Download another one and either delete yours first or copy over it. I've never had anything like this happen, but it sounds like something broke somewhere.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FreydNot on 2006-03-13 04:52:00
Just wanted to say thanks for 0.9.9n!!!

I was not aware that apple had finally fixed the firmware for my 3G (the dreaded non-updating smart playlist bug).  Now that I have updated my firmware and foo_pod version, I am finally able to "bookmark" mp3 podcasts.

Before today I had been re-encoding all my podcasts into M4B just so I could have the bookmark feature.

This release will save me quite a bit of time (and sound quality).

So, thanks Aero!  This was a big release for me.

PS,  Is there any way to add items to a foo_bar playlist automatically?  I would love if Juice could put the podcast files into a foo_bar playlist as it downloads them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: man on 2006-03-13 16:58:52
Hi there,

Well, I'm using foobar since quite a long time now, and my daughter just recently acquired an iPod, so I'm reading this for the first time.

I must say I am very impressed - I mean it  - by the quality of this work. The plug-in & the documentation are very complete, as a total noob on this I was able to make it run quickly and it works very well.

Many thanks to Aero, Otto42 and Quazi.

/man
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2006-03-14 11:50:59
Quote
I forget to mention that the 'eject ipod' button won't activate, either (never post on minimal caffeine...). 

[a href="index.php?act=findpost&pid=370532"][{POST_SNAPBACK}][/a]



I'm experiencing exactly the same problems too.  Any luck figuring this out?
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2006-03-14 12:36:45
Besides transcoding to m4b, is there any other way to send files to the iPod that will appear in the Audiobook menu only? Could an mp3 just be tagged a certain way to appear as an audiobook on the iPod?

PS - Sorry for the double post but I felt this was a separate topic.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-14 17:36:59
Quote
Quote
I forget to mention that the 'eject ipod' button won't activate, either (never post on minimal caffeine...). 

[a href="index.php?act=findpost&pid=370532"][{POST_SNAPBACK}][/a]



I'm experiencing exactly the same problems too.  Any luck figuring this out?
[a href="index.php?act=findpost&pid=371481"][{POST_SNAPBACK}][/a]

Not yet, but I haven't tried reinstalling the _dll, either.  Part of me is tempted to leave it alone, as everything else seem to be fine.  I'll try the reinstall later today - if it seems to work, I'll let you know...
Title: foo_pod - Foobar2000 meets the iPod
Post by: gotroot801 on 2006-03-15 16:13:01
Quote
There's two types of type 100 MHOD's. There's one after each MHIP, and there's one in each playlist that defines the column display ordering/size used by iTunes for that playlist.
[a href="index.php?act=findpost&pid=281249"][{POST_SNAPBACK}][/a]


Old post, I know, but it seems like I've found the source of a problem I'm having.

I installed foo_pod 0.9.9n on my work machine (PC) and was able to do some iPod (60GB Photo) syncing, which is fantastic, because I really like fb2k's interface.  However, when I go home to my Mac and open iTunes, my columns are all messed up to the point that the Name column for all my iPod playlists is gone altogether. 

Since there is no fb2k/foo_pod for the Mac, is there any way I can fix this, short of blowing out the existing database?
Title: foo_pod - Foobar2000 meets the iPod
Post by: AtaqueEG on 2006-03-19 17:33:24
Does this version work with fb2k 0.9?

If not, when can we expect the update?
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2006-03-19 17:39:29
Quote
Does this version work with fb2k 0.9?

If not, when can we expect the update?
[a href="index.php?act=findpost&pid=372563"][{POST_SNAPBACK}][/a]


1) No

2) When Aero decides to write it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: captdilly117 on 2006-03-19 23:15:31
Quote
Quote
There's two types of type 100 MHOD's. There's one after each MHIP, and there's one in each playlist that defines the column display ordering/size used by iTunes for that playlist.
[a href="index.php?act=findpost&pid=281249"][{POST_SNAPBACK}][/a]


Old post, I know, but it seems like I've found the source of a problem I'm having.

I installed foo_pod 0.9.9n on my work machine (PC) and was able to do some iPod (60GB Photo) syncing, which is fantastic, because I really like fb2k's interface.  However, when I go home to my Mac and open iTunes, my columns are all messed up to the point that the Name column for all my iPod playlists is gone altogether. 

Since there is no fb2k/foo_pod for the Mac, is there any way I can fix this, short of blowing out the existing database?
[a href="index.php?act=findpost&pid=371732"][{POST_SNAPBACK}][/a]


I had the same problem, and the only way I could fix it was to nuke the entire database.
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2006-03-21 01:28:19
i haven't updated my ipod since early january because i had been using betas. i hope we can see aero's first foo_pod compatible with .9 very soon.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-21 01:56:45
Agreed.
Title: foo_pod - Foobar2000 meets the iPod
Post by: BoD on 2006-03-22 17:08:21
Any idea where to find foobar2000 v0.8 ? Only the 0.9 seems to be available on the website.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2006-03-24 19:03:56
i am trying to update my ipod with the date and album present in the album tag

here is my code for the album box in the advanced options tab:

Code: [Select]
$if(%album%,$if(%date%,'['%date%']' %album%,%album%),'[Album]')


after clearing the entire memory and using foo_pod to put my music back, i only get some albums with the date tag

most of my albums have date tags

anyone have any ideas
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-03-25 19:02:12
Quote
Quote
Quote
I forget to mention that the 'eject ipod' button won't activate, either (never post on minimal caffeine...). 

[a href="index.php?act=findpost&pid=370532"][{POST_SNAPBACK}][/a]



I'm experiencing exactly the same problems too.  Any luck figuring this out?
[a href="index.php?act=findpost&pid=371481"][{POST_SNAPBACK}][/a]

Not yet, but I haven't tried reinstalling the _dll, either.  Part of me is tempted to leave it alone, as everything else seem to be fine.  I'll try the reinstall later today - if it seems to work, I'll let you know...
[a href="index.php?act=findpost&pid=371555"][{POST_SNAPBACK}][/a]

update@antoniost - replacing the _dll fixed it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2006-03-28 02:25:14
Quote
after clearing the entire memory and using foo_pod to put my music back, i only get some albums with the date tag

most of my albums have date tags

anyone have any ideas
[a href="index.php?act=findpost&pid=374851"][{POST_SNAPBACK}][/a]

I have always wondered what it it meant when the documentation said "note that mixing brackets with $functions may give unpredictable results and should be avoided (use $if() instead)". Does it mean that we shouldn't mix square brackets with any $functions except $if, or should we only use $if instead of square brackets if we have to use other $functions in the first place?

I'd try this. It's a lot more simple, should give you the results you're looking for, and might address that vague problem in the documentation:

Code: [Select]
[[%date% ]%album%]
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2006-03-29 05:33:56
Quote
Quote
after clearing the entire memory and using foo_pod to put my music back, i only get some albums with the date tag

most of my albums have date tags

anyone have any ideas
[a href="index.php?act=findpost&pid=374851"][{POST_SNAPBACK}][/a]

I have always wondered what it it meant when the documentation said "note that mixing brackets with $functions may give unpredictable results and should be avoided (use $if() instead)". Does it mean that we shouldn't mix square brackets with any $functions except $if, or should we only use $if instead of square brackets if we have to use other $functions in the first place?

I'd try this. It's a lot more simple, should give you the results you're looking for, and might address that vague problem in the documentation:

Code: [Select]
[[%date% ]%album%]

[a href="index.php?act=findpost&pid=376047"][{POST_SNAPBACK}][/a]


yeah that is confusing. ill try your code.
Title: foo_pod - Foobar2000 meets the iPod
Post by: isanity on 2006-04-06 00:24:52
I've put the dll in my components folder, but when I start foobar I get a message: " Failed to load DLL: foo_pod.dll, reason: Unable to load DLL.".  Any idea why?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Brendan on 2006-04-06 05:28:24
Is there a version of this wonderful DLL that works for 0.9 yet? If not, is there something I can use instead? (besides the obvious answer of iTunes.)
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-04-06 18:20:32
There is no other plug-in available that is independent of iTunes. As for a ported v.09 version, that is still up in the air, as far as I know. Hopefully, Aero will address that issue soon. I still have FB2K v0.8.3 installed solely for use with foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: AtaqueEG on 2006-04-07 18:28:00
There is no other plug-in available that is independent of iTunes. As for a ported v.09 version, that is still up in the air, as far as I know. Hopefully, Aero will address that issue soon. I still have FB2K v0.8.3 installed solely for use with foo_pod.


I hope it is soon! I bought an iPod and I don't want to use iTunes.

I'll wait, but I hope Aero is working on it.
Title: foo_pod - Foobar2000 meets the iPod
Post by: gecko_mayhem on 2006-04-08 01:17:39
There is no other plug-in available that is independent of iTunes. As for a ported v.09 version, that is still up in the air, as far as I know. Hopefully, Aero will address that issue soon. I still have FB2K v0.8.3 installed solely for use with foo_pod.



I'm not sure how it's going to work, seeing as 0.9 uses ID3v2.4 tags, and (some) iPods can't read them.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-04-08 03:34:40
I'm not sure how it's going to work, seeing as 0.9 uses ID3v2.4 tags, and (some) iPods can't read them.


No iPod reads tags from the files. The tags that it cares about (artist, album, genre, title) are all stored in a database file which is created by the software you use to copy the tracks onto the iPod. The reason that ID3v2.4 tags don't work is because iTunes can't read them properly.
BTW, they work for me using the latest iTunes, except that it displays two identical entries for every artist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mourner on 2006-04-08 22:36:43
I also had problems with iPod and music, tagged with foobar2000. Fixed everything by retagging every file with ID3v2 tags only (without v1 or Ape).
Title: foo_pod - Foobar2000 meets the iPod
Post by: AtaqueEG on 2006-04-09 03:22:08
Really?

That got me scared.

I rely on APEv2 tags...
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-04-09 06:37:01
Dumb question - where do you find out how your stuff is tagged?  I use whatever tags EAC/flac produces, transcoded via foo_pod to LAME mp3, on my iPod Mini without a problem.
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-04-09 06:54:59
Dumb question - where do you find out how your stuff is tagged?  I use whatever tags EAC/flac produces, transcoded via foo_pod to LAME mp3, on my iPod Mini without a problem.


'Propeties' from context menu in foobar. Look for something like: tagtype = apev2|id3v1 in the "Other info" box.
Title: foo_pod - Foobar2000 meets the iPod
Post by: schroeder on 2006-04-18 17:17:09
Hi there,

any news on the foo_pod update to version 0.9? 

Chris
Title: foo_pod - Foobar2000 meets the iPod
Post by: elishnevsky on 2006-04-19 23:43:43
any news on the foo_pod update to version 0.9? 

+1

Is anyone porting it to 0.9???
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2006-04-20 07:01:39
patiently waiting.... 
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-04-22 18:45:36
Is there any was to tell how large a transcoded (ie - .flac > LAME mp3) file is/will be, after it's trans'ed?  It'd take some of the guesswork out of deciding if just one more file will fit in my iPod.

I think I already know the answer ('no'), but I thought I'd ask anyway...
Title: foo_pod - Foobar2000 meets the iPod
Post by: blammo on 2006-04-30 20:24:31
Hi.

Have installed foo_pod for my daughter who has just got an Nano.  A lot of our music library is in FLAC and OGG and iTunes is of no use whatsoever.  Foo_pod does the trick.  Thankyou!

I have a couple of questions relating to Album art.

1. Was wondering how to get album art onto the Nano.  It seems iTunes is the only way.  I have tried embeding art in to the mp3's but it doesnt work. 

2. If iTunes is the only way....how do I get iTunes to use all the folder.jpgs i have?

Also.  After using foo_pod I can see the Nano contents in iTunes.  Is that a feature or has something gone wrong?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Northpole on 2006-05-01 20:11:47
How did you convert your file to mp3?  Using the lame option in foobar/foo_pod I expect.

1. In order to get album art to display in your nano, you have to add the jpg images to the mp3 tag inside the mp3 file.  Use Mp3tag (which is free) to add the images.

2.  You can add image to a mp4 (or m4a in itunes case) the same way as an mp3 using the mp3tag program.

3.  You should see the contents of what is on your nano in itunes when you browse to the ipod view so I guess this would be called a feature so nothing has gone wrong.

moderation: Removed unnecesarry full quote of previous post.
Title: foo_pod - Foobar2000 meets the iPod
Post by: blammo on 2006-05-01 20:42:21
Thanks and oops.  I meant to say I cannot see the iPod contents in iTunes. 

Also I tried adding embedding art using Mp3tag and it didnt work.

moderation: Removed unnecesarry full quote of previous post.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-05-01 20:45:08
Foo_pod doesn't fully support the latest iTunes DBs so that why you can't see it in iTunes.

moderation: Removed unnecesarry full quote of previous post.
Title: foo_pod - Foobar2000 meets the iPod
Post by: villiansv on 2006-05-03 21:30:53
some information on the 0.9 port would be nice...
Title: foo_pod - Foobar2000 meets the iPod
Post by: d3adliner on 2006-05-05 21:03:33
I am having some confusion over how exactly the "Replaygain Adjustment Works".


Let's say I:

1. Add a single mp3 either with or without "soundcheck" data into a foo_pod playlist.

2. Right click the file and use either track or album replaygain.

3. In foo_pod preferences/advanced - I set"replaygain adjustment" +6dB

4. Send the file to iPod

Now...if I:

1. Clear all playlists in foobar

2. Use foo_pod to "Load ipod songs to foobar2000 playlist"

3. Right click the file I just sent and "Show file info (special)", it in fact displays the proper replaygain value according to my "+6 adjustment" in foo_pod from step 3 above. All seems good right?


However......


If I click on "Reload info" from within "Show file info (special)", it reverts the replaygain values back to if I had done no adjustment in foo_pod. Back to if it just had the default 89dB.

Also, if I copy that file back to my HD - with or without clicking on the "reload info", then loading that file back into foobar. It will also show replaygain with the default 89dB, and not with my +6 adjustment from foo_pod.

My question is, if there was in fact a change applied - why would clicking "reload info" change the displayed replaygain value? Why doesn't it stay displaying with my +6 adjustment?


Another question. Is this the best method for transferring mp3s to iPod using foo_pod, if I want to use the "replaygain adjustment"?

1. Load unmodified tracks into playlist (IE no previous soundcheck, replaygain, or mp3gain data)

2. Highlight all and do track or album replaygain

3. Set "replaygain adgustment" in foo_pod to desired level

4. Highlight all and "Send files to iPod"

That will automatically create soundcheck info on all my files, according to my +6dB replaygain adjustment? Or in step one, do I need to load files with existing soundcheck  data on them?

Which now brings me back to my first question dealing with the "reload info" thing.

Sorry if this is all so easy but I'm kinda new at all this, and I hope I did a good enough job of explaining what I'm asking.

Thank you greatly in advance for any and all help.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Rain on 2006-05-08 15:53:22
Any news on cue support for foo_pod? I store all my music losslessly as one file and a cue sheet, if foo_pod supports cue sheets, then it'll be perfect.
Title: foo_pod - Foobar2000 meets the iPod
Post by: eido on 2006-05-08 18:46:28
My question is, if there was in fact a change applied - why would clicking "reload info" change the displayed replaygain value? Why doesn't it stay displaying with my +6 adjustment?

The ipod doesn't read soundcheck data, or any tags for that matter, from the file itself.  The information is stored in a separate database, so foo_pod is probably adding the correct information to the database without modifying the actual tags on the mp3.  Have you tried to confirm if it's working by sending the same file with and without +6 adjustment and listening for the difference?

Quote
Another question. Is this the best method for transferring mp3s to iPod using foo_pod, if I want to use the "replaygain adjustment"?

Those steps look fine to me.  The files shouldn't need existing soundcheck data.
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2006-05-09 02:35:31
Rockbox (http://www.macnn.com/articles/06/05/03/rockbox.ipod.firmware/) has now created firmware for the iPod that allows for gapless playback and other useful features.  This is good news for audiophiles like us, but will we be able to use foo_pod to transfer songs to an iPod with Rockbox firmware? Will the ReplayGain levels translate to SoundCheck?
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2006-05-09 02:50:05
Rockbox (http://www.macnn.com/articles/06/05/03/rockbox.ipod.firmware/) has now created firmware for the iPod that allows for gapless playback and other useful features.  This is good news for audiophiles like us, but will we be able to use foo_pod to transfer songs to an iPod with Rockbox firmware? Will the ReplayGain levels translate to SoundCheck?



Rockbox doesn't read the iTunes database, so using foo_pod will work, but then, anything will work.  It also uses replaygain, not Soundcheck.

If you want to add files to Rockbox, I suggest using the "file copy" tool already in foobar, or just dragging them there in Explorer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-05-09 03:27:28

Rockbox (http://www.macnn.com/articles/06/05/03/rockbox.ipod.firmware/) has now created firmware for the iPod that allows for gapless playback and other useful features.  This is good news for audiophiles like us, but will we be able to use foo_pod to transfer songs to an iPod with Rockbox firmware? Will the ReplayGain levels translate to SoundCheck?



Rockbox doesn't read the iTunes database, so using foo_pod will work, but then, anything will work.  It also uses replaygain, not Soundcheck.

If you want to add files to Rockbox, I suggest using the "file copy" tool already in foobar, or just dragging them there in Explorer.


What about on the fly transcoding.  That's the most important feature I use.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-09 07:21:40
What about on the fly transcoding.  That's the most important feature I use.

I was going to ask the exact same question...
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2006-05-09 08:13:28
sounds like foo_pod will not be ported 

Sorry to disappoint you, but I have no plans to update foo_pod to Foobar 0.9.  And as far as I know, Foobar 0.9 will incompatible with earlier components, so you will have to have Foobar 0.8.x in order to use foo_pod. 

Fortunately, Foobar 0.8 already has an ALAC decoder and I believe you could use Otto's iTunesEncoder script to losslessly transcode from FLAC -> ALAC, so there is no reason to wait for Foobar 0.9 to do what you are looking to do.


BTW, in case anyone is wondering, I was temporarily banned from posting on the Hydrogen Audio forums apparently because of my questioning of the availability of the 0.9 SDK.  I say apparently, because no one ever contacted me about the suspension, and the only thing I can find that could possibly be the cause is this post (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=302691).  Anyway, that combined with other factors pretty much killed any desire to upgrade to Foobar 0.9.  Note that I am not planning on stopping foo_pod development, but it likely won't be focused on the changes necessary to make it run on Foobar 0.9.


Quote
Well seeing as people are pretty angry with what I said, let me clarify.  Firstly, I respect Aero greatly, as he has done a lot for the community.  His plugin is fantastic, and is one of the many reasons use foobar2000.  I am not angry that foo_pod (seemingly) is not going to be ported to 0.9, but with the reasons for Aero's decision not to.

The ban has very little with my decision not to port foo_pod to Foobar 0.9.  I believe I alluded to the possibility of not porting foo_pod to 0.9 even before the ban.

Anyway, in order of priority, the reasons include:

1. Not having much time to work on foo_pod, in general.
2. No good reason (for me) to upgrade to Foobar 0.9.
3. The lack of a publically available SDK for 0.9.
4. Forum difficulties (i.e. the ban).


When Foobar 0.9 and SDK are released, if I find a good reason to upgrade and the 0.8->0.9 SDK changes are minimial, I might do the porting.  But like I said, I really don't see any good reason to upgrade to Foobar 0.9 at this point, and several good reasons not to.
Title: foo_pod - Foobar2000 meets the iPod
Post by: delll on 2006-05-09 08:13:59
When does foo_pod supported the new version (0.9) of foobar2000 ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-09 08:17:51
I'm sorry, but you did read the post above yours, didn't you?

Anyway, that pretty much solves it for me...I stay with v0.8.3.  I need this plug-in to survive in a cold hard universe...
Title: foo_pod - Foobar2000 meets the iPod
Post by: AtaqueEG on 2006-05-09 08:28:34
The solution I came up with to enjoy both versions of foobar2000 (0.9 has some improvements I really like and better support for the Nero AAC encoder) is installing 0.8.3 on my USB flash drive and running it from there.

0.9 is installed on my computer's hard drive.

I still hope Aero reconsiders (or releases the source )
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-09 08:35:45
Are you saying that you've got v0.8.3 on a thumb-drive?
Title: foo_pod - Foobar2000 meets the iPod
Post by: delll on 2006-05-09 08:35:54
Sorry, but when I'm posting the previous post was not to see (it was post at the same time).

All my settings in foobar2000 are in verion 0.9. So I wan't be happy when foo_pod supported version 0.9.

I'm hope and waiting for this good news ;-)


------------------------------------------------------
Don't be angry about my bad english,
I'm only a german ;-)
Title: foo_pod - Foobar2000 meets the iPod
Post by: richard123 on 2006-05-09 12:59:43
I hope Aero decides to port foo_pod to 0.9.  It would be much appreciated by many.

I have both 0.9 and 0.83 installed on my harddrive. 0.83 is only for foo_pod
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-05-09 14:58:51
The solution I came up with to enjoy both versions of foobar2000 (0.9 has some improvements I really like and better support for the Nero AAC encoder) is installing 0.8.3 on my USB flash drive and running it from there.

0.9 is installed on my computer's hard drive.

I still hope Aero reconsiders (or releases the source )


I've asked many many times to release the source.  Up till now it's been no. I would like to see him change his position on that......
Title: foo_pod - Foobar2000 meets the iPod
Post by: AtaqueEG on 2006-05-09 18:06:51
Are you saying that you've got v0.8.3 on a thumb-drive?


Yep.

It is absolutely possible.

You just have to forget about saving playlists  (because of the paths).

But everything works perfectly.

BTW, I have a bunch of things installed on a thumb drive. A "toolset" if you may. You wouldn't believe what you can run from one of those things.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-09 18:34:34
Sorry, but when I'm posting the previous post was not to see (it was post at the same time).

Ah - that explains it...sorry...

It is absolutely possible.

It is absolutely brilliant!  I never would have thought to even try this...
Title: foo_pod - Foobar2000 meets the iPod
Post by: falconfox on 2006-05-10 01:12:36
Looks like Aero hasn't even been logged into the forums since  22nd March 2006 - 11:16

Aero's Profile (http://www.hydrogenaudio.org/forums/index.php?showuser=4166)

if this is true, he probably wouldn't care if he released the source. The only person i know who might have a chance of contacting him is Otto.

@ Otto : lcan you look into contacting Aero
Title: foo_pod - Foobar2000 meets the iPod
Post by: robby says on 2006-05-10 06:06:49
Looks like Aero hasn't even been logged into the forums since  22nd March 2006 - 11:16

Aero's Profile (http://www.hydrogenaudio.org/forums/index.php?showuser=4166)

if this is true, he probably wouldn't care if he released the source. The only person i know who might have a chance of contacting him is Otto.

@ Otto : lcan you look into contacting Aero

time to get an open source version in the books.

i'll be happy to help with the porting if the code is released

--robby.
Title: foo_pod - Foobar2000 meets the iPod
Post by: saratoga on 2006-05-11 22:54:53


Rockbox (http://www.macnn.com/articles/06/05/03/rockbox.ipod.firmware/) has now created firmware for the iPod that allows for gapless playback and other useful features.  This is good news for audiophiles like us, but will we be able to use foo_pod to transfer songs to an iPod with Rockbox firmware? Will the ReplayGain levels translate to SoundCheck?



Rockbox doesn't read the iTunes database, so using foo_pod will work, but then, anything will work.  It also uses replaygain, not Soundcheck.

If you want to add files to Rockbox, I suggest using the "file copy" tool already in foobar, or just dragging them there in Explorer.


What about on the fly transcoding.  That's the most important feature I use.



Sure it'll work, but I don't think you understand what I'm getting at.  Rockbox just need the files copied to the Ipod.  Anything that can copy files to the ipod will work.  So while you could use foo_pod to copy the files, you could also use the file writer (if you want to transcode) or file renamer (if you just want to copy) in foobar too.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-05-11 23:09:10
Looks like Aero hasn't even been logged into the forums since  22nd March 2006 - 11:16

Aero's Profile (http://www.hydrogenaudio.org/forums/index.php?showuser=4166)

if this is true, he probably wouldn't care if he released the source. The only person i know who might have a chance of contacting him is Otto.

@ Otto : lcan you look into contacting Aero


Right guys, its time I stepped in.  There are 'gracious' people here who appreciate that foo_pod is a labour of love, and is maintained on a purely altruistic basis. It seems however that there aren't that many 'grateful' people. Aero told me (in confidence I suppose - sorry Aero), when I sent him a donation by Paypal that it was the second one he had ever received. That stinks people. I think Aero gets plenty of kudos and appreciates that we dig what he does for us, but I think its time to adopt a 'money talks' attitude. Nothing better than a bit of bribery to perhaps lean him towards the open source or v 0.9 thing. Everyone, as soon as you've seen this, donate $10 to him on paypal. Just do it - right now, come on. It's a small piece of change for his effort. Hell you'd pay 3 times that for anapod or Xplay, both of which are a pale imitation, as you know. He lost an ipod and expensive pair of cans on a plane (ok sounds like it was his fault), but with 2 paypal donations, he's still way down on the deal. Paypal details are in the foo_pod read me - get your wallets open !!

all the best

faithful, gracious, and grateful  foo_pod lover.

Niels
Title: foo_pod - Foobar2000 meets the iPod
Post by: delll on 2006-05-12 06:26:34
Right guys, its time I stepped in.  There are 'gracious' people here who appreciate that foo_pod is a labour of love, and is maintained on a purely altruistic basis. It seems however that there aren't that many 'grateful' people. Aero told me (in confidence I suppose - sorry Aero), when I sent him a donation by Paypal that it was the second one he had ever received. That stinks people. I think Aero gets plenty of kudos and appreciates that we dig what he does for us, but I think its time to adopt a 'money talks' attitude. Nothing better than a bit of bribery to perhaps lean him towards the open source or v 0.9 thing. Everyone, as soon as you've seen this, donate $10 to him on paypal. Just do it - right now, come on. It's a small piece of change for his effort. Hell you'd pay 3 times that for anapod or Xplay, both of which are a pale imitation, as you know. He lost an ipod and expensive pair of cans on a plane (ok sounds like it was his fault), but with 2 paypal donations, he's still way down on the deal. Paypal details are in the foo_pod read me - get your wallets open !! ...



That's a good argument.   

In this minute I've made a little donation, although I don't use foo_pod !!!

So I hope it's motivated too support foobar2000 v0.9 soon  .

delll

------------------
Germany
------------------
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-05-12 15:58:48
To clunesy:

I am the first in line to praise & defend Aero in this forum, but I don't use foo_pod very much anymore, because it has limitations. If Aero expected monetary renumeration for his plug-in, he should have just came right out and said as much. If he wanted a donation, that's fine and good, but a donation cannot always be expected, and should not be expected. It is, what it is. I donate to a lot of organizations, but not all, and no one would expect me to, either. Considering that Peter does not charge for foobar2000, and none, save one plug-in developer charges for any of their plug-ins, then do you, or should you, really expect the majority of users to pay for a plug-in? Hopefully, Aero understood this when he took the project on, and if he expected to be paid, then he should have charged for it from the beginning.  I believe that everyone should donate if they can, but the one asking for the donation should never "expect" anything. You can hope, but should never expect. Also, if Aero spoke to you about this in confidence, then it would surely be the last thing that you'd ever be told in confidence.


To Aero (if you are still around the forum):

Good luck with all of your future endeavours! I hope that you will continue with foo_pod, but I will not hold out any expectations of you doing so, any longer. Thank you very much for giving us foo_pod. Take care, and all the best.
Title: foo_pod - Foobar2000 meets the iPod
Post by: schroeder on 2006-05-12 18:37:04
[...]but I don't use foo_pod very much anymore, because it has limitations. [...]


I am just looking for a good alternative to iTunes. foo_pod seemed to be nice since it integrates with my primary music player. Just out of curiosity, what do you use instead?

Chris
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-05-12 20:11:17

[...]but I don't use foo_pod very much anymore, because it has limitations. [...]


I am just looking for a good alternative to iTunes. foo_pod seemed to be nice since it integrates with my primary music player. Just out of curiosity, what do you use instead?

Chris

If I am already in foobar2000v0.8.3 (which is becoming more rare by the day), I will use foo_pod, but lately I generally just use iTunes. Other than Anapod, there aren't many alternatives.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-05-12 20:15:49


[...]but I don't use foo_pod very much anymore, because it has limitations. [...]


I am just looking for a good alternative to iTunes. foo_pod seemed to be nice since it integrates with my primary music player. Just out of curiosity, what do you use instead?

Chris

If I am already in foobar2000v0.8.3 (which is becoming more rare by the day), I will use foo_pod, but lately I generally just use iTunes. Other than Anapod, there aren't many alternatives.


If only someone could convice Apple to add on the fly transcoding into iTunes, we'd be all set!
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-05-12 20:23:14



[...]but I don't use foo_pod very much anymore, because it has limitations. [...]


I am just looking for a good alternative to iTunes. foo_pod seemed to be nice since it integrates with my primary music player. Just out of curiosity, what do you use instead?

Chris

If I am already in foobar2000v0.8.3 (which is becoming more rare by the day), I will use foo_pod, but lately I generally just use iTunes. Other than Anapod, there aren't many alternatives.


If only someone could convice Apple to add on the fly transcoding into iTunes, we'd be all set!

I use FLAC images with embedded cuesheets, so neither iTunes nor foo_pod can transcode the FLAC image. I use "Convert" in Foobar2000v0.9.2beta2 to encode to m4a then use either foo_pod in version 0.8.3 or iTunes to update my iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: schroeder on 2006-05-13 01:08:53
So, I was wondering...

Can you have the iPod sort the music according to the DISCNUMBER tag? My albums are called "albumname" and I distingush between different discs by using the discnumber tag. Apart from the fact that in 0.8.3 the tag is called PARTINSET, my 5G ipod does not recognize the DISCNUMBER tag. It places all the files under the album name and alternates the files of the discs according to tracknumber.

One solution that I found: I use the Alternate Metadata Settings like this:

ALBUM: $if(%partinset%,[%album% '(Disc' %partinset%')'],%album%)

-> If the DISCNUMBER (PARTINSET) is present foo_pod adds "albumname (disc xx)" to the album name and saves it to the iPod DB. Now my iPod distinguishes between the different discs (according to the ALBUM tag!).

One problem with this: using the metadata tag the original file tag is not changed (which is great). BUT when I load the songs from my ipod in foobars playlist it displays the METADATA tags, i.e. for album: "albumname (disc xx)". Doubleclick on the file (or explicit reload of the tag info from the file) corrects the display to the original tag stored in the file, i.e. "albumname". Is there any way to have foobar change to the original tag data while reading out the ipod contents to a playlist?

And...is there any easier way to have the ipod recognize the DISCNUMBER tag and sort correctly?

Thanks,
Chris
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-15 19:26:35
I've put the dll in my components folder, but when I start foobar I get a message: " Failed to load DLL: foo_pod.dll, reason: Unable to load DLL.".  Any idea why?

My computer crashed last weekend, and I had to rebuild my copy of v0.8.3 from scratch - I'm getting the same error message (along with similar messages about the transcoder .dll's).  I rebuilt my fb2k using the exact same installers used for the now-dead version (which worked perfectly), including the foo_pod installer.  I've also tried foo_pod 9.9k and -9.9m, and all three produce the same errors.
- edit - I've also gone thru Tinkafoo's page, and no luck there...

Help!!!
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bonzi on 2006-05-16 06:43:13

I've put the dll in my components folder, but when I start foobar I get a message: " Failed to load DLL: foo_pod.dll, reason: Unable to load DLL.".  Any idea why?

My computer crashed last weekend, and I had to rebuild my copy of v0.8.3 from scratch - I'm getting the same error message (along with similar messages about the transcoder .dll's).  I rebuilt my fb2k using the exact same installers used for the now-dead version (which worked perfectly), including the foo_pod installer.  I've also tried foo_pod 9.9k and -9.9m, and all three produce the same errors.
- edit - I've also gone thru Tinkafoo's page, and no luck there...

Help!!!


Dependencies, most likely msvcp71.dll.  It mustn't be in the right spot...or it isn't loading, I dunno.  I think it should go in the components dir with foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-16 09:15:47
...msvcp71.dll....go(es) in the components dir with foo_pod.

Tried that  - didn't work.  I do think you're right about the .dll, though...I just wish I knew where it's supposed to go.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-05-16 14:28:11
All ".dll's" have to be in the same folder as foobar2000.exe, and not the "components" sub-folder.
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-16 18:18:50
I just tried putting it in that folder, and it still won't load.  What's really bugging me is that I almost remember having this same issue when I first installed foo_pod - the msvcp71.dll needs to go into something like the system32 folder, or some other odd-ball place...
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-20 20:05:22
- deleted...never mind -
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-05-24 08:31:47
Four days without a post, weeks without the software author logging in. No future support. Foo_pod is dying. I'm sad.  It seems like Mediamonkey will do almost everything foo_pod does, including on-the-fly transcoding, an replaygain to soundcheck conversion. Anyone know if its scripting language (vb) I think, could be used as extensively as the TAGZ customisation used with foobar / foopod ?
Title: foo_pod - Foobar2000 meets the iPod
Post by: magnusak on 2006-05-24 09:09:43
Four days without a post, weeks without the software author logging in. No future support. Foo_pod is dying. I'm sad.
I agree with you. Clunesy. I have already updated my foobar to v0.9, since I don't expect to use foo_pod anymore. I guess I will stick to iTunes and a standalone replygain to soundcheck convertor.

It's a pity though that the developer won't open the source for foo_pod and let others continue. It's not like it has any commercial potential anyway.
It seems like Mediamonkey will do almost everything foo_pod does, including on-the-fly transcoding, an replaygain to soundcheck conversion. Anyone know if its scripting language (vb) I think, could be used as extensively as the TAGZ customisation used with foobar / foopod ?
I will give Mediamonkey a try. VB is a compilated language, not a scripting language. I don't know what degree of customization Mediamonkey offers. I don't expect to see anything as neat as foobar with foo_pod, anyway.
Title: foo_pod - Foobar2000 meets the iPod
Post by: SNAG on 2006-05-29 14:14:43

Four days without a post, weeks without the software author logging in. No future support. Foo_pod is dying. I'm sad.
I agree with you. Clunesy. I have already updated my foobar to v0.9, since I don't expect to use foo_pod anymore. I guess I will stick to iTunes and a standalone replygain to soundcheck convertor.


Hi there,

Could you care to share whch standalone convertor you used? I attempted to use SoundCheck for iTunes, but I feel that it ain't as good as RG.

To Aero,
Thanks a lot for foo_pod, it was a perfect marriage for both iPod and foobar lovers. It brought much joy to me, as it was the ultimate fb2k plugin that I have ever used.

Thanks a lot, and take care!
Title: foo_pod - Foobar2000 meets the iPod
Post by: My name is Mud on 2006-05-29 19:26:11
...msvcp71.dll....go(es) in the components dir with foo_pod.

Tried that  - didn't work.  I do think you're right about the .dll, though...I just wish I knew where it's supposed to go.


A few days later - this is weird.  I've tried this (installing the .dll's into the components folder) 3 or 4 times, and kept getting the same error message.  Last night, I tried it again, and it worked just fine... .  Dunno what I did differently this time, but I'm happy it's working now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-05-30 02:29:56


Four days without a post, weeks without the software author logging in. No future support. Foo_pod is dying. I'm sad.
I agree with you. Clunesy. I have already updated my foobar to v0.9, since I don't expect to use foo_pod anymore. I guess I will stick to iTunes and a standalone replygain to soundcheck convertor.


Hi there,

Could you care to share whch standalone convertor you used? I attempted to use SoundCheck for iTunes, but I feel that it ain't as good as RG.

To Aero,
Thanks a lot for foo_pod, it was a perfect marriage for both iPod and foobar lovers. It brought much joy to me, as it was the ultimate fb2k plugin that I have ever used.

Thanks a lot, and take care!

Since you use RG & Soundcheck, I would suggest that you as I do and just keep a barebones version of foobar2000 0.8.3 on you computer. I'm sure that it is smaller than iTunes. This weekend I've been playing with "YamiPOD", and it does everthing I need it to do, as I don't use RG or Soundcheck. I don't think it transcodes either, but I couldn't do that with foo_pod. I use FLAC images with embedded cuesheets, and foo_pod does not have the capability to transcode those files.
Title: foo_pod - Foobar2000 meets the iPod
Post by: magnusak on 2006-05-30 09:36:02
Could you care to share whch standalone convertor you used? I attempted to use SoundCheck for iTunes, but I feel that it ain't as good as RG.


Hi SNAG. I haven't started yet, so I still don't know what standalone convertor to use. I have found one here (http://www.hydrogenaudio.org/forums/index.php?s=&showtopic=24620&view=findpost&p=373432) but haven't tested if it is any good. If not, I will write one myself, since the algorithm is quite straight forward.

Take care,
Magnus

PS. Could anybody point me in the right direction as to how to read and write tags from MP3 files? Would writing a foobar plugin be the easiest approach here?
Title: foo_pod - Foobar2000 meets the iPod
Post by: AlmightyBob on 2006-05-30 09:50:00
foo_pod.dll wont load for me either
Title: foo_pod - Foobar2000 meets the iPod
Post by: David Nordin on 2006-05-30 10:52:10
*removed*
Title: foo_pod - Foobar2000 meets the iPod
Post by: magnusak on 2006-05-30 13:11:28
There might come a better solution for SoundCheck soon so don't worry about that part.

From whom? An Apple upgrade or some other software? Tell me more! :-)
Title: foo_pod - Foobar2000 meets the iPod
Post by: ryran on 2006-05-30 16:24:55
Dude. Guys.
Have you not heard of Rockbox (http://www.rockbox.org/twiki/bin/view/Main/IpodPort)? Your mileage may vary, but it works flawlessly for me and my Nano (and a lot of other people for 4g and video too). Simple drag and drop in explorer... no renaming or obfuscated file names. Just the same directory structure as my computer. Also, gapless playback and crossfading while on shuffle rocks my world.

I used foo_pod /w a 0.8.3 version of fb2k I kept on my ipod. Loved it. Worked well for me for quite a while. Thanks for that aero!
Title: foo_pod - Foobar2000 meets the iPod
Post by: lav-chan on 2006-05-30 16:42:21
Rockbox is amazing. Too bad my iPod is too old. :(
Title: foo_pod - Foobar2000 meets the iPod
Post by: slipperyp on 2006-05-30 16:45:21
Dude. Guys.
Have you not heard of Rockbox (http://www.rockbox.org/twiki/bin/view/Main/IpodPort)?


Some people (like me) use Rockbox on our iPod and are specifically interested in foo_pod because the Rockbox iPod FAQ (http://www.rockbox.org/twiki/bin/view/Main/IpodFAQ) points us here for accessing files put on our iPods using the rockbox firmware FROM the iPod firmware.  Until Rockbox provides external playback control automation, there is little choice but to use something like foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ryran on 2006-05-31 15:04:14
I understand the faq question that mentions foo_pod (and can see a use for foo_pod there) but I have no clue what you're saying with "for accessing files put on our iPods using the rockbox firmware FROM the iPod firmware." "Until Rockbox provides external playback control automation" ...so I'll just assume you're just talking about the same thing--the need to switch between rockbox and the default firmware.
Title: foo_pod - Foobar2000 meets the iPod
Post by: slipperyp on 2006-05-31 15:55:26
I understand the faq question that mentions foo_pod (and can see a use for foo_pod there) but I have no clue what you're saying with "for accessing files put on our iPods using the rockbox firmware FROM the iPod firmware." "Until Rockbox provides external playback control automation" ...so I'll just assume you're just talking about the same thing--the need to switch between rockbox and the default firmware.


Yeah - it's hard to describe.  Simply switching back and forth between firmwares is easy since Rockbox lets you dual boot.  I want each firmware to be able to read and play music put on the device from the other firmware.

Actually, what I want is to be able to use an inline remote control for my device ("external playback control automation") - specifically I want this for the headunit in my car.  If the rockbox iPod port did have this functionality, I could stay in rockbox all the time, but it doesn't.  Consequently, I'm investigating hacks to make the iPod firmware able to play the music I put on my device in the simple filesystem hierarchy.  Alternatively, the rockbox iRiver port does have support for an inline remote control so it might not be incredibly hard to add that to the iPod port and I downloaded the rockbox vmware dev image to look at this.

Anyway - that's what I'm after and this is really probably a topic best suited to the rockbox forums  Thanks for seeking clarity, though!
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-06-01 15:22:42
I love custom TAGZ, I want custom TAGZ, I NEED custom TAGZ.
Can't get them anywhere apart from foo_pod.
Keeping hold of 0.8.3 + foo_pod is fine for a few months, but these things need maintaining.
We all know there'll be new firmwares, new pods, and new itunes features. Something will break, and soon.
Then what will I do ? Start watching movies I guess.........
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-06-01 15:43:27
I love custom TAGZ, I want custom TAGZ, I NEED custom TAGZ.
Can't get them anywhere apart from foo_pod.
Keeping hold of 0.8.3 + foo_pod is fine for a few months, but these things need maintaining.
We all know there'll be new firmwares, new pods, and new itunes features. Something will break, and soon.
Then what will I do ? Start watching movies I guess.........

Then I would suggest that you take a stroll over to "foo_dop". In a few months you just may have that update plugin that you are looking for.
Title: foo_pod - Foobar2000 meets the iPod
Post by: antoniost on 2006-06-05 19:36:22
Nevermind, I answered my own question. 
Title: foo_pod - Foobar2000 meets the iPod
Post by: Raja on 2006-06-08 04:44:55
So I did some searching but couldn't really find an answer.  Or perhaps my search-fu sucks.

Anyway, what I'm looking to do is exclude songs from being transferred to my iPod via foo_pod.  I have one playlist that contains all my music, but some of that music I don't want transferred.  I don't really want to keep having to create/update a playlist with all music minus unwanted tracks.  Is this possible via foo_pod or other means?
Title: foo_pod - Foobar2000 meets the iPod
Post by: Bonzi on 2006-06-08 15:58:14
So I did some searching but couldn't really find an answer.  Or perhaps my search-fu sucks.

Anyway, what I'm looking to do is exclude songs from being transferred to my iPod via foo_pod.  I have one playlist that contains all my music, but some of that music I don't want transferred.  I don't really want to keep having to create/update a playlist with all music minus unwanted tracks.  Is this possible via foo_pod or other means?


Yes, you can sync your playlist.  But be careful that the music you don't want to transfer is bit identical to what you have on your ipod (tags etc) otherwise it will be deleted and transfered again.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Raja on 2006-06-09 00:55:51
Thanks.  But actually what I was looking for was a way to specify, just once, certain tracks/albums/folders to never be transferred to my iPod.

I realize I can use the syncing functions, but that would require that I already didn't transfer the unwanted songs to it.

Basically I'm lazy, is what I'm saying.  Is there a way to dynamically create a playlist that meets the criteria, without toooo much configuring?  That or a static way to create the playlist that I can just recreate (with new additions) and xfer again.

Thanks!
Title: foo_pod - Foobar2000 meets the iPod
Post by: SwiftBass on 2006-06-12 02:06:14
what the lastest version of foo_pod? and where may i get it again?  im sry, ben searching for a while and seem to find old links.  im running 9.1 and im not sure if theres a foo_pod for it or not, but just trying to make sure b4 i go use something like rockbox
Title: foo_pod - Foobar2000 meets the iPod
Post by: Crissaegrim on 2006-06-12 02:14:57
foo_pod isn't going to be ported to 0.9...  You'll have to use foo_dop.
Title: foo_pod - Foobar2000 meets the iPod
Post by: FerdiV on 2006-07-14 11:41:12
sounds like foo_pod will not be ported 


Sorry to disappoint you, but I have no plans to update foo_pod to Foobar 0.9.  And as far as I know, Foobar 0.9 will incompatible with earlier components, so you will have to have Foobar 0.8.x in order to use foo_pod. 

Fortunately, Foobar 0.8 already has an ALAC decoder and I believe you could use Otto's iTunesEncoder script to losslessly transcode from FLAC -> ALAC, so there is no reason to wait for Foobar 0.9 to do what you are looking to do.


BTW, in case anyone is wondering, I was temporarily banned from posting on the Hydrogen Audio forums apparently because of my questioning of the availability of the 0.9 SDK.  I say apparently, because no one ever contacted me about the suspension, and the only thing I can find that could possibly be the cause is this post (http://www.hydrogenaudio.org/forums/index.php?showtopic=19156&view=findpost&p=302691).  Anyway, that combined with other factors pretty much killed any desire to upgrade to Foobar 0.9.  Note that I am not planning on stopping foo_pod development, but it likely won't be focused on the changes necessary to make it run on Foobar 0.9.


Quote
Well seeing as people are pretty angry with what I said, let me clarify.  Firstly, I respect Aero greatly, as he has done a lot for the community.  His plugin is fantastic, and is one of the many reasons use foobar2000.  I am not angry that foo_pod (seemingly) is not going to be ported to 0.9, but with the reasons for Aero's decision not to.

The ban has very little with my decision not to port foo_pod to Foobar 0.9.  I believe I alluded to the possibility of not porting foo_pod to 0.9 even before the ban.

Anyway, in order of priority, the reasons include:

1. Not having much time to work on foo_pod, in general.
2. No good reason (for me) to upgrade to Foobar 0.9.
3. The lack of a publically available SDK for 0.9.
4. Forum difficulties (i.e. the ban).


When Foobar 0.9 and SDK are released, if I find a good reason to upgrade and the 0.8->0.9 SDK changes are minimial, I might do the porting.  But like I said, I really don't see any good reason to upgrade to Foobar 0.9 at this point, and several good reasons not to.



Well I can see a very big reason why he should port foo_pod to 0.9; He will make thousands of people happy  I really need this ^^

FerdiV
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-07-14 14:28:10
Well I can see a very big reason why he should port foo_pod to 0.9; He will make thousands of people happy  I really need this ^^

FerdiV


Don't count on it.  It's not going to happen.  Move along, foo_pod is done. MediaMonkey was a recommended replacement earlier in the thread.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Omion on 2006-07-16 05:34:10
All right, guys. I just got a 30GB iPod and installed foo_pod (I'm severely allergic to iTunes  ). However, there's a problem copying the files to the iPod.

I use FLAC with 1 file per album, which foo_pod seems to be confused by. When I select more than one track in the file, then send them to the iPod, it returns with
Code: [Select]
WARNING (foo_pod) : Unsupported file 'E:\Music\MKA\Air - Moon Safari.mka' has already been transcoded and is on the iPod


I assume it tests for equality on the file name, even though the metadata for each track is different.

Is there any way to turn the "already on iPod" setting off, and just transcode anyway? Or will this overwrite the previously-transcoded track?
Title: foo_pod - Foobar2000 meets the iPod
Post by: drbeachboy on 2006-07-16 15:57:53
All right, guys. I just got a 30GB iPod and installed foo_pod (I'm severely allergic to iTunes  ). However, there's a problem copying the files to the iPod.

I use FLAC with 1 file per album, which foo_pod seems to be confused by. When I select more than one track in the file, then send them to the iPod, it returns with
Code: [Select]
WARNING (foo_pod) : Unsupported file 'E:\Music\MKA\Air - Moon Safari.mka' has already been transcoded and is on the iPod


I assume it tests for equality on the file name, even though the metadata for each track is different.

Is there any way to turn the "already on iPod" setting off, and just transcode anyway? Or will this overwrite the previously-transcoded track?

Somebody correct me if I'm mistaken, but I don't think that foo_pod can read embedded cuesheets in FLAC files and cannot transcode them properly.

I use one FLAC file per album, and I have covert to m4a first (using FB2K) and then send those files to my iPod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Omion on 2006-07-16 16:41:27
Somebody correct me if I'm mistaken, but I don't think that foo_pod can read embedded cuesheets in FLAC files and cannot transcode them properly.

I use one FLAC file per album, and I have covert to m4a first (using FB2K) and then send those files to my iPod.

Hm. You're right. No matter what track I choose, it transcodes the first track in the file (but it knows where to stop, so it must have some notion of sub-indexes). I guess I'll have to do the transcoding myself. Bummer.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-08-09 09:17:58
foo_pod dead, and foo_dop still very embryonic and moving slowly. Any other ipod loading tools I should know about ?

Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-08-09 15:41:36
foo_pod dead, and foo_dop still very embryonic and moving slowly. Any other ipod loading tools I should know about ?



MediaMonkey: http://www.mediamonkey.com/ (http://www.mediamonkey.com/)
Title: foo_pod - Foobar2000 meets the iPod
Post by: aurelio on 2006-08-10 17:18:20
Any other ipod loading tools I should know about ?

YamiPod: http://www.yamipod.com/ (http://www.yamipod.com/)
Title: foo_pod - Foobar2000 meets the iPod
Post by: slashjunior on 2006-09-22 13:13:57

foo_pod dead, and foo_dop still very embryonic and moving slowly. Any other ipod loading tools I should know about ?



MediaMonkey: http://www.mediamonkey.com/ (http://www.mediamonkey.com/)


That isn't built into foobar2000 though. That's a totally different media player altogether and a blatant iTunes rip-off just less bloated, so is YamiPod. May as well keep using iTunes until components in foobar 0.9 improve. I already have foobar2000, iTunes, WMP and Real Player. I don't need another media program to fill up my computer.

With all these new features that Apple has now added then it is going to be even more difficult for third-party developers to play catch-up.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-09-22 16:11:22


foo_pod dead, and foo_dop still very embryonic and moving slowly. Any other ipod loading tools I should know about ?



MediaMonkey: http://www.mediamonkey.com/ (http://www.mediamonkey.com/)


That isn't built into foobar2000 though. That's a totally different media player altogether and a blatant iTunes rip-off just less bloated, so is YamiPod. May as well keep using iTunes until components in foobar 0.9 improve. I already have foobar2000, iTunes, WMP and Real Player. I don't need another media program to fill up my computer.

With all these new features that Apple has now added then it is going to be even more difficult for third-party developers to play catch-up.


There is no other fb2k iPod components as far as I know.  The only problem I have with iTunes is the lack of transcoding support.  Once that's there, I'll stick with iTunes.  fb2k doesn't bring anything to the table that I absolutely need.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-09-27 10:01:02
OK, new 5.1 G video ipods load fine with foo_pod, they're definitely slower and less responsive units though.....

However if you, like me use foo_pod to load your music with custom tags, and then use itunes to load videos.... look out for this one....

iTunes 7 has introduced a gapless playback feature, that you CAN'T disable. As soon as you connect an ipod it wades in and starts rebuilding the database with gapless info (whatever that might be - many $50 players can do gapless without stored tags), and screws your custom tags. AAARRRGGHHH. man I hate this sh1t.

You can stop it calculating, but it kicks in again as soon as you restart the app. No preference to disable. Apple suck.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Aero on 2006-10-04 04:54:52
foo_pod version 0.9.9o is now available (http://www.loodi.com/foo_pod.zip)

This version just fixes a problem I noticed with Play Counts support on 5G iPods (possibly only with the latest firmware update). 

I recently obtained a 5G iPod for testing, and noticed that it writes out a slightly different format for the Play Counts file, and foo_pod needed to be updated to handle this.  Play Counts is written by the iPod and contains information about ratings set on the iPod, along with a few other things like bookmark time and last played time.  Without this update, you would lose this data when you used foo_pod with a newer iPod.

---

As you have probably noticed, foo_pod development has ground to a halt.  This is basically because foo_pod and Foobar 0.8 were nearly perfect (for me) with my 4G iPod.  Now that I have (temporarily) have a 5G iPod, I have a new interest in extending foo_pod to work with the new database format, including adding support for transferring video content.  I am actually doing some interesting non-foo_pod related iPod development as well, which might end up being applicable to a hybrid Foobar 0.9/COM Automation server/my thing project.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Idec Sdawkminn on 2006-10-04 16:43:33
Nice. Does this allow one to send playlists to the iPod? Does it transfer the ReplayGain settings?

The ability to transfer ReplayGain settings and to have a playlist to keep my songs in the order I want them is all I really want from an iPod utility. iTunes is perfect except it doesn't transfer the ReplayGain settings. foo_dop is perfect except it doesn't send the playlist.
Title: foo_pod - Foobar2000 meets the iPod
Post by: mobyduck on 2006-10-05 14:35:53
As you have probably noticed, foo_pod development has ground to a halt.  This is basically because foo_pod and Foobar 0.8 were nearly perfect (for me) with my 4G iPod.  Now that I have (temporarily) have a 5G iPod, I have a new interest in extending foo_pod to work with the new database format, including adding support for transferring video content.  I am actually doing some interesting non-foo_pod related iPod development as well, which might end up being applicable to a hybrid Foobar 0.9/COM Automation server/my thing project.
Hi Aero,

nice to see you back!

If you need beta testers, I'm sure you'll find many here.

Cheers.

Alessandro
Title: foo_pod - Foobar2000 meets the iPod
Post by: quazi on 2006-10-16 01:31:52
foo_pod version 0.9.9o is now available (http://www.loodi.com/foo_pod.zip)
...
As you have probably noticed, foo_pod development has ground to a halt.  This is basically because foo_pod and Foobar 0.8 were nearly perfect (for me) with my 4G iPod.  Now that I have (temporarily) have a 5G iPod, I have a new interest in extending foo_pod to work with the new database format, including adding support for transferring video content.  I am actually doing some interesting non-foo_pod related iPod development as well, which might end up being applicable to a hybrid Foobar 0.9/COM Automation server/my thing project.

It's alive!!

It's good to see you again, and let us know if you need any help! (spare iPods, software testing, personal favors, whatever)
Title: foo_pod - Foobar2000 meets the iPod
Post by: nilsHaus on 2006-10-22 03:46:03
Seriously, there are many people here (myself included) who are just jumping on this bandwagon and you COULD be our saviour.

Can anyone point me to some information on this plugin? i.e., what it can and cannot do?

?eace
Title: foo_pod - Foobar2000 meets the iPod
Post by: david_dl on 2006-10-22 04:20:33
Seriously, there are many people here (myself included) who are just jumping on this bandwagon and you COULD be our saviour.

Can anyone point me to some information on this plugin? i.e., what it can and cannot do?

?eace


Have a look at this page, especially the screenshots

http://www.tinkafoo.com/log/foo_pod.html#how%20to (http://www.tinkafoo.com/log/foo_pod.html#how%20to)
Title: foo_pod - Foobar2000 meets the iPod
Post by: nilsHaus on 2006-10-22 23:02:51
Thank you (nice website by the way)

but is there no foo_pod plugin for foobar2k v0.9.4?

?eace
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2006-10-23 01:12:08
but is there no foo_pod plugin for foobar2k v0.9.4?

No.
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-11-02 16:48:31
Good to see you back, Aero. Will look forward to new developments. Things over at foo_dop are moving so slowly; it will be along time before it's useable, if ever. I will being using foo_pod for the foreseeable future. I'm happy to stick on itunes 6.0.5 to load videos until there is an alternative. I will NEVER use itunes 7 until you can disable that gapless sh1t.

all the best

Niels
Title: foo_pod - Foobar2000 meets the iPod
Post by: clunesy on 2006-11-24 12:26:16
Guess we're not 'back'...
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-02 17:32:27
i don't know but i get this error   

Code: [Select]
Illegal operation:
Code: C0000005h, flags: 00000000h, address: 9CF4BF59h
Access violation, operation: read, address: 9CF4BF59h
Call path:
WinMain=>app_init
This is the first crash logged by this instance.
Access violation, operation: read, address: 9CF4BF59h
Stack (0012FBA4h):
0012FB84h:  0117EEB8 7C9D93C0 77E943DD 7C9D93C0
0012FB94h:  00000004 00000000 0117E3C4 00000000
0012FBA4h:  77E26725 77DBC218 0163F030 00000004
0012FBB4h:  0012FF0C 016020CF 001A63D4 00000004
0012FBC4h:  0163F030 77BFC21B 0142AA98 0012FEF8
0012FBD4h:  004442AC 01425718 77BFC21B 00000030
0012FBE4h:  0012FBF8 004012B8 004012C6 0012FEF8
0012FBF4h:  0012FC00 015FBD5C 01425718 0040129C
0012FC04h:  0043416A 0012FEF8 0000001E 0012FFB0
0012FC14h:  01620D68 FFFFFFFF 004118E9 0117E294
0012FC24h:  00152339 00000000 00890000 7C920732
0012FC34h:  00000003 00890718 00890000 00000000
0012FC44h:  0012FC34 0012FE78 0012FE78 7C91EE18
0012FC54h:  00000141 0012FE88 7C921538 7C921596
0012FC64h:  7C9206EB 0117E294 00000010 00000000
0012FC74h:  7C927CB7 7C927BF5 00890608 7C927BB0
0012FC84h:  00000000 00894B18 00000400 008903F0
0012FC94h:  00000000 00000000 7C9206EB 00890270
0012FCA4h:  00890640 00895590 00890358 00895598
0012FCB4h:  00000000 008901D8 00000000 00150640
Registers:
EAX: 77DBC218, EBX: 00000000, ECX: 77E268B4, EDX: 00000004
ESI: 774CFAC3, EDI: 004442AC, EBP: 0012FBB4, ESP: 0012FBA4
Unable to identify crash location

Loaded modules:
foobar2000                       loaded at 00400000h - 00452000h
ntdll                            loaded at 7C910000h - 7C9C6000h
kernel32                         loaded at 7C800000h - 7C8FF000h
USER32                           loaded at 77D10000h - 77DA0000h
GDI32                            loaded at 77E40000h - 77E87000h
ole32                            loaded at 774B0000h - 775ED000h
ADVAPI32                         loaded at 77F40000h - 77FEB000h
RPCRT4                           loaded at 77DA0000h - 77E31000h
msvcrt                           loaded at 77BE0000h - 77C38000h
COMCTL32                         loaded at 773A0000h - 774A3000h
SHLWAPI                          loaded at 77E90000h - 77F06000h
utf8api                          loaded at 10000000h - 1000D000h
comdlg32                         loaded at 76360000h - 763AA000h
SHELL32                          loaded at 7C9D0000h - 7D1EC000h
foo_abx                          loaded at 008D0000h - 008DC000h
foo_ac3                          loaded at 008E0000h - 008F3000h
foo_adpcm                        loaded at 00900000h - 00915000h
foo_albumlist                    loaded at 00920000h - 0092B000h
foo_ape                          loaded at 00930000h - 0094F000h
foo_apl                          loaded at 00950000h - 0095A000h
foo_audioscrobbler               loaded at 00960000h - 00980000h
LIBCURL                          loaded at 00980000h - 00999000h
WS2_32                           loaded at 71A30000h - 71A47000h
WS2HELP                          loaded at 71A20000h - 71A28000h
WINMM                            loaded at 76B00000h - 76B2E000h
foo_bitcompare                   loaded at 00A70000h - 00A79000h
foo_burninate                    loaded at 00A80000h - 00A8C000h
VERSION                          loaded at 77BD0000h - 77BD8000h
foo_cdda                         loaded at 00A90000h - 00A9E000h
foo_clienc                       loaded at 00AA0000h - 00AAB000h
foo_console                      loaded at 00AB0000h - 00AB7000h
foo_convolve                     loaded at 00AC0000h - 00B0F000h
foo_dbsearch                     loaded at 00B10000h - 00B2A000h
foo_dirwatch                     loaded at 00B30000h - 00B39000h
MSVCR70                          loaded at 7C000000h - 7C054000h
foo_diskwriter                   loaded at 00B50000h - 00B62000h
foo_dsp_crossfade                loaded at 00B70000h - 00B77000h
foo_dsp_crossfeed                loaded at 00B80000h - 00B98000h
foo_dsp_extra                    loaded at 00BB0000h - 00BC5000h
foo_dsp_nogaps                   loaded at 00BD0000h - 00BD7000h
foo_dsp_pause                    loaded at 00BE0000h - 00BE7000h
foo_dsp_skip_silence             loaded at 00BF0000h - 00BF7000h
foo_dsp_soundtouch               loaded at 00C00000h - 00C0D000h
MSVCP60                          loaded at 76030000h - 76095000h
foo_dts                          loaded at 00C10000h - 00C39000h
foo_dumb                         loaded at 00C40000h - 00C6C000h
foo_dynamics                     loaded at 00C70000h - 00C77000h
foo_faac                         loaded at 00C80000h - 00CB3000h
foo_flac                         loaded at 00CC0000h - 00CDF000h
foo_flaccer                      loaded at 00CE0000h - 00CFA000h
foo_freedb                       loaded at 00D00000h - 00D1D000h
foo_gep                          loaded at 00D20000h - 00D46000h
MSIMG32                          loaded at 76330000h - 76335000h
OLEAUT32                         loaded at 770F0000h - 7717C000h
foo_history                      loaded at 00D50000h - 00D65000h
foo_id3v2                        loaded at 00D70000h - 00DA1000h
foo_inet_radio                   loaded at 00DB0000h - 00DC6000h
foo_infobox                      loaded at 00DD0000h - 00DE3000h
foo_input_std                    loaded at 00DF0000h - 00E8D000h
MSACM32                          loaded at 77BB0000h - 77BC5000h
foo_lpac                         loaded at 00E90000h - 00E97000h
lpac_codec_api                   loaded at 00EA0000h - 00EAA000h
lpaccodec                        loaded at 00EB0000h - 00ED9000h
foo_lyricsdb                     loaded at 01100000h - 01111000h
WININET                          loaded at 77180000h - 77227000h
CRYPT32                          loaded at 77A50000h - 77AE5000h
MSASN1                           loaded at 77AF0000h - 77B02000h
MSVCP70                          loaded at 7C080000h - 7C0F7000h
foo_masstag                      loaded at 01120000h - 01134000h
foo_matroska                     loaded at 01140000h - 01182000h
foo_midi                         loaded at 011E0000h - 0126F000h
MFC42                            loaded at 73D40000h - 73E3E000h
MFC42LOC                         loaded at 61E00000h - 61E0E000h
foo_monkey                       loaded at 01190000h - 011AC000h
foo_mpeg4u                       loaded at 01270000h - 01299000h
foo_null                         loaded at 011B0000h - 011B7000h
foo_ofr                          loaded at 011C0000h - 011C6000h
OptimFROG                        loaded at 012A0000h - 012CC000h
foo_oggpreview                   loaded at 012E0000h - 013F5000h
foo_osd                          loaded at 01400000h - 0140E000h
gdiplus                          loaded at 4EBD0000h - 4ED73000h
foo_output_std                   loaded at 01520000h - 01529000h
foo_out_dsound_ex                loaded at 01530000h - 01539000h
DSOUND                           loaded at 73E80000h - 73EDC000h
foo_out_ks                       loaded at 01550000h - 0155B000h
SETUPAPI                         loaded at 778F0000h - 779E7000h
foo_playcount                    loaded at 01560000h - 0156B000h
MSVCR71                          loaded at 7C340000h - 7C396000h
foo_playlistgen_ex               loaded at 01580000h - 0158F000h
foo_playlist_tree                loaded at 01590000h - 015D1000h
foo_pod                          loaded at 015E0000h - 01675000h
MSVCP71                          loaded at 7C3A0000h - 7C41B000h
foo_pphsresample                 loaded at 01680000h - 01690000h
foo_preview                      loaded at 01690000h - 0169C000h
foo_psf                          loaded at 016A0000h - 0174C000h
foo_quicktag                     loaded at 01750000h - 01759000h
foo_read_http                    loaded at 01760000h - 01769000h
foo_rgscan                       loaded at 01770000h - 0177D000h
foo_scheduler                    loaded at 01780000h - 01795000h
foo_scroll                       loaded at 017A0000h - 017A6000h
foo_search_ex                    loaded at 017B0000h - 017B8000h
foo_shn                          loaded at 017C0000h - 017CF000h
foo_shuffle                      loaded at 017D0000h - 017DB000h
foo_sid                          loaded at 01820000h - 01868000h
foo_speex                        loaded at 017E0000h - 017F8000h
foo_syfm                         loaded at 01800000h - 0180A000h
foo_toaster                      loaded at 01870000h - 01891000h
foo_tta                          loaded at 018A0000h - 018A9000h
foo_tta_old                      loaded at 018B0000h - 018B9000h
foo_uie_albumart                 loaded at 018C0000h - 018D0000h
foo_uie_dbexplorer               loaded at 018D0000h - 018DB000h
foo_uie_lyrics                   loaded at 018E0000h - 0190C000h
foo_uie_tabs                     loaded at 01910000h - 0191A000h
foo_uie_trackinfo                loaded at 01920000h - 0192B000h
foo_ui_columns                   loaded at 01930000h - 01967000h
foo_ui_gfx                       loaded at 01970000h - 01998000h
foo_ui_std                       loaded at 019A0000h - 019B7000h
foo_unpack                       loaded at 019C0000h - 019F1000h
foo_utils                        loaded at 01A00000h - 01A11000h
foo_vis_bacon                    loaded at 01A20000h - 01A38000h
foo_vis_manager                  loaded at 01A40000h - 01A48000h
foo_vis_simple_spectrum          loaded at 01A50000h - 01A5C000h
foo_vorbisenc                    loaded at 01A60000h - 01B71000h
foo_wavpack                      loaded at 01B80000h - 01B94000h
foo_wma                          loaded at 01BA0000h - 01BB9000h
WMVCore                          loaded at 086C0000h - 08904000h
WMASF                            loaded at 070D0000h - 0710B000h
uxtheme                          loaded at 5B180000h - 5B1B8000h
MSCTF                            loaded at 746B0000h - 746FB000h
CAPTLIB                          loaded at 01C60000h - 01C80000h
OLEACC                           loaded at 74C10000h - 74C3C000h
dciman32                         loaded at 73B30000h - 73B36000h
Powrprof                         loaded at 74A60000h - 74A68000h
CLBCATQ                          loaded at 76F90000h - 7700F000h
COMRes                           loaded at 77010000h - 770E2000h
xpsp2res                         loaded at 20000000h - 202D5000h
msi                              loaded at 031A0000h - 03466000h
SXS                              loaded at 75E40000h - 75EF0000h
imagehlp                         loaded at 76C50000h - 76C78000h
DBGHELP                          loaded at 59E60000h - 59F01000h

Stack dump analysis:
Address: 77E26725h, location: "RPCRT4", loaded at 77DA0000h - 77E31000h
Symbol: "NdrStubForwardingFunction" (+00000017h)
Address: 77DBC218h, location: "RPCRT4", loaded at 77DA0000h - 77E31000h
Symbol: "CreateProxyFromTypeInfo" (+000000D7h)
Address: 0163F030h, location: "foo_pod", loaded at 015E0000h - 01675000h
Address: 016020CFh, location: "foo_pod", loaded at 015E0000h - 01675000h
Address: 0163F030h, location: "foo_pod", loaded at 015E0000h - 01675000h
Address: 77BFC21Bh, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "free" (+00000000h)
Address: 77BFC21Bh, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "free" (+00000000h)
Address: 004012B8h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 004012C6h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 015FBD5Ch, location: "foo_pod", loaded at 015E0000h - 01675000h
Address: 0040129Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043416Ah, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 01620D68h, location: "foo_pod", loaded at 015E0000h - 01675000h
Address: 004118E9h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0117E294h, location: "foo_matroska", loaded at 01140000h - 01182000h
Address: 7C920732h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlAllocateHeap" (+0000015Eh)
Address: 7C91EE18h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "strchr" (+00000117h)
Address: 7C921538h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "wcsncpy" (+00000AA9h)
Address: 7C921596h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "wcsncpy" (+00000B07h)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 0117E294h, location: "foo_matroska", loaded at 01140000h - 01182000h
Address: 7C927CB7h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlReAllocateHeap" (+000002BAh)
Address: 7C927BF5h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlReAllocateHeap" (+000001F8h)
Address: 7C927BB0h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlReAllocateHeap" (+000001B3h)
Address: 7C9206EBh, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlAllocateHeap" (+00000117h)
Address: 00446350h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 7C921B09h, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlLogStackBackTrace" (+00000025h)
Address: 004465DCh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 77C09D60h, location: "msvcrt", loaded at 77BE0000h - 77C38000h
Symbol: "strerror" (+00002B66h)
Address: 7C92094Eh, location: "ntdll", loaded at 7C910000h - 7C9C6000h
Symbol: "RtlAcquirePebLock" (+00000031h)
Address: 0043946Ch, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043A200h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0043A1ECh, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00410FD5h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00438DB5h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 00400000h, location: "foobar2000", loaded at 00400000h - 00452000h
Address: 0117E294h, location: "foo_matroska", loaded at 01140000h - 01182000h

Version info:
foobar2000 v0.8.3
UNICODE
Title: foo_pod - Foobar2000 meets the iPod
Post by: topdownjimmy on 2006-12-02 18:42:21

but is there no foo_pod plugin for foobar2k v0.9.4?

No.

There is now.  foo_dop.

http://yuo.be/wiki/dop:start (http://yuo.be/wiki/dop:start)
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-03 11:23:34


but is there no foo_pod plugin for foobar2k v0.9.4?

No.

There is now.  foo_dop.

http://yuo.be/wiki/dop:start (http://yuo.be/wiki/dop:start)


it does work with ipod nano new generation
Title: foo_pod - Foobar2000 meets the iPod
Post by: opt on 2006-12-05 11:18:43
i don't know but i get this error   

.....
Version info:
foobar2000 v0.8.3
UNICODE[/code]


I was having a similar problem with new generation 2gb nano. It started with the latest itunes update. Solution: Disable the ipodservice.exe from Services and select Don't use iPod Service from foo_pod config. Works fine now.
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-05 18:22:20

i don't know but i get this error   

.....
Version info:
foobar2000 v0.8.3
UNICODE[/code]


I was having a similar problem with new generation 2gb nano. It started with the latest itunes update. Solution: Disable the ipodservice.exe from Services and select Don't use iPod Service from foo_pod config. Works fine now.

   

thanks! mate it works!
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-06 11:35:40

i don't know but i get this error   

.....
Version info:
foobar2000 v0.8.3
UNICODE[/code]


I was having a similar problem with new generation 2gb nano. It started with the latest itunes update. Solution: Disable the ipodservice.exe from Services and select Don't use iPod Service from foo_pod config. Works fine now.


which setting are the best to use ipod nano & this AWESOME plugins?

use ipod
like a disk
use it manually


right?
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-07 08:26:22
hi
i have a problem
i can send music
but i can't see covers & lyrics , could i upload them too
Title: foo_pod - Foobar2000 meets the iPod
Post by: opt on 2006-12-11 07:20:15
hi
i have a problem
i can send music
but i can't see covers & lyrics , could i upload them too


The album artwork didn't work for me from the beginning with foo_pod.  At least I managed get rid of the iTunes when using this foo_pod.
Title: foo_pod - Foobar2000 meets the iPod
Post by: tas on 2006-12-13 08:33:18
I was having a similar problem with new generation 2gb nano. It started with the latest itunes update. Solution: Disable the ipodservice.exe from Services and select Don't use iPod Service from foo_pod config. Works fine now.


and in case this doesn't work -> Install older iTunes 7 Version and don't update.
It works with the older iTunes version.
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-13 18:57:32

I was having a similar problem with new generation 2gb nano. It started with the latest itunes update. Solution: Disable the ipodservice.exe from Services and select Don't use iPod Service from foo_pod config. Works fine now.


and in case this doesn't work -> Install older iTunes 7 Version and don't update.
It works with the older iTunes version.

does it work with itunes 6?
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-20 10:49:57

I was having a similar problem with new generation 2gb nano. It started with the latest itunes update. Solution: Disable the ipodservice.exe from Services and select Don't use iPod Service from foo_pod config. Works fine now.


and in case this doesn't work -> Install older iTunes 7 Version and don't update.
It works with the older iTunes version.

wich version do u use?
Title: foo_pod - Foobar2000 meets the iPod
Post by: LastResort on 2006-12-22 03:58:19
I'm also having troubles with iTunes, the wife's "new" nano, my old clickwheel, and  foo_pod. 

I can get foopod to connect to the ipod, operate as expected and transfer music by disabling ipod services before starting (otherwise, crash).  However,  when transferring files using foo_pod the database appears to get mugged.  On the nano everything disappears from the music directory when viewed from iTunes, but the ipod shows and plays these files fine.  My oldschool click-wheel doesn't exhibit this particular behavior.   

By "rebuilding database" and "finding skipped files" everything appears in the ipod "music" list, but some of the recently transfered from itunes get's skipped during playback.  The fix for this is transferring a file and forcing itunes to "Determine gapless playback information" which can be long and time consuming. 

For reference, I'm running the latest foo_pod, iTunes 7.0.2.16.

Everything works in a way, but I'd love to know if I missed something.
Title: foo_pod - Foobar2000 meets the iPod
Post by: francesco on 2006-12-23 14:12:10
Hi mate

can I sync a playlist without delete the others songs?

and i did not find how smart playlist does work


i can't rename this smart view?
foo_pod makes me many smart view playlist with the same name
Title: foo_pod - Foobar2000 meets the iPod
Post by: rooster81 on 2006-12-31 19:47:34
Hi, as you can see from my number of posts I'm a newb. 

I got a 30gig video Ipod as a present but hate itunes, so I installed foo_pod last night.  I've copied all my music directly over to the ipod in a file tree format like on my computer, then connected the ipod and ran rebuild database.  When I boot up the apple firmware I can see the titles to songs/albums/artists, etc. but the songs are just skipped over instead of being played.  So I ran the fix skipped songs option, but that does nothing to help. 

So am I doing something wrong, or does foo_pod not work with the 5g/5.5g ipods?  I'm also running rockbox, which is why I want to keep the files in a tree format.

Thanks in advance to anyone who can help me.
Title: foo_pod - Foobar2000 meets the iPod
Post by: LastResort on 2007-01-02 06:17:39
Hi, as you can see from my number of posts I'm a newb. 

I got a 30gig video Ipod as a present but hate itunes, so I installed foo_pod last night.  I've copied all my music directly over to the ipod in a file tree format like on my computer, then connected the ipod and ran rebuild database.  When I boot up the apple firmware I can see the titles to songs/albums/artists, etc. but the songs are just skipped over instead of being played.  So I ran the fix skipped songs option, but that does nothing to help. 

So am I doing something wrong, or does foo_pod not work with the 5g/5.5g ipods?  I'm also running rockbox, which is why I want to keep the files in a tree format.

Thanks in advance to anyone who can help me.

Have you tried adding a song in itunes?  When I did this, it had to "Determine gapless playback information", then everything was copacetic.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rooster81 on 2007-01-05 03:12:01
When you say "adding a song in itunes" what do you mean exactly?  Do you mean adding it from itunes to the ipod directly?  Cause my original intention in using foo_pod was to have my files preserved in a tree format and not having to use itunes.  Thanks for your reply.
Title: foo_pod - Foobar2000 meets the iPod
Post by: LastResort on 2007-01-07 00:27:36
When you say "adding a song in itunes" what do you mean exactly?  Do you mean adding it from itunes to the ipod directly?  Cause my original intention in using foo_pod was to have my files preserved in a tree format and not having to use itunes.  Thanks for your reply.
Yeah, just a song, any song, added from itunes to your ipods causes it to do the "magic" of fixing the files as long as you've done the "rebuild database" as well.  I've downloaded a few tunes from iTunes, and that seems to be the way to get it to work.  Be warned, you will loose all playlists.
Title: foo_pod - Foobar2000 meets the iPod
Post by: rooster81 on 2007-01-14 02:42:54
Maybe I screwed up the order of the steps.  This is what happened to me so far:

I had all of my music loaded on the ipod.  I loaded them into a folder I labled "music", so when I plug in the ipod to my computer I see it as the F drive, my music would be located at F:\music.  I did this because I mainly use rockbox, but I'd like to be able to use the apple firmware if I want to.  So, I downloaded foo_pod, and I tried using the "rebuild database" function.  When I did this it looked as if it was processing all the songs, but when I boot back up into the apple firmware I can see the artists and songs, but when I select a song it looks like it's gonna play, but then it just skips it.  So I tried to add a song via itunes like what was suggested, which subsequently erased all of my existing files.  So I tried adding a few more song like I first did, and use the rebuild database again, but I have the same thing happen where the songs are skipped.  Any suggestions? 

Also LastResort, which model ipod are you using?
Title: foo_pod - Foobar2000 meets the iPod
Post by: LastResort on 2007-01-23 05:35:54
I'm using a 4G iPod, and a 2G nano.  Perhaps I missed a step.  I do know that I just added them to the Ipods, not copied them over in a directory.  Maybe that was it.  I also can't quite remember all that I did, but I used most of the repair tools.  maybe I screwed up the order.
Title: foo_pod - Foobar2000 meets the iPod
Post by: warhog4ever on 2007-01-30 19:14:05
Thought you might like to know, seems like the newest iTunes breaks foo_pod. I installed iTunes today and foobar wouldn't boot. Removing the foo_pod dlls allowed for foobar to boot, however.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zetharx on 2007-02-01 04:37:03
foo_pod newb here.  i just hooked up and i am wondering if there is development that will automatically re-encode my ogg-vorbis and mpc files to mp3 when i click "send to ipod" instead of telling me that they are not of the correct format.

Thanks in advance.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Slotos on 2007-02-01 11:13:04
Preferences - iPod manager
In Conversion Command box enter:
Code: [Select]
"path_to_your_encoder" -S --noreplaygain -V 5 --vbr-new - %d

You may want to play with switches though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: ReD-BaRoN on 2007-02-01 12:15:29
foo_pod newb here.  i just hooked up and i am wondering if there is development that will automatically re-encode my ogg-vorbis and mpc files to mp3 when i click "send to ipod" instead of telling me that they are not of the correct format.

Thanks in advance.


I'm curious, have you found other programs that will do this transcoding for you?  Given that foo_pod is dead, I'm looking for alternatives.
Title: foo_pod - Foobar2000 meets the iPod
Post by: zetharx on 2007-02-01 12:46:12

foo_pod newb here.  i just hooked up and i am wondering if there is development that will automatically re-encode my ogg-vorbis and mpc files to mp3 when i click "send to ipod" instead of telling me that they are not of the correct format.

Thanks in advance.


I'm curious, have you found other programs that will do this transcoding for you?  Given that foo_pod is dead, I'm looking for alternatives.


I said I was running foo_pod, but it IS foo_dop.  I just don't know what I am talking about.  Slotos' instructions worked beautifully on foo_dop v0.3.8.  I do not know of any other programs that can do this, though.
Title: foo_pod - Foobar2000 meets the iPod
Post by: glamsen on 2007-03-17 21:08:59
hey,
im using rockbox and apple firmware parallel on my ipod. the prob i have is that tracks i load on my ipod without converting em ipod database conform, but just copy my files somewhere on the pod. i can use those tracks with rockbox, but ipodfirmware doesnt recognize em. now i tried rescanning and rebuilding the ipod database, so they get included, but it doesnt work :/ i do remember, foo_pod tried to fix that problem, it just didnt work with 5g so far. I was wondering if there is any solution for that issue, my device is a 5g video 60gb.

thy in advance,

pz

glam
Title: foo_pod - Foobar2000 meets the iPod
Post by: oLjud on 2007-09-10 17:47:47
hi all, just downloaded the plugin and don't know anything about it

So I've got two questions:
is there possibly to have a "albumlist" of the artist on the iPod?
is there possibly to browse ipod libary like "SCPL" instead of using external window?


thx in advance!
// Mikael

EDIT! saw that i've hade foo_dop plugin
Title: foo_pod - Foobar2000 meets the iPod
Post by: mfresco on 2008-12-31 15:03:14
I had this problem that iTunes kept deleting music that I added with foo_pod. I wrote a small blog entry, that I'm reposting here.

Note;
- itunes for podcasts
- foobar for music

################################
Stop itunes from deleting music added with foo_pod


Steps
# Plug in your ipod.
# Start itunes and go to the "devices list".
# You now should have the screen that list your ipod, (name, capacity, software version.) Head down until you find the Options listing.
# Make sure to select "manually manage music and videos".

*The setting should allow you to manage your music with Foobar/foo_pod and itunes should no longer remove all the newly added music when you sync your pod-casts with itunes.
Title: foo_pod - Foobar2000 meets the iPod
Post by: Arphen on 2010-12-28 19:23:11
im getting a 404 on foo_pod.zip
can anyone email the newest version or redirect me to a torrent / mirror?
i'll try to put one up if i can grab hold of it
Title: foo_pod - Foobar2000 meets the iPod
Post by: Jack Schmaltz on 2010-12-28 21:00:44
@Arphen: i dont think this component is developed anymore, your best bet would be to use foo_dop http://www.hydrogenaudio.org/forums/index....showtopic=45160 (http://www.hydrogenaudio.org/forums/index.php?showtopic=45160)

its updated regularly & used by many (including myself).
hope this helps