clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.74k stars 675 forks source link

OSX: Mass storage media player not recognized (iRiver H340) #3297

Open Clementine-Issue-Importer opened 10 years ago

Clementine-Issue-Importer commented 10 years ago

From joerg.me...@gmail.com on November 18, 2012 02:23:28

What steps will reproduce the problem? 1. Connect H340

  1. Wait for device to be mounted as USB HDD (att. clem1.png)
  2. Open clementine and switch to Devices tab What is the expected output? What do you see instead? The device should show up in the device list, but it does not. What version of the product are you using? On what operating system? Never worked up to, and including 1.1.1 on OS X 10.6.8 Please provide any additional information below. A SanDisk Sansa Clip+ works fine (att. clem2.png, clem3.png). The both devices have different icons in Finder (att. clem4.png), so possibly they are also handled as different device types.

Attachment: clem1.png clem2.png clem3.png clem4.png

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=3296

Clementine-Issue-Importer commented 10 years ago

From fuuze...@fuuzetsu.co.uk on November 20, 2012 11:14:25

Turn of Clementine. Mount your device as you normally would. Run Clementine from the console. It should mention your devices somewhere near the top. Post whatever information gets thrown at you. This will help to establish whether Clementine is completely oblivious of your device or whether it's simply struggling to manage it. It would be helpful if you had another device connected as well. That Rockbox media player should do.

Clementine-Issue-Importer commented 10 years ago

From joerg.me...@gmail.com on November 20, 2012 21:17:05

Hi and thanks for the reply. Unfortunately, clementine will just print:

user@host:/Applications/clementine.app/Contents/MacOS$ ./clementine --log-levels '*:3' 00:00:00.000 WARN unknown QPixmap: It is not safe to use pixmaps outside the GUI thread [...]

and that is it (I will get a few DEBUG messages once I start playback but nothing about connected devices). In general I was wondering if the log levels are not picked up properly or if the debug output is just so sparse...

Clementine-Issue-Importer commented 10 years ago

From joerg.me...@gmail.com on November 20, 2012 21:22:35

Running ./clementine --log-levels '*:0' suppresses the output, so that seems to work.

Clementine-Issue-Importer commented 10 years ago

From joerg.me...@gmail.com on November 20, 2012 21:35:01

Those are related messages from the console:

11/21/12 5:43:18 AM kernel USBMSC Identifier (non-unique): 0123456789AB 0x1006 0x3003 0x100 11/21/12 5:43:24 AM fseventsd[44] log dir: /Volumes/H300/.fseventsd getting new uuid: 4AB9519F-E621-4F17-90D3-9CB7564D33F7 11/21/12 5:43:43 AM kernel USBMSC Identifier (non-unique): 1A8B651470FEF22AF00000000 0x781 0x74d1 0x100 11/21/12 5:43:45 AM fseventsd[44] check_vol_last_mod_time:XXX failed to get mount time (25; &mount_time == 0x10047f8b8) 11/21/12 5:43:45 AM fseventsd[44] log dir: /Volumes/CLIP SD/.fseventsd getting new uuid: 74F86DC4-5A86-4F01-906E-95611A34F236 11/21/12 5:44:31 AM com.apple.usbmuxd[32] HandleUSBMuxCommand Client 0x100206cd0 using old version 0, current=1 11/21/12 5:44:31 AM com.apple.usbmuxd[32] HandleUSBMuxDictionary client 0x101811280-libusbmuxd/com.marcansoft.usbmuxd using library usbmuxd built for freedom, running usbmuxd-296.3

This does not appear to be particularly useful but the best I could come up with for now. Any other ideas would be highly appreciated.

I tried figuring out the source related to this (which is hopefully https://code.google.com/p/clementine-player/source/browse/src/devices/macdevicelister.mm ) but unfortunately don't know the intricacies. My suspicion is still that devices recognized as HDDs are skipped. I did not try if I get the same behavour with a regular HDD though.

Clementine-Issue-Importer commented 10 years ago

From fuuze...@fuuzetsu.co.uk on November 21, 2012 04:08:47

There's no need for --log-levels; did you try with just ‘./clementine’?

Internal HDDs are skipped but a USB HDD should come up and it seems that that's what your device is detected as by your OS, no?

Clementine-Issue-Importer commented 10 years ago

From joerg.me...@gmail.com on November 21, 2012 06:31:10

On the first try, I just ran clementine without arguments to no avail...and yes, it is reported as 'Removable Media' and 'Detachable Drive' by the OS, just not sure to which extent this is handled similarly by clementine.