o2binh20
15th February 2007, 05:48 PM
I installed the latest version of Amarok 1.4.5 (using KDE 3.5.6-0.3) in FC6 (2.6.19-1.2911.fc6). I am trying to upload MP3 files to a RAVE-MP ARC media player. I tried to configure it as an MTP media device but apparently it behaves as a Generic Audio Player (as I have it configured now).
Using the output info from the dmesg and dcop kded mediamanager fullist commands, I have configured the Pre-connect command as:
mount -t vfat /dev/sda /media/RAVE-MP/Music
When I plug in the MP3 player, I can see that it auto-mounts in Nautilus and I can change to the players directories in a terminal window (before starting Amarok). If I insert the player in the USB after starting Amarok, I see a message that the device was succusefully mounted and the directories appear in the Amarok device window.
Question #1, If the device auto-mounts, why I need to add the pre-connect command above for Amarok to see it?
After the the files have transferred, I disconnect and Amarok executes the Post-disconnect command that I configured:
eject -s /dev/sda
Question #2, is there a better way to flush the buffers and force a write and then disconnect? I tried using umount -f /dev/sda along with several other options/incantations for umount, but I kept getting error messages that the post-disconnect command failed.
The only method of disconnecting successfully was to issue the eject and wait for all activity to stop (actually guess when all files were finished writing).
Question #3, is there a way I can get my transfer queue to drop the files in a subdirectory called Music on the MP3 player? It appears that the mount command only mounts to the root directory and not the /Music directory as configured above in the pre-connect command. When Amarok drops the files in the /root directory, the software in the RAVE-MP player has to completely rebuild the index rather than just add the new tracks to the existing index, which can take an extra 20-30 minutes depending on how many files are already loaded on the player.
All suggestions are approciated.
Cheers,
John
Using the output info from the dmesg and dcop kded mediamanager fullist commands, I have configured the Pre-connect command as:
mount -t vfat /dev/sda /media/RAVE-MP/Music
When I plug in the MP3 player, I can see that it auto-mounts in Nautilus and I can change to the players directories in a terminal window (before starting Amarok). If I insert the player in the USB after starting Amarok, I see a message that the device was succusefully mounted and the directories appear in the Amarok device window.
Question #1, If the device auto-mounts, why I need to add the pre-connect command above for Amarok to see it?
After the the files have transferred, I disconnect and Amarok executes the Post-disconnect command that I configured:
eject -s /dev/sda
Question #2, is there a better way to flush the buffers and force a write and then disconnect? I tried using umount -f /dev/sda along with several other options/incantations for umount, but I kept getting error messages that the post-disconnect command failed.
The only method of disconnecting successfully was to issue the eject and wait for all activity to stop (actually guess when all files were finished writing).
Question #3, is there a way I can get my transfer queue to drop the files in a subdirectory called Music on the MP3 player? It appears that the mount command only mounts to the root directory and not the /Music directory as configured above in the pre-connect command. When Amarok drops the files in the /root directory, the software in the RAVE-MP player has to completely rebuild the index rather than just add the new tracks to the existing index, which can take an extra 20-30 minutes depending on how many files are already loaded on the player.
All suggestions are approciated.
Cheers,
John