Bug 227576

Summary: ogg file transfer to MSC (generic media device) does not work
Product: [Applications] amarok Reporter: Stefano <pietranera+kdebugs>
Component: Collections/USB mass storage and MSCAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aumuell, bart.cerneels, maurovale
Priority: NOR    
Version First Reported In: 2.3.1   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Stefano 2010-02-18 21:34:30 UTC
Version:           2.2.1 (using KDE 4.3.4)
OS:                Linux
Installed from:    Debian testing/unstable Packages

Hello,

when plugging in a Generic Media Device, amarok recognizes it but it does not allow to copy ogg file format to it.

How to reproduce the bug:

1. Start Amarok

2. Plug in and mount an iPod Video 30GB with Rockbox (it will be recognized as a Generic USB Device by Amarok).

3. in Amarok, go to Local Music, right click on "IPOD" (or whatever is the iPod's name), then left click on "read device".

4. Amarok freezes for a while (maybe I should report this bug too, it is similar to bug n.209827); when Amarok recovers, the music present in the USB/iPod will be shown.

5. From Local Collection, select an album or a song that is in ogg format and is not present in the iPod, right click, select "Copy To Collection" and then "IPOD"

6.The following error message pops up: "Tracks not copied: the device already has these tracks", and the files are not copied.

Copying mp3 files is OK.

I am using an Apple Ipod Video (lsusb output: ID 05ac:1209 Apple, Inc. iPod Video) with Rockbox version r24673-100215

The Rockbox firmware makes the device be recognized (and read) as MSC but the copy of ogg files does not work.

Here is the output of dmesg | tail when I plug the iPod in:

[25003.813435] usbcore: registered new interface driver usb-storage
[25003.813440] USB Mass Storage support registered.
[25003.820042] usb-storage: device found at 3
[25003.820046] usb-storage: waiting for device to settle before scanning
[25004.074424] usbcore: registered new interface driver hiddev
[25004.078509] input: Rockbox.org Rockbox media player as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.1/input/input8
[25004.078743] generic-usb 0003:05AC:1209.0001: input,hidraw0: USB HID v1.10 Keyboard [Rockbox.org Rockbox media player] on usb-0000:00:1d.7-2/input1
[25004.078770] usbcore: registered new interface driver usbhid
[25004.078934] usbhid: v2.6:USB HID core driver

In my opinion, there are two issues here:

1. ogg files should be recognized (moreover, it's a free and open
standard!) and copied from/to the device

2. the error message does not explain the real problem


Thank you!
Comment 1 Myriam Schweingruber 2010-02-19 01:20:26 UTC
You should upgrade to Amarok 2.2.2, IIRC this is already fixed in that version. If not, then it sure is for Amarok 2.3 as I can't reproduce this here, using Amarok form git.
Comment 2 Stefano 2010-02-19 14:35:54 UTC
Hi,

I just upgraded to Amarok 2.2.2 from Debian unstable and sadly the bug is still present; Amarok does not freeze anymore while scanning the device though. I presume that I have to wait for Amarok 2.2.3 to be available in Debian.

It would be nice if I had some feedback from someone else who has either Amarok 2.2.1 or 2.2.2 installed.

Thank you.
Comment 3 Myriam Schweingruber 2010-02-19 14:42:28 UTC
AFAIK the Amarok 2.3 beta 1 package should be available already
Comment 4 Stefano 2010-02-19 14:50:37 UTC
You're right, it is in experimental - which is not among my repositories. I will give it a try just to see if the bug is still present and I'll report here.

Thank you.
Comment 5 Stefano 2010-02-22 20:47:27 UTC
Hello again,

amarok 2.2.3 in experimental has been packaged only for amd64 architecture which I don't have.
Comment 6 Myriam Schweingruber 2010-02-22 21:32:01 UTC
(In reply to comment #5)
> Hello again,
> 
> amarok 2.2.3 in experimental has been packaged only for amd64 architecture
> which I don't have.

I very much doubt that, but even if, this is something you should ask the Debian folks, not me, sorry.
FWIW, it might say AMD64, but this works on all 64 bit systems, Intel included.
Comment 7 Stefano 2010-02-22 21:42:47 UTC
Hi,

I just meant that I can't test the program right now because it's not packaged for my architecture (x86), I wasn't asking you to provide me with the Debian package.

Actually, I clicked the "commit" button before completing the sentence and that's why it sounded like a "demand".

Sorry for the misunderstanding, it's my bad!

Just to clarify: I will test amarok 2.2.3 as soon as it becomes available for my GNU/Linux distribution and CPU architecture and I'll report here.

Thank you again
Comment 8 Mauro V. 2010-09-17 00:31:44 UTC
Hi, i'm on amarok 2.3.1 and using an Ipod with Flac files when I try to copy the flac files I have the same error:

"Tracks not copied: the device already
has these tracks", and the files are not copied."

But if I use MP3 files it works ok, so this bug still exist on version 2.3.1
Comment 9 Myriam Schweingruber 2010-09-17 11:23:23 UTC
Reopening based on comment #8
Comment 10 Myriam Schweingruber 2010-09-17 11:24:55 UTC
I can't confirm this, it works fine on my Sansa Clip in MSC mode, using Amarok 2.3.2-git, KDE 4.5.1 on Kubutnu 10.04. Can somebody else confirm?
Comment 11 Mauro V. 2010-09-17 11:54:56 UTC
Hi,Myriam

Did you also try to copy a FLAC audio ? does it work ?

Maybe only happens on ipod's ?

Anyone can confirm that this don't occur with other players like the sansa clip ?

Thank you
Comment 12 Myriam Schweingruber 2010-09-17 12:34:40 UTC
Yes, but the Sansa Clip supports Flac as well, so of course it will not cause problems. I think it should be specified in the title of the report that you try to transfer media formats that are not supported on your device.
Comment 13 Mikko C. 2010-09-17 12:41:18 UTC
does ipod support flac? I thought it only supported alac
Also, the title of the original report is about ogg and MSC devices, not iPods+flac.

Flac and ogg both work for my Cowon J3 and S9 (in MSC mode)
Comment 14 Mauro V. 2010-09-17 13:50:24 UTC
Ok, my dumb mistake, I've think for some weird motive that amarok will do the transcode :P

I have to leave the drugs.

Sorry for the false bug.

You are right Ipod only suport MP3 or AACS.
Comment 15 Myriam Schweingruber 2010-09-17 16:28:42 UTC
Transcoding was a Google Summer of Code project this year and will be implemented in the version after Amarok 2.3.2