[prev in list] [next in list] [prev in thread] [next in thread]
List: amarok-bugs-dist
Subject: [Bug 147342] New: mtp file transfert function does not handle file
From: Eric Grenier <pennac () gmail ! com>
Date: 2007-06-29 2:54:15
Message-ID: 20070629045412.147342.pennac () gmail ! com
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=147342
Summary: mtp file transfert function does not handle file
encoding correctly (mtpmediadevice.cpp)
Product: amarok
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: amarok-bugs-dist kde org
ReportedBy: pennac gmail com
Version: (using KDE KDE 3.5.7)
Installed from: Gentoo Packages
Compiler: gcc 3.4.6
OS: Linux
Amarok (v1.4.6) can not transfert files with UTF8 encoding characters to MTP device.
MTP device used: Samsung YP-KJAB
Tested features :
Amarok can connect to the MTP device.
Amarok can retrieve informations (folder structure and files) from MTP device.
Amarok can transfert file with fully qualified path in standard ASCII.
** Amarok can not transfert file with accents in the fully qualified path (éà è...)
While looking at the amarok trace (debug flag), the output from component \
[MtpMediaDevice] clearly shows characters differents then the file system \
representation :
BEGIN: virtual MediaItem* MtpMediaDevice::copyTrackToDevice(const MetaBundle&)
amarok: [MtpMediaDevice] filetype : 1
amarok: [MtpMediaDevice] Folder path : Jean Leloup - Le DÃ ´me/
amarok: [MtpMediaDevice] Parent id : 536870937
amarok: [MtpMediaDevice] Sending track... /xx/xx/Jean Leloup/1996 - Le D?me/10 - Le \
D?me.mp3
Since the main folder of my music collection was in a folder with a non ascii chars, \
my MTP device was not usable with Amarok.
I have created a quick and dirty patch to show how I temporary solved the problem by \
using UTF8 instead of QString latin conversion.
Locale used:
LANG=fr_CA.UTF-8
LC_CTYPE=fr_CA.UTF-8
LC_NUMERIC=fr_CA.UTF-8
LC_TIME=fr_CA.UTF-8
LC_COLLATE=fr_CA.UTF-8
LC_MONETARY=fr_CA.UTF-8
LC_MESSAGES=fr_CA.UTF-8
LC_PAPER=fr_CA.UTF-8
LC_NAME=fr_CA.UTF-8
LC_ADDRESS=fr_CA.UTF-8
LC_TELEPHONE=fr_CA.UTF-8
LC_MEASUREMENT=fr_CA.UTF-8
LC_IDENTIFICATION=fr_CA.UTF-8
LC_ALL=
See attached patch.
_______________________________________________
Amarok-bugs-dist mailing list
Amarok-bugs-dist@kde.org
https://mail.kde.org/mailman/listinfo/amarok-bugs-dist
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic