bug-gnupod
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnupod] Synchronizing a directory to an ipod


From: chris.com
Subject: Re: [Bug-gnupod] Synchronizing a directory to an ipod
Date: Thu, 18 Mar 2010 22:20:01 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3


Hi Ed,

I've managed something like what you're trying to do with my iPod.

Mine is a 2nd generation iPod shuffle and I wanted to automagically :
* delete any played or skipped song from the iPod
* add (random) new songs until the iPod was full again
when plugged in a Linux system.

I programmed udev to detect the plugging in,
whereupon the iPod gets mounted
and then synced it with "tunes2pod -force".
Next I delete the skipped and played songs
and fill it with fresh songs
In the end I call mktunes and unmount the iPod
Voila ready to unplug

If you know the 2nd generation iPod shuffle you'll have noticed that the current gnuPod version doesn't sync the iPod because the iTunesStats file isn't handled. Furthermore the gnupod_search function doesn't have playcount and skipcount options.
So I wrote a patch for that.

My little system works quite well.
If this is like what you're trying to do and you need some help I might be able to help you.

I will post my patch soon because it might be useful to others but I have to clean it up a bit first

        Chris





Le 15/03/2010 12:09, Edouard Lafargue a écrit :

  Hi,

I have been trying for some time to achieve the following: I would
like to keep my iPod in sync with a 'master' music repository which I
keep on a (Linux) server at home. The idea is very simple: whenever I
dock my Ipod on this server, it should scan both the ipod and the
music repository on the server, delete any song which are present on
the iPod and not on the repository, and add any song present on the
repo and not on the iPod, then eject the iPod: no human intervention
needed at all, no iTunes, etc...

So far I have not been able to achieve this with reliable results:
maybe I am missing something altogether with the gnupod utilities? As
far as I can tell, there is no simple way to do this, am I wrong ? I
was under the impression this scenario should be fairly common, how do
other gnupod users achieve this?

At the moment, using the Audio::Scan perl library, I can get very good
MP3/M4A tag scanning, and I can reliably compare my repo and my iPod
using a perl script, i.e. I can identify whether a song is already
present on the iPod, whether it should be deleted or added, and the
only thing I miss is a way to add/remove songs from the GnupodDB
directly from my perl script, any hints?

There is an old Mac::iPod:GNUpod package around, which seems to be
slightly outdated and does not work very well on recent iPods. Ideally
I would rather use the GNUPod packages directly, rather than an
intermediate package?

Thanks for your help,

Ed


_______________________________________________
Bug-gnupod mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnupod







reply via email to

[Prev in Thread] Current Thread [Next in Thread]