Bug 341667 - "Organize Files -> Transcode" only rename *.mp3 to *.ogg but do not change the file format in fact
Summary: "Organize Files -> Transcode" only rename *.mp3 to *.ogg but do not change th...
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Transcoding (other bugs)
Version First Reported In: 2.8.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 2.9
Assignee: Amarok Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-08 19:04 UTC by Guo Yunhe
Modified: 2016-10-09 08:51 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Amarok transcoded ogg files are still mp3 (72.26 KB, image/png)
2014-12-08 19:08 UTC, Guo Yunhe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guo Yunhe 2014-12-08 19:04:00 UTC
I have some MP3 files and want to transcode them to OGG open audio format.

In collection view, I right click a track/album and select "Organize files". Then I select "Ogg Vorbis" and click "Transcode". In next dialog I click "OK". Then the *.mp3 files was moved and renamed as *.ogg. But when I browser them in Dolphin, it shows they are still "MP3 audio" though they are named as *.ogg.

It seems transcoding function only renamed the files but did not transcode.

I have installed ffmpeg and can successfully tanscode MP3 to OGG through command line or VLC.

Reproducible: Always

Steps to Reproduce:
1. In local collection, select a track or album (MP3 format), right click "Organize files".
2. In opened dialog, select "Ogg Vorbis", click transcode.
3. Choose filename rename rules in next dialog, click "OK".

Actual Results:  
*.mp3 files were moved and renamed as *.ogg. But they are still MP3 format files.

Expected Results:  
*.mp3 files were moved and renamed as *.ogg. They have been really transcoded to OGG format files.

Amarok Diagnostics

Amarok Version: 2.8.0
KDE Version: 4.14.3
Qt Version: 4.8.6
Phonon Version: 4.8.1
Phonon Backend: GStreamer (4.8.0)
PulseAudio: Yes

Amarok Scripts:
    Amarok Script Console 1.0 (stopped)
Lyricwiki .2 (running)
Free Music Charts 1.6.0 (running)
Librivox.org 1.0 (running)
Cool Streams 1.0 (running)

Amarok Plugins:
    DAAP 收藏 (disabled)
MTP 收藏 (enabled)
MySQLServer 收藏 (enabled)
MySQLe 收藏 (enabled)
UPnP 收藏 (disabled)
iPod,iPad 和 iPhone 收藏 (enabled)
通用大容量存储收藏 (enabled)
音频 CD 收藏 (enabled)
Ampache (disabled)
Jamendo (enabled)
Last.fm (enabled)
MP3 音乐商店 (enabled)
MP3tunes (disabled)
Magnatune 商店 (enabled)
gpodder.net (disabled)
播客目录 (enabled)
Comment 1 Guo Yunhe 2014-12-08 19:08:49 UTC
Created attachment 89870 [details]
Amarok transcoded ogg files are still mp3
Comment 2 Myriam Schweingruber 2014-12-09 13:03:15 UTC
weird, first time I hear this doesn't work, are you sure all dependencies were installed for the transcoding prior to opening Amarok?
Comment 3 Guo Yunhe 2014-12-09 14:02:17 UTC
I have installed ffmpeg and gstreamer with MP3 decoder. I don't know if other libs is needed.
Comment 4 Myriam Schweingruber 2014-12-09 16:06:33 UTC
Here are the necessary additional packages needed for transcoding (as stated in the README file of Amarok):

 Transcoding requires (at runtime):
      * FFmpeg 0.7.0 (or newer) - http://ffmpeg.org/
      * For all supported encoders to be available in Amarok, FFmpeg needs to
        support the following codecs:
        * libfaac (NOT just "aac")
        * alac
        * flac
        * libmp3lame (NOT just "mp3")
        * libvorbis (NOT just "vorbis")
        * wmav2

Please check if any of those is missing, in particular libmp3lame. Please be aware that in some distributions the package names might differ, in doubt please ask your distribution.
Comment 5 Guo Yunhe 2014-12-09 17:57:40 UTC
I miss wmav2 only, but I don't use wma format.

I tried to transcode *.mp3 to any supported format. Every time its file name was changed but the file content was not. (MD5 sum remains the same.) I also tried to transcode *.flac and *.ogg to other formats but results are the same.

