Open ingoha opened 7 years ago
Possible fixes: Add a conditional to rb-removable-media-manager.c to allow an afc mount without a volume. Better(?): Make the ipod plugin listen to the create-source-mount signal and create the RBSource itself.
Second fix cant work, because the signal is not emitted (would be after line 682 in rb-removable-media-manager.c).
Ok, another idea: rb-ipod-plugin.c receives the signal when port 3 (house arrest service) is mounted. It could then access the corresponding default service (port 1 of the received uuid) and create the rb source.
Totally new plan: Listen to GVolumeMonitor directly (cf. rhythmdb-monitor) and process the mount-added and mount-removed signals.
Gvfs changed its behaviour which port of the afc filesystem are automounted from version 1.27 to 1.28 (1). As the default (port 1) is not mounted, rhythmbox doesnt see the iPod. Manually mounting doesnt help; the fs becomes a gvfs mount without a volume and thus is ignored (cf. rb-removable-media-manager.c lines 678-682)