ingoha / rhythmbox

http://projects.gnome.org/rhythmbox/
Other
0 stars 0 forks source link

iPod not detected #1

Open ingoha opened 7 years ago

ingoha commented 7 years ago

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)

ingoha commented 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.

ingoha commented 7 years ago

Second fix cant work, because the signal is not emitted (would be after line 682 in rb-removable-media-manager.c).

ingoha commented 7 years ago

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.

ingoha commented 7 years ago

https://bugzilla.gnome.org/show_bug.cgi?id=769208

ingoha commented 7 years ago

Totally new plan: Listen to GVolumeMonitor directly (cf. rhythmdb-monitor) and process the mount-added and mount-removed signals.