If there are really missing decode/encode libs, transcoding will fail. Amarok should not delete the old *.mp3 files before they are successfully converted to *.ogg files. So I think it is not because missing decode/encode packages.
Comment 6 Myriam Schweingruber 2014-12-10 10:27:11 UTC
I still think something is wrong in your installation, transcoding works fine for me in current git, and you have been the first to report this since the release of version 2.8. 
Please check with your distribution if they have similar reports.
Comment 7 Myriam Schweingruber 2015-01-23 13:55:05 UTC
Any news on this?
Comment 8 Myriam Schweingruber 2015-04-18 14:52:53 UTC
Closing for lack of feedback. Please feel free to reopen if you can reproduce this with current git or the upcoming Amarok 2.9 beta
Comment 9 Guo Yunhe 2015-04-19 17:40:24 UTC
Still have this problem with amarok-2.8.65git.1422997678 . I install Amarok on two computers, both have the same problem.

I tried to start Amarok from Konsole. When transcoding was done, there will be an error message:

amarokcollectionscanner(11433) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12"

This is strange. I am transcoding from MP3 to OGG.

Another issue is, I cannot change the transcode rename pattern. Every time I open organize file dialog, the preset becomes "Default", though I have saved custom setting "MySet" last time.

http://imgur.com/n6ecEoK
Comment 10 Guo Yunhe 2015-04-19 18:04:09 UTC
I installed debuginfo package and get some debug messages. Amarok 2.8.0. I am transcoding "unravel.mp3" to OGG format. The file path contains Chinese characters.

