Skip to main content

Notice

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

[seemingly abandonware] iPod manager

Reply #950
@Hydrac7

this is what I use
Code: [Select]
$if($stricmp($directory(%_path%,2),'Various Artists'),1,0)
my dir structure is ..\Various Artists\%date% - %album%\%track%. %title%

My directory structure is D:\Music\Various Artist\Date - Album\XX - Artist - Title.mp3

Would your code work for me?

Oh and is there a way to make it display Artist - Title (Compilation -> Album -> Artist - Title)on the iPod as opposed to just title?

[seemingly abandonware] iPod manager

Reply #951
Quote
My directory structure is D:\Music\Various Artist\Date - Album\XX - Artist - Title.mp3

Would your code work for me?
yeah it should work with that, give it a try.
Who are you and how did you get in here ?
I'm a locksmith, I'm a locksmith.

[seemingly abandonware] iPod manager

Reply #952
Quote
My directory structure is D:\Music\Various Artist\Date - Album\XX - Artist - Title.mp3

Would your code work for me?
yeah it should work with that, give it a try.

Sweet thanks a lot, this works out.

[seemingly abandonware] iPod manager

Reply #953
Hi musicmusic,

I'm running foo_dop 5.6.2.1 in foobar 0.9.5.1 to manage my ipod classic 160 gb. For some reason, it seems to take quite a while to get the art copying process started. I think it spent ~3-5 minutes after it copied all the music files to START copying the art. Is this expected? If so, could you please display a message that tells the user that copying is about to commence?

EDIT:

I also see a warning in the console whenever i connect the ipod:
Code: [Select]
Warning: failed to remove iPod Play Counts file; Reason: Object not found


This might be the reason why my ipod plays aren't being scrobbled.

EDIT 2:

Also, Eject iPod rarely works for me (it claims device is busy even when  "Safely Remove hardware" works perfectly.)

[seemingly abandonware] iPod manager

Reply #954
Hi musicmusic,

I'm running foo_dop 5.6.2.1 in foobar 0.9.5.1 to manage my ipod classic 160 gb. For some reason, it seems to take quite a while to get the art copying process started. I think it spent ~3-5 minutes after it copied all the music files to START copying the art. Is this expected? If so, could you please display a message that tells the user that copying is about to commence?
What was the exact message displayed during the delay? How did you check the files are finished copying, and how many tracks are on your iPod? Thanks

I also see a warning in the console whenever i connect the ipod:
Code: [Select]
Warning: failed to remove iPod Play Counts file; Reason: Object not found

This might be the reason why my ipod plays aren't being scrobbled.
No it's harmless. After the file has been processed it is removed so it doesn't always exist.

Also, Eject iPod rarely works for me (it claims device is busy even when  "Safely Remove hardware" works perfectly.)
The only message that foo_dop may give from that command is "iPod is busy". The rest come from the operating system. On VIsta you'll need to close any explorer windows that have your iPod open. If you're still stuck, use something like Process Explorer's handle search to find out what's using it.
.

[seemingly abandonware] iPod manager

Reply #955
Hi musicmusic,

What was the exact message displayed during the delay? How did you check the files are finished copying, and how many tracks are on your iPod? Thanks.


I was starting on a blank ipod, and coyping a total of ~3900 files. I know the files were copied because it displayed that "x files remaining" stuff, and then displayed the "Copying Album Art (3900 remaining)". It was stuck with this message for quite some time.

Quote
No it's harmless. After the file has been processed it is removed so it doesn't always exist.

Scrobbling from my ipod should be working, though, right? (Or is it not supported for ipod classic?)

[seemingly abandonware] iPod manager

Reply #956
I was starting on a blank ipod, and coyping a total of ~3900 files. I know the files were copied because it displayed that "x files remaining" stuff, and then displayed the "Copying Album Art (3900 remaining)". It was stuck with this message for quite some time.
OK, there's a minor bug in that the 'remaining' count in that instance doesn't decrease (the progress meter should still update though). That's corrected for next build.

