Re: [Banshee-List] banshee is altering mp3 and ogg files



On Wed, 2009-08-26 at 16:27 -0400, "Andrés G. Aragoneses" wrote:
> 
> The bug is about saving the file every time it's played. Maybe what
> happened in your case was that the data was altered the first time it
> was saved, and in subsequent times just the timestamps?

I suppose.  Perhaps.

> So yes, be sure to try out the patch (or much easier if you checkout and
> compile git master, because the fix is committed), and report more feedback.

I did try the patch and I was all ready to call it good as I had not had
a file altered in nearly 24h but I just checked and one was written only
just a short time ago:

# date
Thu Aug 27 14:42:13 EDT 2009
root linux:~# ls -l /mnt/mp3/library/New\ Order/Substance\ 1987\ \(Disc\ 1\)/State\ of\ the\ Nation.mp3 
-rw-r--r-- 1 brian brian 7871790 2009-08-27 13:04 /mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3

That's the only one in the last 24h and I have played a lot in the last
24h.  And interestingly, it was a NOOP write.  That is, the data is the
same.  It's just the mtime that has changed:

# ls -l {,/.snapshots/{daily,hourly}.{1,0}/linux}/mnt/mp3/library/New\ Order/Substance\ 1987\ \(Disc\ 1\)/State\ of\ the\ Nation.mp3
-rw-r--r--  1 nobody nogroup 7871790 2009-08-27 13:04 /mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
-rw-r--r-- 35 brian  brian   7871790 2009-07-09 09:46 /.snapshots/daily.0/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
-rw-r--r-- 35 brian  brian   7871790 2009-07-09 09:46 /.snapshots/daily.1/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
-rw-r--r-- 35 brian  brian   7871790 2009-07-09 09:46 /.snapshots/hourly.0/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
-rw-r--r-- 35 brian  brian   7871790 2009-07-09 09:46 /.snapshots/hourly.1/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
# md5sum {,/.snapshots/{daily,hourly}.{1,0}/linux}/mnt/mp3/library/New\ Order/Substance\ 1987\ \(Disc\ 1\)/State\ of\ the\ Nation.mp3
e0a9945c4902f98db03c91bf5b893255  /mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
e0a9945c4902f98db03c91bf5b893255  /.snapshots/daily.1/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
e0a9945c4902f98db03c91bf5b893255  /.snapshots/daily.0/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
e0a9945c4902f98db03c91bf5b893255  /.snapshots/hourly.1/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3
e0a9945c4902f98db03c91bf5b893255  /.snapshots/hourly.0/linux/mnt/mp3/library/New Order/Substance 1987 (Disc 1)/State of the Nation.mp3

and it seems to coincide with when it was played:

$ echo "select LastPlayedStamp from CoreTracks where Uri like \"%Disc%201)/State%20of%20the%20Nation%\";" | sqlite3 ~/.config/banshee-1/banshee.db
1251396633

$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) 
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time,sys
>>> print time.asctime(time.localtime(1251396633))
Thu Aug 27 14:10:33 2009

Although strangely enough, the banshee UI says it's actually played at
1:10:33 pm.  DST problem perhaps?

In any case, it's all pretty smoking-gun-ish I think.

Thots?

b.

Attachment: signature.asc
Description: This is a digitally signed message part



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