amarok: END__: void Collections::TransferJob::doWork() [Took: 0.002s] 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x680045e
amarok: BEGIN: void Collections::SqlCollectionLocation::slotJobFinished(KJob*) 
amarok: END__: void Collections::SqlCollectionLocation::slotJobFinished(KJob*) [Took: 0s] 
amarok: BEGIN: void Collections::TransferJob::slotJobFinished(KJob*) 
amarok:   [SqlCollectionLocation] processed 1  totalAmount 1 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::startNextJob(Transcoding::Configuration) 
amarok:   END__: bool Collections::SqlCollectionLocation::startNextJob(Transcoding::Configuration) [Took: 0s] 
amarok:   [SqlCollectionLocation] sources empty 
amarok:   BEGIN: void Collections::SqlCollectionLocation::slotTransferJobFinished(KJob*) 
amarok:     [SqlCollectionLocation] SqlCollectionLocation::insert from: KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/unravel.mp3") to "/home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.ogg" 
amarok:     [SqlCollectionLocation] File on disk, insert to dbase "unravel" uid: "amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
amarok(13838) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12" 
amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062) Duplicate entry 'amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62' for key 'uniqueid' on INSERT INTO urls (deviceid,rpath,directory,uniqueid) VALUES (1,'./sign/Dropbox/音乐/TK/unravel/01_-_unravel.ogg',261,'amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62');" 
amarok:     [WARNING] [SqlRegistryP] Insert failed. 
amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062) Duplicate entry '0' for key 'tracks_url' on INSERT INTO tracks (url,artist,album,genre,composer,year,title,comment,tracknumber,discnumber,bitrate,length,samplerate,filesize,filetype,bpm,createdate,modifydate,albumgain,albumpeakgain,trackgain,trackpeakgain) VALUES (0,104,156,16,1,22,'unravel','',1,NULL,320,238000,44100,9547069,1,NULL,1429466201,1429124375,-1,-1,-1,-1);" 
amarok:     [WARNING] [SqlRegistryP] Insert failed. 
amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062) Duplicate entry '0' for key 'statistics_url' on INSERT INTO statistics (url,createdate,accessdate,score,rating,playcount,deleted) VALUES (0,1429124667,1429464252,83.3333,0,3,0);" 
amarok:     [WARNING] [SqlRegistryP] Insert failed. 
amarok:     [SqlCollectionLocation] m_originalUrls QHash((true, KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/unravel.mp3") ) )  
amarok:     BEGIN: void Collections::CollectionLocation::slotFinishCopy() 
amarok:       BEGIN: void Collections::CollectionLocation::removeSourceTracks(const TrackList&) 
amarok:         [CollectionLocation] Transfer errors: 0 of 1 
amarok:         BEGIN: void Collections::CollectionLocation::prepareRemove(const TrackList&) 
amarok:           BEGIN: void Collections::CollectionLocation::startRemoveWorkflow(const TrackList&) 
amarok:             BEGIN: virtual void Collections::CollectionLocation::showRemoveDialog(const TrackList&) 
amarok:               BEGIN: void Collections::CollectionLocation::slotStartRemove() 
amarok:                 BEGIN: virtual void Collections::SqlCollectionLocation::removeUrlsFromCollection(const TrackList&) 
amarok:                   BEGIN: bool Collections::SqlCollectionLocation::startNextRemoveJob() 
amarok:                     [SqlCollectionLocation] isGoingToRemoveSources()  true 
amarok:                     [SqlCollectionLocation] deleting   KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/unravel.mp3") 
amarok:                   END__: bool Collections::SqlCollectionLocation::startNextRemoveJob() [Took: 0s] 
amarok:                 END__: virtual void Collections::SqlCollectionLocation::removeUrlsFromCollection(const TrackList&) [Took: 0s] 
amarok:               END__: void Collections::CollectionLocation::slotStartRemove() [Took: 0s] 
amarok:             END__: virtual void Collections::CollectionLocation::showRemoveDialog(const TrackList&) [Took: 0s] 
amarok:           END__: void Collections::CollectionLocation::startRemoveWorkflow(const TrackList&) [Took: 0s] 
amarok:         END__: void Collections::CollectionLocation::prepareRemove(const TrackList&) [Took: 0s] 
amarok:       END__: void Collections::CollectionLocation::removeSourceTracks(const TrackList&) [Took: 0s] 
amarok:     END__: void Collections::CollectionLocation::slotFinishCopy() [Took: 0s] 
amarok:   END__: void Collections::SqlCollectionLocation::slotTransferJobFinished(KJob*) [Took: 0.009s] 
amarok: END__: void Collections::TransferJob::slotJobFinished(KJob*) [Took: 0.015s] 
amarok: BEGIN: void Collections::SqlCollectionLocation::slotRemoveJobFinished(KJob*) 
amarok:   [WARNING] [SqlCollectionLocation] An error occurred when removing a file:  "file or folder /home/sign/Dropbox/音乐/TK/unravel/unravel.mp3 doesn't exist" 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::remove(const TrackPtr&) 
amarok:   END__: bool Collections::SqlCollectionLocation::remove(const TrackPtr&) [Took: 0s] 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::startNextRemoveJob() 
amarok:   END__: bool Collections::SqlCollectionLocation::startNextRemoveJob() [Took: 0s] 
amarok:   BEGIN: void Collections::CollectionLocation::slotFinishRemove() 
amarok:     [CollectionLocation] remove finished updating 
amarok:     [AbstractDirectoryWatcher] addDirToList for "/home/sign/Dropbox/音乐/TK/unravel" 
amarok:     [AbstractDirectoryWatcher] addDirToList for "/home/sign/Dropbox/音乐/TK/unravel" 
amarok:     [CollectionLocation] Removing empty directories 
amarok:     [CollectionLocation] Unable to remove  "unravel" 
amarok:   END__: void Collections::CollectionLocation::slotFinishRemove() [Took: 1.7s] 
amarok: END__: void Collections::SqlCollectionLocation::slotRemoveJobFinished(KJob*) [Took: 1.7s] 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6800469
amarok: BEGIN: virtual void GenericScanManager::requestScan(QList<KUrl>, GenericScanManager::ScanType) 
amarok: END__: virtual void GenericScanManager::requestScan(QList<KUrl>, GenericScanManager::ScanType) [Took: 0s] 
amarok: BEGIN: virtual void AbstractScanResultProcessor::scanStarted(GenericScanManager::ScanType) 
amarok: END__: virtual void AbstractScanResultProcessor::scanStarted(GenericScanManager::ScanType) [Took: 0s] 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.binary.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.addin.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.sheet.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.presentation.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.template.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-excel.template.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.template.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-word.document.macroEnabled.12" 
amarokcollectionscanner(13943) KMimeTypeRepository::parents: "/usr/share/mime/subclasses"  refers to unknown mimetype  "application/vnd.ms-powerpoint.slide.macroEnabled.12" 
amarok: [AbstractScanResultProcessor] got 1 directories 
amarok: BEGIN: virtual void SqlScanResultProcessor::scanSucceeded() 
amarok:   BEGIN: virtual void AbstractScanResultProcessor::scanSucceeded() 
amarok:     [SqlRegistry] SqlRegistry::getDirectory(): update directory "/home/sign/Dropbox/音乐/TK/unravel/" (id "263" ) from 1429465991 to 1429466201 UNIX time 
amarok:     [SqlScanResultProcessor] commitAlbum on "unravel" artist "TK" 
amarok:     [WARNING] [SqlRegistry] updating path to an already existing path. 
amarok:   END__: virtual void AbstractScanResultProcessor::scanSucceeded() [Took: 0.001s] 
amarok: END__: virtual void SqlScanResultProcessor::scanSucceeded() [Took: 0.004s]
Comment 11 Myriam Schweingruber 2015-04-20 08:18:04 UTC
There appears to be a big mix-up in your mime type classes, could you please also file this bug against your distribution? Looks like there is an issue there, judging from all the error messages I see.
Comment 12 Guo Yunhe 2015-04-20 08:43:49 UTC
I think this should be a useful solution. https://bugs.mageia.org/show_bug.cgi?id=13975#c6

It might be a problem caused by shared-mime-info. I will try it later and report the result.
Comment 13 Matěj Laitl 2015-04-20 09:00:43 UTC
(In reply to guoyunhebrave from comment #10)
> amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062)
> Duplicate entry 'amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62' for
> key 'uniqueid' on INSERT INTO urls (deviceid,rpath,directory,uniqueid)
> VALUES
> (1,'./sign/Dropbox/音乐/TK/unravel/01_-_unravel.ogg',261,'amarok-sqltrackuid://
> 47c0da0005263354b6a6ae0de2757b62');" 
> amarok:     [WARNING] [SqlRegistryP] Insert failed. 
> amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062)
> Duplicate entry '0' for key 'tracks_url' on INSERT INTO tracks
> (url,artist,album,genre,composer,year,title,comment,tracknumber,discnumber,
> bitrate,length,samplerate,filesize,filetype,bpm,createdate,modifydate,
> albumgain,albumpeakgain,trackgain,trackpeakgain) VALUES
> (0,104,156,16,1,22,'unravel','',1,NULL,320,238000,44100,9547069,1,NULL,
> 1429466201,1429124375,-1,-1,-1,-1);" 
> amarok:     [WARNING] [SqlRegistryP] Insert failed. 
> amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062)
> Duplicate entry '0' for key 'statistics_url' on INSERT INTO statistics
> (url,createdate,accessdate,score,rating,playcount,deleted) VALUES
> (0,1429124667,1429464252,83.3333,0,3,0);" 
> amarok:     [WARNING] [SqlRegistryP] Insert failed. 
> amarok:     [SqlCollectionLocation] m_originalUrls QHash((true,
> KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/unravel.mp3") ) )  

The above is definitely an indication of (maybe another) problem.

> amarok:   [WARNING] [SqlCollectionLocation] An error occurred when removing
> a file:  "file or folder /home/sign/Dropbox/音乐/TK/unravel/unravel.mp3
> doesn't exist" 

This is strange.

> amarok: BEGIN: virtual void SqlScanResultProcessor::scanSucceeded() 
> amarok:   BEGIN: virtual void AbstractScanResultProcessor::scanSucceeded() 
> amarok:     [SqlRegistry] SqlRegistry::getDirectory(): update directory
> "/home/sign/Dropbox/音乐/TK/unravel/" (id "263" ) from 1429465991 to
> 1429466201 UNIX time 
> amarok:     [SqlScanResultProcessor] commitAlbum on "unravel" artist "TK" 
> amarok:     [WARNING] [SqlRegistry] updating path to an already existing
> path. 

Also strange.

I wouldn't worry myself with the mime-type errors much (though I cannot rule out the possibility they cause your problem)

    Matěj
Comment 14 Guo Yunhe 2015-04-20 09:11:35 UTC
Have solved the MIME type problem, now the error message of mime type doesn't show.

But the problem of transcoding is still here. New dubug log:

amarok: BEGIN: void Collections::SqlCollectionLocation::slotDialogAccepted() 
amarok:   BEGIN: virtual void Collections::CollectionLocation::getKIOCopyableUrls(const TrackList&) 
amarok:     [CollectionLocation] adding url  KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.mp3") 
amarok:     BEGIN: void Collections::CollectionLocation::slotStartCopy(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) 
amarok:       BEGIN: virtual void Collections::SqlCollectionLocation::copyUrlsToCollection(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) 
amarok:         [SqlCollectionLocation] TransferJob::TransferJob 
amarok:         BEGIN: virtual void Collections::TransferJob::start() 
amarok:         END__: virtual void Collections::TransferJob::start() [Took: 0s] 
amarok:       END__: virtual void Collections::SqlCollectionLocation::copyUrlsToCollection(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) [Took: 0s] 
amarok:     END__: void Collections::CollectionLocation::slotStartCopy(const QMap<KSharedPtr<Meta::Track>, KUrl>&, const Transcoding::Configuration&) [Took: 0s] 
amarok:   END__: virtual void Collections::CollectionLocation::getKIOCopyableUrls(const TrackList&) [Took: 0s] 
amarok: END__: void Collections::SqlCollectionLocation::slotDialogAccepted() [Took: 1.9s] 
amarok: BEGIN: void Collections::TransferJob::doWork() 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::startNextJob(Transcoding::Configuration) 
amarok:     [SqlCollectionLocation] transcoding from  KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.mp3")  to  KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.ogg") 
amarok:     [SqlCollectionLocation] moving! 
amarok:   END__: bool Collections::SqlCollectionLocation::startNextJob(Transcoding::Configuration) [Took: 0.002s] 
amarok: END__: void Collections::TransferJob::doWork() [Took: 0.002s] 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6a003a6
amarok: BEGIN: void Collections::SqlCollectionLocation::slotJobFinished(KJob*) 
amarok: END__: void Collections::SqlCollectionLocation::slotJobFinished(KJob*) [Took: 0s] 
amarok: BEGIN: void Collections::TransferJob::slotJobFinished(KJob*) 
amarok:   [SqlCollectionLocation] processed 1  totalAmount 1 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::startNextJob(Transcoding::Configuration) 
amarok:   END__: bool Collections::SqlCollectionLocation::startNextJob(Transcoding::Configuration) [Took: 0s] 
amarok:   [SqlCollectionLocation] sources empty 
amarok:   BEGIN: void Collections::SqlCollectionLocation::slotTransferJobFinished(KJob*) 
amarok:     [SqlCollectionLocation] SqlCollectionLocation::insert from: KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.mp3") to "/home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.ogg" 
amarok:     [SqlCollectionLocation] File on disk, insert to dbase "unravel" uid: "amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62" 
amarok:     [SqlRegistry] SqlRegistry::getDirectory(): new directory "/home/sign/Dropbox/音乐/TK/unravel" 
amarok:     [ERROR__] [MySqlStorage] "GREPME MySQLe query failed! (1062) Duplicate entry 'amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62' for key 'uniqueid' on INSERT INTO urls (deviceid,rpath,directory,uniqueid) VALUES (1,'./sign/Dropbox/音乐/TK/unravel/01_-_unravel.ogg',264,'amarok-sqltrackuid://47c0da0005263354b6a6ae0de2757b62');" 
amarok:     [WARNING] [SqlRegistryP] Insert failed. 
amarok:     [SqlCollectionLocation] m_originalUrls QHash((true, KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.mp3") ) )  
amarok:     BEGIN: void Collections::CollectionLocation::slotFinishCopy() 
amarok:       BEGIN: void Collections::CollectionLocation::removeSourceTracks(const TrackList&) 
amarok:         [CollectionLocation] Transfer errors: 0 of 1 
amarok:         BEGIN: void Collections::CollectionLocation::prepareRemove(const TrackList&) 
amarok:           BEGIN: void Collections::CollectionLocation::startRemoveWorkflow(const TrackList&) 
amarok:             BEGIN: virtual void Collections::CollectionLocation::showRemoveDialog(const TrackList&) 
amarok:               BEGIN: void Collections::CollectionLocation::slotStartRemove() 
amarok:                 BEGIN: virtual void Collections::SqlCollectionLocation::removeUrlsFromCollection(const TrackList&) 
amarok:                   BEGIN: bool Collections::SqlCollectionLocation::startNextRemoveJob() 
amarok:                     [SqlCollectionLocation] isGoingToRemoveSources()  true 
amarok:                     [SqlCollectionLocation] deleting   KUrl("file:///home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.mp3") 
amarok:                   END__: bool Collections::SqlCollectionLocation::startNextRemoveJob() [Took: 0s] 
amarok:                 END__: virtual void Collections::SqlCollectionLocation::removeUrlsFromCollection(const TrackList&) [Took: 0s] 
amarok:               END__: void Collections::CollectionLocation::slotStartRemove() [Took: 0s] 
amarok:             END__: virtual void Collections::CollectionLocation::showRemoveDialog(const TrackList&) [Took: 0s] 
amarok:           END__: void Collections::CollectionLocation::startRemoveWorkflow(const TrackList&) [Took: 0s] 
amarok:         END__: void Collections::CollectionLocation::prepareRemove(const TrackList&) [Took: 0s] 
amarok:       END__: void Collections::CollectionLocation::removeSourceTracks(const TrackList&) [Took: 0s] 
amarok:     END__: void Collections::CollectionLocation::slotFinishCopy() [Took: 0s] 
amarok:   END__: void Collections::SqlCollectionLocation::slotTransferJobFinished(KJob*) [Took: 0.01s] 
amarok: END__: void Collections::TransferJob::slotJobFinished(KJob*) [Took: 0.017s] 
amarok: BEGIN: void Collections::SqlCollectionLocation::slotRemoveJobFinished(KJob*) 
amarok:   [WARNING] [SqlCollectionLocation] An error occurred when removing a file:  "File or directory /home/sign/Dropbox/音乐/TK/unravel/01_-_unravel.mp3 doesn't exist." 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::remove(const TrackPtr&) 
amarok:   END__: bool Collections::SqlCollectionLocation::remove(const TrackPtr&) [Took: 0s] 
amarok:   BEGIN: bool Collections::SqlCollectionLocation::startNextRemoveJob() 
amarok:   END__: bool Collections::SqlCollectionLocation::startNextRemoveJob() [Took: 0s] 
amarok:   BEGIN: void Collections::CollectionLocation::slotFinishRemove() 
amarok:     [CollectionLocation] remove finished updating 
amarok:     [AbstractDirectoryWatcher] addDirToList for "/home/sign/Dropbox/音乐/TK/unravel" 
amarok:     [AbstractDirectoryWatcher] addDirToList for "/home/sign/Dropbox/音乐/TK/unravel" 
amarok:     [CollectionLocation] Removing empty directories 
amarok:     [CollectionLocation] Unable to remove  "unravel" 
amarok:   END__: void Collections::CollectionLocation::slotFinishRemove() [Took: 1.7s] 
amarok: END__: void Collections::SqlCollectionLocation::slotRemoveJobFinished(KJob*) [Took: 1.7s] 
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x6a003b1
amarok: BEGIN: virtual void GenericScanManager::requestScan(QList<KUrl>, GenericScanManager::ScanType) 
amarok: END__: virtual void GenericScanManager::requestScan(QList<KUrl>, GenericScanManager::ScanType) [Took: 0s] 
amarok: BEGIN: virtual void AbstractScanResultProcessor::scanStarted(GenericScanManager::ScanType) 
amarok: END__: virtual void AbstractScanResultProcessor::scanStarted(GenericScanManager::ScanType) [Took: 0s] 
amarok: [AbstractScanResultProcessor] got 1 directories 
amarok: BEGIN: virtual void SqlScanResultProcessor::scanSucceeded() 
amarok:   BEGIN: virtual void AbstractScanResultProcessor::scanSucceeded() 
amarok:     [SqlRegistry] SqlRegistry::getDirectory(): update directory "/home/sign/Dropbox/音乐/TK/unravel/" (id "263" ) from 1429520470 to 1429520650 UNIX time 
amarok:     [SqlScanResultProcessor] commitAlbum on "unravel" artist "TK" 
amarok:     [WARNING] [SqlRegistry] updating path to an already existing path. 
amarok:   END__: virtual void AbstractScanResultProcessor::scanSucceeded() [Took: 0.001s]
Comment 15 Myriam Schweingruber 2016-10-09 00:48:32 UTC
Erm, and what makes you think this is unmaintained? Just because your bug is not being fixed?
Comment 16 Guo Yunhe 2016-10-09 08:51:41 UTC
(In reply to Myriam Schweingruber from comment #15)
> Erm, and what makes you think this is unmaintained? Just because your bug is
> not being fixed?

I just think that nobody is following the bug. Here is no update for a year long. I am sorry I might chaged to the wrong status. But do not blame me. I am not a software developer and I do not know much about the Bugzilla system.