Hi Adrian,

On Fri, Feb 29, 2008 at 10:22:43AM +0100, H. Langos wrote:
> On Thu, Feb 28, 2008 at 07:47:52PM +0100, Adrian Ulrich wrote:
> > If you just skip a song, the iPod will mark it as played but won't update 
> > the
> > Play-Counts file. GNUpod will never-ever know that you've played a part of 
> > this file.
> 
> where does the ipod store that information? is it in the skip count? if
> it is i would gladly modify my otgsync to add the played_flag if
> the otg data contains a non-zero playcount OR a nonzero skip count.

Looks like it isn't in the skip count.

I've changed the respective line in otgsync to

  $el->{file}->{played_flag} = 1 if ($el->{file}->{playcount} > 0 || 
$el->{file}->{skipcount} > 0);

but it seems like "$plcref->{skipcount}{int(@keeper)-1};" is zero. no
matter if you skip quickly or if you listen to the podcast for 10
seconds ..

however the information about wether a podcast has been played already
seems to be stored somewhere else on the ipod. at least it seems to survive 
a reboot so it isn't just held in RAM.


any luck reproducing that behaviour?

cheers
-henrik


_______________________________________________
Bug-gnupod mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/bug-gnupod

Reply via email to