Scrobbling from my ipod should be working, though, right? (Or is it not supported for ipod classic?)
Yes it should be working fine for the Classic. When you run any command that modifies the iPod (e.g. rewrite iPod database) any full plays since the last time you did that should be, provided you have a recent version of foo_audioscrobbler (I don't know if there is any set up you need to do on the foo_audioscrobbler side).
.

[seemingly abandonware] iPod manager

Reply #957
(I don't know if there is any set up you need to do on the foo_audioscrobbler side).

you just need to enable "import played tracks from portable devices" and it should work. the tracks you've been listening to on your ipod will then be sent when the next song is being scrobbled by foobar.

[seemingly abandonware] iPod manager

Reply #958
I am very unfimiliar with iPod playlists, only basic creation of them within iTunes. I haven't even tried smart playlists, so please excuse if this question is elementary...

But recently I have been rating my songs.
I was wondering if there is a provision anywhere, that automatically creates a playlist according to it's rating. Say: 5 star playlist, 4+ starplaylist, 3+ star playlist and so on.
So as soon as the song has been rated within foobar, this song is automatically added to the corresponding playlist(s). And if the song is rated on your iPod, as soon as you sinc your iPod, these songs are also added to the corresponding playlist(s).

Cheers


Any chance of an answer to this?
Sorry for quoting myself...

[seemingly abandonware] iPod manager

Reply #959
I was wondering if there is a provision anywhere, that automatically creates a playlist according to it's rating.


This is a "smart playlist" in Apple speak... musicmusic has said that there is no documented Apple API for them and foo_dop is based upon that API, so he can't implement them.

That said, the winamp plugin for iPods does support smart playlists so they can be implemented outside of iTunes... I presume they don't use the Apple API (3rd party libraries like GNUPod support them for example).

On the other hand, I've used iTunes to create smart playlists and it didn't screw up my iPod at all, which is otherwise managed by foo_dop. That is your best bet.

[seemingly abandonware] iPod manager

Reply #960
But there already are smart playlists in foo_dop
There is no rename function, and preview is strange - but creating works.

[seemingly abandonware] iPod manager

Reply #961
Hi musicmusic,

Would it be possible to:
-> add a "playcount" column in the "browse ipod" view?
-> add a "reset playcount to 0" option?
-> enable sorting by the column header (not important) in browse ipod view?


thanks.

[seemingly abandonware] iPod manager

Reply #962
Any chance of an answer to this?
Sorry for quoting myself...
What was wrong with my previous answer? 
You can create auto playlists in foobar2000, and smart playlists on the iPod for special playlists that match rules based around fields such as ratings in real-time. Ratings are copied to the iPod during a sync, but not the other way around.



This is a "smart playlist" in Apple speak... musicmusic has said that there is no documented Apple API for them and foo_dop is based upon that API, so he can't implement them.

That said, the winamp plugin for iPods does support smart playlists so they can be implemented outside of iTunes... I presume they don't use the Apple API (3rd party libraries like GNUPod support them for example).
I think you are mixing things up a bit. I only ever said there wasn't an Autoplaylist API which was in regards to converting auto playlists to smart playlists.

Hi musicmusic,

Would it be possible to:
-> add a "playcount" column in the "browse ipod" view?
-> add a "reset playcount to 0" option?
-> enable sorting by the column header (not important) in browse ipod view?


thanks.

1 & 3: That page needs a bit of work, I'll consider those things for when I do that.
2. Why would you need this?
.

[seemingly abandonware] iPod manager

Reply #963
Thanks for another great component, musicmusic.

I was wondering it's possible (or if it would be possible) to add music to the ipod, by passing a command, such as

Code: [Select]
foobar2000.exe /addtoipod "somefile.mp3"


or

Code: [Select]
foobar2000.exe /addtoipod "C:\somefolder\"


Or something like that, so that it would be possible to send music to the ipod, from the right click menu on folders (like how we can currently play/queue in foobar).

 

[seemingly abandonware] iPod manager

Reply #964
Ideally, you would be able to use foobar2000 /context_command:<command> <files>. Replace <command> with say "iPod/Send to iPod". Not sure why /context_command isn't included in the help from foobar2000 /?.

However, I never planned for this: I don't think it will work if foobar2000 is not already running, because the thread that scans for iPods will probably not have initialised before the command is executed, so you'll probably just get a 'No iPod found' message. You can check this for me  I can fix it otherwise.
.

[seemingly abandonware] iPod manager

Reply #965
Ideally, you would be able to use foobar2000 /context_command:<command> <files>. Replace <command> with say "iPod/Send to iPod". Not sure why /context_command isn't included in the help from foobar2000 /?.

However, I never planned for this: I don't think it will work if foobar2000 is not already running, because the thread that scans for iPods will probably not have initialised before the command is executed, so you'll probably just get a 'No iPod found' message. You can check this for me  I can fix it otherwise.



Thanks for the quick reply

I used

Code: [Select]
"C:\Program Files\foobar2000\foobar2000.exe" "/context_command:iPod/Send to iPod" "%1"


as a command from the right click menu on folders, and it seemed to work fine

Code: [Select]
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.sendtoipod]
@="Send to iPod"

[HKEY_CLASSES_ROOT\Directory\shell\foobar2000.sendtoipod\Command]
@="\"C:\\Program Files\\foobar2000\\foobar2000.exe\" \"/context_command:iPod/Send to iPod\" \"%1\""


edit:

you were correct about the "no iPod found" error, if foobar isn't already running.

shouldn't be a problem for me though, as I always have foobar open -- it's just more convenient for me to right click a folder > "send to ipod", than queueing in foobar, selecting all songs, right clicking, sending to ipod. heh.

[seemingly abandonware] iPod manager

Reply #966
Can I get %play_count% from iPod? I play song on iPod, then sync, and playcounts doesnt update. I store them in id3tags.

[seemingly abandonware] iPod manager

Reply #967
Can I get %play_count% from iPod? I play song on iPod, then sync, and playcounts doesnt update. I store them in id3tags.

that's because the plugin isn't able to do that at the moment

[seemingly abandonware] iPod manager

Reply #968
Can I get %play_count% from iPod? I play song on iPod, then sync, and playcounts doesnt update. I store them in id3tags.


Right now i've got a REALLY roundabout way to implement playcount sync:

1. Use winamp to create an autoplaylist with songs which have been played
2. Open playlists in foo_dop
3. use text tools to infer path in drive from the tag info
4. import the playlist into foobar
5. Use masstagger to automatically update playcount, last played and firstplayed (if necessary). Note Last played is stamped with current time so it isn't accurate.
6. Use winamp to reset the playcount in ipod to zero.

Repeat process every now and then .

[seemingly abandonware] iPod manager

Reply #969

Can I get %play_count% from iPod? I play song on iPod, then sync, and playcounts doesnt update. I store them in id3tags.

that's because the plugin isn't able to do that at the moment


Yeah, that would explain everything...
But if ipod scrobbles to last.fm, it would be possible to retrieve counts. I saw program for iTunes that can do that

[seemingly abandonware] iPod manager

Reply #970
But if ipod scrobbles to last.fm, it would be possible to retrieve counts. I saw program for iTunes that can do that


It does. and ml_ipod's implementation of the scrobbler is better than the one official one. (official one requires you to use ipod in "automatic mode", and works very rarely)

[seemingly abandonware] iPod manager

Reply #971
Well, official foo_playcount primarily stores play counts in a private database and there's no API.

It does seem like writing the the metadata field would work as it looks like foo_playcount prefers that over what it has in its database if it is higher. But, it will be messy unless you enable "automatically sync file tags with play counts". Basically, for anything half-decent some kind of foo_playcount API is needed (or, foo_playcount could use the same foo_dop API that foo_audioscrobbler is using).
.

[seemingly abandonware] iPod manager

Reply #972

But if ipod scrobbles to last.fm, it would be possible to retrieve counts. I saw program for iTunes that can do that


It does. and ml_ipod's implementation of the scrobbler is better than the one official one. (official one requires you to use ipod in "automatic mode", and works very rarely)


So all we need is a litle program that will sync last.fm plays with %play_count% ^^ But thats one big walkaround.

[seemingly abandonware] iPod manager

Reply #973
So all we need is a litle program that will sync last.fm plays with %play_count% ^^ But thats one big walkaround.


  .

It does look quite bad, but it's like 5 clicks once you've set up. 1st click is in winamp to "refresh" the autoplaylists, 2nd in Foobar to refresh to reflect those changes, 3rd to export playlist using text tools, 4th to import playlist, 5th to update the playcount using a masstagger script.

So yeah, it is a lot of unnecessary back and forth, but hey, it works right now .

[seemingly abandonware] iPod manager

Reply #974
heh  alright
anyway its not very important. Its like 5th on my tobum list

Tag mapping is gorgeous. Ive remapped my "title" tags with "artist - title" so finally I know whats in my playlists.