flesniak / python-prodj-link

A python interface to Pioneer ProDJ Link
Apache License 2.0
141 stars 26 forks source link

Paths differ on HFS+ format USB media #18

Open brunchboy opened 5 years ago

brunchboy commented 5 years ago

It turns out that some DJs format their media as HFS+ (MacOS Extended) filesystems rather than FAT. In that format, rekordbox names the PIONEER directory .PIONEER instead, with a leading period, which is I assume an attempt to hide it from casual users (on the Mac, like most Unix systems, files starting with periods are invisible by default).

This causes the download attempt of the export.pdb to fail. In Beat Link I now recognize this specific failure and immediately retry with a path of .PIONEER/… and things work.

brunchboy commented 4 years ago

Say, this is unrelated, but have you noticed the new XDJ-XZ? I have it mostly working with Beat Link thanks to some great packet captures, videos, and feedback from an early adopter! The biggest challenges are that the mixer and both CDJs in that all-in-one unit share the same IP address, so some of my code which assumed I could index players by address was horribly broken. And one other difference is that since NFS has no idea of device numbers, in order to support other players loading tracks from either of its USB slots, it has to pretend that one of them is an SD slot.