Problems with MTP device
Posted: Sat Jul 02, 2016 6:48 pm
I am just switching from Windows 10 to Linux Mint and are looking for a replacement of the powerful program MediaMonkey. Guayadeque looks very promsing. From all Linux players I tested it was the only one in which I can (in principle) transcode my flac files stored on my music server to my Android phone thereby defining a target folder on the device. So I thought this is great. However, I have the following problems:
1. When I selected "copy to device" no files were in fact copied to my device. I finally found that the Android phone (which is connected as MTP device) is accessable in Linux mint under /run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C004%5D/ (the 1000 is the current user ID).
While Guayadeque finds the music under this path, when copying to this path it replaces the ":" between "mtp" and "host" with "_" since ":" is usually not allowed for folder/file names. Since the ":" is replaced the copy process does not work.
The replacement takes place in "CopyTo.cpp" line 401. In my opinion the replacement of the special characters should only take place on the part of the path which is created from tags (which could contain illegal characters). The front part which represents the mounting point should not be amended.
2. When I first start Guayadeque it finds the MTP mounted phone and I can define the music folder, the supported file formats and so in in the properties. When I then exit Guayadeque and restart it then the just found phone is displayed in grey and I cannot change its properties or use it. I find then unter the menu "Sources" a second version of my phone with the same name as before. I can then define the properties of this "new" player and use it until I exit Guayadeque. Each time I exit and restart Guayadeque the previous MTP devices are no longer accesible and a new copy is displayed which must be newly configured.
3. When I start Guayadeque in an terminal I have some error messages. I don't know if they are critical but some say e.g. "Failed to create a temporary file name" or "can't open user configuration file". I post a part of the output in a further posting.
At the moment I am running Linux Mint 17.3 and are waiting for the package upgrade to Linux Mint 18. Unfortunately, compiling fails in 17.3. However, I installed Linux Mint 18 in a virtual machine and could sucessfully build Guayadeque. By deleting the ":" from line 401 in CopyTo.cpp" I could avoid the problem mentioned in item 1 (although this is of course not the desired solution since then ":" in tags would also not replaced).
Please look into the above problems since Guayadeque is really a great player and I would like to use it. I would like to do some testing if this would help you.
Thanks a lot for your great program.
Dieter
1. When I selected "copy to device" no files were in fact copied to my device. I finally found that the Android phone (which is connected as MTP device) is accessable in Linux mint under /run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C004%5D/ (the 1000 is the current user ID).
While Guayadeque finds the music under this path, when copying to this path it replaces the ":" between "mtp" and "host" with "_" since ":" is usually not allowed for folder/file names. Since the ":" is replaced the copy process does not work.
The replacement takes place in "CopyTo.cpp" line 401. In my opinion the replacement of the special characters should only take place on the part of the path which is created from tags (which could contain illegal characters). The front part which represents the mounting point should not be amended.
2. When I first start Guayadeque it finds the MTP mounted phone and I can define the music folder, the supported file formats and so in in the properties. When I then exit Guayadeque and restart it then the just found phone is displayed in grey and I cannot change its properties or use it. I find then unter the menu "Sources" a second version of my phone with the same name as before. I can then define the properties of this "new" player and use it until I exit Guayadeque. Each time I exit and restart Guayadeque the previous MTP devices are no longer accesible and a new copy is displayed which must be newly configured.
3. When I start Guayadeque in an terminal I have some error messages. I don't know if they are critical but some say e.g. "Failed to create a temporary file name" or "can't open user configuration file". I post a part of the output in a further posting.
At the moment I am running Linux Mint 17.3 and are waiting for the package upgrade to Linux Mint 18. Unfortunately, compiling fails in 17.3. However, I installed Linux Mint 18 in a virtual machine and could sucessfully build Guayadeque. By deleting the ":" from line 401 in CopyTo.cpp" I could avoid the problem mentioned in item 1 (although this is of course not the desired solution since then ":" in tags would also not replaced).
Please look into the above problems since Guayadeque is really a great player and I would like to use it. I would like to do some testing if this would help you.
Thanks a lot for your great program.
Dieter